Hi,
You can use the following script to understand the syntaxis with MLW.
## Define Boundary Conditions for Flow
# NoBC = 0
# Dirichlet (1st kind) =1
# Neumann (2nd kind) = 2
# Cauchy (3rd kind) = 3
# Single well (4th kind) = 4
# Gradient-type (only for unsaturated problems) = 5
BcFlowType = 4
#Load documents
doc=ifm.loadDocument(FEM_FILE)
#Print all Multilayer Well attributes
for nNode in range(0,doc.getNumberOfNodes()):
if doc.getBcFlowType(nNode) == BcFlowType:
if doc.queryMultiLayerWellInfo(nNode) == None:
print(Normal Well BC found")
else:
MLWInfo=doc.queryMultiLayerWellInfo(nNode)
# Print MLW ID, Name, Top Elevation, Bottom Elevation, Top Node, Bottom Node
print(MLWInfo.getId(), MLWInfo.getName(), MLWInfo.getTopElevation(),
MLWInfo.getBottomElevation(), MLWInfo.getTopNode(), MLWInfo.getBottomNode())