MoveMeshVol()
Move a volume mesh set to a new model entity.
Usage
MoveMeshVol( mesh, model, new=False, meshList = None )
Parameters
- mesh (string)
- The volume mesh set.
- model (string)
- The name of the model entity.
- new (boolean)
- Flag specifies whether to create a new mesh set or use the old one.
- meshList (list)
- The mesh volumes list.
Return Value
None
Errors
- The mesh and model must not be None.
- If new = 'False' then the mesh must already exist.
Description
meshVol = ROOT + RS + "Mesh" + RS + "Volumes"
meshChild = GetChildren( meshVol )
MoveMeshVol( mesh = meshChild, model = "Fluid",
new = True, meshList = meshChild )