Skip to main content
Optional concept - Virtual folder with a list of Run. #include "RunGroup.hpp" Inheritance diagram for ansys::Project::RunGroup:

Public Member Functions

Detailed Description

Optional concept - Virtual folder with a list of Run. Can be used to regroup multiple runs part of a larger parametric analysis. The RunGroup is a subclass of Run and provides the same services ( RunOutputType, input/output variables, etc. )

Constructor & Destructor Documentation

RunGroup()

~RunGroup()

inline virtual

Member Function Documentation

addOutputVariable()

Register an output variable for this run. All Output subfolders should define a specific value for this variable.

addRun()

Register a Run in the RunGroup. The Run is referenced as a project Link in the virtual subfolder

addVarCaseId()

Add the CaseId variable - Id is incremented when the case settings are changed.

addVarConnectivityId()

Add the ConnectivityId variable - Id should be incremented when the cells of a mesh are changed (number changed, connectivity changed, …)

addVarCoordinatesId()

Add the CoordinatesId variable - Id should be incremented when the node locations of a mesh have changed.

addVarCrankAngle()

Add the built-in variable.

addVarDomainTransformationId()

Add the DomainTransformationId variable - Id should be incremented when the mesh transformation metadata has changed.

addVariable()

Register an input variable for this run. This registration is not required for automatic variables (Transient=Time, etc.) All Output subfolders should define a specific value for this variable.

addVarIndex()

Add the Index variable (not required if mandatory for the run type)

addVarInputSettingsId()

Add the InputSettings variable - Id is incremented when the input case settings are changed. If provided, this should be incremented when any of the dependent input settings are changed, such as PhysicsId or DomainTransformationId

addVarMeshId()

Add the MeshId variable - Id should be incremented when the mesh has changed.

addVarOutputSettingsId()

Add the OutputSettings variable - Id is incremented when the case output settings are changed.

addVarPhysicsId()

Add the PhysicsId variable - Id should be incremented when the physics settings have changed.

addVarSolverIteration()

Add the SolverIteration variable (not required if mandatory for the run type)

addVarTime()

Add the Time variable (not required if mandatory for the run type)

addVarTopologyId()

Add the TopologyId variable - Id should be incremented when the topology (list of boundaries, domains) has changed.

getAllVariables()

Returns the list of all variables ( input and output )

getIterator()

inline virtual Reimplemented from ansys::Project::Run.

getOutputVariables()

Returns the list of output variables.

getRunOutputType()

Return the RunOutputType as the enum.

getRunOutputTypeAsString()

Return the RunOutputType as a string.

getRuns()

Returns the list of runs for this RunGroup.

getRunStatus()

Returns the RunStatus state for this Output. See setRunStatus()

getVariables()

Return the list of input variables for this Run.

isValid()

virtual Returns error with message if invalid. Reimplemented from ansys::Project::Run.

removeOutputVariable()

Remove an output variable.

removeVariable()

Remove a variable from the list of inputs. Mandatory variables cannot be removed

setOutputVariables()

Set/replace the list of output variables.

setRunOutputType()

virtual Set the run output type, will add automatically the mandatory variables (if any) The RunOutputType::Simple cannot be used for a RunGroup

setRunStatus()

Set the RunStatus state for this Run. (Optional API) The run status permits to indicate if a Run is running, completed, waiting for execution, etc. This status can also be defined at the Output level

setVariables()

Set/replace the list of variables for this run. The operation will fail if the list of variables does not contain the mandatory variable for the RunOutputType All Output subfolders should define a specific value for each variable.