> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ansys::Project::Run Class Reference

Subfolder of a [Simulation](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_simulation.md), regrouping Output/Result for a step.

`#include "Run.hpp"`

Inheritance diagram for ansys::Project::Run:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=0dd2ade9a25975dabb3d09a710336068)

## Public Types

| Type | Name |
| - | - |
| enum | [RunOutputType](#a730f2ea4aef8f22f0886f12109c17092) \{  [Simple](#a730f2ea4aef8f22f0886f12109c17092ad3c7bfa5c0f8f3d0d281a54607215a38) , [Sequence](#a730f2ea4aef8f22f0886f12109c17092ad8be5910edf9e2e9d5e80c360705eeb0) , [Parametric](#a730f2ea4aef8f22f0886f12109c17092aa4307cae31ee174df91b2604e5d3ccac) , [Transient](#a730f2ea4aef8f22f0886f12109c17092a5b5302bf1e3502dfb80a5f9be3fdb6ec) ,  [Steady](#a730f2ea4aef8f22f0886f12109c17092a581345abab9602dc3a5e9991f90d4e04) , [RO\_Other](#a730f2ea4aef8f22f0886f12109c17092a47fab94a5543d693d361deb368e14aeb)  } |
| enum | [OutputSequenceOrder](#a6520889cda1d3d1382fc1a5992a89041) \{  [CreationID](#a6520889cda1d3d1382fc1a5992a89041ac33e264a565ddf6dfe2aad216bae556c) , [MonotonicIncreasing](#a6520889cda1d3d1382fc1a5992a89041ad3d20eb4d5b1878db79cde173a126b9d) , [Increasing](#a6520889cda1d3d1382fc1a5992a89041a2f156cb9029be01b4e275e451eb19259) , [IncreasingUnique](#a6520889cda1d3d1382fc1a5992a89041a990831c6364d519073f2255d9f11bc5a) ,  [Decreasing](#a6520889cda1d3d1382fc1a5992a89041ae7766c0a42456edb0ff06da5b00e8ca3) , [DecreasingUnique](#a6520889cda1d3d1382fc1a5992a89041a53e4f7bed3476433e99a6160b1d785d8)  } |
| enum | [OutputMatchOperator](#ab2fbdaed6b5ec4a4a5ff52df8a64b86d) \{  [Equal](#ab2fbdaed6b5ec4a4a5ff52df8a64b86da5f560b124e16e1056c8a7c5bbc553b1a) , [Greater](#ab2fbdaed6b5ec4a4a5ff52df8a64b86da1e5f7fe4930da6d15dae25ab401d483f) , [GreaterEqual](#ab2fbdaed6b5ec4a4a5ff52df8a64b86dabd84e383b095837450c4d17eeb10e66a) , [Smaller](#ab2fbdaed6b5ec4a4a5ff52df8a64b86dab0ec762d5365514edb27f28dd4c9d46f) ,  [SmallerEqual](#ab2fbdaed6b5ec4a4a5ff52df8a64b86da55f71554265fa2b739c33e46cf5bd26e)  } |

## Public Member Functions

| Type | Name |
| - | - |
| | [Run](#a059d6e7b7a08a691efe82ca41d6e4a21) ([Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) pIter) Constructor from [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md). |
| virtual | [\~Run](#abb309286a6b97932221d6d69e6c9b508) () |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [isValid](#a50461d0ef3487601fd73f740cee85348) () const Returns error with message if invalid. |
| bool | [addVariable](#ab4e9f4d0c7f6e9747451330dc698c5bc) (const std::string \&pVar) Register an input variable for this run. |
| bool | [setVariables](#a2e8493f21a92ce378d4bce82d0cb7b3f) (const std::vector\< std::string > \&pVars) Set/replace the list of variables for this run. |
| bool | [removeVariable](#a54114201475287073e786d77e3718383) (const std::string \&pVar) Remove a variable from the list of inputs. |
| std::vector\< std::string > | [getVariables](#aebee6c00a322bbcccc5659453699d929) () const Return the list of input variables for this [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md). |
| std::vector\< std::vector\< std::string > > | [getValues](#a1c1f4337c98f47fa7af2bcc3eba4fe56) (const std::vector\< std::string > \&pVars) const Return the list of values -one per output- for a list of variables. |
| bool | [addOutputVariable](#aa84a2103fc117a256bab7cce5fef9780) (const std::string \&pVar) Register an output variable for this run. |
| bool | [setOutputVariables](#a1593a20a772c53baf1af273ab63f0a53) (const std::vector\< std::string > \&pVars) Set/replace the list of output variables. |
| bool | [removeOutputVariable](#ae3d5f185d577c43e2ed2721f18212c35) (const std::string \&pVar) Remove an output variable. |
| std::vector\< std::string > | [getOutputVariables](#aa85ce4557dbb6edd648e2e4d68c60ab6) () const Returns the list of output variables. |
| std::vector\< std::string > | [getAllVariables](#ae5c21c8fb9320c241809e969717c4360) () const Returns the list of all variables ( input and output ) |
| void | [addVarIndex](#a8ba482e260f6846c1a59cd8848341601) () Add the Index variable (not required if mandatory for the run type) |
| void | [addVarTime](#a03c7998829a5b7f7fe8be10be1474e7c) () Add the Time variable (not required if mandatory for the run type) |
| void | [addVarSolverIteration](#a322c24066e5f30512865a58bd7b01c43) () Add the SolverIteration variable (not required if mandatory for the run type) |
| void | [addVarCrankAngle](#a518fcda2b9be5b8c2278981784e0f574) () Add the built-in variable. |
| void | [addVarMeshId](#ac89b098f5fe66841a9b538617e7b3f87) () Add the MeshId variable - Id should be incremented when the mesh has changed. |
| void | [addVarDomainTransformationId](#af1b52a763e5fc10f7ad5f350767ae945) () Add the DomainTransformationId variable - Id should be incremented when the mesh transformation metadata has changed. |
| void | [addVarPhysicsId](#ab2c162b2db99da7a0ae0a33f34fc4ad9) () Add the PhysicsId variable - Id should be incremented when the physics settings have changed. |
| void | [addVarTopologyId](#a5bf38019a16ca06c2fc3500e5c9fe0a5) () Add the TopologyId variable - Id should be incremented when the topology (list of boundaries, domains) has changed. |
| void | [addVarCoordinatesId](#a32464d38b59f71688e99b311de6ce564) () Add the CoordinatesId variable - Id should be incremented when the node locations of a mesh have changed. |
| void | [addVarLocationId](#a23d9e9667605c6b6b4acac250880363c) () Add the LocationId variable - Id should be incremented when the node locations of a mesh have changed. |
| void | [addVarConnectivityId](#a376c18baaecfbce85fa4e637e71c0e5b) () Add the ConnectivityId variable - Id should be incremented when the cells of a mesh are changed (number changed, connectivity changed, ...) |
| void | [addVarCaseId](#a1a825e5d408a51ac0ad6ee804e2e411e) () Add the CaseId variable - Id is incremented when the case settings are changed. |
| void | [addVarInputSettingsId](#ad1cb2f559eef2c4960300dc23eb06d14) () Add the InputSettings variable - Id is incremented when the input case settings are changed. |
| void | [addVarOutputSettingsId](#aebad5a9f951bc07891bef662aed6ada1) () Add the OutputSettings variable - Id is incremented when the case output settings are changed. |
| [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [computeIds](#a21b5000b59ddc0b3e5358a71788b4372) () Compute missing ids (CaseId, MeshId, InputSettingsId) from their dependencies. |
| virtual bool | [hasValue](#a35e08d90534a5657f0143f16eb34dd17) (const std::string \&pVar, bool pFlagInherited) const Search the metadata (local and inherited) for the specified key. |
| [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getValueIter](#a6135fdcc5bbae0c3585df65567d22d44) (const std::string \&pVar) const Search the metadata (local and inherited) for the specified metadata link and return the value as an iterator. |
| virtual std::string | [getValue](#a962cdcaba827890a9176f8855becdf1d) (const std::string \&pVar, bool pFlagInherited) const Search the metadata (local and inherited) for the specified key and return the value as string. |
| virtual int | [getValueInt](#a0bdeb0b28847ad82bc58ed85324fee7d) (const std::string \&pVar, bool pFlagInherited) const Search the metadata (local and inherited) for the specified key and return the value as integer. |
| virtual double | [getValueDouble](#a4bce1249dc59e6b03876822c44d9c411) (const std::string \&pVar, bool pFlagInherited) const Search the metadata (local and inherited) for the specified key and return the value as double. |
| virtual MetaVariableType | [getValueType](#af67830c86d8f3534ad3eafd273133449) (const std::string \&pVar, bool pFlagInherited) const Search the metadata (local and inherited) for the specified key and return the its data type. |
| virtual void | [setValue](#a52c78a77c9e136a085d167696015ef67) (const std::string \&pVar, const std::string \&pValue) Sets the local metadata to the specified key/value. |
| virtual void | [setValueInt](#ac6c679b970edcb372074503caf6cf28f) (const std::string \&pVar, int pValue) Sets the local metadata to the specified key/value. |
| virtual void | [setValueDouble](#a8680de9348c3c07a2da4a56752fe15b7) (const std::string \&pVar, double pValue) Sets the local metadata to the specified key/value. |
| void | [setValue](#a0fffd5def2534f6301b8a51e28cb26c7) (const std::string \&pVar, int pValue) |
| void | [setValue](#ac83d3a1b9dff7af27d7431966cd33b58) (const std::string \&pVar, double pValue) |
| bool | [setRunOutputType](#aa064a0d1e7ab2c233dabb81058acb8ef) ([RunOutputType](#a730f2ea4aef8f22f0886f12109c17092) pType) Set the run output type, will add automatically the mandatory variables (if any) |
| [RunOutputType](#a730f2ea4aef8f22f0886f12109c17092) | [getRunOutputType](#aee0d6fd3d0249f5536d45886bc9ad403) () const Return the RunOutputType as the enum. |
| std::string | [getRunOutputTypeAsString](#a77a5212218cb0dde90bccf6597c0d8d4) () const Return the RunOutputType as a string. |
| [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getCase](#afe453b6378308de553307d3f8ee7c097) () const Returns the case file associated with this run (if any, see [setCase()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a2312d3c69d5f32a7c76bc567c942e945)) |
| [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [newOutput](#aaeb71b843001780a33dfb0fb0431d6ae) (std::string pName="") Create a [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) folder in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) folder. |
| std::vector\< [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) > | [getResultIterators](#a3b316c70fb211a36c97e5e0f476751f9) (const std::string \&pType, const std::string \&pSubtype) const Return the list of results in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) and [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders, as vector of [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md). |
| std::vector\< [Result](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_result.md) > | [getResults](#aa470879c4009c9d1843b175401a49ad3) (const std::string \&pType, const std::string \&pSubtype) const Return the list of results in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) and [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders. |
| std::vector\< [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) > | [getOutputIterators](#a466b82cf69480314196d394fee869a33) () const Return the list of [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md), as a vector of [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md). |
| std::vector\< [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) > | [getOutputs](#a14fb8eab76c0f3b774e0a028270b7591) () const Return the list of [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md). |
| [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getData](#af68c98b0b16bacb99a7c73602dd13c4c) () Returns the default latest data file (from the current output, main data type) |
| [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getResult](#a6414aca871a54080580ae5723711f098) (const std::string \&pDataType) Returns the current data file of specified type. |
| void | [setCurrentOutput](#a70bbc0ae2005537059355ebe78f64f21) ([Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) pOutput) Set the current output link for this run, typically the latest output is the current. |
| [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getCurrentOutput](#a19d68c135b428b5ec11deecab21be799) () const Return the current output link for this run, typically the latest output is the current. |
| std::vector\< std::string > | [getResultTypes](#ab924882a75ab1102498ac547b2ea6cfa) () const Returns the list of available output types listed in the run Outputs. |
| [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [getTransientOutputs](#a30aee2a3610ecee9a1bf3c5fa9a47892) (const std::string \&pResultType, std::vector\< [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) > \&pOutIterators, std::vector\< double > \&pOutTimeval) const For transient runs - return the list of output results and their time values. |
| [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [getOutputSequence](#a8232142331a440960cd4f4f1d3d27355) ([OutputSequenceOrder](#a6520889cda1d3d1382fc1a5992a89041) pOrder, std::string pVariable, std::vector\< [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) > \&pOutputs) const Get the [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) sequence, ordered by the specified parameter. |
| std::vector\< [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) > | [getOutputsMatching](#adb5b2d517a1ef5085027bcf21d521b56) (std::string pVariable, [OutputMatchOperator](#ab2fbdaed6b5ec4a4a5ff52df8a64b86d) pOperator, double pValue) const Get the list of outputs matching the specified condition. |
| [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [removeOutputs](#a8ab6c977497324635519ce88960fcba7) (const std::vector\< [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) > \&pOut, bool pEraseFiles) Remove the specified list of [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) from the children of this run. |
| void | [setRunStatus](#ae14a2fd242ce9515baba2542a12fe493) (RunStatus pStatus) Set the RunStatus state for this [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md). |
| RunStatus | [getRunStatus](#a7482f6212a0f951dcb367a98803b33e3) () const Returns the RunStatus state for this [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md). See [setRunStatus()](#ae14a2fd242ce9515baba2542a12fe493) |
| [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getIterator](#a6b797638d34347e6801b88c0e69e05ce) () const |

> [accordion] Public Member Functions inherited from ansys::Project::SimBase
>
> Public Member Functions inherited from [ansys::Project::SimBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md)
>
> | Type | Name |
> | - | - |
> | bool | [ok](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a006186f7ee51c0d5548bd6cad367b032) () const |
> | std::string | [getName](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a8aef8314dfc33a8d25e3963fa3fd07ba) () const Returns the object name in the project. |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [setCase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a2312d3c69d5f32a7c76bc567c942e945) ([Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) pCaseFile) Set the case file associated with this item. |
> | void | [setMainDataType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#ac44fe199d4f2c2c7aa8be5d22353740a) (const std::string \&pDataType) Set the result type expected as default output for runs. |
> | std::string | [getMainDataType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a743bc36e30200c87603dedaafe1d969d) () const Returns the result type expected as default output for runs (see: [setMainDataType()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#ac44fe199d4f2c2c7aa8be5d22353740a) ) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [copyInput](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#aeb5ffe7267a10b465dc8c2c825195074) ([Path](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_path.md) pPath, bool pInInputFolder=false) Copy the specified project file into the current folder. |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [setInput](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a0b6fee750eeb02e8068640758c6d8b0d) ([Path](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_path.md) pPath) Register a files as Input/ to this folder. |
> | std::vector\< [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) > | [getInputs](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a2d532a01d1f99cb76ec85e8f4908d932) ([Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) \*pErrorPtr=0) const Return the list of registered inputs for this simulation. |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getInputByType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a7eb8d0c48e61b171014c593fb63e85c6) (const std::string \&pType, std::string pSubtype="") const Search for a -single- input of the specified type (and optionally, subtype) |
> | std::vector\< [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) > | [getInputsByType](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#abc3d5315d8f3a3cff217c2112b4581a1) (const std::string \&pType, std::string pSubtype="", [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) \*pErrorPtr=0) const Search for one or multiple input of the specified type (and optionally, subtype) |
> | [Metadata](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_metadata.md) & | [getMeta](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a067d578e43cf6085623921adb816d5f4) () Access the [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) [Metadata](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_metadata.md), equivalent to [getIterator()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a16f3c24244ab0ec6587d945785c7718d).[getMeta()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a067d578e43cf6085623921adb816d5f4) |
> | const [Metadata](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_metadata.md) & | [getMeta](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#af6e6bd9bee7a4fe152ff2ac2f51ad8c9) () const Access the [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) [Metadata](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_metadata.md), equivalent to [getIterator()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a16f3c24244ab0ec6587d945785c7718d).[getMeta()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a067d578e43cf6085623921adb816d5f4) |
> | | [operator Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a0625d859da2633b26505821aaf569602) () const |

> [accordion] Public Member Functions inherited from ansys::Project::RunOutputAttr
>
> Public Member Functions inherited from [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md)
>
> | Type | Name |
> | - | - |
> | virtual | [\~RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a65a0b1def1d611ef99d59910a627c6e4) () |
> | std::vector\< std::string > | [getValues](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a3552775077206a3eb84c63548b1dce8f) (const std::vector\< std::string > \&pVars, bool pFlagInherited) const Returns the values for a list of variables. |
> | int | [getIndex](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#afd9f573f991216d001360be85a476827) () const Returns the output index (incremental id in a run) - always available. |
> | int | [getSolverIteration](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a9341f80aeb8c06eae7405815daabc2de) () const Returns the number of solver iterations (if available) |
> | double | [getTime](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a43a2d325edb0332bd89dd279da60de88) () const Returns the transient time value (if available) |
> | void | [setIndex](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a8e79b641bdf6cd9fa3132839b2314cfa) (int pValue) Changes the specified variable. |
> | void | [setSolverIteration](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a5aef7a029fa3a7f830710275035c4bae) (int pValue) Changes the specified variable. |
> | void | [setTime](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a7223a840d264a500994bc1a424772c19) (double pValue) Changes the specified variable. |
> | double | [getCrankAngle](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a2722c5a61bdf6ae862f77277cb799dae) () const Returns the specified variable (if available) |
> | void | [setCrankAngle](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a399cfa854a08df9c39ed9c7324651012) (double pValue) Changes the specified variable. |
> | int | [getCaseId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a3c9c4e3b8a1901e526c252b9beda9580) () const Returns the specified variable (if available) |
> | int | [getInputSettingsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a267138500fe47e1c74adebc0b3b3082e) () const Returns the specified variable (if available) |
> | int | [getDomainTransformationId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#ae1427ae2518b3bf20a72183388307d4e) () const Returns the specified variable (if available) |
> | int | [getPhysicsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a212e33422926cc6ce0c06ee08b301f83) () const Returns the specified variable (if available) |
> | int | [getOutputSettingsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a5b718ea67c8d4abcec38f3968ffe71f6) () const Returns the specified variable (if available) |
> | int | [getMeshId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a9b573f92ba0532e9af0181634727d876) () const Returns the specified variable (if available) |
> | int | [getTopologyId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a2088deca6c0239248d5c7d1d81b6c3a3) () const Returns the specified variable (if available) |
> | int | [getConnectivityId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#aef3b9200f5924db3428e31e0c8c6e80e) () const Returns the specified variable (if available) |
> | int | [getCoordinatesId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a3a414dbc11513402e17c2eafaf240e7e) () const Returns the specified variable (if available) |
> | int | [getLocationId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a5d22709f5cd0500b1c0e5db416f1b8e4) () const Returns the specified variable (if available) |
> | void | [setCaseId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a98234a96286c594c628ae5fc66a2daf1) (int pValue) Changes the specified variable. |
> | void | [setInputSettingsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a4dc9c1c940983005c8aa55516c7dd370) (int pValue) Changes the specified variable. |
> | void | [setDomainTransformationId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a48ce611d3011e8d85c7508654d10b0b7) (int pValue) Changes the specified variable. |
> | void | [setPhysicsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a144923c544b7f9e25adaa02c4d0fcfb2) (int pValue) Changes the specified variable. |
> | void | [setOutputSettingsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#aff075987d634ddd1bb5cc72885e60476) (int pValue) Changes the specified variable. |
> | void | [setMeshId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#af6651bd327bccc3154c7a9dff550b780) (int pValue) Changes the specified variable. |
> | void | [setTopologyId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a8952ac3fb7b31862798fef375a37f789) (int pValue) Changes the specified variable. |
> | void | [setConnectivityId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a2e8201893b1ffef4e96758118ac1438c) (int pValue) Changes the specified variable. |
> | void | [setCoordinatesId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a1f1a501898b6eaf181ef0b3b7a991342) (int pValue) Changes the specified variable. |
> | void | [setLocationId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#ad49c7e9e12f20d93598d744d8c419f5c) (int pValue) Changes the specified variable. |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentCaseId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a47b791d288a9af06d565d5bacd1dd612) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentPhysicsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a05cad22c19d74259c554f2f0dc86305a) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentInputSettingsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a67d0800d2ce78055bcd9658b1ea30136) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentDomainTransformationId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#adbcf15409dbcf5051cc8fcb3afdf930f) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentMeshId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a808bda2819d90363f4914bc637969154) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentTopologyId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a3f53d6fb39644ef6a923d2d79baa0d12) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentConnectivityId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#ad4aecfe2ed99b6e81a24edcc8699aa42) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentCoordinatesId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a2badf834ba45aa1be083272d66e68cb8) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrentLocationId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a9c43c27adee9503eed4f3940ded66ac7) () const See getFirstIterator(const std::string&) |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [getFirstIteratorForCurrent](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a992b28250638dc51bde6fc49ea336ab4) (const std::string \&pVar) const Return the first entry in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md), with same variable value. |

## Static Public Member Functions

| Type | Name |
| - | - |
| static std::string | [runStatusToString](#a004b5a97849f111dd65e68feb6a21874) (RunStatus pStatus) |
| static RunStatus | [stringToRunStatus](#ae621836b9f23de5353a3cc87afa0a899) (const std::string \&pStr) |

## Protected Member Functions

| Type | Name |
| - | - |
| | [Run](#a0534e575974be1649e6990c6d5415978) ([Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) pIter, const std::string \&pSubclass) |

> [accordion] Protected Member Functions inherited from ansys::Project::SimBase
>
> Protected Member Functions inherited from [ansys::Project::SimBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md)
>
> | Type | Name |
> | - | - |
> | | [SimBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a818fb26085d036e187d4363696c37804) ([Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) pIter) |
> | virtual | [\~SimBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a5f50eff2ae40bad165b140399d9143e1) () |
> | [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [copyDatafileMeta](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a511aa7d1e5b9a422a7bec1812b1b2851) (const [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) \&pInput, [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) \&pOutput) |

## Additional Inherited Members

> [accordion] Static Public Attributes inherited from ansys::Project::RunOutputAttr
>
> Static Public Attributes inherited from [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md)
>
> | Type | Name |
> | - | - |
> | static const std::string | [sVarTime](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a216010dc2b5c1190a68513b1d9617af4) |
> | static const std::string | [sVarSolverIteration](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a116b763a8622a5d731756e59b90416a0) |
> | static const std::string | [sVarIndex](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#accb529227d0a8af8ea6234c678172a81) |
> | static const std::string | [sVarCrankAngle](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a758d823643e8d2995709c4cd5b92bb45) |
> | static const std::string | [sVarCaseId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a0262e064b66ae42c08b689721c25f76a) |
> | static const std::string | [sVarInputSettingsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a1378a2dcbd4528f171f8e9c3aef6504f) |
> | static const std::string | [sVarDomainTransformationId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#af2a3f9fcbd8b5eb86a666d04b4b0a1ee) |
> | static const std::string | [sVarPhysicsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a1bd650ac5ff709a40039f5af2448409d) |
> | static const std::string | [sVarOutputSettingsId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a57055413a8762182cd616134e1ebaae9) |
> | static const std::string | [sVarMeshId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#aedb3ba68ad3e7475b8691c0826cce629) |
> | static const std::string | [sVarTopologyId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a6c7cab7452904746f93245318cb91ddd) |
> | static const std::string | [sVarConnectivityId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a8a5a7c0fbf131833584035fb3e15e152) |
> | static const std::string | [sVarCoordinatesId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a66a534af6f39ffe20a1a594006c8e31f) |
> | static const std::string | [sVarLocationId](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a5e75ed2d5bb13aac00fcf41087bdce22) |

> [accordion] Protected Attributes inherited from ansys::Project::SimBase
>
> Protected Attributes inherited from [ansys::Project::SimBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md)
>
> | Type | Name |
> | - | - |
> | [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) | [aIter](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#ae97b15e35c30f6eda557fc6dfaec2b5f) |

## Detailed Description

Subfolder of a [Simulation](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_simulation.md), regrouping Output/Result for a step.

Subclass of [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md), can be constructed from an [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md), the [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) is [ok()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a006186f7ee51c0d5548bd6cad367b032) only if the provided iterator is of the appropriate subclass.

```cpp theme={null}
  Iterator it = prj.get("/Sim1/Run1/");
  Run run(it);
    run.ok()
```

In a [Simulation](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_simulation.md), one or multiple [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) are created, to store the simulation Results, organized in [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders. The [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) might have Metatada assigned from the settings for this computation ( reference conditions, etc. )

The expected amount of [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) in a run, and the variables expected to be defined for each [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) depends of the RunOutputType.

* Simple : Single [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md)
* Transient : One or more [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md). variable : Time
* Steady : One or more [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md). variable : SolverIteration
* Sequence : One or more [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md). variable : Index
* Parametric : One or more [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md), for a sweep of values across a list of variables.

A variable ([addVariable()](#ab4e9f4d0c7f6e9747451330dc698c5bc), addVar\*()) enabled in a [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md), is expected to be changed across all [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders. Its related to the input settings, or the context of a result (for example, the solver iteration or time step) Additional variables can be added, in addition to the mandatory variables from the RunOutputType

[Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) variables ([addOutputVariable()](#aa84a2103fc117a256bab7cce5fef9780)) are values computed from that result, they might be from monitors or probe points.

```cpp theme={null}
 Run run(it);
 run.setRunOutputType(Run::Transient);
 // Time is the automatic -mandatory- variable for Transient run type
 run.addOutputVariable("probe-temperature");
 Output o = run.newOutput("")
 o.setTime(0.);
 o.newResult("out.00000001.dat","","Result","fluent-dat");
 o.setValue("probe-temperature",277.64);
 o = run.newOutput("")
 o.setTime(0.1);
 o.newResult("out.00000002.dat","","Result","fluent-dat");
 o.setValue("probe-temperature",278.822);
```

Variable values assigned to the [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) will be inherited by all underlying [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) and [Result](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_result.md) children.

## Member Enumeration Documentation

### OutputMatchOperator

```cpp theme={null}
enum ansys::Project::Run::OutputMatchOperator
```

| Enumerator | |
| - | - |
| Equal | |
| Greater | |
| GreaterEqual | |
| Smaller | |
| SmallerEqual | |

### OutputSequenceOrder

```cpp theme={null}
enum ansys::Project::Run::OutputSequenceOrder
```

| Enumerator | |
| - | - |
| CreationID | |
| MonotonicIncreasing | |
| Increasing | |
| IncreasingUnique | |
| Decreasing | |
| DecreasingUnique | |

### RunOutputType

```cpp theme={null}
enum ansys::Project::Run::RunOutputType
```

| Enumerator | |
| - | - |
| Simple | |
| Sequence | |
| Parametric | |
| Transient | |
| Steady | |
| RO\_Other | |

## Constructor & Destructor Documentation

### Run() \[1/2]

```cpp theme={null}
ansys::Project::Run::Run(Iterator pIter)
```

Constructor from [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md). \


The input [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md) must be of subclass [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) If the subclass is not [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md), the [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) object is invalid ( !ok() )

### \~Run()

```cpp theme={null}
virtual ansys::Project::Run::~Run()
```

`inline` `virtual`

### Run() \[2/2]

```cpp theme={null}
ansys::Project::Run::Run(
    Iterator pIter,
    const std::string & pSubclass
)
```

`protected`

## Member Function Documentation

### addOutputVariable()

```cpp theme={null}
bool ansys::Project::Run::addOutputVariable(const std::string & pVar)
```

Register an output variable for this run.

All [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders should define a specific value for this variable.

### addVarCaseId()

```cpp theme={null}
void ansys::Project::Run::addVarCaseId()
```

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

### addVarConnectivityId()

```cpp theme={null}
void ansys::Project::Run::addVarConnectivityId()
```

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

### addVarCoordinatesId()

```cpp theme={null}
void ansys::Project::Run::addVarCoordinatesId()
```

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

### addVarCrankAngle()

```cpp theme={null}
void ansys::Project::Run::addVarCrankAngle()
```

Add the built-in variable.

### addVarDomainTransformationId()

```cpp theme={null}
void ansys::Project::Run::addVarDomainTransformationId()
```

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

### addVariable()

```cpp theme={null}
bool ansys::Project::Run::addVariable(const std::string & pVar)
```

Register an input variable for this run.

This registration is not required for automatic variables (Transient=Time, etc.)

All [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders should define a specific value for this variable.

### addVarIndex()

```cpp theme={null}
void ansys::Project::Run::addVarIndex()
```

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

### addVarInputSettingsId()

```cpp theme={null}
void ansys::Project::Run::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

### addVarLocationId()

```cpp theme={null}
void ansys::Project::Run::addVarLocationId()
```

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

### addVarMeshId()

```cpp theme={null}
void ansys::Project::Run::addVarMeshId()
```

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

### addVarOutputSettingsId()

```cpp theme={null}
void ansys::Project::Run::addVarOutputSettingsId()
```

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

### addVarPhysicsId()

```cpp theme={null}
void ansys::Project::Run::addVarPhysicsId()
```

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

### addVarSolverIteration()

```cpp theme={null}
void ansys::Project::Run::addVarSolverIteration()
```

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

### addVarTime()

```cpp theme={null}
void ansys::Project::Run::addVarTime()
```

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

### addVarTopologyId()

```cpp theme={null}
void ansys::Project::Run::addVarTopologyId()
```

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

### computeIds()

```cpp theme={null}
Error ansys::Project::Run::computeIds()
```

Compute missing ids (CaseId, MeshId, InputSettingsId) from their dependencies.

### getAllVariables()

```cpp theme={null}
std::vector< std::string > ansys::Project::Run::getAllVariables() const
```

Returns the list of all variables ( input and output )

### getCase()

```cpp theme={null}
Iterator ansys::Project::Run::getCase() const
```

`virtual`

Returns the case file associated with this run (if any, see [setCase()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a2312d3c69d5f32a7c76bc567c942e945))

Reimplemented from [ansys::Project::SimBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a1fb985412b84a850718aa3aae6e03147).

### getCurrentOutput()

```cpp theme={null}
Iterator ansys::Project::Run::getCurrentOutput() const
```

Return the current output link for this run, typically the latest output is the current.

### getData()

```cpp theme={null}
Iterator ansys::Project::Run::getData()
```

Returns the default latest data file (from the current output, main data type)

### getIterator()

```cpp theme={null}
Iterator ansys::Project::Run::getIterator() const
```

`inline` `virtual`

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a6bc544ed688df70fc57237a5a5601e73).

Reimplemented in [ansys::Project::RunGroup](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_group.md#a6b797638d34347e6801b88c0e69e05ce).

### getOutputIterators()

```cpp theme={null}
std::vector< Iterator > ansys::Project::Run::getOutputIterators() const
```

Return the list of [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md), as a vector of [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md).

### getOutputs()

```cpp theme={null}
std::vector< Output > ansys::Project::Run::getOutputs() const
```

Return the list of [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md).

### getOutputSequence()

```cpp theme={null}
Error ansys::Project::Run::getOutputSequence(
    OutputSequenceOrder pOrder,
    std::string pVariable,
    std::vector< Output > & pOutputs
) const
```

Get the [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) sequence, ordered by the specified parameter.

Retrieve the output list, as ordered by a specific recipe and based on the value of a variable.

The default getOutput() will return the outputs as ordered by their creation order. In a simple transient or steady run, this will be sufficient to get the ordered datasets. Transient postprocessing typically assumes a monotonic (increasing, unique values) sequence. Parametric runs might have their dataset generated in any order, and a sorted list of outputs might be desirable.

**Parameters**

| Name | Description |
| - | - |
| pOrcer | : Indicate the order of the outputs - CreationID : Order by creation index, the pVariable argument is unused - MonotonicIncreasing : Strictly increating sequence of values for the specified variable. If the sequence reverts to a prior step, only the newer values are returned. 1,2,\[3,4,5]\{3,4,5,6} -> 1,2,\{3,4,5,6} - Increasing : Outputs are sorted by the specified variable low to high value - IncreasingUnique : As Increasing, but duplicates are removed in case of duplicate, the newest entry is kept. - Decreasing : Outputs are sorted by the specified variable high to low value - DecreasingUnique : As Increasing, but duplicates are removed in case of duplicate, the newest entry is kept. |
| pVariable | : Variable name to use in comparison Must be an integer or floating point property. The variable must be defined for all outputs. |

[RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md) contains the list of standard variable names See: [RunOutputAttr::sVarTime](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a216010dc2b5c1190a68513b1d9617af4), [RunOutputAttr::sVarSolverIteration](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a116b763a8622a5d731756e59b90416a0), etc.

**Parameters**

| Name | Description |
| - | - |
| pOutputs | : Array with [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) ordered as specified |

**Returns**

: [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) in case of unknown variable or invalid parameters

### getOutputsMatching()

```cpp theme={null}
std::vector< Output > ansys::Project::Run::getOutputsMatching(
    std::string pVariable,
    OutputMatchOperator pOperator,
    double pValue
) const
```

Get the list of outputs matching the specified condition.

Returns the subset of outputs matching the specified condition, the outputs will not have any specified order. See also [getOutputSequence()](#a8232142331a440960cd4f4f1d3d27355)

**Parameters**

| Name | Description |
| - | - |
| pVariable | : Name of the variable to check |
| pOperator | : Operator to use |
| pValue | : Value for comparison |

### getOutputVariables()

```cpp theme={null}
std::vector< std::string > ansys::Project::Run::getOutputVariables() const
```

Returns the list of output variables.

### getResult()

```cpp theme={null}
Iterator ansys::Project::Run::getResult(const std::string & pDataType)
```

Returns the current data file of specified type.

### getResultIterators()

```cpp theme={null}
std::vector< Iterator > ansys::Project::Run::getResultIterators(
    const std::string & pType,
    const std::string & pSubtype
) const
```

Return the list of results in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) and [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders, as vector of [Iterator](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_iterator.md).

**Parameters**

| Name | Description |
| - | - |
| pType | The type queried. Typically "Result" |
| pSubtype | The ResultType queried (for example "fluent-dat") |

### getResults()

```cpp theme={null}
std::vector< Result > ansys::Project::Run::getResults(
    const std::string & pType,
    const std::string & pSubtype
) const
```

Return the list of results in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) and [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders.

**Parameters**

| Name | Description |
| - | - |
| pType | The type queried. Typically "Result" |
| pSubtype | The ResultType queried (for example "fluent-dat") |

### getResultTypes()

```cpp theme={null}
std::vector< std::string > ansys::Project::Run::getResultTypes() const
```

Returns the list of available output types listed in the run Outputs.

### getRunOutputType()

```cpp theme={null}
Run::RunOutputType ansys::Project::Run::getRunOutputType() const
```

Return the RunOutputType as the enum.

### getRunOutputTypeAsString()

```cpp theme={null}
std::string ansys::Project::Run::getRunOutputTypeAsString() const
```

Return the RunOutputType as a string.

### getRunStatus()

```cpp theme={null}
RunStatus ansys::Project::Run::getRunStatus() const
```

Returns the RunStatus state for this [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md). See [setRunStatus()](#ae14a2fd242ce9515baba2542a12fe493)

### getTransientOutputs()

```cpp theme={null}
Error ansys::Project::Run::getTransientOutputs(
    const std::string & pResultType,
    std::vector< Iterator > & pOutIterators,
    std::vector< double > & pOutTimeval
) const
```

For transient runs - return the list of output results and their time values.

The output runs are processed to return a monotonic (increasing, unique values) sequence (see [getOutputSequence()](#a8232142331a440960cd4f4f1d3d27355)). For each output of that sequence, if a result of the specified type exist, its returned alongside with the time value.

**Parameters**

| Name | Description |
| - | - |
| pResultType | File type (ResultType metadata) of the result query |
| pOutIterators | (output) |
| pOutTimeval | (output) |

### getValue()

```cpp theme={null}
std::string ansys::Project::Run::getValue(
    const std::string & pVar,
    bool pFlagInherited
) const
```

`virtual`

Search the metadata (local and inherited) for the specified key and return the value as string.

**Parameters**

| Name | Description |
| - | - |
| pFlagInherited | : If true, the parent Run/Simulation are searched for the metadata entry, if not defined locally |

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a77b9663f5a89b1a0f34fb51e8561bd59).

### getValueDouble()

```cpp theme={null}
double ansys::Project::Run::getValueDouble(
    const std::string & pVar,
    bool pFlagInherited
) const
```

`virtual`

Search the metadata (local and inherited) for the specified key and return the value as double.

**Parameters**

| Name | Description |
| - | - |
| pFlagInherited | : If true, the parent Run/Simulation are searched for the metadata entry, if not defined locally |

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a403042318aa17d920be19cb3062e63aa).

### getValueInt()

```cpp theme={null}
int ansys::Project::Run::getValueInt(
    const std::string & pVar,
    bool pFlagInherited
) const
```

`virtual`

Search the metadata (local and inherited) for the specified key and return the value as integer.

**Parameters**

| Name | Description |
| - | - |
| pFlagInherited | : If true, the parent Run/Simulation are searched for the metadata entry, if not defined locally |

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#ab071e4ff3568754cc9e0dc1f6c6f20f7).

### getValueIter()

```cpp theme={null}
Iterator ansys::Project::Run::getValueIter(const std::string & pVar) const
```

Search the metadata (local and inherited) for the specified metadata link and return the value as an iterator.

**Parameters**

| Name | Description |
| - | - |
| pFlagInherited | : If true, the parent Run/Simulation are searched for the metadata entry, if not defined locally |

### getValues()

```cpp theme={null}
std::vector< std::vector< std::string > > ansys::Project::Run::getValues(
    const std::vector< std::string > & pVars
) const
```

Return the list of values -one per output- for a list of variables.

### getValueType()

```cpp theme={null}
MetaVariableType ansys::Project::Run::getValueType(
    const std::string & pVar,
    bool pFlagInherited
) const
```

`virtual`

Search the metadata (local and inherited) for the specified key and return the its data type.

**Parameters**

| Name | Description |
| - | - |
| pFlagInherited | : If true, the parent Run/Simulation are searched for the metadata entry, if not defined locally |

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a160bf20b163631c67ceb8fbd0f05d81c).

### getVariables()

```cpp theme={null}
std::vector< std::string > ansys::Project::Run::getVariables() const
```

Return the list of input variables for this [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md).

### hasValue()

```cpp theme={null}
bool ansys::Project::Run::hasValue(
    const std::string & pVar,
    bool pFlagInherited
) const
```

`virtual`

Search the metadata (local and inherited) for the specified key.

**Parameters**

| Name | Description |
| - | - |
| pFlagInherited | : If true, the parent Run/Simulation are searched for the metadata entry, if not defined locally |

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a81a3387403060a40ad820acfcd465247).

### isValid()

```cpp theme={null}
Error ansys::Project::Run::isValid() const
```

`virtual`

Returns error with message if invalid.

Implements [ansys::Project::SimBase](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_sim_base.md#a3c713318a297544df6164b21df42454d).

Reimplemented in [ansys::Project::RunGroup](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_group.md#a3e9c11403f6ecd0abfeee7e05706631c).

### newOutput()

```cpp theme={null}
Iterator ansys::Project::Run::newOutput(std::string pName = "")
```

Create a [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) folder in the current [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) folder.

The [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) folder is by default a virtual (project-only) folder and no folder is created in the filesystem. By default, all [Result](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_result.md) owned by a Run/Output are stored in the same disk folder, but the [Project](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_project) structure regroup each group of [Result](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_result.md) in an [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) block.

**Parameters**

| Name | Description |
| - | - |
| pName | : Name of the output folder , use "" to have a default automatic name generated ( o###### ) |

### removeOutputs()

```cpp theme={null}
Error ansys::Project::Run::removeOutputs(
    const std::vector< Output > & pOut,
    bool pEraseFiles
)
```

Remove the specified list of [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) from the children of this run.

**Parameters**

| Name | Description |
| - | - |
| pEraseFiles | If true, the associated files to the outputs will be erased |

### removeOutputVariable()

```cpp theme={null}
bool ansys::Project::Run::removeOutputVariable(const std::string & pVar)
```

Remove an output variable.

### removeVariable()

```cpp theme={null}
bool ansys::Project::Run::removeVariable(const std::string & pVar)
```

Remove a variable from the list of inputs.

Mandatory variables cannot be removed

### runStatusToString()

```cpp theme={null}
std::string ansys::Project::Run::runStatusToString(RunStatus pStatus)
```

`static`

### setCurrentOutput()

```cpp theme={null}
void ansys::Project::Run::setCurrentOutput(Iterator pOutput)
```

Set the current output link for this run, typically the latest output is the current.

### setOutputVariables()

```cpp theme={null}
bool ansys::Project::Run::setOutputVariables(const std::vector< std::string > & pVars)
```

Set/replace the list of output variables.

### setRunOutputType()

```cpp theme={null}
bool ansys::Project::Run::setRunOutputType(RunOutputType pType)
```

Set the run output type, will add automatically the mandatory variables (if any)

### setRunStatus()

```cpp theme={null}
void ansys::Project::Run::setRunStatus(RunStatus pStatus)
```

Set the RunStatus state for this [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md).

(Optional API) The run status permits to indicate if a [Run](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run.md) is running, completed, waiting for execution, etc. This status can also be defined at the [Output](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) level

### setValue() \[1/3]

```cpp theme={null}
void ansys::Project::Run::setValue(
    const std::string & pVar,
    const std::string & pValue
)
```

`virtual`

Sets the local metadata to the specified key/value.

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a9dc92e98bb7324c86192441ead647996).

### setValue() \[2/3]

```cpp theme={null}
void ansys::Project::Run::setValue(
    const std::string & pVar,
    double pValue
)
```

`inline`

### setValue() \[3/3]

```cpp theme={null}
void ansys::Project::Run::setValue(
    const std::string & pVar,
    int pValue
)
```

`inline`

### setValueDouble()

```cpp theme={null}
void ansys::Project::Run::setValueDouble(
    const std::string & pVar,
    double pValue
)
```

`virtual`

Sets the local metadata to the specified key/value.

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#a3659d02ece965df37d5b09a27776b645).

### setValueInt()

```cpp theme={null}
void ansys::Project::Run::setValueInt(
    const std::string & pVar,
    int pValue
)
```

`virtual`

Sets the local metadata to the specified key/value.

Implements [ansys::Project::RunOutputAttr](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_run_output_attr.md#aec45f664a9284184f247462cdebef7a7).

### setVariables()

```cpp theme={null}
bool ansys::Project::Run::setVariables(const std::vector< std::string > & pVars)
```

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](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_output.md) subfolders should define a specific value for each variable.

### stringToRunStatus()

```cpp theme={null}
RunStatus ansys::Project::Run::stringToRunStatus(const std::string & pStr)
```

`static`
