Skip to main content
Main object for Simulation based projects. #include "SimProject.hpp" Inheritance diagram for ansys::Project::SimProject:

Public Member Functions

Public Member Functions inherited from ansys::Project::Project

Protected Member Functions

Protected Member Functions inherited from ansys::Project::Project

Additional Inherited Members

Static Public Member Functions inherited from ansys::Project::Project
Static Protected Member Functions inherited from ansys::Project::Project
Static Protected Attributes inherited from ansys::Project::Project

Detailed Description

Main object for Simulation based projects. The SimProject manages the .flprj index file, and (if enabled) the .cffdb folder. The project contains the global storage settings, and contains Simulation subfolders. The project concept is detailed in Project API

Constructor & Destructor Documentation

SimProject()

Constructor - See Project::Project()

~SimProject()

virtual Constructor - See Project::~Project()

Member Function Documentation

checkProject()

virtual Check the currently loaded project for validity. Project::checkProject() will only check files and folders, while SimProject::checkProject() will check the Simulation and their files for consistency and project syntax compliance. Parameters Reimplemented from ansys::Project::Project.

copyMetadata()

virtual Copy metadata between two project items. Reimplemented from ansys::Project::Project.

duplicateSimulation()

Duplicate a simulation to a new name. Metadata is copied Input files stored in the source simulation are copied over and linked to the new location. Input files referencing files outside of the simulation are kept as such. Returns Iterator of the newly created run

getCurrentSimulation()

Returns the current simulation link - if any.

getGeometries()

Retrieve all geometry file names from Geometry/ folder.

getGeometry()

Retrieve Geometry iterator from Geometry/ folder, by name.

getInheritedMetadata()

virtual Return the metadata for the current iterator and include relevant data from parent iterators. In Project this only returns the metadata for the current iterator, unless the parent item is a Transparent item, the data is then also included. Used in some UI elements. Reimplemented from ansys::Project::Project.

getItem()

Retrieve Item iterator from Category/ folder, by name.

getItems()

Retrieve all item names from from Category/ folder.

getMesh()

Retrieve Mesh iterator from Mesh/ folder, by name.

getMeshes()

Retrieve all mesh names from Mesh/ folder.

getSimulation()

Retrieve a Simulation in the SimProject, by name.

getSimulations()

Retrieve the list of Simulation names in the SimProject.

importGeometry()

Import a CAD in a Geo/ subfolder of the project. Parameters Returns Error state

importItem()

Import a file of any type in the Type/ subfolder of the project. Parameters Returns Error state

importMesh()

Import a mesh in a Mesh/ subfolder of the project. Parameters Returns Error state

newSimulation()

Create a new Simulation folder in the SimProject. Parameters

projectObjectFactory()

protected virtual Create a new object of the current effective project type. Reimplemented from ansys::Project::Project.

removeSimulation()

Remove a named simulation from the project. Parameters

setCurrentSimulation()

Set the current simulation link - i.e. the ‘default’ simulation. The current simulation link is set automatically to any newly created simulation, and can be changed afterwards.

setupNewProject()

protected virtual Reimplemented from ansys::Project::Project.

updateFromPolicy()

protected virtual Reimplemented from ansys::Project::Project.

upgradeProject()

virtual Upgrade project to current version. See Project::upgradeProject() The SimProject version will upgrade the Simulation and related concepts to the latest project file format. Reimplemented from ansys::Project::Project.