OutVolMeshValues()

Output the volume mesh values in the exported file.

Usage

OutVolMeshValues( cmdPath, par, modelPath,
                            indxPar, meshPath )

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.

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

This routine outputs the volume mesh values read from meshPath, cmdPath and modelPath in the exported file. For example,
modelVol = ROOT + RS + 'Model' + RS + 'Volumes'
nodeVol = meshVol + RS + meshName
nodeElm = modelVol + RS + modelName + RS + 'ELEMENT_SET'
OutVolMeshValues( cmdPath = nodeElm,
                  par = "element_volume_heat_sources",
                  modelPath = modelVol + RS + modelName,
                  indxPar = "usrIds",
                  meshPath = nodeVol )