OutSrfMeshValues()
Output the surface mesh values in the exported file.
Usage
OutSrfMeshValues( cmdPath, par, modelPath,
indxPar, meshPath, usrIds = None )
Parameters
- cmdPath (string)
- The path of the model command.
- par (string)
- The mesh value parameter name.
- modelPath (string)
- The path of the model.
- indxPar (string)
- Index parameter name.
- meshPath (string)
- The path of the mesh.
- usrIds (array)
- The value of the user IDs.
Return Value
None
Errors
- The cmdPath must exist in the data base.
- The modelPath must exist in the data base.
- The meshPath must exist in the data base.
Description
modelSrf = ROOT + RS + 'Model' + RS + 'Surfaces'
nodeSur = meshSrf + RS + meshName
nodeCbc = modelSrf + RS + modelName + RS + 'SIMPLE_BOUNDARY_CONDITION'
mshValPars = ["nodal_x_modes","nodal_y_modes","nodal_z_modes"]
for par in mshValPars:
OutSrfMeshValues(cmdPath = nodeCbc,
par = par,
modelPath = modelSrf + RS + modelName,
indxPar = "cnnNodes",
meshPath = nodeSur )