Skip to main content
Encapsulation of mesh and results.

Members

Public functions

Function ~Model

Return type:

Function Model

Create model from given file. Parameters:
  • const std::string & filePath: @ [in] File from which to create model.
Return type:

Function Model

Create model from given data sources. Parameters:
  • const DataSources & data_sources: [in] Data sources from which to create model.
Return type:

Function getMesh

Returns: Meshed region for given timestep. Parameters:
  • int timestep = 0 : [in] Optional timestep for which to get meshed region.
Return type: MeshedRegion

Function getMeshesContainer

Returns: Meshes container for model. Return type: MeshesContainer

Function getTimeFreqSupport

Retrieves the time/freq support to have access to the analysis domain (number times steps/frequences, correspending times/frequences/ harmonic indices, rpms) Returns: Time frequency support for model. Return type: TimeFreqSupport

Function getResultInfo

Result Info allows to access to:
  • available results
  • unit
  • analysis type
  • physics type
Returns: Result info for model. Return type: ResultInfo

Function CreateResultEvaluationWorkflow

Returns: Result for given result name. Parameters:
  • const char * res_name: [in] Result name for which to get Result.
  • Scoping meshScoping = Scoping() : [in] Scoping of mesh elements or nodes.
  • Location requested_location = Location() : [in] Location of evaluated result (nodal, elemental, or elemental_nodal).
  • int cs_id = 0 : [in] Not used.
Return type: Result

Function CreateResultEvaluationWorkflow

Returns: Result for given result name and named_selection of mesh. Parameters:
  • const char * res_name: [in] Result name for which to get Result.
  • const char * named_selection: [in] Name of selected region in mesh. For MAPDL, names are capitalized.
  • Location requested_location = Location() : [in] Location of evaluated result (nodal, elemental, or elemental_nodal).
  • bool bInclusive = true : [in] When named_selection is a nodal region and requested_location is elemental, true indicates take elements with all nodes in region.
  • int cs_id = 0 : If false, take elements with at least 1 node in region. [in] Not used.
Return type: Result

Function CreateMeshQuery

Returns: MeshQuery. Return type: MeshQuery

Function ReleaseHandles

Closes the files that were kept open to retrieve data. Return type: void