Workbench Scripting Guide
Workbench Scripting Guide
ANSYS, ANSYS Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand, product, service and feature
names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries located in the
United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark
of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property
of their respective owners. FLEXlm and FLEXnet are trademarks of Flexera Software LLC.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-
ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2015 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, contact ANSYS, Inc.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
Workbench Scripting Guide
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
Workbench Scripting Guide
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. v
Workbench Scripting Guide
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
vi of ANSYS, Inc. and its subsidiaries and affiliates.
List of Figures
1. Mixing in base geometry ........................................................................................................................ 17
2. Mixing in modified geometry .................................................................................................................. 18
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. vii
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
viii of ANSYS, Inc. and its subsidiaries and affiliates.
List of Tables
1. Scripting Support for Data-Integrated Applications .................................................................................... 8
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. ix
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
x of ANSYS, Inc. and its subsidiaries and affiliates.
Scripting Overview
ANSYS Workbench offers the ability to record the actions you perform via the GUI, which is referred to
as journaling. Journals are recorded as Python-based scripts. You can modify these scripts or create new
ones, which is referred to as scripting. Together, these capabilities allow you to quickly and easily replay
analyses you've already run via recorded journals, as well as to extend functionality, automate repetitive
analyses, and run analyses in batch mode via scripting.
Note:
• For the purposes of this documentation, ANSYS Workbench refers to all applications and
tools running in the Workbench environment, including the Project tab and Parameter
Manager. If features apply only to specific applications or tools, this is indicated.
• Journaling and scripting uses a decimal point as the decimal separator and a comma as
the separator for list items regardless of locale settings. The GUI will display values and
lists using the current locale settings.
– Running the View Solver Output option from VistaTF's Solution cell
Journaling
A journal is a record of all operations that have modified data during your session. Based on your
preference settings, a journal of your full session can be automatically saved to a location that you
specify. For more information, see Setting Journaling Preferences (p. 2). You can also choose to record
part of a session to a journal file, capturing a specific set of actions. Playing back the journal will re-
create the recorded actions exactly. Journaling and scripting tools (including recording and playback)
are available through the File > Scripting menu in ANSYS Workbench.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1
Scripting Overview
Journaled sessions can be used to restore work after a crash. Journals are platform-independent and
portable, subject to file location consistency between accounts. For information on file path handling
within journals and scripts, see File Path Handling in ANSYS Workbench (p. 15).
1. In ANSYS Workbench, select Tools > Options > Journals and Logs.
2. To have ANSYS Workbench automatically write journal files, select Record Journal Files.
This is the location that the file browser will open in automatically when you choose to
begin recording a journal. You will still be able to browse to a different location before
saving a particular journal.
5. Specify how long (in seconds) to pause between each command when running a journal
file.
3. Specify the name and location of the journal file and click Save.
4. Use the GUI to work through your analysis as you normally would.
6. Click OK.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
2 of ANSYS, Inc. and its subsidiaries and affiliates.
Journaling and Scripting Capabilities
As you enter each command, the appropriate action will occur in the ANSYS Workbench database
and, if applicable, in the GUI.
In this journal, template1 and system1 are the variables for the references to the associated data
objects. The variables are used within the journal to access the properties and methods of the objects.
These variables are created and recorded specifically for replaying the journal, and they are not
immediately accessible from within the command window. However, when working in the command
window, you may want to use these variables. Doing so can aid in manually examining the details
of your project or assist in creating scripts based on the journal. To use these variables, execute
the command ImportJournalVariables (p. 1370) in the command window to make the variable defin-
itions from the currently recorded journal available in the command window. You should be aware
of the following points when using the ImportJournalVariables() command:
• The variable definitions are based on those in the currently recorded journal. By default, this
journal is the automatically recorded journal controlled by user preferences. For more inform-
ation, see Setting Journaling Preferences (p. 2). If you have manually started a journal re-
cording of part of your session, the variable definitions are taken from the manually recorded
journal. For more information, see Recording a Journal Manually (p. 2).
• If you have any manually defined variables of the same name as any journal variables, your
variables will be overwritten by the journal variables.
• Changing the definition of a journal variable in the command window after executing Im-
portJournalVariables() does not affect the definition of the variable in the currently
recorded journal.
When typing a command or statement, the following special keys are available for moving the
text cursor:
Key Action
Left Arrow Moves the cursor back one character
Right Arrow Moves the cursor forward one character
Ctrl + Left Arrow Moves the cursor back one word
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 3
Scripting Overview
Key Action
Ctrl + Right Moves the cursor forward one word
Arrow
Home Moves the cursor to the beginning of the
line
End Moves the cursor to the end of the line
You can copy text from the command window to the clipboard or paste text from the clipboard
as input to the command window. The following keys allow you to copy and paste text:
Key Action
Ctrl+C/Ctrl+Insert Copies selected text from the command window to the clipboard. Text copied
from the command window is first selected (highlighted) using the mouse.
Ctrl+V/Shift+Insert Pastes the text found on the clipboard into the input area of the command
window. If multiple lines of text are pasted, the lines must be one or more
complete Python statements.
Command History
The command window maintains a history of commands or statements that you enter so you
can easily recall a previously entered command or statement and invoke it again without re-
typing it. You could also make some modifications to it before invoking it again.
Key Action
Up Arrow/Page Up Recalls the previously entered command, and the command before that if
the key is pressed again
Down Arrow/Page Recalls the next command in the history list
Down
Command Completion
Type one or more characters and press the Tab key once or multiple times to see the defined
variables and commands that have names beginning with the characters you typed. Entering an
object variable name with the dot (.) and then pressing the Tab key will cycle through the defined
properties and methods for that object. Entering one or more characters after the dot will restrict
the completion results to just those properties and methods that start with those characters.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
4 of ANSYS, Inc. and its subsidiaries and affiliates.
Journaling and Scripting Capabilities
Key Action
Tab Completes the current text on the command line with any variable, property, command,
or method name that is valid in the current context. Press Tab repeatedly to cycle forward
through possible completions, if available.
Shift+Tab Same as Tab but cycles backwards through possible completions.
Scripting
A script is a set of instructions to be issued to ANSYS Workbench. The script can be a modified
journal, or it can be a completely new set of instructions that you write directly.
ANSYS Workbench uses an object-based approach. For scripting, some knowledge of object oriented
programming and the Python language is advantageous. For more information on using scripting,
see Using Scripting in ANSYS Workbench (p. 13).
ANSYS Workbench scripting is based on IronPython 2.6. Before attempting to write or modify ANSYS
Workbench scripts, you should be familiar with using this version of Python.
IronPython is well integrated with the rest of the .NET Framework (on Windows) and Mono CLR (on
Linux) and makes all related libraries easily available to Python programmers while maintaining
compatibility with the Python language. For more information on IronPython, see http://ironpython.net/.
IronPython is generally compatible with existing standard Python scripts. However, not all C-based
Python library modules are available under IronPython, as discussed on the IronPython website.
For more information on Python, including a standard language reference, see http://www.python.org/.
For a complete list of ANSYS-published data containers (p. 37), namespaced commands (p. 1323), and
data types (p. 1399), see the reference material later in this document.
Note:
When you run an older script, the original script file will not be changed. However, if
you paste commands from an older script into the command window and you are
journaling your session, any outdated commands in the journal are replaced by the up-
dated commands.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 5
Scripting Overview
Where PLATFORM is one of the following (as applicable to the application or tool that you are using):
Win64
Linux64
For example, to run ANSYS Workbench from the default installation location on a Windows 64-bit
system, the command would be:
C:\Program Files\ANSYS Inc\V211\Framework\bin\win64\runwb2
The following table describes the command line arguments that can be used to control ANSYS
Workbench file operations and execution behavior at start-up.
Argument Operation
-B Run ANSYS Workbench in batch mode. In this mode, the user interface is not
displayed and a console window is opened. The functionality of the console
window is the same as the ANSYS Workbench command window.
-R Work- Replay the specified ANSYS Workbench script file on start-up. If specified in
benchScript- conjunction with –B, ANSYS Workbench will start in batch mode, execute the
File specified script, and shut down at the completion of script execution.
-I Run ANSYS Workbench in interactive mode. This is typically the default, but if
specified in conjunction with –B, both the user interface and console window are
opened.
-X Run ANSYS Workbench interactively and then exit upon completion of script
execution. Typically used in conjunction with –R.
-F Workbench- Load the specified ANSYS Workbench project file on start-up.
ProjectFile
-E command Execute the specified ANSYS Workbench scripting command on start-up. You can
issue multiple commands, separated with a semicolon (;), or specify this argument
multiple times and the commands will be executed in order.
Console Window
The console window is the same as the command window but is present when running in
batch mode to provide a way of working directly with commands outside of the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
6 of ANSYS, Inc. and its subsidiaries and affiliates.
Journaling and Scripting Capabilities
2. Select the journal or script file to be played back and click Open.
To use the command line to play a journal or script, see Command Line Execution of ANSYS Work-
bench (p. 6).
Data-integrated applications are created independently of the ANSYS Workbench framework but have
been extended so they can be driven by the Project Schematic and share key data and parameters
with ANSYS Workbench and ANSYS Workbench-enabled applications. Data-integrated applications
include the Mechanical APDL application, ANSYS Fluent, ANSYS CFX, DesignModeler, and the Mech-
anical application.
The difference between native workspaces and data-integrated applications is an important consider-
ation for ANSYS Workbench journaling and scripting. All operations that modify the data associated
with a native workspace are journaled and can be fully automated with ANSYS Workbench scripting.
For data-integrated applications, only those operations initiated from the Project Schematic are
journaled. Such operations include system updates and data transfers. Operations performed within
data-integrated application are not necessarily journaled or controlled by ANSYS Workbench scripting.
For example, steps to construct geometry in Mechanical APDL or solution methods in ANSYS Fluent
are not journaled.
Although data-integrated applications do not fully support ANSYS Workbench scripting, many of
them have their own native scripting language which is accessible through the ANSYS Workbench
scripting interface. For more information, see Table 1: Scripting Support for Data-Integrated Applica-
tions (p. 8). For example, Mechanical APDL is based on the powerful ANSYS Parametric Design
Language (APDL), and APDL commands can be directly incorporated within an ANSYS Workbench
script.
You use SendCommand to pass native scripting commands to data-integrated applications. You can
insert SendCommand calls into your ANSYS Workbench scripts to drive data-integrated applications.
However, data-integrated applications do not necessarily record operations in the ANSYS Workbench
journal. Most scriptable data-integrated applications have an independent journal where native
commands are recorded.
In Table 1: Scripting Support for Data-Integrated Applications (p. 8), a Yes in the Supports Scripting
with SendCommand column indicates that the data-integrated application can be driven from an
ANSYS Workbench script by manually inserting SendCommand calls.
A Yes in the Supports Journaling with SendCommand column indicates that the data-integrated
application records its operations with SendCommand and that the state of the application can be
restored from the ANSYS Workbench journal itself. To learn more about SendCommand, see Mechan-
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
Scripting Overview
ical APDL and Sending Commands to Integrated Applications (p. 27) and the detailed description of
the method in Part , Data Containers (p. 37).
Project Elements
You should understand the following terms and concepts when working with ANSYS Workbench
scripting. The following image depicts the relationship between the objects in a project.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Workbench Project and Data Model Concepts
Project
The project is the full collection of systems, components, data, and their connections that you create
to achieve an overall CAE goal.
System
Component
A component includes a collection of data and a data editor that work together to achieve a CAE-
related task. A system may include several components which together to define a simulation
workflow. A data editor can be an ANSYS Workbench-enabled application like ANSYS Fluent or
Mechanical, or a native ANSYS Workbench workspace like Engineering Data or Design Exploration.
In the ANSYS Workbench user interface, a component is depicted as a cell in the Project Schematic.
In an abstract sense, a component receives data from external or upstream sources, enables you to
edit data local to the container, and then performs operations to produce output data. For example,
a meshing component may receive geometry data from an upstream source, enable you define
meshing attributes, and then generate a mesh for a downstream analysis.
In addition to managing the data and data editor required for a CAE task, a component also provides
common services to control the input and output data from the component. For example, the
component allows its output data to be transferred to other components.
Data Container
A data container (p. 37) includes data unique to an individual component as well as the services
to manage and manipulate it. Although most components have a single data container, they may
have more than one.
Services which create, retrieve, or modify a component’s local data are provided by the data con-
tainer, while services to control the transfer of data into and out of the component are provide by
the component.
Data Entity
A data entity is a data structure defined within the data container. A data container often employs
several data entities. A data entity is similar to a class in an object-oriented programming language.
It defines member data (or properties) and methods that can be called to perform operations on
the data.
Data Reference
A data reference is a handle to an instantiated data entity. From a data entity definition, an object
can be created, and the data reference provides access to that object. In an ANSYS Workbench
journal, data references are assigned to variables. The variables are then used to access the properties
and methods of the data entity. Consider the following example:
system = GetSystem(Name="My Analysis")
system.Update()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
Scripting Overview
The first line queries for a previously instantiated system data entity named My Analysis. The
GetSystem method returns a data reference to the specified system object and assigns it to the
variable system. Using this variable, the second line calls a method supported by the system data
entity named Update. This method updates the state of the system referenced by the variable,
which is named My Analysis.
Similar to data references, a data container reference is a handle to an instantiated data container
object.
An object encapsulates a combination of data and services that act on the data. In the ANSYS
Workbench scripting interface, data entities, data containers, or components are all examples of
objects. Access to these objects is provided by data references and data container references.
Property
A object’s data is referred to as its properties. In the ANSYS Workbench scripting interface, only
objects derived from data entities have properties. A property is defined by its name, type, and
value. Property types include:
• Boolean
• String
• Physical quantities
An object’s properties are accessed by applying the dot operator on the corresponding reference
to that object. In the following example, parameter1 is a data reference to a parameter object.
The Expression property of this object is set to 10.
parameter1.Expression = "10"
Method
A method is a command that is bound to a data entity or data container object. Methods can change
property values, create or delete properties, or invoke complex calculations and operations. Methods
may require arguments to further specify the action to be taken, and they may return an object as
a result of that action. Like properties, an object's methods are accessed by applying the dot oper-
ator on a corresponding data reference. In the following example, parameter1 is a data reference
to a parameter object. The method SetQuantityUnits is called to set the object's units to
meters.
parameter1.SetQuantityUnits("m")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Workbench Project and Data Model Concepts
To see a list of all methods and queries in a component, execute dir(component) from the
Workbench script console.
Argument
An argument is a variable that can be passed to a method when invoked. An argument has a type
and share most of the same types as properties.
ANSYS Workbench methods use named arguments, where each argument is given a name that is
used to distinguish it from other arguments in the method. Because the arguments are named,
their order is inconsequential.
Arguments can be required or optional. All required arguments must be specified or the method
will fail. Optional arguments may be omitted and typically take a default value.
In the following example, the density property of a material is set to 8500 kg/m3. The named argu-
ments are Variables and Values, which are set to "Density" and "8500 [kg m^-3]" re-
spectively.
property1.SetData(Variables="Density", Values="8500 [kg m^-3]")
Because ANSYS Workbench uses named arguments, the following form of the command is also ac-
ceptable.
property1.SetData(Values="8500 [kg m^-3]", Variables="Density")
Query
A query is a method which typically returns a data or container reference which can then be used
to further interrogate or modify the project. Queries by themselves do not change the state of the
project. Like methods, queries may require specifying arguments.
Namespaced Commands
Namespaced commands (p. 1323) are commands that are not bound to a particular object but have
been grouped in a namespace with other commands having similar context. Like methods, commands
perform some action, often require arguments, and may return an object as a result of the action.
In the following example, the Update command is called in the Project namespace to update all
components in a project by refreshing the input data and performing local calculations:
Project.Update()
Apps that create templates are analogous to document templates provided for Microsoft Word. For
example, you can pick a Word report template that contains the formatting and sections for a type of
report that you want to create. You then create a document from that template and fill out your specific
content within that document to produce the report. Comparably, you may pick a system template in
ANSYS Workbench that describes the components, data, and relationships needed to execute a partic-
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
Scripting Overview
ular type of CAE analysis. You then create a system from that template, enter data, and perform operations
within that system to complete the analysis.
Templates facilitate and automate creation of project elements for a specific purpose. However, these
templates do not preclude you from manually (and flexibly) building up a project from the constituent
elements to achieve the same goal.
Project Template
A project template defines a set of system templates and the connections between them that can
be used to perform a multi-disciplinary CAE analysis task (such as Thermal-Stress or One-Way FSI).
The project template can be used to create specific instances of systems and components within
the project (such as the custom templates in the ANSYS Workbench Toolbox).
System Template
A system template contains the information to create an ANSYS Workbench System designed for
a particular simulation objective. ANSYS Workbench provides system templates for many types of
standard analyses, including static structural, fluid flow, explicit dynamics, steady-state thermal, and
others. The analysis systems listed in the ANSYS Workbench Toolbox are all examples of system
templates. All analyses performed in ANSYS Workbench begin by referencing a system template.
Component Template
The component template includes the allowed input/output data types, internal data, and key
commands associated with a specific component (such as Geometry).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
Using Scripting in ANSYS Workbench
ANSYS Workbench scripting follows an object-based approach, where interaction with data is defined
in terms of objects. Objects have properties that can be used to get or set data values, and methods
that use or modify the data. In terms of the ANSYS Workbench concepts described in ANSYS Workbench
Project and Data Model Concepts (p. 8), objects are references to data entities in the data model, and
the methods are commands and queries which operate on those entities.
For example, a parameter is a data entity that has properties such as description, value, and expression,
and has methods that operate on the parameter to (for example) delete it or determine which other
parts of the data model are associated with the parameter.
1. Query for either a data container or data entity objects. Queries are implemented as methods
on both data container and data entity objects, and they most often start with Get (such as Get-
Files, GetSystem, GetComponent). These methods return references to objects that are assigned
to variables. The variables can then be used to access object properties and methods. To illustrate
this process, consider the Design of Experiments (DOE) data container that includes a data entity
for the DOE model, which in turn contains a data entity for the input parameters. To query the input
parameter object, first query the DOE model from the data container, and then query the input
parameter from the DOE model:
DOEModel = DOEDataContainer.GetModel()
InputParameter = DOEModel.GetParameter(Name="P1")
In most instances, the variable for a data reference will be reused later in the journal or script so
that queries do not need to be re-executed. However, there are some instances (such as System
Coupling variables), where re-executing the query can clarify the context that is used to access the
object. In those situations, journal variables are not reused and queries are generated each time an
object is referenced.
2. Interrogate and modify object properties. If the query returns a reference to a data entity, you
can interrogate its properties and modify those that are not identified as Read Only in the reference
section (p. 37) of this guide. Properties are accessed by appending a dot and the property name to
the variable assigned to the object reference. For example, once a reference to an input parameter
is obtained, you can modify its classification (or Nature Property) to reflect that it is a continuous
or discrete parameter.
inputParameter.Nature = "NatureContinuous"
3. Call methods on objects. In addition to properties, most objects provide methods that operate on
internal data. To call a method on an object, append a dot, the method name, and a comma-separated
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
Using Scripting in ANSYS Workbench
argument list in closed parentheses. A method's required and optional arguments are also docu-
mented in the reference section (p. 37) of this guide. Continuing the input parameter example, you
can specify a restricted set of manufacturable values for a parameter by calling the AddLevels
method on the input parameter object and by constructing a list of values and assigning it to the
Levels argument.
inputParameter.AddLevels( Levels=["65", "70", "75", "80"])
Typical examples are provided in Usage Examples (p. 16). These examples demonstrate how to query
objects and how to invoke methods on those objects for the desired result. Refer to the reference sec-
tion (p. 37) in this guide for a complete list of all available data container objects and their respective
data entities, methods, properties, and arguments.
Units
Many properties and variable values in ANSYS Workbench represent physical quantities, which include
both a value and a unit in their definition. For more information, see Expressions, Quantities, and Units
in the Workbench User's Guide.
The assignments of these quantities are journaled using a "Value [Unit]" string syntax. This
method ensures that all available information is recorded in the journal. However, strings may be incon-
venient to work with when writing or modifying scripts that assign quantities.
When setting an entity property that refers to a quantity, the property assignment can be done as
a numeric value, and the units will be taken from the project unit system. For example, after setting
the Inlet Mass Flow in a VistaTF setup, the following would be recorded in the journal:
vistaTFSetup1 = setup1.GetSetupEntity()
vistaTFSetup1.MassFlow = "0.5 [kg s^-1]"
When entering this command or writing script, you can use a direct numeric value:
vistaTFSetup1 = setup1.GetSetupEntity()
SetProjectUnitSystem(UnitSystemName="SI")
vistaTFSetup1.MassFlow = "0.3 [lbm s^-1]" # Units explicitly provided
print vistaTFSetup1.MassFlow
>>> 0.3 [lbm s^-1]
vistaTFSetup1.MassFlow = 0.3 # Units are taken from the project unit system
print vistaTFSetup1.MassFlow
>>> 0.3 [kg s^-1]
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
File Path Handling in ANSYS Workbench
The same principles apply when setting variables in Material Property data tables (used primarily
in Engineering Data). For example, after selecting a material and changing the density to 9000 [kg
m^-3], the following would be recorded in the journal:
material1= eda1.GetMaterial(Name="Structural Steel")
materialProperty1= material1.GetProperty(Name="Density")
materialProperty1.SetData(
SheetName="Density",
Variables=["Density"],
Values=[["9000 [kg m^-3]"]])
When writing a script, for convenience, you can omit the units, and they will be taken from the current
project unit system. You can also omit the list brackets because only single values are being specified.
A condensed version of the above command that is valid when playing back a script is:
material1= eda1.GetMaterial(Name="Structural Steel")
materialProperty1= material1.GetProperty(Name="Density")
materialProperty1.SetData(
Variables="Density",
Values=9000)
A more complex example shows the creation of a temperature-dependent property using a script:
# Temperatures in degrees Fahrenheit
temperatures = [200,400,600,800,1000]
# Coefficient of Thermal Expansion in F^-1
alphas = [6.3e-6, 7.0e-6, 7.46e-6, 7.8e-6, 8.04e-4]
• When a journal is written, all backslashes that occur in command arguments representing a path
are converted to forward slashes.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
Using Scripting in ANSYS Workbench
• When a command argument containing a path is read, all slashes are internally converted to the
current platform-appropriate slash.
The following conventions and capabilities are used with the user path root.
• The default value of the user path root is taken from the Default Folder for Permanent Files
preference. Changing this preference will take effect in your next session.
• When a path is recorded to the journal and the start of the path matches the user path root,
then the path is recorded using AbsUserPathName("RelativePathName"). This function
constructs an absolute path based on the supplied relative path and the current user path root.
• You can access or change the current value of the user path root within a script using the fol-
lowing commands:
– pathRoot = GetUserPathRoot()
– SetUserPathRoot(DirectoryPath="NewPathRoot")
SetUserPathRoot does not change the Default Folder for Permanent Files preference but
simply overrides the path root setting in the current session.
Example
Assume that the current value of the user path root is C:\Users\myUser\Projects. The command
is:
Open(FilePath=r"C:\Users\myUser\Projects\proj1.wbpj")
You can override the current user path root to control the base location of files in your script:
SetUserPathRoot(DirectoryPath = "C:/Users/myUser1/Projects")
Open(FilePath=AbsUserPathName("proj1.wbpj")) # Read project from first location
SetUserPathRoot(DirectoryPath = "C:/Users/myUser2/Projects")
Open(FilePath=AbsUserPathName("proj1.wbpj")) # Read project from second location
Usage Examples
Several examples are provided here to demonstrate some typical scripting uses. All of the files used by
these examples are located in ANSYS_INSTALL_PATH\v211\commonfiles\examples\Script-
ing\ScriptingGuideExamples.zip. To use these example files, unzip them into the My Docu-
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
ments directory. All necessary subdirectories will be created, allowing these sample journals to run
correctly.
Automatically Update all Projects Affected by a Design Modification
Interaction with Files in a Project
Material Properties and Tabular Data
Mechanical APDL and Sending Commands to Integrated Applications
Updating a Workbench Project and Parameters from Excel
To automate the update of all affected projects, you would write a script that does the following:
• Replaces the original geometry with the new geometry file in any system in the project.
• Updates the project and reports any errors from the update.
• If the update was successful, reports the values of key output parameters under the modified
geometry.
• Saves the modified project with the new geometry file to a new directory.
Although the analysis specifics are secondary for the purposes of this example, a CFD analysis of a
blood mixing device is used. This device attempts to maximize mixing of two blood streams while
minimizing flow vorticity (which is an indicator of blood damage potential). Three projects involving
a coarse mesh model, a fine mesh model, and an asymmetric flow condition were created. The para-
meters of interest are pressure drop, average and maximum vorticity, and mixing factor of blood
stream 1 at the exit.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
Using Scripting in ANSYS Workbench
Workbench Script
The script for this example follows. Each line is numbered for reference in the discussion that
follows.
1 # import the 'os' module, which provides a portable way of using operating system dependent functionality
2 import os
3
4 # Helper function to write parameters to the log file
5 def writeParams(logFile):
6 for param in Parameters.GetAllParameters():
7 prmString = " " + param.Name + ": " + param.DisplayText + " = " + param.Value.ToString()
8 logFile.write(prmString + "\n")
9 logFile.flush()
10
11 workDir = "ScriptingGuideExamples/Design_Modification/"
12
13 # Define the original and target directories
14 origDir = AbsUserPathName(workDir + "Original")
15 newDir = AbsUserPathName(workDir + "Modified")
16
17 # Define new geometry file
18 newGeom = AbsUserPathName(workDir + "Geometry/bloodMix2.agdb")
19
20 # Open a log file to record script progress
21 logFile = open(AbsUserPathName(workDir + "GeometryReplace.log"),"w")
22
23 # Create the new directory if necessary
24 if not os.path.exists(newDir):
25 os.makedirs(newDir)
26
27 # Find all the projects in the original directory
28 projList = []
29 for fileName in os.listdir(origDir):
30 if fileName.endswith(".wbpj"):
31 projList.append(fileName)
32
33 # Process each project one at a time
34 for projFile in projList:
35
36 # Open the project into Workbench and clear any starting messages
37 projPath = os.path.join(origDir, projFile)
38 logFile.write("Processing project in " + projPath + "\n")
39 Open(FilePath=projPath)
40 ClearMessages()
41
42 # Output project parameter values before update
43 logFile.write("Parameter values in original project:\n")
44 writeParams(logFile)
45
46 # Walk through each system in the project and replace the geometry file (if there is a geometry Component)
47 for system in GetAllSystems():
48 try:
49 geometry = system.GetContainer(ComponentName="Geometry")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
50 except:
51 logFile.write("No geometry to replace in system " + system.DisplayText + "\n")
52 else:
53 geometry.SetFile(FilePath=newGeom)
54
55 # Update the project
56 try:
57 Update()
58 except:
59 logFile.write("update failed")
60
61 # If the project has been successfully updated, write out the new parameter values
62 # If not, write any project messages
63 if IsProjectUpToDate():
64 logFile.write("Parameter values in revised project:\n")
65 writeParams(logFile)
66 else:
67 logFile.write("ERROR: Project not successfully updated. The following messages were found:\n")
68 for msg in GetMessages():
69 msgString = " " + msg.DateTimeStamp.ToString() + " " + msg.MessageType + ": " + msg.Summary + "\n
70 logFile.write(msgString + "\n")
71
72 # In any case, save the modified project to the new directory
73 projPath = os.path.join(newDir, projFile)
74 Save(FilePath=projPath)
75
76 logFile.write("\n")
77 # End of project loop
78
76 logFile.close()
79
Log File
The log file generated by this script should look like this:
Processing project in C:\Users\neUser\Demo/ScriptExample1/Original/AsymmetricFlow.wbpj
Parameter values in original project:
P1: PressureDropCoeff = 34.2088
P2: mixing = 0.217835
P5: maxVorticity = 3939.22 [s^-1]
P4: aveVorticity = 27.4697 [s^-1]
Parameter values in revised project:
P1: PressureDropCoeff = 34.0394
P2: mixing = 0.276673
P5: maxVorticity = 3939.22 [s^-1]
P4: aveVorticity = 27.4034 [s^-1]
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
Using Scripting in ANSYS Workbench
Discussion
This example demonstrates a number of the typical programming constructs and ANSYS Work-
bench functionality that will be employed in the creation of scripts. The following discussion
refers to the specified line numbers of the example script to illustrate some of these concepts
and constructs.
Lines 1-2
The import keyword is used to include Python modules that enhance functionality available
within the script. The ‘os’ module used in this script provides capabilities for interacting with
operating system services. Refer to the Python Standard Library documentation for details on all
available modules.
Lines 4-9
A common pattern is to encapsulate repeated operations in Python function definitions and then
call these functions later in the script. Because the script is processed sequentially, the function
must be defined before it is used. This example defines a function writeParams() to loop
through all the parameters in the current project and write information to a provided file object.
When concatenating data into a string for output, all non-String data types must first be explicitly
converted to their string representation using the str(data) function or .ToString() method.
Lines 11-18
It is recommend that you use the AbsUserPathName function when working with directory or
file paths to promote portability of the path between user accounts and operating systems. See
File Path Handling in ANSYS Workbench (p. 15) for further details.
Lines 20-21
Standard Python functionality is used to open and write output to a log file throughout this script.
Lines 23-31
This section also employs standard Python to loop through all file names in a directory. All those
file names that end with the .wbpj extension are added to a list of project files for further pro-
cessing.
Lines 33-40
The script now processes each project in turn. At the beginning of the loop, the full path to the
project file is generated from the provided directory name and project file name in a platform-
independent manner using Python’s os.path.join function. The project is then opened and
messages are cleared so that later message processing will focus on new messages generated
during the update. Note that the Python is case-sensitive. The Open command is part of the
ANSYS Workbench Project namespace and is used to open an ANSYS Workbench project, while
the open command is provide by Python and is used to open any file and create a Python file
object.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
Lines 42-44
The writeParams function defined earlier in the script is used to record parameter values to
the log file before project modification.
Lines 46-47
The GetAllSystems() query is used to provide references to all systems in the project.
Lines 48-53
Because Geometry components are of specific interest, the system’s GetContainer() query is
used to try to get a reference to the Geometry data. A Python try/except/else construct is used
to handle the success or failure of the query.
An alternate approach here would be to walk through each component in the system and then
use information about the component to decide which to process. That approach is demonstrated
in a subsequent example.
Lines 55-59
An ANSYS Workbench project update is used to recompute all aspects of the project affected by
the geometry change. This step is the most computationally expensive part of the script. A Python
try/except construct is used to handle the success or failure of the update and prevent a premature
exit of the script.
Lines 61-70
After the update operation has completed, the script checks the whole project to see if it has
been successfully updated. If the project update was successful, the script calls the writeParams
function again to output updated parameter information to the log file. If the update was not
successful, the script records any project messages that were generated during the update.
Lines 66-70
Similar to the method used to process parameters, the script loops through all messages in the
project and write key information about each message to the log file.
Lines 72-77
A file path for the project within the desired directory for the modified projects is generated, and
the ANSYS Workbench Save command is called to save the modified project. After saving, the
loop repeats for the next project in the list.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
Using Scripting in ANSYS Workbench
To automate this search, you will write a script that performs the following operations. Two different
methods that accomplish the same task are demonstrated to illustrate different approaches to project
and file navigation.
1. Starting from a given location, recursively search through all subdirectories to find any ANSYS
Workbench projects.
2. For each project, looks for a specified geometry file in using one of two methods:
a. Get a flat list of all files in the project, and look for the desired file name.
b. Walk through all systems and their components, and query each component to get the
list of files registered to it. Then look if the component is using a file of the specified
name. This method is more involved but provides more detailed information (such as the
specific system or component using the file). It also gives access to the ANSYS Workbench
file references to provide detailed information like file size and last modification time.
Workbench Script
The script for this example follows. Each line is numbered for reference in the discussion that follows.
1 # import the 'os' module, which provides a portable way of using operating system dependent functionality
2 import os
3
4 # A helper function to find all Workbench projects within a specified directory and add them to a list.
5 # This recursivly calls itself to process subdirectories.
6 def findProjectFiles(searchDir, fileList):
7 print "Searching in %s" % searchDir
8 for dirEntry in os.listdir(searchDir):
9 fullName = os.path.join(searchDir,dirEntry)
10 if dirEntry.endswith(".wbpj"):
11 # Store the full path to the project file
12 projList.append(fullName)
13 if os.path.isdir(fullName):
14 findProjectFiles(fullName, fileList)
15
16
17 # Define starting directory to find project files.
18 # Here we'll look everywhere within the user's project path root directory.
19 searchDir = AbsUserPathName("ScriptingGuideExamples")
20
21 # Define file name of interest
22 targetFile = "bloodMix1.agdb"
23
24 # Recursively find all WB2 projects within the search directory
25 projList = []
26 findProjectFiles(searchDir, projList)
27
28 # Open a log file to record script progress
29 logFile = open(AbsUserPathName("ScriptingGuideExamples/Project_File_Search/FindFileInProjects.log"),"w")
30
31 for projFile in projList:
32 try:
33 Open(FilePath=projFile)
34 except Exception as ex:
35 logFile.write("Error opening %s, %s\n" % (projFile, ex))
36 continue
37
38 # Method 1: Search the list of all project files.
39 # This method is simpler, but not as much file information is readily available
40 for fileName in GetAllFiles():
41 if fileName.find(targetFile)> -1:
42 logFile.write("--\n")
43 fileStr = "File %s found in project %s\n"
44 logFile.write(fileStr % (fileName, projFile))
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
45 logFile.flush()
46
47 # Method 2: Walk through the systems and components, to find any that are using the file.
48 # This method is more complex, but provides detailed information through systems,
49 # components and file references. It's also a useful example of general
50 # System & Component navigation.
51
52 # Loop over all systems in the project
53 for system in GetAllSystems():
54 # Loop over the all components in the system
55 for component in system.Components:
56 container = component.DataContainer
57 # Loop over all file data references associated with the container for the component
58 for compFile in container.GetFiles():
59 if compFile.FileName.find(targetFile) > -1:
60 logFile.write("--\n")
61 sysStr = "Target file found in component %s of system named %s in %s. Details:\n"
62 fileStr = " %s, Size %s bytes, Modified %s\n"
63 logFile.write(sysStr % (component.DisplayText, system.DisplayText, projFile))
64 logFile.write(fileStr % (compFile.Location, compFile.Size, compFile.LastModifiedTime))
65 logFile.flush()
66
67 logFile.close()
68
Log File
The log file generated by this script should look like this:
--
Target file found in component Geometry of system named Static Structural in
C:\Users\neUser\DemoProjects\pipe1.wbpj. Details:
E:\data\Models\pipe_demo\pipe.x_t, Size 6934 bytes, Modified 06/07/2009 11:50:53 AM
--
File E:\data\Models\pipe_demo\pipe.x_t found in project C:\Users\neUser\DemoProjects\pipe1.wbpj
--
Target file found in component Geometry of system named Static Structural in
C:\Users\neUser\Working\pipeDemo.wbpj. Details:
E:\data\Models\pipe_demo\pipe.x_t, Size 6934 bytes, Modified 06/07/2009 11:50:53 AM
--
File E:\data\Models\pipe_demo\pipe.x_t found in project C:\Users\neUser\Working\pipeDemo.wbpj
Discussion
This example demonstrates how to navigate through systems and components in a project, as well
as useful queries and data entities for working with files. The following discussion refers to the specified
line numbers of the example script to illustrate some of these concepts and constructs. Discussion
points from earlier examples will not be repeated here.
Lines 4-14
This function finds all project files within a specified directory. The Python os.listdir function
returns all file and directory names in the specified location. If the name ends with .wbpj, ANSYS
Workbench stores the full path to a list of projects. If the name is a directory, ANSYS Workbench
recursively calls the function to search the subdirectory.
Lines 32-36
Here, the script demonstrates exception handling to catch any errors that result from opening
the project file and report the error to the log file. The continue statement skips to the next entry
in the project file loop.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Using Scripting in ANSYS Workbench
Lines 38-45
This method uses the GetAllFiles() query to get a flat list of all files used in the project and
looks at each entry to see if contains the target file name. If so, the script records the full path to
the target file and the project file to the log.
Line 53
The GetAllSystems() query is used to loop over all systems in the project.
Line 55
The Components property in the system is accessed to loop over the set of components in the
system.
Line 56
The DataContainer property is used to access the data within the component.
Line 58
The GetFiles() method on a container is used to return a list of file references that have been
associated to that container.
Lines 59-65
The script looks at the FileName property of each file reference to see if it contains the target
file name. If so, other properties of the file reference, system, and component are used to record
information about the file and its location within the project to the log file.
The above consideration will be used to demonstrate calculations based on physical quantities and
units.
To automate property creation, you will write a script that performs the following operations:
1. Create a system for a Static Structural analysis and access the data container for Engineering Data.
2. Load material data for Polyethylene. By default, this material does not include property data for
Multilinear Isotropic Hardening.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
3. Read experimental data from a text file and generate lists of data for the necessary variables
(converting Total Strain to Plastic Strain)
4. Create the Multilinear Isotropic Hardening property within Polyethylene and set its data table.
Workbench Script
The script for this example follows. Each line is numbered for reference in the discussion that follows.
1 workDir = "ScriptingGuideExamples\Material_Tabular_Data/"
2
3 # Create an Engineering Data system and access its data container
4 template1 = GetTemplate(
5 TemplateName="Static Structural",
6 Solver="ANSYS")
7 system1 = template1.CreateSystem()
8 engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
9
10 # Import Polyethylene
11 poly = engineeringData1.ImportMaterial(
12 Name="Polyethylene",
13 Source="General_Materials.xml")
14
15 # Initialize lists for variable values
16 temperature = []
17 strain = []
18 stress = []
19
20 # Get the value of Young's Modulus for use in the Total/Plastic strain calculation.
21 # Material Property data is always returned as a Quantity.
22 elasticity = poly.GetProperty(Name="Elasticity")
23 E = elasticity.GetData(Variables="Young's Modulus")
24
25 # Read the data file and create lists for Temperature, Strain and Stress values
26 # We must convert Total Strain in the data file into Plastic Strain
27 fileName = AbsUserPathName(workDir + "StressStrainData.txt")
28 dataFile = open(fileName,"r")
29 for line in dataFile:
30 # Skip comment lines
31 if line.startswith("#"):
32 continue
33
34 # Split at the comma to get strain, stress
35 (thisStrain, thisStress) = line.split(",")
36
37 # Convert the data into Quantities with Units.
38 thisStrain = Quantity(float(thisStrain),"m m^-1")
39 thisStress = Quantity(float(thisStress),"MPa")
40
41 # Append data to the variable lists (converting total strain to plastic strain)
42 temperature.append(0)
43 calcStrain = thisStrain - thisStress/E
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Using Scripting in ANSYS Workbench
Discussion
This example demonstrates interaction with Engineering Data to get, create, and set material properties.
It also demonstrates calculations involving quantities and units. The following discussion refers to
the specified line numbers of the example script to illustrate some of these concepts and constructs.
Discussion points from earlier examples will not be repeated here.
Lines 1-13
To set the project up to work with Polyethylene, the script creates a new Static Structural system,
access its Engineering Data container, and load material data from the General Materials library.
Lines 15-18
Interaction with tabular data is done in terms of the variables that make up the data table. Each
variable represents a column in the table, with a list of data for the variable. Here the script initial-
izes three lists for temperature, strain and stress data. Multilinear Isotropic Hardening property
data can be temperature-dependent, and temperature is a required variable in the data table.
Because the data is not temperature-dependent, you will use the same value of temperature (0
[C]) at each strain/stress point.
Lines 20-23
Because the calculation for plastic strain depends on Young's Modulus, you use the GetData()
method to get the Young’s Modulus value from the elasticity property. Within Engineering Data,
all property values are stored and returned as quantities, which include both a numeric value and
a unit. See Lines 35-41 for further discussion on quantities and units.
Lines 25-32
Here the script opens the text data file and reads each line one at a time. If the line begins with
a comment character '#', the script continues to the next line in the file.
Lines 34-35
The Python split() function is used to break the comma delimited line and return the separate
values into variables for strain and stress.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
Lines 37-39
In this example, you are creating explicit unit-based quantities for stress and strain values to ensure
dimensional and unit consistency in later calculations.
Material property data (or any other quantity data) can be set either as a quantity (with value and
units) or as a simple numeric value. For more information, see Specifying Quantities Without
Units (p. 14). If a numeric value is supplied, the units are assumed to be the same as the current
project units for the variable. It is the script writer’s responsibility to ensure the numeric data and
project units are consistent.
Line 43-45
Line 46
Here the script calculates plastic strain based on the available quantities and appends it to the
variable list. Mathematical operations involving quantities enforce dimensional consistency and
automatically perform unit conversion as necessary to generate a consistent result.
Line 47
Lines 50-52
Lines 53-57
The SetData() method is used to set single value or tabular data for material properties. Some
properties can contain more than one data table, so the SheetName and SheetQualifiers
arguments are used to specify the exact data table to be accessed. The Variables argument
specifies one or more variables in the table to be set. The Values argument specifies the values
that correspond to each variable.
Lines 59-62
Finally the script saves the project, overwriting if one already exists.
The case under consideration is a simple stress analysis of a bar that is defined in a Mechanical APDL
input file. The bar dimensions and output displacement have been parameterized within Mechanical
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Using Scripting in ANSYS Workbench
APDL. In this example, you wish to write a script that automates this analysis for a number of different
bar lengths and write an ANSYS .cdb file for each case for future processing.
To automate this process, you will write an ANSYS Workbench script that performs the following
operations:
1. Creates a system for Mechanical APDL analysis and loads the specified ANSYS input file.
2. Publishes some of the parameters from the input file to ANSYS Workbench.
3. Loops through a list of desired bar lengths and, for each value, does the following:
c. Sends APDL commands to Mechanical APDL to write the .cdb file to a desired location.
! define model
/prep7
block,,xlen,,ylen,,zlen
et,1,185
mp,ex,1,1e6
mp,prxy,1,0.3
vmesh,all
nsel,s,loc,z,0
d,all,all
nsel,s,loc,y,ylen
sf,all,pres,125
alls
fini
! retrieve results
/post1
! get the max stress at the fixed end
nsel,s,loc,x,xlen
nsel,r,loc,y,ylen
nsel,r,loc,z,0
*GET,out_my_node_stress,NODE,1,NXTH
*GET,out_seqv,NODE,out_my_node_stress,S,EQV
! get the max displacement at the free end
nsel,s,loc,x,xlen
nsel,r,loc,y,ylen
nsel,r,loc,z,zlen
*GET,out_my_node_def,NODE,1,NXTH
*GET,out_uy,NODE,out_my_node_def,U,Y
alls
fini
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
Workbench Script
The script for this example follows. Each line is numbered for reference in the discussion that follows.
1 # Import the 'os' module, which provides a portable way of using
2 # operating system dependent functionality
3 import os
4
5 workDir = "ScriptingGuideExamples/Sending_Commands/"
6
7 # Specify the Mechanical APDL Input file to be processed
8 inputFile = AbsUserPathName(workDir + "bar.dat")
9
10 # Provide a list of bar length (Z) values to solve and write CDB files for.
11
12 zValues = [3,5,12,15]
13
14 # Open a log file to record script progress
15 logFile = open(AbsUserPathName(workDir + "my_bar_script.log"),"w")
16
17 # Start a new project and create the Mechanical APDL system
18 Reset()
19 template1 = GetTemplate(TemplateName="Mechanical APDL")
20 system1 = template1.CreateSystem()
21
22 # Read the input file into the Mechanical APDL Setup
23 setup1 = system1.GetContainer(ComponentName="Setup")
24 mapdlInputFile1 = setup1.AddInputFile(FilePath=inputFile)
25
26
27 # Create Workbench parameters from two of the Mechanical APDL parameters
28 # in the input file
29 mapdlInputFile1.PublishMapdlParameter(Name="ZLEN")
30 parameter1 = Parameters.GetParameter(Name="P1")
31
32 mapdlInputFile1.PublishMapdlParameter(
33 Name="OUT_UY",
34 IsDirectOutput=True)
35 parameter2 = Parameters.GetParameter(Name="P2")
36
37 # Save the initial project definition.
38 Save(
39 FilePath=AbsUserPathName(workDir + "myBar.wbpj"),
40 Overwrite=True)
41
42 # Loop through all provided bar lengths
43 for zVal in zValues:
44
45 # Set the Z (length) parameter expression
46 parameter1.Expression = str(zVal)
47 logFile.write("Updating for z = %s\n" % zVal)
48
49 # Update the project for the new parameter value, and report
50 # success or failure to the log file.
51 try:
52 Update()
53 except:
54 logFile.write(" Update failed.\n")
55 else:
56 logFile.write(" Update succeeded. UY = %s\n" % parameter2.Value)
57
58 # Generate the name of the CDB file to save
59 cdbName = os.path.join(GetUserFilesDirectory(), "my_bar_" + str(zVal) + ".cdb")
60 cdbName = cdbName.replace("\\","/")
61
62 # Delete the cdb file if it already exists, to prevent
63 # Mechanical APDL from promting us about overwrite.
64 if os.path.exists(cdbName):
65 os.remove(cdbName)
66
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Using Scripting in ANSYS Workbench
67 # Generate the APDL command to save the CDB file and send it.
68 apdlCmd = "cdwr,db,%s" % cdbName
69 setup1.Edit(
70 Interactive=False,
71 LoadInputFiles=True)
72
73 setup1.SendCommand(Command=apdlCmd)
74 logFile.write(" CDB written to %s\n" % cdbName)
75 setup1.Exit()
76
77 # Save the final project state.
78 Save()
79 logFile.close()
Log File
The log file generated by this script should look like this:
Change all the forward slashes (\) with backslashes (/)
Updating for z = 3
Update succeeded. UY = -0.00083352729
CDB written to C:\Users\neUser\Demo\ScriptExample4\myBar_files\user_files\my_bar_3.cdb
Updating for z = 5
Update succeeded. UY = -0.00304172391
CDB written to C:\Users\neUser\Demo\ScriptExample4\myBar_files\user_files\my_bar_5.cdb
Updating for z = 0
Update failed.
CDB written to C:\Users\neUser\Demo\ScriptExample4\myBar_files\user_files\my_bar_0.cdb
Updating for z = 12
Update succeeded. UY = -0.0504979576
CDB written to C:\Users\neUser\Demo\ScriptExample4\myBar_files\user_files\my_bar_12.cdb
Updating for z = 15
Update succeeded. UY = -0.121175623
CDB written to C:\Users\neUser\Demo\ScriptExample4\myBar_files\user_files\my_bar_15.cdb
Discussion
This example demonstrates interaction with Mechanical APDL to operate on an existing ANSYS input
file and send APDL commands. The following discussion refers to the specified line numbers of the
example script to illustrate some of these concepts and constructs. Discussion points from earlier
examples will not be repeated here.
Lines 1-15
The initial lines of the script import useful modules, define controlling variables and create a log
file to record script progress.
Lines 17-20
Here the script starts a new project and creates a new Mechanical APDL system.
Lines 22-24
The AddInputFile method on the Mechanical APDL Setup container reads and processes the
specified input file.
Lines 27-35
The input file contains a number of values that can be parameterized. Here the script promotes
two of them to be parameters that are controlled and displayed at the ANSYS Workbench level.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
The script accesses the ZLEN parameter as an input to set the bar length and the OUT_UY para-
meter as an output to track maximum Y displacement.
Lines 40
The script saves the project to a permanent location. Until the project is saved, all files and project
directories are based on a temporary location. By saving the project, the script can more accurately
report the directory that holds the .cdb files. The script will still function if the project is not first
saved, but it will report the temporary location for the project files.
Lines 42-47
The script starts the loop for the desired bar length values and sets the Z parameter appropriately.
The Expression for a parameter is a string as it can support complex functions. The Python
str() function is used to convert the Z value to a string.
Lines 49-56
The script calls the project Update() command to recalculate the project based on the new
length parameter value and uses Python exception handling to report the success or failure of
the update. The value of output displacement is reported on successful update.
Lines 58-60
The project user_files directory is used to store the .cdb files for each case. Here the script
generates the desired .cdb file path based on the GetUserFilesDirectory() query and
uses os.path.join to combine that with the desired file name.
Mechanical APDL typically uses forward slashes in file paths by convention, so line 62 of the script
converts any backslashes to forward slashes.
Line 62-65
Mechanical APDL interactively prompts you to overwrite a .cdb file if one already exists, so the
script ensures that no .cdb file of the desired name is present.
Lines 67-75
The generated APDL command string writes the .cdb file to the desired file path and uses the
SendCommand method to execute it. While this example just passes a single line command, the
command string can contain multiple commands separated by newlines.
Lines 77-79
The script saves the final project state and closes the log file.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Using Scripting in ANSYS Workbench
priate parameters created. After you extract the ScriptingGuideExamples.zip file, you will
find the files for this example in the Excel_Parameter_Scripting directory.
Of primary interest in this example is that user interaction with this project will be done via Microsoft
Excel, where you will:
The output parameter value are updated within the Workbook when the calculation is complete.
When the ANSYS Workbench script below is executed, it opens the necessary ANSYS Workbench
project and Excel Workbook, and then it establishes an event connection so that an ANSYS Workbench
script function is executed at the press of the button within Excel.
Workbench Script
The script for this example follows. Each line is numbered for reference in the discussion that follows.
1 # IronPython imports to enable Excel interop
2 import clr
3 clr.AddReference("Microsoft.Office.Interop.Excel")
4 import Microsoft.Office.Interop.Excel as Excel
5
6 workingDir = AbsUserPathName("ScriptingGuideExamples/Excel_Parameter_Scripting/")
7
8 def updateHandler():
9
10 # Define key ranges in the Workbook
11 lengthCell = worksheet.Range["A3"]
12 loadCell = worksheet.Range["B3"]
13 defCell = worksheet.Range["C3"]
14
15 # Get the Workbench Parameters
16 lengthParam = Parameters.GetParameter(Name="P1")
17 loadParam = Parameters.GetParameter(Name="P2")
18 defParam = Parameters.GetParameter(Name="P3")
19
20 # Assign values to the input parameters
21 lengthParam.Expression = lengthCell.Value2.ToString()
22 loadParam.Expression = loadCell.Value2.ToString() + " [N]"
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Usage Examples
23
24 # Mark the deformation parameter as updating in the workbook
25 defCell.Value2="Updating..."
26
27 # Run the project update
28 Update()
29
30 # Update the workbook value from the WB parameter
31 defCell.Value2 = defParam.Value
32
33
34 # Open the Workbench Project
35 Open(FilePath = workingDir + "ExcelParameterScripting.wbpj")
36
37 # Open Excel and the workbook
38 ex = Excel.ApplicationClass()
39 ex.Visible = True
40 workbook = ex.Workbooks.Open(workingDir + "ParameterExample.xlsx")
41 worksheet=workbook.ActiveSheet
42
43 #Apply the update handler to the workbook button
44 OLEbutton = worksheet.OLEObjects("CommandButton1")
45 OLEbutton.Object.CLICK += updateHandler
46
Discussion
This example demonstrates a number of the typical programming constructs necessary for ANSYS
Workbench scripting to interact with the Common Language Runtime (CLR) API exposed by Microsoft
Excel and similar applications.
Lines 1-4
The clr module is imported to enable IronPython to load and interact with CLR modules from
other applications. In this example a clr reference to the Microsoft Excel Interop assembly is
added and then the module is imported as the Excel namespace.
Line 6
The working directory is set, so that the script can load the Project and Excel Workbook from the
specified location. When completing this example, this line will need to be modified to reflect
your working location.
Lines 8-31
An updateHandler() function is created that performs all the necessary actions to interact
with Excel and update the ANSYS Workbench project. This function is connected to the CLICK
event of the Excel button on line 45 of this script.
Lines 10-13
Specific cells of interest in the Workbook are created as named references in the script to facilitate
later use of these cells. In this instance, the cells that hold the values of the two input parameters
and one output parameter are given named references.
Lines 15-18
References to the three parameters exposed by the Static Structural system are also assigned to
variables for later use.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Using Scripting in ANSYS Workbench
Lines 20-22
The Expression property defining the input parameters are set based on the values of the as-
sociated cells in the Excel Workbook. The Value2 property is used because it has simpler inter-
action when working with a single cell value.
Lines 24-25
The script sets the value of the output parameter cell in the workbook to Updating... while the
calculation proceeds.
Lines 27-28
The Update() command is executed to update the project based on the new input parameter
values.
Lines 30-31
When the update is complete, the output cell value in the Workbook is updated with the para-
meter value in the project.
Note the reference to defparam.Value.Value. The Value property of a parameter can have
different types, including Numeric, String, Boolean, and Quantity. In this instance, the
type is Quantity, which in turn has properties for Value and Unit. Therefore def-
param.Value.Value is the numeric part of the quantity that is the parameter's current value.
Lines 34-35
The lines following the updateHandler() definition are those first executed when the script
executes. The first operation is to load the Workbench project containing the parameterized
Static Structural analysis.
Lines 37-39
Using the imported Excel namespace, an instance of the Excel application is created and made
visible.
Lines 40-41
The script opens the Excel workbook that contains the parameter table and Update button and
gets a reference to the primary (active) worksheet in the book.
Lines 43-44
You get a reference to the named OLE button (CommandButton1) that is present in the worksheet.
This button was added to the worksheet by inserting the control within Excel, but no other
macros or code associated with this button is required in the workbook.
Line 45
The updateHandler() function is added as an event handler to the CLICK event on the
command button. Whenever the button is clicked, the associated ANSYS Workbench script function
is executed.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Known Issues and Limitations
A listing of known Journaling and Scripting issues and limitations.
General
• No known issues or limitations.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Data Containers
ACP.Addin:ResultsContainer
ACP.Addin:ResultsContainer
No details are provided for this entry.
Methods
StartACP
No details are provided for this entry.
Required Arguments
Optional Arguments
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
ACP
ACP Setup
This container holds Setup data for an instance of ACP Pre.
Methods
StartACP
No details are provided for this entry.
Required Arguments
Optional Arguments
Example
Data Entities
SetupDataObject
Setup cell properties of the ACP Pre component.
Properties
ACPBatchMode
Specifies the batch mode of ACP : 1 means true batch mode and 2 stands for GUI without window.
Batch mode 2 is needed to save snapshots of the active scene what asks a GUI environment.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
ACP
Read Only No
AllowRenumbering
Within composite assemblies, mesh and composite data are automatically renumbered in the downstream
systems to avoid overlapping indices.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
LoadModelGeometry
Read Only No
StartupTimeout
Total time to wait for ACP server to start up and connect OK: Value was originally set to 90s, but was
increased because of slow GE network installations where it was reported that 90s was not enough
time to start ACP.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Ansys.InjectionMoldingData.Addin.Addin:SetupContainer
Ansys.InjectionMoldingData.Addin.Addin:SetupContainer
No details are provided for this entry.
Data Entities
SetupDataObject
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FotDataFile
Read Only No
IstDataFile
Read Only No
MeshDataFile
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Ansys.InjectionMoldingData.Addin.Addin:SetupContainer
rigidTransformationThetaXY
Read Only No
rigidTransformationThetaYZ
Read Only No
rigidTransformationThetaZX
Read Only No
rigidTransformationX
Read Only No
rigidTransformationY
Read Only No
rigidTransformationZ
Read Only No
VolFracDataFile
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Ansys.Sherlock.Addin:Model
Ansys.Sherlock.Addin:Model
No details are provided for this entry.
Methods
Edit
No details are provided for this entry.
ImportProject
Import a Model into Sherlock
Required Arguments
Data Entities
ComponentDataObject
Main data object to be referenced from the container
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ImportedResults
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<ImportAnalysis (p. 1438)>>
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Ansys.Sherlock.Addin:Model
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Ansys.Sherlock.Addin:Result
Ansys.Sherlock.Addin:Result
No details are provided for this entry.
Data Entities
ComponentDataObject
Main data object to be referenced from the container
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ImportedResults
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<ImportAnalysis (p. 1438)>>
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Ansys.Sherlock.Addin:Setup
Ansys.Sherlock.Addin:Setup
No details are provided for this entry.
Data Entities
ComponentDataObject
Main data object to be referenced from the container
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ImportedResults
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<ImportAnalysis (p. 1438)>>
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
AQWA
AQWA Model
This container holds Model data for an instance of AQWA.
Methods
Edit
Opens the AQWA editor to allow modification of AQWA Setup data or viewing of the AQWA Results.
Exit
Exits the AQWA editor.
GetModel
Get the DataReference for the Model data entity.
SendCommand
Executes one or more JScript commands in the AQWA editor.
Required Arguments
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the AQWA
editor:
model1.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
AQWA
If the AQWA editor is not open SendCommand will open it, run the command and then close it.
Consider calling model1.Edit()to open the editor before using SendCommand if you do not want it
to close.
Data Entities
AqwaModel
Model data entity.
Properties
AnalysisType
AQDBDatabaseFilesWritten
Indicates if aqwa .aqdb database files have been written for this system.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
GeometrySelected
Read Only No
PhysicsType
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
ProjectName
Read Only No
SolverType
AQWA Results
This container holds Results data for an instance of AQWA.
Methods
Edit
Opens the AQWA editor to allow modification of AQWA Setup data or viewing of the AQWA Results.
Exit
Exits the AQWA editor.
GetResults
Get the DataReference for the Results data entity.
SendCommand
Executes one or more JScript commands in the AQWA editor.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
AQWA
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the AQWA
editor:
model1.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
If the AQWA editor is not open SendCommand will open it, run the command and then close it.
Consider calling model1.Edit()to open the editor before using SendCommand if you do not want it
to close.
Data Entities
AqwaResults
Results data entity.
Properties
AnalysisType
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PhysicsType
SolverType
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
AQWA Setup
This container holds Setup data for an instance of AQWA.
Methods
Edit
Opens the AQWA editor to allow modification of AQWA Setup data or viewing of the AQWA Results.
Exit
Exits the AQWA editor.
GetSetup
Get the DataReference for the Setup data entity.
SendCommand
Executes one or more JScript commands in the AQWA editor.
Required Arguments
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the AQWA
editor:
model1.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
If the AQWA editor is not open SendCommand will open it, run the command and then close it.
Consider calling model1.Edit()to open the editor before using SendCommand if you do not want it
to close.
Data Entities
AqwaSetup
Setup data entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
AQWA
Properties
AnalysisType
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PhysicsType
SolverType
StaticOnly
Used to control if Hydrodynamic Diffraction analysis solve is full or hydrostatic only when run from
Workbench. If True then only Hydrostatics are solved.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.
AQWA Solution
This container holds Solution data for an instance of AQWA.
Methods
Edit
Opens the AQWA editor to allow modification of AQWA Setup data or viewing of the AQWA Results.
Exit
Exits the AQWA editor.
GetSolution
Get the DataReference for the Solution data entity.
SendCommand
Executes one or more JScript commands in the AQWA editor.
Required Arguments
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the AQWA
editor:
model1.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
If the AQWA editor is not open SendCommand will open it, run the command and then close it.
Consider calling model1.Edit()to open the editor before using SendCommand if you do not want it
to close.
Data Entities
AqwaSolution
Solution data entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 57
AQWA
Properties
AnalysisType
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PhysicsType
SolverType
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
58 of ANSYS, Inc. and its subsidiaries and affiliates.
AUTODYN
AUTODYN Analysis
This container holds Results data for an instance of AUTODYN.
Methods
GetAutodynAnalysis
Returns a reference to an AutodynAnalysis data entity within the container.
AUTODYN Setup
This container holds Solution data for an instance of AUTODYN.
Methods
Edit
Opens the AUTODYN editor for pre-processing, solving and post-processing. If there is an input file as-
sociated with the system the editor will load that file when it opens, otherwise the editor will create a
new model.
Exit
Closes the AUTODYN editor. If there is any unsaved data in the editor it will be saved.
GetAutodynSetup
Returns a reference to an AutodynSetup data entity within the container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 59
AUTODYN
Import
Specifies the AUTODYN input file (*.ad), to be associated with the system. The specified file is copied
to the systems working directory and registered with workbench.
Required Arguments
FilePath The location of the AUTODYN input file (*.ad). If the name is blank any currently associated
input file will be removed.
SetUserExecutable
Sets the location of the user created executable to be used when the editor is opened.
Required Arguments
ExecutablePath The full path and name of the executable to use when pre-processing, solving
and post-processing.
Data Entities
AutodynSetup
This holds the properties of the setup component.
Properties
Directory
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FileName
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
60 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
strUserExecutable
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 61
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
62 of ANSYS, Inc. and its subsidiaries and affiliates.
CFD Results
CFD Results
This container holds Results and post-processing data for a CFD simulation.
Methods
Edit
Opens the CFD-Post editor to allow modification of Results data.
This command will open the editor only if one is not already open on this component. If this component's
editor is already open and in interactive mode, then it will be raised to the front.
Optional Arguments
Interactive Run the editor in interactive mode if True, or in no GUI mode if False.
Exit
Exits the editor.
Any changes made in this editor will be retained on exit. These changes are made permanent by a
Project Save, and will be discarded in the event of closing the project without saving.
If no editor is open on the component in question, this command will have no effect.
GetCFDResults
Returns the Data Entity which contains user settings and properties for the Results container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 63
CFD Results
SendCommand
Sends commands to the editor for this component using CFX Command Language (CCL) syntax. If the
editor for this component is not open, it will be launched before the commands are sent and sub-
sequently closed. In this mode, component data is loaded and saved as if calling Edit(Interactive=False)
and Exit around the SendCommand invocation.
The instructions must be CFX Command Language session commands that are valid for the editor in
question.
Required Arguments
Data Entities
CFDResults
Entity which manages settings and data for the CFD Results component.
Properties
ClearState
Specifies whether the state should be cleared when the Results cell is updated. This is only used if a
report has been selected or a session script has been specified to run on update.
Read Only No
CustomReportTemplate
Specifies the file path of the custom report template to load if LoadReport is set to 'Custom'. It is recom-
mended that the template file be located in the user_files directory of the project so that it is available
if the project is archived and moved to another system.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
64 of ANSYS, Inc. and its subsidiaries and affiliates.
GenerateReport
The report will be generated according to the report definition within CFD-Post. Its name and location
can be controlled by the ReportName and ReportLocationDirectory advanced user properties on this
entity.
Read Only No
LoadReport
Read Only No
MRESLoadOptionsMsg
This property has no effect and is simply used for presentation purposes.
Read Only No
PostStateFile
Read Only No
ReportLocationDirectory
This is an advanced user property to be used in conjunction with the GenerateReport and ReportName
properties. By default this property is empty, in which case the project's user_files directory is used. If
a directory path is specified, the directory must exist at the time of component update.
Read Only No
ReportName
Specifies the name of the report to be generated during component update. By default the report name
is "Report".
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 65
CFD Results
This is an advanced user property to be used in conjunction with the GenerateReport and ReportLoca-
tionDirectory properties.
Read Only No
RunSessionScript
Specifies whether a CFD-Post session script will be run as part of the component update.
If enabled, the UpdateScriptCCL property on this entity should be set to contain the session script text.
Read Only No
StateInitializationFile
Contains CFX Command Language script for CFD-Post, to be executed as part of the component update.
This can be used to toggle regeneration of exported data, animation files, etc. In this scenario, the script
will only need to be run when loading the results into Post at a time when the Results cell is in the
Unfulfilled state (i.e. has never been opened yet).
This is an advanced user feature, and caution should be exercised. CFD-Post session files are capable
of performing file activity and changing state in ways that are not supported in Workbench sessions.
Limit your session script to activities which will not corrupt or circumvent Workbench project data
management.
Read Only No
UpdateScriptCCL
Contains CFX Command Language script for CFD-Post, to be executed as part of the component update.
This can be used to toggle regeneration of exported data, animation files, etc.
This is an advanced user feature, and caution should be exercised. CFD-Post session files are capable
of performing file activity and changing state in ways that are not supported in Workbench sessions.
Limit your session script to activities which will not corrupt or circumvent Workbench project data
management.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
66 of ANSYS, Inc. and its subsidiaries and affiliates.
CFX
CFX Setup
This container holds Setup data for an instance of CFX-Pre.
Methods
BuildSystemCouplingParticipant
Command wrapper to build the System Coupling Participant object from XML
Required Arguments
Edit
Opens the CFX-Pre editor to allow modification of CFX Setup data.
This command will open the editor only if one is not already open on this component. If this component's
editor is already open and in interactive mode, then it will be raised to the front.
Optional Arguments
Interactive Run the editor in interactive mode if True, or in no GUI mode if False.
Exit
Exits the editor.
Any changes made in this editor will be retained on exit. These changes are made permanent by a
Project Save, and will be discarded in the event of closing the project without saving.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 67
CFX
If no editor is open on the component in question, this command will have no effect.
GetCFXSetupProperties
Returns the Data Entity which contains user settings and properties for the Setup container.
Import
Imports CFX Setup data into the CFX-Pre editor from an existing CFX Case file.
The Case file's contents will be imported into a new case file within the project, managed by the Setup
component. This operation is not valid if the component already contains Setup data.
Required Arguments
ReinitializeContainer
This command reinitialises the selected container, resetting the local data and using the cached initial-
isation CCL commands
SendCommand
Sends commands to the editor for this component using CFX Command Language (CCL) syntax. If the
editor for this component is not open, it will be launched before the commands are sent and sub-
sequently closed. In this mode, component data is loaded and saved as if calling Edit(Interactive=False)
and Exit around the SendCommand invocation.
The instructions must be CFX Command Language session commands that are valid for the editor in
question.
Required Arguments
SetInitCCL
Sets the initialisation commands for this component using CFX Command Language (CCL) syntax. On
setting the commands they may be applied to the editor in question using ApplyInitCCLCommand.
The instructions must be CFX Command Language session commands that are valid for the editor in
question.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
68 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
SuppressPhysicsErrors
Suppresses physics validation errors for the current CFX Setup component.
Normally, a CFX Setup component will not permit an update to proceed while validation errors exist
in the case. However, in certain special situations, it may be that particular validation errors are tolerable
and the case should be solvable.
This command can be used on CFX Setup components to bring the component from Attention Required
to Up-to-Date, allowing the downstream Solution component to be updated.
Data Entities
CFXSetupProperties
Entity which manages settings and data for the CFX Setup component.
Properties
AllowAssemblyMeshImport
This is a beta option. Allow the user to import the assembly meshes
Read Only No
CaseFile
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 69
CFX
PhysicsStatus
Physics state of the CFX-Pre editor, specifying validation errors, warnings and information on the current
case.
Read Only No
SolverInputExtendedFiles
Read Only No
SolverInputFile
Read Only No
CFX Solution
This container holds data for a CFX Solution.
Methods
ClearCachedSolutionData
This command is used to clear cached solution data, optionally from just the current design point or
from all design points
Required Arguments
ClearAllDPs If true, cached data from all design points will be removed. Otherwise, only cached
data from the current design point will be removed.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
70 of ANSYS, Inc. and its subsidiaries and affiliates.
ClearOldSolutionData
Every time the solver is run for a Solution container, a new set of solution files are generated and the
old ones are kept around. This command is used to clear all solution data files from past solver runs
except for the last one.
Required Arguments
KeepReferenced If false, all old solution data will be removed. Otherwise, only data not referenced
in the latest solution will be removed.
DisplayMonitors
Displays run history and monitors for the most recent Solution update.
CFX-Solver Manager is used for displaying monitors, and (if necessary) will be launched by executing
this command.
Edit
Open the CFX-Solver Manager editor to allow modification of the run definition for the CFX Solution
component.
Note that CFX-SolverManager is a GUI-only component that is not scriptable. This command will not
be journaled when invoked through the GUI. For batch operations, omit this command and use SetExe-
cutionControl. If execution control is specified in the Setup component, it may be necessary to use this
command with the appropriate value for the ExecutionControlOption parameter. Alternatively, the Exe-
cutionControlOption property of the Solution component can be modified directly in the script to ensure
no execution control conflicts are detected.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 71
CFX
EditDefFileInCommandEditor
Opens the CFX Command Editor to allow modification of the physics in the specified CFX Results or
Solver Input file.
This command will simply launch the CCL Command Editor with the provided file path. No further
Workbench interaction with the CCL Command Editor is possible, and no further activity of this com-
ponent is journaled. Do not use this command as part of any batch workflow.
Required Arguments
Exit
Exits the editor.
Any changes made in this editor will be retained on exit. These changes are made permanent by a
Project Save, and will be discarded in the event of closing the project without saving.
If no editor is open on the component in question, this command will have no effect.
GetCFXSolutionProperties
Returns the Data Entity which contains user settings and properties for the Solution container.
GetComponentSettingsForRsmDpUpdate
This query is used to obtain the ComponentSettingsForRsmDpUpdate object for Journaling and
Scripting
GetSolutionSettings
This query is used to obtain the component solve settings object for Journaling and Scripting
Import
Imports CFX Solution data from an existing CFX Results file.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
72 of ANSYS, Inc. and its subsidiaries and affiliates.
The Results file, as well as all files associated with it (such as transient or multi-configuration files, if
they exist), will be copied into the project as the generated data for the Solution component.
This command is intended for use when no Setup has been defined. If no data has been provided to
an upstream Setup, or to any upstream Geometry or Mesh components (if they exist), then all of these
components will automatically be deleted from the system as a result of this command.
Required Arguments
MarkUpToDate
Accept an interrupted Solution as Up-to-Date.
The specified Solution component should be in Interrupted state. As a result of this command, the
Solution will be marked Up-to-Date.
SetExecutionControl
Sets the CFX-Solver settings (in the form of Execution Control CCL) for a Solution component.
These settings will form the basis of a run definition for the Solution component. However, certain
settings, such as the Solver Input File, are always overridden during Update. Other settings, such as all
Initialization settings, can be overridden by the Solution component's Initialization Option property as
well by as the presence of initialization data provided by other components on the project schematic.
Required Arguments
CCL CFX Command Language defining Execution Control for the CFX-Solver.
SwitchToBackgroundMode
Switch the Update in progress into background mode. This will enable operations that are not allowed
during an Update in foreground mode (e.g. Project Save).
This command is not normally useful in a script. Journals may record the invocation of this command
after an Update invoke, as the result of GUI activity while the Update is in progress. However, replay of
these journals will always wait for the Update invoke to complete before invoking the next command,
rendering this step ineffectual.
Data Entities
CFXSolutionProperties
Entity which manages settings and data for the CFX Solution component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 73
CFX
Properties
CacheSolutionData
Flag to determine if the latest solution data for each retained design point is to be cached.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExecutionControlOption
Specifies how to handle conflicts in execution control between this entity and the upstream Setup cell.
It is only used if execution control has been saved in this entity and the execution control in the DEF
file, provided by the upstream Setup cell, has changed since the last run.
Read Only No
InitializationOption
Available options:
In cases where no existing solution data is present, this property has no effect.
The default behavior is "CurrentSolutionData"; however this default can be changed in Options->CFX-
>Default Initialization Option
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
74 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
KeepLatestSolutionOnly
Flag to clear all old solution data after the component update.
Read Only No
LoadMResOptions
Specifies how multi-configuration solution data should be treated by a Results component when opened
in CFD-Post.
This option has no effect if the Solution component does not contain a results set with multiple config-
urations.
Available options:
Read Only No
ResultsFile
SolverArguments
Read Only No
SolverPath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 75
CFX
Read Only No
ComponentSolveSettingsForAddin
This class contains the solve settings for Addin solution components to use
Properties
ConfiguredQueue
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EnablePolling
Read Only No
ExecutionMode
execution mode
Read Only No
NumberOfProcesses
Read Only No
PollingInterval
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
76 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RsmJobName
Read Only No
RsmQueueDetails
Read Only No
UpdateOption
Update mode
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 77
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
78 of ANSYS, Inc. and its subsidiaries and affiliates.
Design Exploration
DX Direct Optimization
This container holds data for an instance of Parameter Direct Optimization.
Methods
ApproveGeneratedData
Approve generated data after nonparametric changes by keeping DX results. This command is recursive
and applied with any component dependent on the first component.
Example
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
designofExperiment1.ApproveGeneratedData()
GetModel
Get the DataReference of the Model. An exception is thrown if the entity is not found.
Example
The following example shows how the user can get a Model to change one of its properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
dOEModel1.DOEType = "eDOETYPE_OSFD"
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 79
Design Exploration
Data Entities
AmoOptimization
Entity which performs and manages the DesignXplorer Optimization Method Component
Properties
Converged
Convergence state
CrossoverProbability
Read Only No
CurrentParetoPercentage
Pareto Percentage
CurrentStabilityPercentage
Stability Percentage
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MaximumNumberOfPermutations
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
80 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
MaxNumCandidates
Read Only No
MaxNumCycles
Read Only No
MaxNumIterations
Read Only No
MutationProbability
Read Only No
NumberOfEvaluations
Number of Evaluations
NumberOfFailures
Number of Failures
NumberOfInitialSamples
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 81
Design Exploration
Read Only No
NumCandidates
Number of Candidates
NumIterations
Current Iteration
NumSamplesPerIter
Read Only No
ParetoPercentage
Read Only No
RandomGeneratorSeed
LHS Seed
Read Only No
SampleSetSize
StabilityCriterion
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
82 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
TypeOfInitialSampling
Read Only No
AsoOptimization
Entity which performs and manages the DesignXplorer Optimization Method Component
Properties
Converged
Convergence state
ConvergenceTolerance
Convergence Tolerance
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MaximumNumberOfPermutations
MaxNumberReductionPerIteration
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 83
Design Exploration
Read Only No
MaxNumCandidates
Read Only No
MaxNumCycles
Read Only No
MaxNumDomainReductions
Read Only No
MaxNumEvaluations
Read Only No
NumberOfEvaluations
Number of Evaluations
NumberOfFailures
Number of Failures
NumberOfInitialSamples
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
84 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
NumberOfScreeningSamples
Read Only No
NumberOfStartingPoints
Read Only No
NumCandidates
Number of Candidates
PercentageOfDomainReductions
Read Only No
RandomGeneratorSeed
LHS Seed
Read Only No
SampleSetSize
CustomConstraintProperties
Entity which wraps and manages the external Parameter Definition for the Optimization Criterion with
an external Optimization Method
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 85
Design Exploration
Properties
No Properties.
CustomObjectiveProperties
Entity which wraps and manages the external Objective Definition for the Optimization Criterion with
an external Optimization Method
Properties
No Properties.
CustomParameterProperties
Entity which wraps and manages the external Parameter Definition for the Input Parameter with an
external Optimization Method
Properties
No Properties.
DiscreteLevel
The data entity which describes a Discrete Level of an Input Parameter.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Index
Zero-based Index of the discrete level in the list of levels of the owning parameter.
Read Only No
Value
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
86 of ANSYS, Inc. and its subsidiaries and affiliates.
Methods
SetValue
Sets the value of a discrete level entity. A discrete level can have an integer value (e.g. a number if
holes, a number of turns, etc) or a string value (e.g. a material name or a geometry file name).
Required Arguments
Example
The following example shows how to retrieve a discrete level from an input parameter and then
change its value.
InputParameter
The data entity which describes an Input Parameter in DesignXplorer.
Properties
Attribute1
First editable attribute of the distribution for an uncertainty parameter. The nature of the attribute de-
pends on the distribution type. For instance, the first attribute of a Normal distribution is the Mean
value.
Read Only No
Attribute2
Second editable attribute of the distribution for an uncertainty parameter. The nature of the attribute
depends on the distribution type. For instance, the second attribute of a Normal distribution is the
Standard Deviation value. Some distribution type do not have a second attribute.
Read Only No
ConstantValue
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 87
Design Exploration
Read Only No
CustomDefinitionList
Read Only No
DiscreteLevels
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DistributionLowerBound
Read Only No
DistributionType
Read Only No
DistributionUpperBound
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
88 of ANSYS, Inc. and its subsidiaries and affiliates.
Enabled
Read Only No
Kurtosis
LowerBound
Read Only No
Mean
Nature
Read Only No
NumberOfLevels
Number of levels if the parameter nature is Discrete, or the parameter nature is Continuous and the
UseManufacturableValues property is set to True.
Skewness
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 89
Design Exploration
StandardDeviation
Type
Units
Units
UpperBound
Read Only No
UseManufacturableValues
Read Only No
Methods
AddDiscreteLevel
Adds a Discrete Level entity on a discrete input parameter. A discrete level can have an integer value
(e.g. a number of holes, a number of turns, etc) or a string value (e.g. a material name or a geometry
file name). The command has optional arguments to specify the Name of the level and its Index in the
list of levels of the parameter. By default, the new level is added to the end of the list. The various discrete
levels of an input parameter represent independent configurations of the project, processed in the order
of their creation.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
90 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Required Arguments
Value The value of the discrete level. Value can be an integer or a string.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form "Level
[#]" is used.
Index The position of the new level in the list of discrete levels of the parameter. Index is
zero-based. If it is not specified, the new level is appended to the list.
Default Value -1
Example
The following example shows how to add new discrete levels on a discrete input parameter. The
third level is inserted between the two others.
AddLevels
Adds a list of levels to a continuous input parameter. Each level is a quantity or a real number corres-
ponding to a manufacturable value. The list of levels forms a restriction filter used when post-processing
the input parameter. If levels are added outside of the variation range, the lower and upper bounds
are adjusted accordingly.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 91
Design Exploration
Example
The following example shows how to overwrite the manufacturable values of an input parameter
and how to define an additional value later.
CreateOptimizationCriterion
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
DeleteDiscreteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a discrete input
parameter.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
92 of ANSYS, Inc. and its subsidiaries and affiliates.
level1 = DiscreteInputParameter.AddDiscreteLevel(Value=3000, DisplayText="Three thousand turns")
level2 = DiscreteInputParameter.AddDiscreteLevel(Value=2000, DisplayText="Two thousand turns")
level3 = DiscreteInputParameter.AddDiscreteLevel(Value=5000, Index="1")
DiscreteInputParameter.DeleteDiscreteLevels(DiscreteLevels=[level1, level2])
DeleteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a continuous
input parameter for which the UseManufacturableValues property is set to True.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 93
Design Exploration
parametricTable.ExportData(FileName="doe.csv")
chart = model.GetChart(Name="DesignPointsParallel")
chart.ExportData(FileName="doe.csv", AppendMode=True)
GetCustomParameterDefinition
Required Arguments
Example
The following example shows how the user can get a CustomParameterProperties.
system1 = GetSystem(Name="DOP")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
inputParameter1 = optimizationModel1.GetParameter(Name="P1")
customParameterDefinition1 = inputParameter1.GetCustomParameterDefinition(ExtensionName="UncertaintyParamet
customParameterDefinition1.Distribution = "Triangular"
GetDiscreteLevel
Get a discrete level by name from an input parameter. The parameter's full and ordered list of discrete
levels is available as its "DiscreteLevels" property.
Required Arguments
Example
The following example shows how the user can retrieve a discrete level of a discrete input parameter
by its name.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
DiscreteInputParameter1 = dOEModel1.GetParameter(Name="P1")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
94 of ANSYS, Inc. and its subsidiaries and affiliates.
level = DiscreteInputParameter1.GetDiscreteLevel(Name="Level 1")
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
MisqpOptimization
Entity which performs and manages the DesignXplorer Optimization Method Component
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 95
Design Exploration
Properties
Converged
Convergence state
DerivativeApproximationType
DerivativeApproximationType
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InitialFiniteDifferenceDelta
Read Only No
MaxConvPercentage
Read Only No
MaximumNumberOfPermutations
MaxNumCandidates
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
96 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Read Only No
MaxNumIterations
Read Only No
NumberOfEvaluations
Number of Evaluations
NumberOfFailures
Number of Failures
NumCandidates
Number of Candidates
NumIterations
Current Iteration
SampleSetSize
MOGAOptimization
Entity which performs and manages the DesignXplorer Optimization Method Component
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 97
Design Exploration
Properties
Converged
Convergence state
CrossoverProbability
Read Only No
CurrentParetoPercentage
Pareto Percentage
CurrentStabilityPercentage
Stability Percentage
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MaximumNumberOfPermutations
MaxNumCandidates
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
98 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Read Only No
MaxNumCycles
Read Only No
MaxNumIterations
Read Only No
MutationProbability
Read Only No
NumberOfEvaluations
Number of Evaluations
NumberOfFailures
Number of Failures
NumberOfInitialSamples
Read Only No
NumCandidates
Number of Candidates
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 99
Design Exploration
NumIterations
Current Iteration
NumSamplesPerIter
Read Only No
ParetoPercentage
Read Only No
RandomGeneratorSeed
LHS Seed
Read Only No
SampleSetSize
StabilityCriterion
Stability Criterion
Read Only No
TypeOfInitialSampling
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
100 of ANSYS, Inc. and its subsidiaries and affiliates.
Type TypeOfInitialSampling (p. 1494)
Read Only No
NlpqlOptimization
Entity which performs and manages the DesignXplorer Optimization Method Component
Properties
Converged
Convergence state
DerivativeApproximationType
DerivativeApproximationType
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InitialFiniteDifferenceDelta
Read Only No
MaxConvPercentage
Read Only No
MaximumNumberOfPermutations
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 101
Design Exploration
MaxNumCandidates
Read Only No
MaxNumIterations
Read Only No
NumberOfEvaluations
Number of Evaluations
NumberOfFailures
Number of Failures
NumCandidates
Number of Candidates
NumIterations
Current Iteration
SampleSetSize
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
102 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
OptimizationCriterion
The data entity which describes the objective and constraint associated with a Parameter for an Optim-
ization Study.
Properties
AllowedValues
Read Only No
ConstraintFirstValue
Read Only No
ConstraintHandling
Constraint Handling
Read Only No
ConstraintImportance
Read Only No
ConstraintSecondValue
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 103
Design Exploration
ConstraintType
Read Only No
CustomConstraintDefinitionList
Read Only No
CustomObjectiveDefinitionList
Read Only No
FeasibleTolerance
Read Only No
FitnessInitialValue
Read Only No
GridInterval
Grid Interval of the parameter if Parameter is a continuous input parameter and the allowed values
type is Snap To Grid.
Read Only No
HistoryChart
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
104 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
LowerBound
Read Only No
ObjectiveImportance
Read Only No
ObjectiveTargetValue
Read Only No
ObjectiveType
Read Only No
StartingValue
The value of the parameter in the starting point if Parameter is an input parameter and the optimization
method uses a starting point.
Read Only No
TargetTolerance
Read Only No
Units
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 105
Design Exploration
UpperBound
Read Only No
Methods
GetChart
Example
The following example shows how the user can get a HistoryChart to export its data as .csv file.
system = GetSystem(Name="RSO")
optimization = system.GetContainer(ComponentName="Optimization")
optimizationModel = optimization.GetModel()
parameter = optimizationModel.GetParameter(Name="P3")
criterion = parameter.GetOptimizationCriterion()
historyChart = criterion.GetChart()
historyChart.ExportData(FileName="D:/Temp/HistoryChart.csv")
GetCustomConstraintDefinition
Required Arguments
Example
The following example shows how the user can get a CustomConstraintProperties.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
106 of ANSYS, Inc. and its subsidiaries and affiliates.
system1 = GetSystem(Name="DOP")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
outputParameter1 = optimizationModel1.GetParameter(Name="P4")
optimizationCriterion1 = outputParameter1.CreateOptimizationCriterion()
customConstraintDefinition1 = optimizationCriterion1.GetCustomConstraintDefinition(ExtensionName="CommonCon
customConstraintDefinition1.FeasibleTolerance = 0.02
GetCustomObjectiveDefinition
Required Arguments
Example
The following example shows how the user can get a CustomObjectiveProperties.
system1 = GetSystem(Name="DOP")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
outputParameter1 = optimizationModel1.GetParameter(Name="P4")
optimizationCriterion1 = outputParameter1.CreateOptimizationCriterion()
customObjectiveDefinition1 = optimizationCriterion1.GetCustomObjectiveDefinition(ExtensionName="CommonObjec
customObjectiveDefinition1.RelativeObjectiveWeight = 0.9
OptimizationMethod
Entity which wraps and manages the external Optimization Method for the Optimization component
Properties
No Properties.
OptimizationModel
Entity which performs and manages the DesignXplorer Optimization Component
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 107
Design Exploration
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EstimatedNumberofEvaluations
ExportDesignPoints
If True and PreserveDesignPoints is True as well, export project for each preserved Design Point.
Read Only No
Method
Optimization Method
Read Only No
MethodName
Read Only No
MethodSelection
Read Only No
NumberOfRetries
Indicates the number of times DX will try to update the failed design points.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
108 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Read Only No
PreserveDesignPoints
If True, preserve the Design Points at the project level after the component Update.
Read Only No
RetainDesignPoints
If True and PreserveDesignPoints is True as well, retain data for each preserved Design Point.
Read Only No
RetryDelay
Indicates how much time will elapse between tries. This option is only applicable when NumberOfRetries
is greater than 0, otherwise it has no effect.
Read Only No
RunTimeIndex
Type of the Run Time Index to select automatically the optimization method.
Read Only No
ToleranceSettings
Read Only No
VerifyCandidatePoints
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 109
Design Exploration
Methods
CreateChart
Creates a Chart entity. The chart must be updated once after its creation by invoking its Update method.
Then changes to its properties will update the chart automatically.
Required Arguments
ChartType Type of chart to be created. The possible values depend on the type of Model. For in-
stance, a ResponseSurface model accepts Spider, LocalSensitivity and Response chart
while a CorrelationModel accepts CorrelationMatrix, DeterminationMatrix and Correla-
tionScatter charts.
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied, depending
on the value of ChartType.
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
TradeoffChart = model.CreateChart(ChartType="eChartTradeoff")
TradeoffChart.Update()
CreateCustomCandidatePoint
Creates a custom candidate point. The Expressions dictionary can be used to specify a value or a
quantity for some or all of the input parameters. In the context of a response surface based optimization,
the output values are evaluated from the response surface.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form "Custom
Candidate Point [#]" is used.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
110 of ANSYS, Inc. and its subsidiaries and affiliates.
Expressions The values for each input parameter. If not specified, each parameter is initialized to
its current value.
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
inputParameter1 = model.GetParameter(Name="P1")
inputParameter2 = model.GetParameter(Name="P2")
customCandidatePoint = model.CreateCustomCandidatePoint( DisplayText="Existing Design",
Expressions={inputParameter1: "2.01", inputParameter2: "15.5"})
CreateParameterRelationship
Optional Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameterRelationship = model.CreateParameterRelationship(LeftExpression="P1+P2",RightExpression="P3",Type=
parameterRelationship2 = model.CreateParameterRelationship(LeftExpression="P4+P5",RightExpression="10[inch]
DeleteCharts
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 111
Design Exploration
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart1 = model.GetChart(Name="TradeoffChart 1")
chart2 = model.GetChart(Name="SamplesChart 1")
model.DeleteCharts(Charts=[chart1, chart2])
DeleteCustomCandidatePoints
Required Arguments
Example
The following example shows how to delete existing CustomCandidatePoint entities from an optim-
ization model.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
customCandidatePoint1 = model.GetCustomCandidatePoint(Name="CustomCandidatePoint 1")
customCandidatePoint2 = model.GetCustomCandidatePoint(Name="CustomCandidatePoint 2")
model.DeleteCustomCandidatePoints(CustomCandidatePoints=[customCandidatePoint1, customCandidatePoint2])
DeleteObjectives
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
112 of ANSYS, Inc. and its subsidiaries and affiliates.
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion1 = parameter1.GetOptimizationCriterion()
parameter3 = model.GetParameter(Name="P3")
optimizationCriterion3 = parameter3.GetOptimizationCriterion()
model.DeleteOptimizationCriteria(OptimizationCriteria=[optimizationCriterion1, optimizationCriterion3])
DeleteParameterRelationships
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
pr1 = model.GetParameterRelationship(Name="ParameterRelationShip 1")
pr2 = model.GetParameterRelationship(Name="ParameterRelationShip 2")
pr3 = model.GetParameterRelationship(Name="ParameterRelationShip 3")
model.DeleteParameterRelationships(ParameterRelationships=[pr1, pr2, pr3])
DuplicateChart
Duplicates a Chart entity. The chart must be updated once after its creation by invoking its Update
method. Then changes to its properties will update the chart automatically.
Required Arguments
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied,
depending on the value of ChartType.
TargetModel The model on which the duplicated chart is created. If this parameter is
not set, the model of the source chart is used.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 113
Design Exploration
TargetResponsePoint Parent TargetResponsePoint of the chart. If this parameter is not set, the
response point of the source chart is used if applicable.
Example
ExportData
Export the data of model's entities to a csv file. These entities can be candidate points, custom candidate
points, charts, parametric tables or input parameters.
Required Arguments
Entities An optional list of entities containing data to be exported in the same file.
Optional Arguments
Example
The following example shows how the user can export the candidate points of an optimization
component.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidates = model.GetCandidatePoints()
model.ExportData(FileName="doe.csv", Entities=candidates)
GetCandidatePoint
Get the DataReference of a CandidatePoint entity. An exception is thrown if the entity is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
114 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Required Arguments
Example
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
GetCandidatePoints
Get the DataReferenceSet of all of the existing CandidatePoint entities on the model.
Example
The following example shows how to retrieve the candidate points of an optimization model.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoints = model.GetCandidatePoints()
GetChart
Query to return the chart reference for a given model and chart name.
Required Arguments
GetConvergenceChart
Query to return the chart reference for a given model and chart name.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 115
Design Exploration
GetCustomCandidatePoint
Get the DataReference of a CustomCandidatePoint entity. An exception is thrown if the entity is not
found.
Required Arguments
Example
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
customCandidatePoint = model.GetCustomCandidatePoint(Name="CustomCandidatePoint 1")
GetCustomCandidatePoints
Get the DataReferenceSet of all of the existing CustomCandidatePoint entities of the model.
Example
The following example shows how to retrieve the custom candidate points of an optimization
model.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
customCandidatePoints = model.GetCustomCandidatePoints()
GetDesignPointReportSetting
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
116 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how the user can get a DesignPointReportSetting to change one of
its properties.
system1 = GetSystem(Name="GDO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
designPointReportSettingEntity1 = dOEModel1.GetDesignPointReportSetting()
designPointReportSettingEntity1.DesignPointReportImage = "FFF-Results:Figure001.png"
GetOptimizationCriteria
Get the DataReferenceSet of all of the existing OptimizationCriterion entities of the model.
Required Arguments
Example
The following example shows how to retrieve the objectives of an optimization model, as a set of
OptimizationCriterion entities.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
criteria = model.GetOptimizationCriteria()
GetParameter
Get the DataReference of a Parameter. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a parameter of a model to change one of its
properties.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 117
Design Exploration
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
inputParameter1 = dOEModel1.GetParameter(Name="P1")
inputParameter1.LowerBound = 1
GetParameterRelationship
Get the DataReference of a ParameterRelationship entity. An exception is thrown if the entity is not
found.
Required Arguments
Example
The following example shows how the user can retrieve an existing ParameterRelationship entity.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameterRelationship = model.GetParameterRelationship(Name="ParameterRelationShip 1")
GetParameterRelationships
Get the Parameter Relationships associated to a Model. If the optional argument Enabled is not specified,
the query returns all Parameter Relationships. If it is specified and True, the query returns only enabled
Parameter Relationships. If it is False, the query returns only disabled Parameter Relationships.
Optional Arguments
Enabled If True, the query returns only enabled Parameter Relationships. If False, the query returns
only disabled Parameter Relationships. If the argument is ommitted, the query returns all
Parameter Relationships.
Example
The following example shows how the user can retrieve all the Parameter Relationships defined on
a model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
118 of ANSYS, Inc. and its subsidiaries and affiliates.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
allParameterRelationships = model.GetParameterRelationships()
enabledParameterRelationships = model.GetParameterRelationships(Enabled="True")
disabledParameterRelationships = model.GetParameterRelationships(Enabled="False")
GetParameters
Get the DataReferences of the InputParameter and OutputParameter of the model. If the optional argu-
ment InputParameters is not specified, the query returns all parameters. If it is specified and True, the
query returns only input parameters. If it is False, the query returns only output parameters.
Optional Arguments
InputParameters If True, the query returns only input parameters. If False, the query returns only
output parameters. If the argument is ommitted, the query returns all parameters.
Example
The following example shows how the user can get the parameters of a model.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parameters = dOEModel1.GetParameters()
GetParametricTable
Get the DataReference of ParametricTable. An exception is thrown if the entity is not found. Names of
the tables generated internally are: "DesignPoints", "CorrelationMatrix", "CorrelationScatter", "MinDesign-
Points", "MaxDesignPoints", "ResponsePoints", "DeterminationMatrix".
Required Arguments
Example
The following example shows how the user can get a ParametricTable to add a new row and set
values.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 119
Design Exploration
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable.AddRow()
parametricTable.SetCellValue(RowIndex=9,ColumnIndex=0,Value="2.1")
ImportCustomCandidatePointsFromDps
Create custom candidate points in an Optimization model by importing points with a query to the DPS.
Required Arguments
Example
The following example shows how the user can create custom candidate points with a query to the
DPS. Up to three design points with the best value for the fitness will be imported as custom can-
didate points.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
customCandidatePoints = model.ImportCustomCandidatePointsFromDps( QueryString="?eval_status=evaluated&sort=
SendStudyToDpsProject
Example
The following example shows how the user can send the fitness definition of the optimization
model to the single configuration in the connected Design Point Service.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
model.SendStudyToDpsProject()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
120 of ANSYS, Inc. and its subsidiaries and affiliates.
SetVariationReferencePoint
Sets a point as the reference to calculate the variation of the parameters in each of the candidate and
custom candidate points of the container. The variation is calculated by the command and can be re-
trieved for each parameter of each point.
Required Arguments
Optional Arguments
Example
The following example shows how to set a custom candidate point as the reference and how to
retrieve the calculated variation on the parameters of a second candidate point.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
customCandidatePoint = model.GetCustomCandidatePoint(Name="CustomCandidatePoint")
model.SetVariationReferencePoint(Point=customCandidatePoint, Source="Simulation")
bestCandidate = model.GetCandidatePoint(Name="CandidatePoint")
variationOfOutputsAsDecimals = bestCandidate.GetOutputValues(Source="Simulation", ValueType="VariationToRef
VerifyPoints
Verify the CandidatePoint entities by performing a design point update to generate Simulation output
values, so that they can be compared to the ResponseSurface output values. This command has no effect
if the optimization model is used as part of a Direct Optimization system.
Required Arguments
Optional Arguments
PullFromCacheOnly If True, the command attempts to pull output values from the design point
cache but does not trigger any design point update.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 121
Design Exploration
Example
The following example shows how the user can verify all the candidate points generated by the
optimization model and extract the existing output parameter values from the first candidate point.
system1 = GetSystem(Name="RSO")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoints = model.GetCandidatePoints()
model.VerifyPoints(Points=candidatePoints)
responseSurfaceValues = candidatePoints[0].GetOutputValues(Source="ResponseSurface")
verifiedValues = candidatePoints[0].GetOutputValues(Source="Simulation")
OutputParameter
Output parameter entity for DesignXplorer.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EnableAutoRefinement
Read Only No
IgnoreForFiltering
Determines whether the parameter filtering is not applicable to the output parameter in the correlation
context.
Read Only No
InheritFromModelSettings
Determines whether the Maximum Predicted Relative Error defined at the Model level is applicable to
the output parameter.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
122 of ANSYS, Inc. and its subsidiaries and affiliates.
LowerBound
Minimum value extracted from existing design points and/or sample sets.
MaximumPredictedError
Maximum Predicted Error for an output parameter with the GARS algorithm. This is the maximum pre-
dicted error for the selected output parameter.
MaxPredictedRelativeError
Maximum Relative Error targeted for an output parameter when refining with the Kriging algorithm.
This is the maximum predicted relative error that is acceptable for the selected output parameter.
Read Only No
PredictedRelativeError
Current value of the Predicted Relative Error when refining with the Kriging algorithm
Scaling
Scaling
Read Only No
Tolerance
Maximum Error targeted for an output parameter when refining with the GARS algorithm. This is the
maximum predicted error that is acceptable for the selected output parameter.
Read Only No
TransformationType
Transformation Type
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 123
Design Exploration
Read Only No
Units
Units
UpperBound
Maximum value extracted from existing design points and/or sample sets.
Methods
CreateOptimizationCriterion
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
124 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
ParameterRelationship
Entity which manages the calculated Statistics of a parameter for a Six-Sigma Component
Properties
Enabled
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 125
Design Exploration
ErrorMessage
LeftExpression
Read Only No
LeftExpressionQuantityName
Read Only No
LeftExpressionValue
RelationshipType
Read Only No
RightExpression
Read Only No
RightExpressionQuantityName
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
126 of ANSYS, Inc. and its subsidiaries and affiliates.
RightExpressionValue
Methods
DuplicateParameterRelationship
Optional Arguments
TargetModel The model on which the Parameter Relationship is created. If this parameter is not
set, the model of the source Parameter Relationship is used.
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
pr1 = model.GetParameterRelationship(Name="ParameterRelationShip")
pr2 = pr1.DuplicateParameterRelationship()
container = system1.GetContainer(ComponentName="Optimization 1")
model2 = container.GetModel()
pr3 = pr1.DuplicateParameterRelationship(TargetModel = model2)
GetChart
Example
The following example shows how the user can get a ParameterRelationshipChart to export its data
as .csv file.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameterRelationship1 = optimizationModel1.GetParameterRelationship(Name="ParameterRelationship")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 127
Design Exploration
chart1 = parameterRelationship1.GetChart()
Parameters.ExportData(Data=chart1,FileName="E:/Temp/Relationship.csv")
ParameterRelationshipChart
The data entity which describes a ParameterRelationship chart. It allows you to visualize how parameter
relationship evolves during the optimization process, depending on the optimizer.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
ScreeningOptimization
Entity which performs and manages the DesignXplorer Optimization Method Component
Properties
Converged
Convergence state
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
128 of ANSYS, Inc. and its subsidiaries and affiliates.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MaximumNumberOfPermutations
MaxNumCandidates
Read Only No
NumberOfEvaluations
Number of Evaluations
NumberOfFailures
Number of Failures
NumberOfSamples
Number of Samples
Read Only No
NumCandidates
Number of Candidates
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 129
Design Exploration
SampleSetSize
DX Evaluation Container
This container holds data for an instance of the Evaluation.
Data Entities
CandidatePoint
The CandidatePoint data entity is a candidate point automatically generated by an optimization.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Methods
CanUpdate
Returns true if the entity can be updated to produce the specific source of output values. As an example,
the query will return false for Source=ResponseSurface if the candidate point was generated by a Direct
Optimization system.
Return Results of the query telling if the Point entity can be updated to
produce the specified source of output values.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
130 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how to check if a CandidatePoint entity can be updated and how to
update it to obtain the Simulation output values.
system1 = GetSystem(Name="RSO")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
if candidatePoint.CanUpdate(Source="Simulation"):
candidatePoint.Update(Source="Simulation")
GetInputValues
Get the values of the input parameters. Depending on the parameter definition, each value can be a
Quantity, a real, a string or an integer.
Optional Arguments
Example
The following example shows how to retrieve a candidate point and then extract its input parameter
values.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
dictInputValues = candidatePoint.GetInputValues()
GetOutputValues
Get the values of the output parameters for the specified source of output values.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 131
Design Exploration
Example
The following example shows how to retrieve a candidate point and then extract its output para-
meter values.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
responseSurfaceOutputValues = candidatePoint.GetOutputValues(Source="ResponseSurface")
simulationOutputValues = candidatePoint.GetOutputValues(Source="Simulation")
GetState
Returns the state of the entity for the specified source of output values. A different state is available
for each source of output values.
Optional Arguments
Example
The following example shows how to check the state of the Simulation's source of the output values
of a CandidatePoint entity.
system1 = GetSystem(Name="RSO")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
state = candidatePoint.GetState(Source="Simulation")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
132 of ANSYS, Inc. and its subsidiaries and affiliates.
GetValue
Get the value for a given parameter and, if the parameter is an output parameter, a given source of
output values. Depending on the parameter definition, each value can be a Quantity, a real, a string or
an integer.
Required Arguments
Optional Arguments
Source If Parameter is an output parameter, the source of the output value to return.
Example
The following example shows how to retrieve a candidate point generated by the optimization
model, and then extract selected parameter values.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
inputParam1 = model.GetParameter(Name="P1")
parameterValue1 = candidatePoint.GetValue(Parameter=inputParam1)
outputParam4 = model.GetParameter(Name="P4")
parameterValue2 = candidatePoint.GetValue(Parameter=outputParam4, Source="Simulation")
print parameterValue2.Value
GetValues
Get the values of all input parameters and the values of all output parameters for the specified source
of output values. Depending on the parameter definition, each value can be a Quantity, a real, a string
or an integer.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 133
Design Exploration
Optional Arguments
Source For output parameters, the source of the output values to return.
Example
The following example shows how to retrieve a candidate point and then extract all of its parameter
values.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
parameterValues = candidatePoint.GetValues(Source="Simulation")
Update
Updates a point entity to provide the output parameter values of the requested source. If the requested
source is ResponseSurface, the output values are generated by evaluating the response surface model,
if available. If the requested source is Simulation, the output values are generated by triggering a
DesignPoint update. This command applies to CandidatePoint and CustomCandidatePoint entities.
Optional Arguments
Source Source of output values to produce. The update method depends on this parameter.
Example
The following example shows how to update an existing candidate point to obtain Simulation
output values.
system1 = GetSystem(Name="RSO")
container = system1.GetContainer(ComponentName="Optimization")
candidate1 = container.GetCandidatePoint(Name="CandidatePoint 1")
outputValues = candidate1.Update(Source="Simulation")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
134 of ANSYS, Inc. and its subsidiaries and affiliates.
CandidatesChart
The data entity which describes the Candidate Points chart. The Candidate Points chart allows you to
view different kinds of information about candidate points. It allows you specify one or more parameters
for which you want to display candidates data. Color-coding and a legend make it easy to view and
interpret samples, candidate points identified by the optimization, candidates inserted manually, and
candidates for which output values have been verified by a design point update. You can specify the
chart’s properties to control the visibility of each axis, feasible samples, candidates you’ve inserted
manually, and candidates with verified output values.
Properties
CandidatesColoringMethod
Read Only No
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
ShowCandidates
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 135
Design Exploration
ShowCustomCandidates
Read Only No
ShowSamples
Read Only No
ShowStartingPoint
Read Only No
ShowVerifiedCandidates
Read Only No
Methods
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
136 of ANSYS, Inc. and its subsidiaries and affiliates.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 137
Design Exploration
ConvergenceCriteriaChart
The data entity which describes an ConvergenceCriteria chart. It allows you to visualize how convergence
evolves during the optimization process, depending on the optimizer.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
EnableVariable
Enable or disable a variable in a chart. This command is currently limited to the CorrelationScatter chart,
where LinearTrendLine_Variable and QuadraticTrendLine_Variable are the two eligible variables, and
the ConvergenceCriteria chart.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
138 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how to disable and enable a variable in a CorrelationScatter or Con-
vergenceCriteria chart.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
chart = model.GetChart(Name="CorrelationScatter 1")
chart.EnableVariable( Variable=chart.LinearTrendLine_Variable, IsEnabled=false)
chart.EnableParameter( Variable=chart.QuadraticTrendLine_Variable )
EnableVariables
Required Arguments
Optional Arguments
Example
The following example shows how to disable two variables, and then how to enable all variables
by omitting the Parameters optional variable. This example uses a CorrelationScatter chart. The
method also applies for ConvergenceCriteria Chart.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
var1 = Graphics.GetVariableXY(Name="MyName")
chart = model.GetChart(Name="CorrelationScatter 1")
chart.EnableVariables( Variables = [var1;var2], IsEnabled=false)
chart.EnableVariable()
ConvergenceCurvesChart
The data entity which describes a Convergence Curves chart. It allows you to visualize the convergence
of an algorithm: with the steps of the convergence as X-axis and the criteria of the convergence as Y-
axis. This chart can display several curves based on the same steps of convergence.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 139
Design Exploration
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
140 of ANSYS, Inc. and its subsidiaries and affiliates.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
CorrelationMatrixChart
The data entity which describes a Correlation Matrix chart. This matrix allows the user to visualize how
the input and output parameters are coupled.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 141
Design Exploration
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
142 of ANSYS, Inc. and its subsidiaries and affiliates.
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 143
Design Exploration
CorrelationScatterChart
The data entity which describes a Correlation Scatter chart. This scatter chart allows the user to visualize
the samples used to compute the correlation for the selected parameter pair, as well as the linear and
the quadratic trend lines.
Properties
Axes
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
LinearTrendLine_Variable
Read Only No
QuadraticTrendLine_Variable
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
144 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Read Only No
Methods
AssociateParameterToAxis
Associates a Parameter to the specified axis of the chart. The Parameter argument can be omitted which
means that the axis is not set.
Required Arguments
Optional Arguments
Example
The following example shows how to assign parameters to the axes of a DesignPointsCurves chart.
EnableVariable
Enable or disable a variable in a chart. This command is currently limited to the CorrelationScatter chart,
where LinearTrendLine_Variable and QuadraticTrendLine_Variable are the two eligible variables, and
the ConvergenceCriteria chart.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 145
Design Exploration
Example
The following example shows how to disable and enable a variable in a CorrelationScatter or Con-
vergenceCriteria chart.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
chart = model.GetChart(Name="CorrelationScatter 1")
chart.EnableVariable( Variable=chart.LinearTrendLine_Variable, IsEnabled=false)
chart.EnableParameter( Variable=chart.QuadraticTrendLine_Variable )
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
146 of ANSYS, Inc. and its subsidiaries and affiliates.
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
CustomCandidatePoint
The CustomCandidatePoint data entity is a candidate point created and edited by the user for compar-
ison with the results of an optimization.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Methods
CanUpdate
Returns true if the entity can be updated to produce the specific source of output values. As an example,
the query will return false for Source=ResponseSurface if the candidate point was generated by a Direct
Optimization system.
Return Results of the query telling if the Point entity can be updated to
produce the specified source of output values.
Optional Arguments
Example
The following example shows how to check if a CandidatePoint entity can be updated and how to
update it to obtain the Simulation output values.
system1 = GetSystem(Name="RSO")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
if candidatePoint.CanUpdate(Source="Simulation"):
candidatePoint.Update(Source="Simulation")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 147
Design Exploration
GetInputValues
Get the values of the input parameters. Depending on the parameter definition, each value can be a
Quantity, a real, a string or an integer.
Optional Arguments
Example
The following example shows how to retrieve a candidate point and then extract its input parameter
values.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
dictInputValues = candidatePoint.GetInputValues()
GetOutputValues
Get the values of the output parameters for the specified source of output values.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
148 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how to retrieve a candidate point and then extract its output para-
meter values.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
responseSurfaceOutputValues = candidatePoint.GetOutputValues(Source="ResponseSurface")
simulationOutputValues = candidatePoint.GetOutputValues(Source="Simulation")
GetState
Returns the state of the entity for the specified source of output values. A different state is available
for each source of output values.
Optional Arguments
Example
The following example shows how to check the state of the Simulation's source of the output values
of a CandidatePoint entity.
system1 = GetSystem(Name="RSO")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
state = candidatePoint.GetState(Source="Simulation")
GetValue
Get the value for a given parameter and, if the parameter is an output parameter, a given source of
output values. Depending on the parameter definition, each value can be a Quantity, a real, a string or
an integer.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 149
Design Exploration
Optional Arguments
Source If Parameter is an output parameter, the source of the output value to return.
Example
The following example shows how to retrieve a candidate point generated by the optimization
model, and then extract selected parameter values.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
inputParam1 = model.GetParameter(Name="P1")
parameterValue1 = candidatePoint.GetValue(Parameter=inputParam1)
outputParam4 = model.GetParameter(Name="P4")
parameterValue2 = candidatePoint.GetValue(Parameter=outputParam4, Source="Simulation")
print parameterValue2.Value
GetValues
Get the values of all input parameters and the values of all output parameters for the specified source
of output values. Depending on the parameter definition, each value can be a Quantity, a real, a string
or an integer.
Optional Arguments
Source For output parameters, the source of the output values to return.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
150 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how to retrieve a candidate point and then extract all of its parameter
values.
system1 = GetSystem(Name="DOP")
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
candidatePoint = model.GetCandidatePoint(Name="CandidatePoint 1")
parameterValues = candidatePoint.GetValues(Source="Simulation")
SetParameter
Required Arguments
Example
The following example shows how to set the expression for one parameter in an existing custom
candidate point.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
customCandidatePoint = model.GetCustomCandidatePoint(Name="CustomCandidatePoint 1")
inputParameter1 = model.GetParameter(Name="P1")
customCandidatePoint.SetParameter(Parameter=inputParameter1, Expression="2.01")
inputParameter2 = model.GetParameter(Name="P2")
customCandidatePoint.SetParameter(Parameter=inputParameter2, Expression="2.1 [m]")
SetParameters
Sets the expression of several parameters in a CustomCandidatePoint entity. In the context of a response
surface based optimization, the output values are updated from the response surface.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 151
Design Exploration
Example
The following example shows how to set the expression for several parameters in an existing custom
candidate point.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
customCandidatePoint = model.GetCustomCandidatePoint(Name="CustomCandidatePoint 1")
inputParameter1 = model.GetParameter(Name="P1")
customCandidatePoint.SetParameter(Parameter=inputParameter1, Expression="2.01")
inputParameter2 = model.GetParameter(Name="P2")
customCandidatePoint.SetParameters(Expressions={inputParameter1: "2.01", inputParameter2: "15.5 [m]"})
Update
Updates a point entity to provide the output parameter values of the requested source. If the requested
source is ResponseSurface, the output values are generated by evaluating the response surface model,
if available. If the requested source is Simulation, the output values are generated by triggering a
DesignPoint update. This command applies to CandidatePoint and CustomCandidatePoint entities.
Optional Arguments
Source Source of output values to produce. The update method depends on this parameter.
Example
The following example shows how to update an existing candidate point to obtain Simulation
output values.
system1 = GetSystem(Name="RSO")
container = system1.GetContainer(ComponentName="Optimization")
candidate1 = container.GetCandidatePoint(Name="CandidatePoint 1")
outputValues = candidate1.Update(Source="Simulation")
DesignPointsCurvesChart
The data entity which describes a "Design Points vs. Parameters" chart. It provides a 2D chart with two
Y axes and two X axes to display Design Points versus Parameter and/or Parameter versus Parameter
curves.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
152 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Axes
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
AssociateParameterToAxis
Associates a Parameter to the specified axis of the chart. The Parameter argument can be omitted which
means that the axis is not set.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 153
Design Exploration
Example
The following example shows how to assign parameters to the axes of a DesignPointsCurves chart.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
154 of ANSYS, Inc. and its subsidiaries and affiliates.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
DesignPointsParallelChart
The data entity which describes a Parameters Parallel chart. It allows you to visualize the DOE matrix
using parallel Y axes to represent all of the input and output parameters on the same 2D representation,
whatever the number of parameters.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
EnableParameters
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 155
Design Exploration
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
156 of ANSYS, Inc. and its subsidiaries and affiliates.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
DeterminationHistogramChart
The data entity which describes the Determination Histogram chart. It allows you to visualize the coef-
ficient of determination (linear or quadratic) of each input for an output parameter.
Properties
Axes
DeterminationType
Read Only No
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 157
Design Exploration
Read Only No
FullModelR2
IsUpToDate
Read Only No
ThresholdR2
Threshold value of R2: the chart displays only input parameters with a coefficient of determination is
greater than thus threshold.
Read Only No
Methods
AssociateParameterToAxis
Associates a Parameter to the specified axis of the chart. The Parameter argument can be omitted which
means that the axis is not set.
Required Arguments
Optional Arguments
Example
The following example shows how to assign parameters to the axes of a DesignPointsCurves chart.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
158 of ANSYS, Inc. and its subsidiaries and affiliates.
chart.AssociateParameterToAxis(Parameter=inputParam1, Axis="XAxis")
chart.AssociateParameterToAxis(Parameter=outputParam1, Axis="YAxis")
chart.AssociateParameterToAxis(Parameter=outputParam2, Axis="YRightAxis")
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 159
Design Exploration
DeterminationMatrixChart
The data entity which describes a Determination Matrix chart. This matrix allows you to visualize how
the input and output parameters are coupled in a quadratic regression.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
EnableParameters
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
160 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 161
Design Exploration
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
DistributionChart
The entity which describes a parameter's Distribution chart. This chart is always associated with an un-
certainty parameter and allows you to visualize the statistical distribution defined or calculated for this
parameter.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Parameter
Read Only No
Methods
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
162 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
GoodnessOfFit
Entity which manages the Goodness Of Fit Information of a Response Surface for an Output Parameter
Properties
ConfidenceLevel
The measure of the likelihood that a confidence interval contains the quantity or parameter being es-
timated
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 163
Design Exploration
Read Only No
DiscreteExpressions
A Dictionary holding the values of all discrete input. Note: Discrete parameter values are level values,
not indices.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
CreateAdvancedReport
For the standard response surface only (Full second order Polynomials), creates an Advanced Goodness
of Fit report for any direct output parameter.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
164 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how to create an Advanced Goodness of Fit report.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
SetDiscreteParameter
Sets the Expression of a discrete input parameter in a GoodnessOfFit and updates the associated output
parameter values. The chart entities depending on the GoodnessOfFit are updated as well.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 165
Design Exploration
Example
The following example shows how to set the expression for one discrete parameter in an existing
GoodnessOfFit.
Update
Updates the goodness of fit and the results which depend on it. If the goodness of fit is already uptodate,
nothing is done unless the Force flag is set to True.
Optional Arguments
Force Set to true if the update operation of the goodness of fit point is required even if it's already
uptodate.
Example
HistoryChart
The data entity which describes an History chart. It allows you to visualize how a parameter evolves
during the optimization process, point by point or iteration by iteration depending on the optimizer.
Defined target and constraints values are also represented.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
166 of ANSYS, Inc. and its subsidiaries and affiliates.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 167
Design Exploration
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
LocalSensitivityChart
The data entity which describes a Local Sensitivity chart. It allows you to visualize the impact that
changing each input parameter independently has on the output parameters. A Local Sensitivity chart
accepts two different graphical modes -BarChart and PieChart- and supports enabling/disabling input
and/or output parameters. A Local Sensitivity depends on a Response Point which serves as a reference
point for sensitivity computation.
Properties
AxesRangeMode
Axes range for output parameters controls if the range is determined from the chart's data or the min-
max of outputs.
Read Only No
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
168 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Mode
Specifies the graphical representation used to render local sensitivity data. It can be either BarChart or
PieChart.
Read Only No
Methods
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 169
Design Exploration
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
LocalSensitivityCurvesChart
The data entity which describes a Local Sensitivity Curves chart. It allows you to visualize the impact
that changing each input parameter independently has on the output parameters. It allows you to
visualize one or two output parameters at the same time. A Local Sensitivity Curves chart supports en-
abling and disabling input parameters. A Local Sensitivity Curves depends on a Response Point which
serves as a reference point for computation of the sensitivity.
Properties
Axes
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
170 of ANSYS, Inc. and its subsidiaries and affiliates.
AxesRangeMode
Axes range for output parameters controls if the range is determined from the chart's data or the min-
max of outputs.
Read Only No
ChartResolution
Chart resolution.
Read Only No
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
AssociateParameterToAxis
Associates a Parameter to the specified axis of the chart. The Parameter argument can be omitted which
means that the axis is not set.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 171
Design Exploration
Optional Arguments
Example
The following example shows how to assign parameters to the axes of a DesignPointsCurves chart.
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
172 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
ParameterStatistics
Entity which manages the calculated Statistics of a parameter for a Six-Sigma Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 173
Design Exploration
Read Only No
Entropy
Read Only No
InvProbabilityTable
Read Only No
IsUpToDate
Read Only No
Kurtosis
Kurtosis value
Read Only No
Mean
Mean value
Read Only No
Parameter
DataReference of the input or output parameter associated with this statistics entity.
Read Only No
ProbabilityMaximum
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
174 of ANSYS, Inc. and its subsidiaries and affiliates.
Type double (p. 1425)
Read Only No
ProbabilityMinimum
Read Only No
ProbabilityTable
Read Only No
QuantileMaximum
Read Only No
QuantileMinimum
Read Only No
SigmaMaximum
Read Only No
SigmaMinimum
Read Only No
SignalNoiseLarge
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 175
Design Exploration
Read Only No
SignalNoiseNominal
Read Only No
SignalNoiseSmall
Read Only No
Skewness
Skewness value
Read Only No
StandardDeviation
Read Only No
StatisticsChart
Read Only No
TableType
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
176 of ANSYS, Inc. and its subsidiaries and affiliates.
ParametricTable
ParametricTable entity used to encapsulate most of the evaluation results in a convenient 2D matrix
format.
Properties
DimCol
Number of columns.
DimRow
Number of rows.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Methods
AddRow
Optional Arguments
Example
The following example shows how to make a DOE editable, to retrieve the table of design points
and add a new row to it.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 177
Design Exploration
DeleteRows
Required Arguments
Example
The following example shows how to delete rows from the DOEmatrix in a custom DOE context.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
ExportSnapshotsTableAsArchive
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
178 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Example
The following example shows how the user can export a table of snapshots as an archive.
system1 = GetSystem(Name="RBU")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable1 = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable1.ExportSnapshotsTableAsArchive(FilePath="C:/Temp/doesnapshots.snpz")
GetCellValue
Get the Value of a ParametricTable's cell. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get the value of the ParametricTable's cell [0,3].
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
cellValue = parametricTable.GetCellValue(RowIndex=0,ColumnIndex=3)
GetRowRomSnapshotName
Get the Rom snapshot's name value of a row in a ParametricTable. An exception is thrown if the entity
is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 179
Design Exploration
Required Arguments
Example
The following example shows how to get the Rom snapshot's name value of row [3] in the Paramet-
ricTable.
system1 = GetSystem(Name="RBU")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable1 = dOEModel1.GetParametricTable(Name="DesignPoints")
snapshotName = parametricTable1.GetRowRomSnapshotName(RowIndex=3)
GetRowUpdateOrder
Get the Update Order value of a row in a ParametricTable. An exception is thrown if the entity is not
found.
Required Arguments
Example
The following example shows how to get the Update Order value of row [3] in the ParametricTable.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
updateOrderValue = parametricTable.GetRowUpdateOrder(RowIndex=3)
GetRowValues
Get the Values of a ParametricTable's row. An exception is thrown if the entity is not found.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
180 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Example
The following example shows how the user can get the values of the 4th ParametricTable's row.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
rowValues = parametricTable.GetRowValues(RowIndex=3)
OptimizeUpdateOrder
Optimizes the Update Order of Design Points to minimize the number of modifications between two
consecutive Design Points. This command applies to the "DesignPoints" ParametricTable of a Design
of Experiments model or of a Response Surface in a manual refinement context. It also applies to the
"VerificationPoints" ParametricTable of a Response Surface model.
Example
The following example shows how to optimize the update order of the DesignPoints table in a
Design of Experiments model.
SetCellValue
Sets the value of a ParametricTable cell. If the table is read-only, the command has no effect.
Required Arguments
Example
The following example shows how to set the value of the DesignPoints table in a custom DOE
context.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 181
Design Exploration
SetOutputValuesEditable
Sets the values of the output parameters as Editable (Editable=True) or Calculated (Editable=False) for
the complete table, or a set of rows specified by the RowIndices argument. This command is applicable
to the "DesignPoints" ParametricTable of a Design of Experiments model in a custom context (DOEType
is "eDOETYPE_USER" or "eDOETYPE_CUSTOM_OSFD"), of a Correlation model is a custom context
(SamplingType is "eCustom"), or of a Response Surface model in a manual refinement context. It also
applies to the "VerificationPoints" ParametricTable of a Response Surface model.
Required Arguments
Editable True to define output values as Editable, or False to mark output values as calculated.
Optional Arguments
RowIndices Optional list of row zero-based indices. If this argument is not specified, the command
applies to the complete ParametricTable.
Example
The following example shows how to switch a DOE model to the custom mode and then set the
output values as editable for the first three design points of the DOE matrix.
SetRowRomSnapshotName
Sets the Rom Snapshot's name value for a row in a ParametricTable. If the table doesn't support Rom
functionality, the command has no effect.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
182 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Example
The following example shows how to set the Rom Snapshot's name value of the DesignPoints table
in a Design of Experiments model.
system1 = GetSystem(Name="RBU")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable1 = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable1.SetOutputValuesEditable(Editable=True,RowIndices=[1])
parametricTable1.SetRowRomSnapshotName(RowIndex=1,SnapshotName="ff66dfaf-c34b-4dff-938e-bf497a377b9f.romsnp
SetRowUpdateOrder
Sets the Update Order value for a row in a ParametricTable. If the table doesn't support Update Order
functionality, the command has no effect.
Required Arguments
Example
The following example shows how to set the Update Order value of the DesignPoints table in a
Design of Experiments model.
SetRowValues
Sets the values of a ParametricTable's row. If the table is read-only, the command has no effect.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 183
Design Exploration
Example
The following example shows how to set the values of the DesignPoints table in a custom DOE
context.
SetUpdateOrderByRow
Sets a value for the UpdateOrder property of all Design Points using sorting settings. This command
applies to the "DesignPoints" ParametricTable of a Design of Experiments model or of a Response Surface
in a manual refinement context. It also applies to the "VerificationPoints" ParametricTable of a Response
Surface model.
Optional Arguments
Example
The following example shows how to set the update order of the DesignPoints table in a Design
of Experiments model. The Design Points are sorted first by their values for the parameter P3 (in
ascending order), and then by their values for the parameter P1 (in descending order).
UpdateRows
Updates the design points held in rows from a ParametricTable entity and the results which depend
on it.
Required Arguments
Example
The following example shows how to update the design points from the VerificationPoints Table.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
184 of ANSYS, Inc. and its subsidiaries and affiliates.
parametricTable1 = responseSurfaceModel1.GetParametricTable(Name="VerificationPoints")
parametricTable1.UpdateRows(Indices=[0,1])
PredictedvsObservedScatterChart
The data entity which describes a PredictedvsObserved Scatter chart. This scatter chart allows the user
to visualize the predicted output values versus observed output values for all design points used to
compute the response surface.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
ShowLearningPoints
Read Only No
ShowVerificationPoints
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 185
Design Exploration
Methods
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
186 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
PredictionErrorScatterChart
The data entity which describes a PredictionError Scatter chart. This scatter chart allows the user to
visualize per region or for all regions, the metric errors versus all design points used to compute the
ROM.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 187
Design Exploration
ErrorType
Read Only No
FieldToShow
Field to Show
Read Only No
IsUpToDate
Read Only No
RegionToShow
Region to Show
Read Only No
ScatterType
Scatter Type
Read Only No
ShowLearningPoints
Read Only No
ShowVerificationPoints
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
188 of ANSYS, Inc. and its subsidiaries and affiliates.
ResponseChart
The data entity which describes a Response chart. It allows you to visualize the impact that changing
each input parameter has on the selected output parameter. It has three Modes - 2D, 3D and 2DSlices
- allowing you to vary one or two input parameters at the same time. A Response depends on a Response
Point which serves as a reference point for non-varying input parameters.
Properties
Axes
ChartResolutionAlongX
Read Only No
ChartResolutionAlongY
Read Only No
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 189
Design Exploration
Read Only No
Mode
Read Only No
NumberOfSlices
Read Only No
ShowDesignPoints
Option to display the design points of the DOE and the refinement points.
Read Only No
Methods
AssociateParameterToAxis
Associates a Parameter to the specified axis of the chart. The Parameter argument can be omitted which
means that the axis is not set.
Required Arguments
Optional Arguments
Example
The following example shows how to assign parameters to the axes of a DesignPointsCurves chart.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
190 of ANSYS, Inc. and its subsidiaries and affiliates.
chart = model.GetChart(Name="Design Point vs Parameter 1")
chart.AssociateParameterToAxis(Parameter=inputParam1, Axis="XAxis")
chart.AssociateParameterToAxis(Parameter=outputParam1, Axis="YAxis")
chart.AssociateParameterToAxis(Parameter=outputParam2, Axis="YRightAxis")
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 191
Design Exploration
ResponsePoint
The ResponsePoint data entity: a design point for which output values are computed from a Response
Surface.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Expressions
A Dictionary of the input parameter values defining the response point and the corresponding output
parameter values predicted from the response surface. Note that for discrete parameters and continuous
parameters using manufacturable values, the Dictionary contains the value of the level rather than its
index.
Read Only No
Note
Read Only No
Methods
CreateChart
Creates a Chart entity attached to the Response Point. This chart is updated automatically when the
parameter values of the ResponsePoint change. It is deleted automatically when the ResponsePoint is
deleted. The chart must be updated once after its creation by invoking its Update method. Then changes
to its properties or its parent ResponsePoint will update the chart automatically.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
192 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
DisplayText DisplayText of the chart. If not specified, a default name is applied, depending on the
value of ChartType.
Example
DuplicateChart
Duplicates a Chart entity attached to a Response Point. The chart must be updated once after its creation
by invoking its Update method. Then changes to its properties will update the chart automatically.
Required Arguments
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied,
depending on the value of ChartType.
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 193
Design Exploration
GetChart
Get the DataReference of a Chart from a ResponsePoint. An exception is thrown if the entity is not
found.
Required Arguments
Example
The following example shows how to retrieve an existing Chart from a ResponsePoint.
GetCharts
Example
The following example shows how to retrieve all the charts defined for a ResponsePoint.
SetDiscreteParameters
Sets the Expression of several discrete input parameters in a GoodnessOfFit and updates the associated
output parameter values. The chart depending on the GoodnessOfFit is updated as well.
Required Arguments
Expressions Dictionary of the discrete input parameters and their assigned expressions.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
194 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how to set the expression for several discrete input parameters in an
existing GoodnessOfFit.
SetParameter
Sets the Expression of an input parameter in a ResponsePoint and updates the associated output
parameter values. If there are chart entities depending on the ResponsePoint, they are updated as well.
Required Arguments
Example
The following example shows how to set the expression for one parameter in an existing Respon-
sePoint.
SetParameters
Sets the Expression of several input parameters in a ResponsePoint and updates the associated output
parameter values. If there are chart entities depending on the ResponsePoint, they are updated as well.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 195
Design Exploration
Example
The following example shows how to set the expression for several input parameters in an existing
ResponsePoint.
Update
Updates the response point and the results which depend on it. If the reponse point is already uptodate,
nothing is done unless the Force flag is set to True.
Optional Arguments
Force Set to true if the update operation of the response point is required even if it's already uptodate.
Example
SamplesChart
The data entity which describes the Samples chart. It allows you to explore the samples generated for
an Optimization study by using parallel Y axes to represent all of the input and output parameters on
the same 2D representation, whatever the number of parameters. It can filter the number of visible
Pareto Fronts and supports two Modes: Candidates or Pareto Fronts.
Properties
ColoringMethod
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
196 of ANSYS, Inc. and its subsidiaries and affiliates.
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Mode
Read Only No
NumberOfParetoFront
Number of Pareto fronts to display. This is used as a filter to display only the most interesting fronts,
given an optimization study.
Read Only No
ShowInfeasiblePoints
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 197
Design Exploration
Methods
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
198 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
SensitivitiesChart
The data entity which describes a Sensitivities chart. It allows you to visualize the global sensitivities of
each output with respect to the input parameters. A Sensitivities chart has two different graphical modes
-BarChart and PieChart- and supports enabling/disabling input and/or output parameters.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 199
Design Exploration
IsUpToDate
Read Only No
Mode
Specifies the graphical representation used to render local sensitivity data. It can be either BarChart or
PieChart.
Read Only No
Methods
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
200 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
SpiderChart
The data entity which describes a Spider chart. It allows you to visualize the impact that changing the
input parameters has on all output parameters simultaneously. A Spider chart depends on a Response
Point and shows the same values as its parent Response Point.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 201
Design Exploration
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
EnableParameters
Required Arguments
Optional Arguments
Example
The following example shows how to disable two parameters, and then how to enable all parameters
by omitting the Parameters optional parameter. This example uses a Correlation Matrix chart. The
method also applies for other types of charts like LocalSensitivity, SpiderChart, etc.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
param1 = model.GetParam(Name="P1")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
202 of ANSYS, Inc. and its subsidiaries and affiliates.
param4 = model.GetParam(Name="P4")
chart = model.GetChart(Name="Correlation Matrix 1")
chart.EnableParameters( Parameters=[param1;param4], IsEnabled=false )
chart.EnableParameters()
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 203
Design Exploration
StatisticsChart
The StatisticsChart shows the Probability Distribution Function and Cumulative Distribution Function
results of a Six Sigma analysis
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
204 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
TradeoffChart
The data entity which describes the Tradeoff chart. It allows you to visualize the samples used in an
optimization study and the Pareto fronts associated with them, if any. It supports the exploration of
the generated samples in a 2D or 3D Mode, and can filter the number of visible Pareto Fronts.
Properties
Axes
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 205
Design Exploration
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Mode
Read Only No
NumberOfParetoFront
Number of Pareto front to display. This is used as a filter to display only the most interesting fronts,
given an optimization study.
Read Only No
ShowInfeasiblePoints
Read Only No
Methods
AssociateParameterToAxis
Associates a Parameter to the specified axis of the chart. The Parameter argument can be omitted which
means that the axis is not set.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
206 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
Example
The following example shows how to assign parameters to the axes of a DesignPointsCurves chart.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 207
Design Exploration
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
Methods
ApproveGeneratedData
Approve generated data after nonparametric changes by keeping DX results. This command is recursive
and applied with any component dependent on the first component.
Example
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
designofExperiment1.ApproveGeneratedData()
GetModel
Get the DataReference of the Model. An exception is thrown if the entity is not found.
Example
The following example shows how the user can get a Model to change one of its properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
208 of ANSYS, Inc. and its subsidiaries and affiliates.
dOEModel1.DOEType = "eDOETYPE_OSFD"
Data Entities
BBDMethod
Entity which performs and manages the DesignXplorer Sampling Method Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
CCDMethod
Entity which performs and manages the DesignXplorer Sampling Method Component
Properties
CCDTemplateType
Read Only No
CCDType
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 209
Design Exploration
CustomDOEMethod
Entity which performs and manages the DesignXplorer Sampling Method Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
CustomDOEPlusSampling
Entity which performs and manages the DesignXplorer Sampling Method Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DiscreteLevel
The data entity which describes a Discrete Level of an Input Parameter.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Index
Zero-based Index of the discrete level in the list of levels of the owning parameter.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
210 of ANSYS, Inc. and its subsidiaries and affiliates.
Value
Read Only No
Methods
SetValue
Sets the value of a discrete level entity. A discrete level can have an integer value (e.g. a number if
holes, a number of turns, etc) or a string value (e.g. a material name or a geometry file name).
Required Arguments
Example
The following example shows how to retrieve a discrete level from an input parameter and then
change its value.
DistributionChart
The entity which describes a parameter's Distribution chart. This chart is always associated with an un-
certainty parameter and allows you to visualize the statistical distribution defined or calculated for this
parameter.
Properties
DisplayParameterFullName
If True, the legend of the chart contains the full name of the parameters. Otherwise it contains the short
name such as "P1".
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 211
Design Exploration
Read Only No
IsUpToDate
Read Only No
Parameter
Read Only No
Methods
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
212 of ANSYS, Inc. and its subsidiaries and affiliates.
Update
Updates the chart by generating all results or data required to plot it. If the chart is already up-to-date,
nothing is done by default.
Example
The following example shows how to update a Tradeoff chart. The same code applies to all other
types of charts.
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart = model.GetChart(Name="TradeoffChart 1")
chart.Update()
DOEModel
Entity which performs and manages the DesignXplorer Design Of Experiments Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExportDesignPoints
If True and PreserveDesignPoints is True as well, export project for each preserved Design Point.
Read Only No
Method
Optimization Method
Read Only No
MethodName
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 213
Design Exploration
NumberOfRetries
Indicates the number of times DX will try to update the failed design points.
Read Only No
PreserveDesignPoints
If True, preserve the Design Points at the project level after the component Update.
Read Only No
RetainDesignPoints
If True and PreserveDesignPoints is True as well, retain data for each preserved Design Point.
Read Only No
RetryDelay
Indicates how much time will elapse between tries. This option is only applicable when NumberOfRetries
is greater than 0, otherwise it has no effect.
Read Only No
RomMeshFile
ROM mesh file manually selected by the user. Null in a non-ROM context or if the default generated
one is used.
Read Only No
Methods
CreateChart
Creates a Chart entity. The chart must be updated once after its creation by invoking its Update method.
Then changes to its properties will update the chart automatically.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
214 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
ChartType Type of chart to be created. The possible values depend on the type of Model. For in-
stance, a ResponseSurface model accepts Spider, LocalSensitivity and Response chart
while a CorrelationModel accepts CorrelationMatrix, DeterminationMatrix and Correla-
tionScatter charts.
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied, depending
on the value of ChartType.
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
TradeoffChart = model.CreateChart(ChartType="eChartTradeoff")
TradeoffChart.Update()
DeleteCharts
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart1 = model.GetChart(Name="TradeoffChart 1")
chart2 = model.GetChart(Name="SamplesChart 1")
model.DeleteCharts(Charts=[chart1, chart2])
DuplicateChart
Duplicates a Chart entity. The chart must be updated once after its creation by invoking its Update
method. Then changes to its properties will update the chart automatically.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 215
Design Exploration
Required Arguments
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied,
depending on the value of ChartType.
TargetModel The model on which the duplicated chart is created. If this parameter is
not set, the model of the source chart is used.
TargetResponsePoint Parent TargetResponsePoint of the chart. If this parameter is not set, the
response point of the source chart is used if applicable.
Example
GetChart
Query to return the chart reference for a given model and chart name.
Required Arguments
GetDesignPointReportSetting
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
216 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Example
The following example shows how the user can get a DesignPointReportSetting to change one of
its properties.
system1 = GetSystem(Name="GDO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
designPointReportSettingEntity1 = dOEModel1.GetDesignPointReportSetting()
designPointReportSettingEntity1.DesignPointReportImage = "FFF-Results:Figure001.png"
GetParameter
Get the DataReference of a Parameter. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a parameter of a model to change one of its
properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
inputParameter1 = dOEModel1.GetParameter(Name="P1")
inputParameter1.LowerBound = 1
GetParameters
Get the DataReferences of the InputParameter and OutputParameter of the model. If the optional argu-
ment InputParameters is not specified, the query returns all parameters. If it is specified and True, the
query returns only input parameters. If it is False, the query returns only output parameters.
Optional Arguments
InputParameters If True, the query returns only input parameters. If False, the query returns only
output parameters. If the argument is ommitted, the query returns all parameters.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 217
Design Exploration
Example
The following example shows how the user can get the parameters of a model.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parameters = dOEModel1.GetParameters()
GetParametricTable
Get the DataReference of ParametricTable. An exception is thrown if the entity is not found. Names of
the tables generated internally are: "DesignPoints", "CorrelationMatrix", "CorrelationScatter", "MinDesign-
Points", "MaxDesignPoints", "ResponsePoints", "DeterminationMatrix".
Required Arguments
Example
The following example shows how the user can get a ParametricTable to add a new row and set
values.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable.AddRow()
parametricTable.SetCellValue(RowIndex=9,ColumnIndex=0,Value="2.1")
ImportDesignPoints
Import existing Design Point entities in a custom Design of Experiments or Correlation model. If a Design
Point is solved, the output parameter values are also imported if the customized model is not a Correl-
ation model linked to a Response Surface model.
Optional Arguments
DesignPoints List of the existing Design Point entities to import. If not specified, all the Design
Point entities found in the Parametric container are imported.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
218 of ANSYS, Inc. and its subsidiaries and affiliates.
ExpandRanges If true, the command expands the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
ShrinkRanges If true, the command shrinks the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
Example
The following example shows how the user can import all design points or a list of design points
into a Design of Experiments model.
ImportDesignPointsFromArchive
Import Design Point values in a custom Design of Experiments model from an archive file.
Required Arguments
ReuseSnapshotFiles If true, reuse existing snapshot files of ROM production folder when they
correspond to referenced snapshots of the archive. If false, copy all the
snapshot files referenced in the archive (and rename them when they exist
already in the ROM production folder).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 219
Design Exploration
Optional Arguments
ExpandRanges If true, the command expands the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of a DOE for a Six Sigma Analysis.
ShrinkRanges If true, the command shrinks the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of a DOE for a Six Sigma Analysis.
Example
The following example shows how the user can import design points from a valid archive file.
system = GetSystem(Name="RBU")
designofExperiment = system.GetContainer(ComponentName="Design of Experiment")
dOEModel = designofExperiment.GetModel()
dOEModel.MethodName = "ANSYS_USER"
dOEModel.ImportDesignPointsFromArchive(FileName="E:/temp/doesnapshots2.snpz",OverwriteSnapshotFile=False)
ImportDesignPointsFromDps
Import Design Point values in a custom Design of Experiments or Correlation model with a query to
the DPS.
Required Arguments
Optional Arguments
ExpandRanges If true, the command expands the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
220 of ANSYS, Inc. and its subsidiaries and affiliates.
Default Value False
ShrinkRanges If true, the command shrinks the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
Example
The following example shows how the user can import the design point with the ID equal to 1.
ImportDesignPointsFromFile
Import Design Point values in a custom Design of Experiments model or in a custom Correlation model
from a csv file.
Required Arguments
Optional Arguments
ExpandRanges If true, the command expands the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
ShrinkRanges If true, the command shrinks the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 221
Design Exploration
Example
The following example shows how the user can import design points from a valid csv file in a custom
Correlation model.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
model.SamplingType = "Manual"
model.ImportDesignPointsFromFile(FilePath="designs.csv", ExpandRanges=True)
PreviewDesignPoints
Previews the Design Points of a model, without actually updating them, so that the user can adjust
settings before launching a long update operation. This command applies to a Design of Experiments
model, or the Refinement Points of a Kriging Response Surface, or a Parameters Correlation model. The
command returns the table of the generated points.
Example
SetCustomRomMeshFile
Choose a custom mesh file for visualizing ROM. This mesh file will be used when opening ROM Viewer,
and be included in the exported ROMs. If not already done, a processing step will be done for the mesh
file, and the file will be renamed. Any existing file with the same name will be overwritten.
Required Arguments
KeepOriginal If true, then the original file will be kept. If MeshPath is already in the DesignXplorer
folder, this parameter is ignored.
MeshPath Path to the mesh file to set. If this file is outside of the DesignXplorer folder, it will
be moved into it. Null or empty to clear the custom mesh, and use the one generated
automatically from the Workbench project.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
222 of ANSYS, Inc. and its subsidiaries and affiliates.
SetCustomRomSnapshotFile
Required Arguments
KeepOriginal If true, then the original file will be copied. If false it will be moved. If SnapshotPath
is already in the DesignXplorer folder then this parameter is ignored. If a snapshot
with the same name is already in the DesignXplorer folder and ReuseSnapshot is
set to "true" then this parameter is ignored.
ReuseSnapshot If true and there is already a snapshot with the same name in the DesignXplorer
directory, then it will be reused and any copy or move operation will be skipped.
If false and there is already a snapshot with the same name in the DesignXplorer
directory, then a new name will be automatically assigned to the snapshot. If
SnapshotPath is already in the DesignXplorer folder then this parameter is ignored.
If there is no snapshot with the same name, this parameter is ignored.
SnapshotPath Path to the snapshot file to set. If this file is outside of the DesignXplorer folder, it
will be moved into it.
Example
The following example shows how to set the ROM Snapshot file for the DesignPoints table in a
Design of Experiments model.
system1 = GetSystem(Name="RBU")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable1 = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable1.SetOutputValuesEditable(Editable=True,RowIndices=[1])
Parameters.SetCustomRomSnapshotFile(
ParametricTable=parametricTable1,
RowIndex=0,
SolverSystem="FLU",
SnapshotPath="D:/ROM/snp_1.romsnp",
KeepOriginal=True,
ReuseSnapshot=False)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 223
Design Exploration
InputParameter
The data entity which describes an Input Parameter in DesignXplorer.
Properties
Attribute1
First editable attribute of the distribution for an uncertainty parameter. The nature of the attribute de-
pends on the distribution type. For instance, the first attribute of a Normal distribution is the Mean
value.
Read Only No
Attribute2
Second editable attribute of the distribution for an uncertainty parameter. The nature of the attribute
depends on the distribution type. For instance, the second attribute of a Normal distribution is the
Standard Deviation value. Some distribution type do not have a second attribute.
Read Only No
ConstantValue
Read Only No
CustomDefinitionList
Read Only No
DiscreteLevels
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
224 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
DistributionLowerBound
Read Only No
DistributionType
Read Only No
DistributionUpperBound
Read Only No
Enabled
Read Only No
Kurtosis
LowerBound
Read Only No
Mean
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 225
Design Exploration
Nature
Read Only No
NumberOfLevels
Number of levels if the parameter nature is Discrete, or the parameter nature is Continuous and the
UseManufacturableValues property is set to True.
Skewness
StandardDeviation
Type
Units
Units
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
226 of ANSYS, Inc. and its subsidiaries and affiliates.
UpperBound
Read Only No
UseManufacturableValues
Read Only No
Methods
AddDiscreteLevel
Adds a Discrete Level entity on a discrete input parameter. A discrete level can have an integer value
(e.g. a number of holes, a number of turns, etc) or a string value (e.g. a material name or a geometry
file name). The command has optional arguments to specify the Name of the level and its Index in the
list of levels of the parameter. By default, the new level is added to the end of the list. The various discrete
levels of an input parameter represent independent configurations of the project, processed in the order
of their creation.
Required Arguments
Value The value of the discrete level. Value can be an integer or a string.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form "Level
[#]" is used.
Index The position of the new level in the list of discrete levels of the parameter. Index is
zero-based. If it is not specified, the new level is appended to the list.
Default Value -1
Example
The following example shows how to add new discrete levels on a discrete input parameter. The
third level is inserted between the two others.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 227
Design Exploration
AddLevels
Adds a list of levels to a continuous input parameter. Each level is a quantity or a real number corres-
ponding to a manufacturable value. The list of levels forms a restriction filter used when post-processing
the input parameter. If levels are added outside of the variation range, the lower and upper bounds
are adjusted accordingly.
Required Arguments
Optional Arguments
Example
The following example shows how to overwrite the manufacturable values of an input parameter
and how to define an additional value later.
CreateOptimizationCriterion
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
228 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
DeleteDiscreteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a discrete input
parameter.
DeleteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a continuous
input parameter for which the UseManufacturableValues property is set to True.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 229
Design Exploration
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
GetCustomParameterDefinition
Required Arguments
Example
The following example shows how the user can get a CustomParameterProperties.
system1 = GetSystem(Name="DOP")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
inputParameter1 = optimizationModel1.GetParameter(Name="P1")
customParameterDefinition1 = inputParameter1.GetCustomParameterDefinition(ExtensionName="UncertaintyParamet
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
230 of ANSYS, Inc. and its subsidiaries and affiliates.
customParameterDefinition1.Distribution = "Triangular"
GetDiscreteLevel
Get a discrete level by name from an input parameter. The parameter's full and ordered list of discrete
levels is available as its "DiscreteLevels" property.
Required Arguments
Example
The following example shows how the user can retrieve a discrete level of a discrete input parameter
by its name.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
DiscreteInputParameter1 = dOEModel1.GetParameter(Name="P1")
level = DiscreteInputParameter1.GetDiscreteLevel(Name="Level 1")
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 231
Design Exploration
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
LHSDMethod
Entity which performs and manages the DesignXplorer Sampling Method Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
NumSamp
Read Only No
RandomGeneratorSeed
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
232 of ANSYS, Inc. and its subsidiaries and affiliates.
SampType
Read Only No
OSFDMethod
Entity which performs and manages the DesignXplorer Optimization Method Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MaxNumCycles
Read Only No
NumSamp
Read Only No
OSFDType
Read Only No
RandomGeneratorSeed
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 233
Design Exploration
SampType
Read Only No
OutputParameter
Output parameter entity for DesignXplorer.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EnableAutoRefinement
Read Only No
IgnoreForFiltering
Determines whether the parameter filtering is not applicable to the output parameter in the correlation
context.
Read Only No
InheritFromModelSettings
Determines whether the Maximum Predicted Relative Error defined at the Model level is applicable to
the output parameter.
Read Only No
LowerBound
Minimum value extracted from existing design points and/or sample sets.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
234 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
MaximumPredictedError
Maximum Predicted Error for an output parameter with the GARS algorithm. This is the maximum pre-
dicted error for the selected output parameter.
MaxPredictedRelativeError
Maximum Relative Error targeted for an output parameter when refining with the Kriging algorithm.
This is the maximum predicted relative error that is acceptable for the selected output parameter.
Read Only No
PredictedRelativeError
Current value of the Predicted Relative Error when refining with the Kriging algorithm
Scaling
Scaling
Read Only No
Tolerance
Maximum Error targeted for an output parameter when refining with the GARS algorithm. This is the
maximum predicted error that is acceptable for the selected output parameter.
Read Only No
TransformationType
Transformation Type
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 235
Design Exploration
Units
Units
UpperBound
Maximum value extracted from existing design points and/or sample sets.
Methods
CreateOptimizationCriterion
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
236 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
SamplingMethod
Entity which wraps and manages the external Sampling Method for the Design of Experiments component
Properties
No Properties.
SPGDMethod
Entity which performs and manages the DesignXplorer Sampling Method Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 237
Design Exploration
Read Only No
Methods
GetModel
Get the DataReference of the Model. An exception is thrown if the entity is not found.
Example
The following example shows how the user can get a Model to change one of its properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
dOEModel1.DOEType = "eDOETYPE_OSFD"
Data Entities
GoodnessOfFit
Entity which manages the Goodness Of Fit Information of a Response Surface for an Output Parameter
Properties
ConfidenceLevel
The measure of the likelihood that a confidence interval contains the quantity or parameter being es-
timated
Read Only No
DiscreteExpressions
A Dictionary holding the values of all discrete input. Note: Discrete parameter values are level values,
not indices.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
238 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsUpToDate
Read Only No
Methods
CreateAdvancedReport
For the standard response surface only (Full second order Polynomials), creates an Advanced Goodness
of Fit report for any direct output parameter.
Required Arguments
Optional Arguments
Example
The following example shows how to create an Advanced Goodness of Fit report.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 239
Design Exploration
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
SetDiscreteParameter
Sets the Expression of a discrete input parameter in a GoodnessOfFit and updates the associated output
parameter values. The chart entities depending on the GoodnessOfFit are updated as well.
Required Arguments
Example
The following example shows how to set the expression for one discrete parameter in an existing
GoodnessOfFit.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
240 of ANSYS, Inc. and its subsidiaries and affiliates.
gof.SetDiscreteParameter(DiscreteParameter=inputParameter1, Expression="15")
Update
Updates the goodness of fit and the results which depend on it. If the goodness of fit is already uptodate,
nothing is done unless the Force flag is set to True.
Optional Arguments
Force Set to true if the update operation of the goodness of fit point is required even if it's already
uptodate.
Example
InputParameter
The data entity which describes an Input Parameter in DesignXplorer.
Properties
Attribute1
First editable attribute of the distribution for an uncertainty parameter. The nature of the attribute de-
pends on the distribution type. For instance, the first attribute of a Normal distribution is the Mean
value.
Read Only No
Attribute2
Second editable attribute of the distribution for an uncertainty parameter. The nature of the attribute
depends on the distribution type. For instance, the second attribute of a Normal distribution is the
Standard Deviation value. Some distribution type do not have a second attribute.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 241
Design Exploration
ConstantValue
Read Only No
CustomDefinitionList
Read Only No
DiscreteLevels
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DistributionLowerBound
Read Only No
DistributionType
Read Only No
DistributionUpperBound
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
242 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Enabled
Read Only No
Kurtosis
LowerBound
Read Only No
Mean
Nature
Read Only No
NumberOfLevels
Number of levels if the parameter nature is Discrete, or the parameter nature is Continuous and the
UseManufacturableValues property is set to True.
Skewness
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 243
Design Exploration
StandardDeviation
Type
Units
Units
UpperBound
Read Only No
UseManufacturableValues
Read Only No
Methods
AddDiscreteLevel
Adds a Discrete Level entity on a discrete input parameter. A discrete level can have an integer value
(e.g. a number of holes, a number of turns, etc) or a string value (e.g. a material name or a geometry
file name). The command has optional arguments to specify the Name of the level and its Index in the
list of levels of the parameter. By default, the new level is added to the end of the list. The various discrete
levels of an input parameter represent independent configurations of the project, processed in the order
of their creation.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
244 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The created entity.
Required Arguments
Value The value of the discrete level. Value can be an integer or a string.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form "Level
[#]" is used.
Index The position of the new level in the list of discrete levels of the parameter. Index is
zero-based. If it is not specified, the new level is appended to the list.
Default Value -1
Example
The following example shows how to add new discrete levels on a discrete input parameter. The
third level is inserted between the two others.
AddLevels
Adds a list of levels to a continuous input parameter. Each level is a quantity or a real number corres-
ponding to a manufacturable value. The list of levels forms a restriction filter used when post-processing
the input parameter. If levels are added outside of the variation range, the lower and upper bounds
are adjusted accordingly.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 245
Design Exploration
Example
The following example shows how to overwrite the manufacturable values of an input parameter
and how to define an additional value later.
CreateOptimizationCriterion
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
DeleteDiscreteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a discrete input
parameter.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
246 of ANSYS, Inc. and its subsidiaries and affiliates.
level1 = DiscreteInputParameter.AddDiscreteLevel(Value=3000, DisplayText="Three thousand turns")
level2 = DiscreteInputParameter.AddDiscreteLevel(Value=2000, DisplayText="Two thousand turns")
level3 = DiscreteInputParameter.AddDiscreteLevel(Value=5000, Index="1")
DiscreteInputParameter.DeleteDiscreteLevels(DiscreteLevels=[level1, level2])
DeleteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a continuous
input parameter for which the UseManufacturableValues property is set to True.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 247
Design Exploration
parametricTable.ExportData(FileName="doe.csv")
chart = model.GetChart(Name="DesignPointsParallel")
chart.ExportData(FileName="doe.csv", AppendMode=True)
GetCustomParameterDefinition
Required Arguments
Example
The following example shows how the user can get a CustomParameterProperties.
system1 = GetSystem(Name="DOP")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
inputParameter1 = optimizationModel1.GetParameter(Name="P1")
customParameterDefinition1 = inputParameter1.GetCustomParameterDefinition(ExtensionName="UncertaintyParamet
customParameterDefinition1.Distribution = "Triangular"
GetDiscreteLevel
Get a discrete level by name from an input parameter. The parameter's full and ordered list of discrete
levels is available as its "DiscreteLevels" property.
Required Arguments
Example
The following example shows how the user can retrieve a discrete level of a discrete input parameter
by its name.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
DiscreteInputParameter1 = dOEModel1.GetParameter(Name="P1")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
248 of ANSYS, Inc. and its subsidiaries and affiliates.
level = DiscreteInputParameter1.GetDiscreteLevel(Name="Level 1")
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
MinMaxSearch
The data entity which described the MinMax Search option of a Response Surface Component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 249
Design Exploration
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Enabled
If True, performs a min-max search performed when the response surface is built.
Read Only No
IsUpToDate
Read Only No
NumberInitialPoints
Read Only No
NumberStartPoints
Read Only No
OutputParameter
Output parameter entity for DesignXplorer.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
250 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
EnableAutoRefinement
Read Only No
IgnoreForFiltering
Determines whether the parameter filtering is not applicable to the output parameter in the correlation
context.
Read Only No
InheritFromModelSettings
Determines whether the Maximum Predicted Relative Error defined at the Model level is applicable to
the output parameter.
Read Only No
LowerBound
Minimum value extracted from existing design points and/or sample sets.
MaximumPredictedError
Maximum Predicted Error for an output parameter with the GARS algorithm. This is the maximum pre-
dicted error for the selected output parameter.
MaxPredictedRelativeError
Maximum Relative Error targeted for an output parameter when refining with the Kriging algorithm.
This is the maximum predicted relative error that is acceptable for the selected output parameter.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 251
Design Exploration
PredictedRelativeError
Current value of the Predicted Relative Error when refining with the Kriging algorithm
Scaling
Scaling
Read Only No
Tolerance
Maximum Error targeted for an output parameter when refining with the GARS algorithm. This is the
maximum predicted error that is acceptable for the selected output parameter.
Read Only No
TransformationType
Transformation Type
Read Only No
Units
Units
UpperBound
Maximum value extracted from existing design points and/or sample sets.
Methods
CreateOptimizationCriterion
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
252 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The DataReference of the OptimizationCriterion.
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 253
Design Exploration
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
ParametricTable
ParametricTable entity used to encapsulate most of the evaluation results in a convenient 2D matrix
format.
Properties
DimCol
Number of columns.
DimRow
Number of rows.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Methods
AddRow
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
254 of ANSYS, Inc. and its subsidiaries and affiliates.
Type List (p. 1447)<string (p. 1485)>
Example
The following example shows how to make a DOE editable, to retrieve the table of design points
and add a new row to it.
DeleteRows
Required Arguments
Example
The following example shows how to delete rows from the DOEmatrix in a custom DOE context.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 255
Design Exploration
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
ExportSnapshotsTableAsArchive
Required Arguments
Example
The following example shows how the user can export a table of snapshots as an archive.
system1 = GetSystem(Name="RBU")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable1 = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable1.ExportSnapshotsTableAsArchive(FilePath="C:/Temp/doesnapshots.snpz")
GetCellValue
Get the Value of a ParametricTable's cell. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get the value of the ParametricTable's cell [0,3].
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
256 of ANSYS, Inc. and its subsidiaries and affiliates.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
cellValue = parametricTable.GetCellValue(RowIndex=0,ColumnIndex=3)
GetRowRomSnapshotName
Get the Rom snapshot's name value of a row in a ParametricTable. An exception is thrown if the entity
is not found.
Required Arguments
Example
The following example shows how to get the Rom snapshot's name value of row [3] in the Paramet-
ricTable.
system1 = GetSystem(Name="RBU")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable1 = dOEModel1.GetParametricTable(Name="DesignPoints")
snapshotName = parametricTable1.GetRowRomSnapshotName(RowIndex=3)
GetRowUpdateOrder
Get the Update Order value of a row in a ParametricTable. An exception is thrown if the entity is not
found.
Required Arguments
Example
The following example shows how to get the Update Order value of row [3] in the ParametricTable.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 257
Design Exploration
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
updateOrderValue = parametricTable.GetRowUpdateOrder(RowIndex=3)
GetRowValues
Get the Values of a ParametricTable's row. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get the values of the 4th ParametricTable's row.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
rowValues = parametricTable.GetRowValues(RowIndex=3)
OptimizeUpdateOrder
Optimizes the Update Order of Design Points to minimize the number of modifications between two
consecutive Design Points. This command applies to the "DesignPoints" ParametricTable of a Design
of Experiments model or of a Response Surface in a manual refinement context. It also applies to the
"VerificationPoints" ParametricTable of a Response Surface model.
Example
The following example shows how to optimize the update order of the DesignPoints table in a
Design of Experiments model.
SetCellValue
Sets the value of a ParametricTable cell. If the table is read-only, the command has no effect.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
258 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Example
The following example shows how to set the value of the DesignPoints table in a custom DOE
context.
SetOutputValuesEditable
Sets the values of the output parameters as Editable (Editable=True) or Calculated (Editable=False) for
the complete table, or a set of rows specified by the RowIndices argument. This command is applicable
to the "DesignPoints" ParametricTable of a Design of Experiments model in a custom context (DOEType
is "eDOETYPE_USER" or "eDOETYPE_CUSTOM_OSFD"), of a Correlation model is a custom context
(SamplingType is "eCustom"), or of a Response Surface model in a manual refinement context. It also
applies to the "VerificationPoints" ParametricTable of a Response Surface model.
Required Arguments
Editable True to define output values as Editable, or False to mark output values as calculated.
Optional Arguments
RowIndices Optional list of row zero-based indices. If this argument is not specified, the command
applies to the complete ParametricTable.
Example
The following example shows how to switch a DOE model to the custom mode and then set the
output values as editable for the first three design points of the DOE matrix.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 259
Design Exploration
model = container.GetModel()
model.DOEType = "eDOETYPE_USER"
DOEMatrix = model.GetParametricTable(Name="DesignPoints")
DOEMatrix.SetOutputValuesEditable(Editable=True, RowIndices=[0,1,2])
SetRowRomSnapshotName
Sets the Rom Snapshot's name value for a row in a ParametricTable. If the table doesn't support Rom
functionality, the command has no effect.
Required Arguments
Example
The following example shows how to set the Rom Snapshot's name value of the DesignPoints table
in a Design of Experiments model.
system1 = GetSystem(Name="RBU")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable1 = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable1.SetOutputValuesEditable(Editable=True,RowIndices=[1])
parametricTable1.SetRowRomSnapshotName(RowIndex=1,SnapshotName="ff66dfaf-c34b-4dff-938e-bf497a377b9f.romsnp
SetRowUpdateOrder
Sets the Update Order value for a row in a ParametricTable. If the table doesn't support Update Order
functionality, the command has no effect.
Required Arguments
Example
The following example shows how to set the Update Order value of the DesignPoints table in a
Design of Experiments model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
260 of ANSYS, Inc. and its subsidiaries and affiliates.
DOEMatrix = model.GetParametricTable(Name="DesignPoints")
DOEMatrix.SetRowUpdateOrder(RowIndex=0, Value="2.0")
SetRowValues
Sets the values of a ParametricTable's row. If the table is read-only, the command has no effect.
Required Arguments
Example
The following example shows how to set the values of the DesignPoints table in a custom DOE
context.
SetUpdateOrderByRow
Sets a value for the UpdateOrder property of all Design Points using sorting settings. This command
applies to the "DesignPoints" ParametricTable of a Design of Experiments model or of a Response Surface
in a manual refinement context. It also applies to the "VerificationPoints" ParametricTable of a Response
Surface model.
Optional Arguments
Example
The following example shows how to set the update order of the DesignPoints table in a Design
of Experiments model. The Design Points are sorted first by their values for the parameter P3 (in
ascending order), and then by their values for the parameter P1 (in descending order).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 261
Design Exploration
UpdateRows
Updates the design points held in rows from a ParametricTable entity and the results which depend
on it.
Required Arguments
Example
The following example shows how to update the design points from the VerificationPoints Table.
ResponseSurfaceModel
Entity which performs and manages the DesignXplorer Response Surface Component
Properties
Converged
Convergence state
ConvergenceState
CrowdingDistSeparationPercentage
Crowding Distance Separation Percentage when refining with the Kriging algorithm
Read Only No
CrowdingDistSeparationPercentageGA
Crowding Distance Separation Percentage when refining with the Genetic Aggregation algorithm
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
262 of ANSYS, Inc. and its subsidiaries and affiliates.
Type double (p. 1425)
Read Only No
CurrentRelativeError
DisplayLevel
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExportDesignPoints
If True and PreserveDesignPoints is True as well, export project for each preserved Design Point.
Read Only No
FittingType
Read Only No
GenerateVerificationPoints
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 263
Design Exploration
InputParametersScaling
Read Only No
InputParametersTransformationType
Read Only No
KernelVariationType
Read Only No
LogFile
MaximumDepth
Maximum Depth limit when refining with the Sparse Grid response surface
Read Only No
MaximumNumberOfGenerations
Read Only No
MaximumNumberRefinementPointsPerIteration
Available when GARSMultiPointsRefinement feature is enabled Maximum number of points per refinement
iteration with the GARS algorithm.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
264 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
MaximumRelativeErrorSparseGrid
Maximum Relative Error targeted when refining with the Sparse Grid response surface
Read Only No
MaxNumberRefinementPointsGA
Maximum Number of Refinement Points that can be generated for refinement with the Genetic Aggreg-
ation algorithm.
Read Only No
MaxNumberRefinementPointsKriging
Maximum Number of Refinement Points that can be generated for refinement with the Kriging algorithm.
Read Only No
MaxNumberRefinementPointsSparseGrid
Maximum Number of Refinement Points that can be generated for refinement with the Sparse Grid re-
sponse surface
Read Only No
MaxPredictedRelativeError
Maximum Relative Error targeted for all input parameters when refining with the Kriging algorithm.
This is the maximum predicted relative error that is acceptable for all parameters.
Read Only No
NumberOfCells
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 265
Design Exploration
NumberOfRetries
Indicates the number of times DX will try to update the failed design points.
Read Only No
NumberRefinementPoints
NumberVerificationPoints
Read Only No
OutputVarCombinations
Output Variable Combinations when refining with the Kriging algorithm. Controls how output variables
are considered in terms of Predicated Relative Error and determines the number of refinement points
generated per iteration.
Read Only No
PredictedRelativeError
Current value of the Predicted Relative Error when refining with the Kriging algorithm
PreserveDesignPoints
If True, preserve the Design Points at the project level after the component Update.
Read Only No
RandomGeneratorSeed
ProgramControlled Seed
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
266 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RefinementCombinationType
Output Variable Combinations when refining with the GARS algorithm. Controls how output variables
are considered in terms of Predicted Error and determines the number of refinement points generated
per iteration.
Read Only No
RefinementType
Refinement Type
Read Only No
RetainDesignPoints
If True and PreserveDesignPoints is True as well, retain data for each preserved Design Point.
Read Only No
RetryDelay
Indicates how much time will elapse between tries. This option is only applicable when NumberOfRetries
is greater than 0, otherwise it has no effect.
Read Only No
SignificanceLevel
Read Only No
Methods
CreateChart
Creates a Chart entity. The chart must be updated once after its creation by invoking its Update method.
Then changes to its properties will update the chart automatically.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 267
Design Exploration
Required Arguments
ChartType Type of chart to be created. The possible values depend on the type of Model. For in-
stance, a ResponseSurface model accepts Spider, LocalSensitivity and Response chart
while a CorrelationModel accepts CorrelationMatrix, DeterminationMatrix and Correla-
tionScatter charts.
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied, depending
on the value of ChartType.
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
TradeoffChart = model.CreateChart(ChartType="eChartTradeoff")
TradeoffChart.Update()
CreateGoodnessOfFit
Creates a GoodnessOfFit. The ParameterValues dictionary can be used to specify a value for some or
all of the discrete input parameters.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form
"Goodness Of Fit [#]" is used.
ParameterValues The values for each discrete input parameter. If not specified, each parameter
is initialized to the current level.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
268 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how to create a GoodnessOfFit from an existing ResponseSurface
model. The code retrieves the parameters P1 and P2 and then creates the response point by assigning
a value to each of these parameters.
CreateResponsePoint
Creates a ResponsePoint. The ParameterValues dictionary can be used to specify a value or a quantity
for some or all of the input parameters. The output parameter values cannot be specified. They are
evaluated automatically from the ResponseSurface model once it is updated. Several types of charts
can only be created as children of a ResponsePoint. These charts depend on the ResponsePoint and
use the same parameter values.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form
"Response Point [#]" is used.
ParameterValues The values for each input parameter. If not specified, each parameter is initialized
to the middle of its variation range.
Example
The following example shows how to create a ResponsePoint from an existing ResponseSurface
model. The code retrieves the parameters P1 and P2 and then creates the response point by assigning
a value to each of these parameters.
DeleteCharts
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 269
Design Exploration
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart1 = model.GetChart(Name="TradeoffChart 1")
chart2 = model.GetChart(Name="SamplesChart 1")
model.DeleteCharts(Charts=[chart1, chart2])
DeleteGoodnessOfFit
Deletes a list of GoodnessOfFit entities and all the depending Chart entities.
Required Arguments
Example
DeleteResponsePoints
Deletes a list of ResponsePoint entities and all the depending Chart entities.
Required Arguments
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
270 of ANSYS, Inc. and its subsidiaries and affiliates.
rp5 = model.GetResponsePoint(Name="Response Point 5")
rp6 = model.GetResponsePoint(Name="Response Point 6")
model.DeleteResponsePoints(ResponsePoints=[rp1, rp5, rp6])
DuplicateChart
Duplicates a Chart entity. The chart must be updated once after its creation by invoking its Update
method. Then changes to its properties will update the chart automatically.
Required Arguments
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied,
depending on the value of ChartType.
TargetModel The model on which the duplicated chart is created. If this parameter is
not set, the model of the source chart is used.
TargetResponsePoint Parent TargetResponsePoint of the chart. If this parameter is not set, the
response point of the source chart is used if applicable.
Example
DuplicateGoodnessOfFit
Duplicates a GoodnessOfFit.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 271
Design Exploration
Required Arguments
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form "Goodness
Of Fit [#]" is used.
TargetModel The ResponseSurface model on which the goodness of fit is created. If this parameter
is not set, the model of the source goodness of fit is used.
Example
The following example shows how to duplicate a GoodnessOfFit from an existing ResponseSurface
model. The code retrieves the parameters P1 and P2 and then creates the response point by assigning
a value to each of these parameters.
DuplicateResponsePoint
Duplicates a ReponsePoint entity. The response point must be updated once after its creation by invoking
its Update method. Then changes to its properties will update the response point automatically.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
272 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form
"Response Point [#]" is used.
TargetModel The model on which the duplicated response point is created. If this parameter
is not set, the model of the source response point is used.
Example
The following example shows how to duplicate a response point and all its charts.
GetChart
Query to return the chart reference for a given model and chart name.
Required Arguments
GetDesignPointReportSetting
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 273
Design Exploration
Example
The following example shows how the user can get a DesignPointReportSetting to change one of
its properties.
system1 = GetSystem(Name="GDO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
designPointReportSettingEntity1 = dOEModel1.GetDesignPointReportSetting()
designPointReportSettingEntity1.DesignPointReportImage = "FFF-Results:Figure001.png"
GetGoodnessOfFit
Get the DataReference of a GoodnessOfFit entity associated with a Model. An exception is thrown if
the entity is not found.
Required Arguments
Example
The following example shows how the user can get a GoodnessOfFit.
system1 = GetSystem(Name="RSO")
responseSurface1 = system1.GetContainer(ComponentName="Response Surface")
responseSurfaceModel1 = responseSurface1.GetModel()
gof = responseSurfaceModel1.GetGoodnessOfFit(Name="GoodnessOfFit")
GetGoodnessOfFits
Example
The following example shows how to retrieve the GoodnessOfFit entities of a response surface
model.
system1 = GetSystem(Name="RSO")
responseSurface1 = system1.GetContainer(ComponentName="Response Surface")
responseSurfaceModel1 = responseSurface1.GetModel()
gof = responseSurfaceModel1.GetGoodnessOfFits()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
274 of ANSYS, Inc. and its subsidiaries and affiliates.
GetMinMaxSearch
Get the DataReference of the MinMaxSearch entity associated with a Response Surface model. An ex-
ception is thrown if the entity is not found.
Example
The following example shows how the user can get the MinMaxSearch of a ResponseSurfaceModel
to change one of its properties.
GetParameter
Get the DataReference of a Parameter. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a parameter of a model to change one of its
properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
inputParameter1 = dOEModel1.GetParameter(Name="P1")
inputParameter1.LowerBound = 1
GetParameters
Get the DataReferences of the InputParameter and OutputParameter of the model. If the optional argu-
ment InputParameters is not specified, the query returns all parameters. If it is specified and True, the
query returns only input parameters. If it is False, the query returns only output parameters.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 275
Design Exploration
Optional Arguments
InputParameters If True, the query returns only input parameters. If False, the query returns only
output parameters. If the argument is ommitted, the query returns all parameters.
Example
The following example shows how the user can get the parameters of a model.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parameters = dOEModel1.GetParameters()
GetParametricTable
Get the DataReference of ParametricTable. An exception is thrown if the entity is not found. Names of
the tables generated internally are: "DesignPoints", "CorrelationMatrix", "CorrelationScatter", "MinDesign-
Points", "MaxDesignPoints", "ResponsePoints", "DeterminationMatrix".
Required Arguments
Example
The following example shows how the user can get a ParametricTable to add a new row and set
values.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable.AddRow()
parametricTable.SetCellValue(RowIndex=9,ColumnIndex=0,Value="2.1")
GetResponsePoint
Get the DataReference of a ResponsePoint. An exception is thrown if the entity is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
276 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Name Name
Example
GetResponsePoints
Example
The following example shows how to retrieve the response points of a response surface model.
system1 = GetSystem(Name="RSO")
container = system1.GetContainer(ComponentName="Response Surface")
model = container.GetModel()
responsePoints = model.GetResponsePoints()
ImportRefinementPointsFromDps
Import Refinement Point values in the manual refinement table of a Response Surface model with a
query to the DPS.
Required Arguments
Example
The following example shows how the user can import the design point with the ID equal to 1.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 277
Design Exploration
ImportRefinementPointsFromFile
Import Refinement Point values in the manual refinement table of a Response Surface model from a
csv file.
Required Arguments
Example
The following example shows how the user can import refinement points from a valid csv file.
ImportVerificationPointsFromDps
Import Verification Point values in the verification table of a Response Surface model with a query to
the DPS.
Required Arguments
Example
The following example shows how the user can import verification points with a query to the DPS.
ImportVerificationPointsFromFile
Import Verification Point values in the verification table of a Response Surface model from a csv file.
Required Arguments
Example
The following example shows how the user can import verification points from a valid csv file.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
278 of ANSYS, Inc. and its subsidiaries and affiliates.
container = system1.GetContainer(ComponentName="Response Surface")
model = container.GetModel()
model.ImportVerificationPointsFromFile(FilePath="designs.csv")
PreviewDesignPoints
Previews the Design Points of a model, without actually updating them, so that the user can adjust
settings before launching a long update operation. This command applies to a Design of Experiments
model, or the Refinement Points of a Kriging Response Surface, or a Parameters Correlation model. The
command returns the table of the generated points.
Example
UpdateAllGoodnessOfFit
Updates all goodness of fit and the results which depend on them. If the goodness of fit are already
uptodate, nothing is done.
Example
system1 = GetSystem(Name="RBU")
romBuilder1 = system2.GetContainer(ComponentName="Rom Builder")
romBuilderModel1 = romBuilder1.GetModel()
romBuilderModel1.UpdateAllGoodnessOfFit()
DX Parameters Correlation
This container holds data for a Parameter Correlation.
Methods
ApproveGeneratedData
Approve generated data after nonparametric changes by keeping DX results. This command is recursive
and applied with any component dependent on the first component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 279
Design Exploration
Example
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
designofExperiment1.ApproveGeneratedData()
GetModel
Get the DataReference of the Model. An exception is thrown if the entity is not found.
Example
The following example shows how the user can get a Model to change one of its properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
dOEModel1.DOEType = "eDOETYPE_OSFD"
Data Entities
CorrelationModel
Entity which performs and manages the DesignXplorer Parameters Correlation Component
Properties
AutoStopType
Read Only No
Converged
Convergence state
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
280 of ANSYS, Inc. and its subsidiaries and affiliates.
ConvergenceCheckFrequency
Read Only No
CorrelationFiltering
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExportDesignPoints
If True and PreserveDesignPoints is True as well, export project for each preserved Design Point.
Read Only No
LinearCorrelationType
Correlation Type
Read Only No
MaximumNumberMajorInputs
Read Only No
MeanValueAccuracy
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 281
Design Exploration
Read Only No
NumberCustomSamples
NumberOfRetries
Indicates the number of times DX will try to update the failed design points.
Read Only No
NumberSamples
Number of Samples
Read Only No
PreserveDesignPoints
If True, preserve the Design Points at the project level after the component Update.
Read Only No
R2ContributionFiltering
Read Only No
RelevanceThreshold
Read Only No
RestartMode
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
282 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RetainDesignPoints
If True and PreserveDesignPoints is True as well, retain data for each preserved Design Point.
Read Only No
RetryDelay
Indicates how much time will elapse between tries. This option is only applicable when NumberOfRetries
is greater than 0, otherwise it has no effect.
Read Only No
SampleSetSize
SamplingType
Sampling Type
Read Only No
StandardDeviationAccuracy
Read Only No
Methods
CreateChart
Creates a Chart entity. The chart must be updated once after its creation by invoking its Update method.
Then changes to its properties will update the chart automatically.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 283
Design Exploration
Required Arguments
ChartType Type of chart to be created. The possible values depend on the type of Model. For in-
stance, a ResponseSurface model accepts Spider, LocalSensitivity and Response chart
while a CorrelationModel accepts CorrelationMatrix, DeterminationMatrix and Correla-
tionScatter charts.
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied, depending
on the value of ChartType.
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
TradeoffChart = model.CreateChart(ChartType="eChartTradeoff")
TradeoffChart.Update()
DeleteCharts
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart1 = model.GetChart(Name="TradeoffChart 1")
chart2 = model.GetChart(Name="SamplesChart 1")
model.DeleteCharts(Charts=[chart1, chart2])
DuplicateChart
Duplicates a Chart entity. The chart must be updated once after its creation by invoking its Update
method. Then changes to its properties will update the chart automatically.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
284 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied,
depending on the value of ChartType.
TargetModel The model on which the duplicated chart is created. If this parameter is
not set, the model of the source chart is used.
TargetResponsePoint Parent TargetResponsePoint of the chart. If this parameter is not set, the
response point of the source chart is used if applicable.
Example
GetChart
Query to return the chart reference for a given model and chart name.
Required Arguments
GetDesignPointReportSetting
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 285
Design Exploration
Example
The following example shows how the user can get a DesignPointReportSetting to change one of
its properties.
system1 = GetSystem(Name="GDO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
designPointReportSettingEntity1 = dOEModel1.GetDesignPointReportSetting()
designPointReportSettingEntity1.DesignPointReportImage = "FFF-Results:Figure001.png"
GetParameter
Get the DataReference of a Parameter. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a parameter of a model to change one of its
properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
inputParameter1 = dOEModel1.GetParameter(Name="P1")
inputParameter1.LowerBound = 1
GetParameters
Get the DataReferences of the InputParameter and OutputParameter of the model. If the optional argu-
ment InputParameters is not specified, the query returns all parameters. If it is specified and True, the
query returns only input parameters. If it is False, the query returns only output parameters.
Optional Arguments
InputParameters If True, the query returns only input parameters. If False, the query returns only
output parameters. If the argument is ommitted, the query returns all parameters.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
286 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
Example
The following example shows how the user can get the parameters of a model.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parameters = dOEModel1.GetParameters()
GetParametricTable
Get the DataReference of ParametricTable. An exception is thrown if the entity is not found. Names of
the tables generated internally are: "DesignPoints", "CorrelationMatrix", "CorrelationScatter", "MinDesign-
Points", "MaxDesignPoints", "ResponsePoints", "DeterminationMatrix".
Required Arguments
Example
The following example shows how the user can get a ParametricTable to add a new row and set
values.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable.AddRow()
parametricTable.SetCellValue(RowIndex=9,ColumnIndex=0,Value="2.1")
ImportDesignPoints
Import existing Design Point entities in a custom Design of Experiments or Correlation model. If a Design
Point is solved, the output parameter values are also imported if the customized model is not a Correl-
ation model linked to a Response Surface model.
Optional Arguments
DesignPoints List of the existing Design Point entities to import. If not specified, all the Design
Point entities found in the Parametric container are imported.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 287
Design Exploration
ExpandRanges If true, the command expands the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
ShrinkRanges If true, the command shrinks the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
Example
The following example shows how the user can import all design points or a list of design points
into a Design of Experiments model.
ImportDesignPointsFromDps
Import Design Point values in a custom Design of Experiments or Correlation model with a query to
the DPS.
Required Arguments
Optional Arguments
ExpandRanges If true, the command expands the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
288 of ANSYS, Inc. and its subsidiaries and affiliates.
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
ShrinkRanges If true, the command shrinks the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
Example
The following example shows how the user can import the design point with the ID equal to 1.
ImportDesignPointsFromFile
Import Design Point values in a custom Design of Experiments model or in a custom Correlation model
from a csv file.
Required Arguments
Optional Arguments
ExpandRanges If true, the command expands the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
ShrinkRanges If true, the command shrinks the range of variation of the input parameters based
on the imported design points. This is done by modifying automatically the upper
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 289
Design Exploration
and lower bounds of the input parameters. If false, the design points which are not
contained in the actual variation ranges are not imported. This option is not suppor-
ted in the context of: - a DOE for a Six Sigma Analysis. - a Correlation based on a
Response Surface.
Example
The following example shows how the user can import design points from a valid csv file in a custom
Correlation model.
container = system1.GetContainer(ComponentName="Correlation")
model = container.GetModel()
model.SamplingType = "Manual"
model.ImportDesignPointsFromFile(FilePath="designs.csv", ExpandRanges=True)
PreviewDesignPoints
Previews the Design Points of a model, without actually updating them, so that the user can adjust
settings before launching a long update operation. This command applies to a Design of Experiments
model, or the Refinement Points of a Kriging Response Surface, or a Parameters Correlation model. The
command returns the table of the generated points.
Example
InputParameter
The data entity which describes an Input Parameter in DesignXplorer.
Properties
Attribute1
First editable attribute of the distribution for an uncertainty parameter. The nature of the attribute de-
pends on the distribution type. For instance, the first attribute of a Normal distribution is the Mean
value.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
290 of ANSYS, Inc. and its subsidiaries and affiliates.
Type double (p. 1425)
Read Only No
Attribute2
Second editable attribute of the distribution for an uncertainty parameter. The nature of the attribute
depends on the distribution type. For instance, the second attribute of a Normal distribution is the
Standard Deviation value. Some distribution type do not have a second attribute.
Read Only No
ConstantValue
Read Only No
CustomDefinitionList
Read Only No
DiscreteLevels
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DistributionLowerBound
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 291
Design Exploration
DistributionType
Read Only No
DistributionUpperBound
Read Only No
Enabled
Read Only No
Kurtosis
LowerBound
Read Only No
Mean
Nature
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
292 of ANSYS, Inc. and its subsidiaries and affiliates.
NumberOfLevels
Number of levels if the parameter nature is Discrete, or the parameter nature is Continuous and the
UseManufacturableValues property is set to True.
Skewness
StandardDeviation
Type
Units
Units
UpperBound
Read Only No
UseManufacturableValues
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 293
Design Exploration
Read Only No
Methods
AddDiscreteLevel
Adds a Discrete Level entity on a discrete input parameter. A discrete level can have an integer value
(e.g. a number of holes, a number of turns, etc) or a string value (e.g. a material name or a geometry
file name). The command has optional arguments to specify the Name of the level and its Index in the
list of levels of the parameter. By default, the new level is added to the end of the list. The various discrete
levels of an input parameter represent independent configurations of the project, processed in the order
of their creation.
Required Arguments
Value The value of the discrete level. Value can be an integer or a string.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form "Level
[#]" is used.
Index The position of the new level in the list of discrete levels of the parameter. Index is
zero-based. If it is not specified, the new level is appended to the list.
Default Value -1
Example
The following example shows how to add new discrete levels on a discrete input parameter. The
third level is inserted between the two others.
AddLevels
Adds a list of levels to a continuous input parameter. Each level is a quantity or a real number corres-
ponding to a manufacturable value. The list of levels forms a restriction filter used when post-processing
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
294 of ANSYS, Inc. and its subsidiaries and affiliates.
the input parameter. If levels are added outside of the variation range, the lower and upper bounds
are adjusted accordingly.
Required Arguments
Optional Arguments
Example
The following example shows how to overwrite the manufacturable values of an input parameter
and how to define an additional value later.
CreateOptimizationCriterion
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
DeleteDiscreteLevels
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 295
Design Exploration
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a discrete input
parameter.
DeleteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a continuous
input parameter for which the UseManufacturableValues property is set to True.
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
296 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
GetCustomParameterDefinition
Required Arguments
Example
The following example shows how the user can get a CustomParameterProperties.
system1 = GetSystem(Name="DOP")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
inputParameter1 = optimizationModel1.GetParameter(Name="P1")
customParameterDefinition1 = inputParameter1.GetCustomParameterDefinition(ExtensionName="UncertaintyParamet
customParameterDefinition1.Distribution = "Triangular"
GetDiscreteLevel
Get a discrete level by name from an input parameter. The parameter's full and ordered list of discrete
levels is available as its "DiscreteLevels" property.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 297
Design Exploration
Required Arguments
Example
The following example shows how the user can retrieve a discrete level of a discrete input parameter
by its name.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
DiscreteInputParameter1 = dOEModel1.GetParameter(Name="P1")
level = DiscreteInputParameter1.GetDiscreteLevel(Name="Level 1")
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
298 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
OutputParameter
Output parameter entity for DesignXplorer.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EnableAutoRefinement
Read Only No
IgnoreForFiltering
Determines whether the parameter filtering is not applicable to the output parameter in the correlation
context.
Read Only No
InheritFromModelSettings
Determines whether the Maximum Predicted Relative Error defined at the Model level is applicable to
the output parameter.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 299
Design Exploration
LowerBound
Minimum value extracted from existing design points and/or sample sets.
MaximumPredictedError
Maximum Predicted Error for an output parameter with the GARS algorithm. This is the maximum pre-
dicted error for the selected output parameter.
MaxPredictedRelativeError
Maximum Relative Error targeted for an output parameter when refining with the Kriging algorithm.
This is the maximum predicted relative error that is acceptable for the selected output parameter.
Read Only No
PredictedRelativeError
Current value of the Predicted Relative Error when refining with the Kriging algorithm
Scaling
Scaling
Read Only No
Tolerance
Maximum Error targeted for an output parameter when refining with the GARS algorithm. This is the
maximum predicted error that is acceptable for the selected output parameter.
Read Only No
TransformationType
Transformation Type
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
300 of ANSYS, Inc. and its subsidiaries and affiliates.
Type TransformationType (p. 1492)
Read Only No
Units
Units
UpperBound
Maximum value extracted from existing design points and/or sample sets.
Methods
CreateOptimizationCriterion
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 301
Design Exploration
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
DX ROM Builder
This container holds data for the Rom Builder.
Methods
GetModel
Get the DataReference of the Model. An exception is thrown if the entity is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
302 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how the user can get a Model to change one of its properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
dOEModel1.DOEType = "eDOETYPE_OSFD"
Data Entities
OutputParameter
Output parameter entity for DesignXplorer.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EnableAutoRefinement
Read Only No
IgnoreForFiltering
Determines whether the parameter filtering is not applicable to the output parameter in the correlation
context.
Read Only No
InheritFromModelSettings
Determines whether the Maximum Predicted Relative Error defined at the Model level is applicable to
the output parameter.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 303
Design Exploration
LowerBound
Minimum value extracted from existing design points and/or sample sets.
MaximumPredictedError
Maximum Predicted Error for an output parameter with the GARS algorithm. This is the maximum pre-
dicted error for the selected output parameter.
MaxPredictedRelativeError
Maximum Relative Error targeted for an output parameter when refining with the Kriging algorithm.
This is the maximum predicted relative error that is acceptable for the selected output parameter.
Read Only No
PredictedRelativeError
Current value of the Predicted Relative Error when refining with the Kriging algorithm
Scaling
Scaling
Read Only No
Tolerance
Maximum Error targeted for an output parameter when refining with the GARS algorithm. This is the
maximum predicted error that is acceptable for the selected output parameter.
Read Only No
TransformationType
Transformation Type
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
304 of ANSYS, Inc. and its subsidiaries and affiliates.
Type TransformationType (p. 1492)
Read Only No
Units
Units
UpperBound
Maximum value extracted from existing design points and/or sample sets.
Methods
CreateOptimizationCriterion
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 305
Design Exploration
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
RomBuilder
Entity that performs and manages the DesignXplorer RomBuilder component
Properties
AssociationType
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
306 of ANSYS, Inc. and its subsidiaries and affiliates.
ConstructionType
Construction type
Read Only No
DisplayLevel
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Engine
Engine type
Read Only No
ExportDesignPoints
If True and PreserveDesignPoints is True as well, export project for each preserved Design Point.
Read Only No
GenerateVerificationPoints
Read Only No
LogFile
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 307
Design Exploration
MaxRelativeError
Maximum accuracy
Read Only No
NumberOfRetries
Indicates the number of times DX will try to update the failed design points.
Read Only No
NumberVerificationPoints
Read Only No
NumMode
Number of modes
Read Only No
PreserveDesignPoints
If True, preserve the Design Points at the project level after the component Update.
Read Only No
ProjectFile
ProjectionStrategy
Projection strategy
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
308 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RetainDesignPoints
If True and PreserveDesignPoints is True as well, retain data for each preserved Design Point.
Read Only No
RetryDelay
Indicates how much time will elapse between tries. This option is only applicable when NumberOfRetries
is greater than 0, otherwise it has no effect.
Read Only No
SolverSystem
Read Only No
StoreSnapshots
Read Only No
Methods
CreateChart
Creates a Chart entity. The chart must be updated once after its creation by invoking its Update method.
Then changes to its properties will update the chart automatically.
Required Arguments
ChartType Type of chart to be created. The possible values depend on the type of Model. For in-
stance, a ResponseSurface model accepts Spider, LocalSensitivity and Response chart
while a CorrelationModel accepts CorrelationMatrix, DeterminationMatrix and Correla-
tionScatter charts.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 309
Design Exploration
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied, depending
on the value of ChartType.
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
TradeoffChart = model.CreateChart(ChartType="eChartTradeoff")
TradeoffChart.Update()
CreateGoodnessOfFit
Creates a GoodnessOfFit. The ParameterValues dictionary can be used to specify a value for some or
all of the discrete input parameters.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form
"Goodness Of Fit [#]" is used.
ParameterValues The values for each discrete input parameter. If not specified, each parameter
is initialized to the current level.
Example
The following example shows how to create a GoodnessOfFit from an existing ResponseSurface
model. The code retrieves the parameters P1 and P2 and then creates the response point by assigning
a value to each of these parameters.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
310 of ANSYS, Inc. and its subsidiaries and affiliates.
ParameterValues={inputParameter1: "2", inputParameter2: "15"})
CreateRomErrorSnapshot
Create a Rom Snapshot file containing the prediction errors generated by a ROM Model for a row of a
ParametricTable.
Required Arguments
ParametricTable ParametricTable.
Example
The following example shows how to create a Rom Snapshot containing the prediction errors gen-
erated by a ROM Model for a verification point and for a design of experiments point.
system1 = GetSystem(Name="RBU")
romBuilder1 = system1.GetContainer(ComponentName="Rom Builder")
romBuilderModel1 = romBuilder1.GetModel()
parametricTable1 = romBuilderModel1.GetParametricTable(Name="VerificationPoints")
romBuilderModel1.CreateRomErrorSnapshot(ParametricTable=parametricTable1,RowIndex=6,SnapshotPath="C:/Temp/r
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable2 = dOEModel1.GetParametricTable(Name="DesignPoints")
romBuilderModel1.CreateRomErrorSnapshot(ParametricTable=parametricTable2,RowIndex=9,SnapshotPath="C:/Temp/r
CreateRomPredictionSnapshot
Create a Rom Snapshot file containing the values predicted by a ROM Model for a row of a ParametricT-
able.
Required Arguments
ParametricTable ParametricTable.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 311
Design Exploration
Example
The following example shows how to create a Rom Snapshot containing the predicted values based
on ROM Model for a verification point and for a design of experiments point.
system1 = GetSystem(Name="RBU")
romBuilder1 = system1.GetContainer(ComponentName="Rom Builder")
romBuilderModel1 = romBuilder1.GetModel()
parametricTable1 = romBuilderModel1.GetParametricTable(Name="VerificationPoints")
romBuilderModel1.CreateRomPredictionSnapshot(ParametricTable=parametricTable1,RowIndex=6,SnapshotPath="C:/T
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable2 = dOEModel1.GetParametricTable(Name="DesignPoints")
romBuilderModel1.CreateRomPredictionSnapshot(ParametricTable=parametricTable2,RowIndex=9,SnapshotPath="C:/T
DeleteGoodnessOfFit
Deletes a list of GoodnessOfFit entities and all the depending Chart entities.
Required Arguments
Example
DuplicateGoodnessOfFit
Duplicates a GoodnessOfFit.
Required Arguments
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form "Goodness
Of Fit [#]" is used.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
312 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
TargetModel The ResponseSurface model on which the goodness of fit is created. If this parameter
is not set, the model of the source goodness of fit is used.
Example
The following example shows how to duplicate a GoodnessOfFit from an existing ResponseSurface
model. The code retrieves the parameters P1 and P2 and then creates the response point by assigning
a value to each of these parameters.
ExportFmu2
Export a ROM in a .fmu file. The file can then be opened in any FMU consuming application. Applications
such as TwinBuilder can also provide visualization of the ROM.
Required Arguments
ExportRomArchive
Export a ROM in a .romz archive. The file can then be opened in a ROM consuming application such as
ROM Viewer.
Required Arguments
GetChart
Query to return the chart reference for a given model and chart name.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 313
Design Exploration
Required Arguments
GetDesignPointReportSetting
Example
The following example shows how the user can get a DesignPointReportSetting to change one of
its properties.
system1 = GetSystem(Name="GDO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
designPointReportSettingEntity1 = dOEModel1.GetDesignPointReportSetting()
designPointReportSettingEntity1.DesignPointReportImage = "FFF-Results:Figure001.png"
GetGoodnessOfFit
Get the DataReference of a GoodnessOfFit entity associated with a Model. An exception is thrown if
the entity is not found.
Required Arguments
Example
The following example shows how the user can get a GoodnessOfFit.
system1 = GetSystem(Name="RSO")
responseSurface1 = system1.GetContainer(ComponentName="Response Surface")
responseSurfaceModel1 = responseSurface1.GetModel()
gof = responseSurfaceModel1.GetGoodnessOfFit(Name="GoodnessOfFit")
GetGoodnessOfFits
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
314 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The DataReferences of the GoodnessOfFits.
Example
The following example shows how to retrieve the GoodnessOfFit entities of a response surface
model.
system1 = GetSystem(Name="RSO")
responseSurface1 = system1.GetContainer(ComponentName="Response Surface")
responseSurfaceModel1 = responseSurface1.GetModel()
gof = responseSurfaceModel1.GetGoodnessOfFits()
GetParameter
Get the DataReference of a Parameter. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a parameter of a model to change one of its
properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
inputParameter1 = dOEModel1.GetParameter(Name="P1")
inputParameter1.LowerBound = 1
GetParameters
Get the DataReferences of the InputParameter and OutputParameter of the model. If the optional argu-
ment InputParameters is not specified, the query returns all parameters. If it is specified and True, the
query returns only input parameters. If it is False, the query returns only output parameters.
Optional Arguments
InputParameters If True, the query returns only input parameters. If False, the query returns only
output parameters. If the argument is ommitted, the query returns all parameters.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 315
Design Exploration
Example
The following example shows how the user can get the parameters of a model.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parameters = dOEModel1.GetParameters()
GetParametricTable
Get the DataReference of ParametricTable. An exception is thrown if the entity is not found. Names of
the tables generated internally are: "DesignPoints", "CorrelationMatrix", "CorrelationScatter", "MinDesign-
Points", "MaxDesignPoints", "ResponsePoints", "DeterminationMatrix".
Required Arguments
Example
The following example shows how the user can get a ParametricTable to add a new row and set
values.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable.AddRow()
parametricTable.SetCellValue(RowIndex=9,ColumnIndex=0,Value="2.1")
ImportRefinementPointsFromArchive
Import Refinement Point values in the manual refinement table of a Rom Builder from an archive file.
Required Arguments
ReuseSnapshotFiles If true, reuse existing snapshot files of ROM production folder when they
correspond to referenced snapshots of the archive. If false, copy all the
snapshot files referenced in the archive (and rename them when they exist
already in the ROM production folder).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
316 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
Example
The following example shows how the user can import refinement points from a valid archive file.
system = GetSystem(Name="RBU")
romBuilder = system.GetContainer(ComponentName="Rom Builder")
romBuilderModel = romBuilder.GetModel()
romBuilderModel.ImportRefinementPointsFromArchiveCommand(FileName="E:/temp/doesnapshots2.snpz",OverwriteSna
ImportRefinementPointsFromDps
Import Refinement Point values in the manual refinement table of a Response Surface model with a
query to the DPS.
Required Arguments
Example
The following example shows how the user can import the design point with the ID equal to 1.
ImportRefinementPointsFromFile
Import Refinement Point values in the manual refinement table of a Response Surface model from a
csv file.
Required Arguments
Example
The following example shows how the user can import refinement points from a valid csv file.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 317
Design Exploration
ImportVerificationPointsFromArchive
Import Verification Point values in the verification table of a Rom Builder from an archive file.
Required Arguments
ReuseSnapshotFiles If true, reuse existing snapshot files of ROM production folder when they
correspond to referenced snapshots of the archive. If false, copy all the
snapshot files referenced in the archive (and rename them when they exist
already in the ROM production folder).
Example
The following example shows how the user can import verification points from a valid archive file.
system = GetSystem(Name="RBU")
romBuilder = system.GetContainer(ComponentName="Rom Builder")
romBuilderModel = romBuilder.GetModel()
romBuilderModel.ImportVerificationPointsFromArchiveCommand(FileName="E:/temp/doesnapshots2.snpz",OverwriteS
ImportVerificationPointsFromDps
Import Verification Point values in the verification table of a Response Surface model with a query to
the DPS.
Required Arguments
Example
The following example shows how the user can import verification points with a query to the DPS.
ImportVerificationPointsFromFile
Import Verification Point values in the verification table of a Response Surface model from a csv file.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
318 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Example
The following example shows how the user can import verification points from a valid csv file.
UpdateAllGoodnessOfFit
Updates all goodness of fit and the results which depend on them. If the goodness of fit are already
uptodate, nothing is done.
Example
system1 = GetSystem(Name="RBU")
romBuilder1 = system2.GetContainer(ComponentName="Rom Builder")
romBuilderModel1 = romBuilder1.GetModel()
romBuilderModel1.UpdateAllGoodnessOfFit()
Methods
GetModel
Get the DataReference of the Model. An exception is thrown if the entity is not found.
Example
The following example shows how the user can get a Model to change one of its properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
dOEModel1.DOEType = "eDOETYPE_OSFD"
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 319
Design Exploration
Data Entities
InputParameter
The data entity which describes an Input Parameter in DesignXplorer.
Properties
Attribute1
First editable attribute of the distribution for an uncertainty parameter. The nature of the attribute de-
pends on the distribution type. For instance, the first attribute of a Normal distribution is the Mean
value.
Read Only No
Attribute2
Second editable attribute of the distribution for an uncertainty parameter. The nature of the attribute
depends on the distribution type. For instance, the second attribute of a Normal distribution is the
Standard Deviation value. Some distribution type do not have a second attribute.
Read Only No
ConstantValue
Read Only No
CustomDefinitionList
Read Only No
DiscreteLevels
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
320 of ANSYS, Inc. and its subsidiaries and affiliates.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DistributionLowerBound
Read Only No
DistributionType
Read Only No
DistributionUpperBound
Read Only No
Enabled
Read Only No
Kurtosis
LowerBound
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 321
Design Exploration
Read Only No
Mean
Nature
Read Only No
NumberOfLevels
Number of levels if the parameter nature is Discrete, or the parameter nature is Continuous and the
UseManufacturableValues property is set to True.
Skewness
StandardDeviation
Type
Units
Units
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
322 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
UpperBound
Read Only No
UseManufacturableValues
Read Only No
Methods
AddDiscreteLevel
Adds a Discrete Level entity on a discrete input parameter. A discrete level can have an integer value
(e.g. a number of holes, a number of turns, etc) or a string value (e.g. a material name or a geometry
file name). The command has optional arguments to specify the Name of the level and its Index in the
list of levels of the parameter. By default, the new level is added to the end of the list. The various discrete
levels of an input parameter represent independent configurations of the project, processed in the order
of their creation.
Required Arguments
Value The value of the discrete level. Value can be an integer or a string.
Optional Arguments
DisplayText DisplayText of the created entity. If not specified, a default name of the form "Level
[#]" is used.
Index The position of the new level in the list of discrete levels of the parameter. Index is
zero-based. If it is not specified, the new level is appended to the list.
Default Value -1
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 323
Design Exploration
Example
The following example shows how to add new discrete levels on a discrete input parameter. The
third level is inserted between the two others.
AddLevels
Adds a list of levels to a continuous input parameter. Each level is a quantity or a real number corres-
ponding to a manufacturable value. The list of levels forms a restriction filter used when post-processing
the input parameter. If levels are added outside of the variation range, the lower and upper bounds
are adjusted accordingly.
Required Arguments
Optional Arguments
Example
The following example shows how to overwrite the manufacturable values of an input parameter
and how to define an additional value later.
CreateOptimizationCriterion
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
324 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
DeleteDiscreteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a discrete input
parameter.
DeleteLevels
Required Arguments
Example
The following example shows how to add and then delete one or more levels from a continuous
input parameter for which the UseManufacturableValues property is set to True.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 325
Design Exploration
ExportData
Export the data of a DesignXplorer entity to a csv file. The entity can be one of the DesignXplorer chart
entities, a ParametricTable or an InputParameter entity.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the table of Design Points and then the
Parameters Parallel chart of a Design of Experiments component.
GetCustomParameterDefinition
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
326 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example shows how the user can get a CustomParameterProperties.
system1 = GetSystem(Name="DOP")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
inputParameter1 = optimizationModel1.GetParameter(Name="P1")
customParameterDefinition1 = inputParameter1.GetCustomParameterDefinition(ExtensionName="UncertaintyParamet
customParameterDefinition1.Distribution = "Triangular"
GetDiscreteLevel
Get a discrete level by name from an input parameter. The parameter's full and ordered list of discrete
levels is available as its "DiscreteLevels" property.
Required Arguments
Example
The following example shows how the user can retrieve a discrete level of a discrete input parameter
by its name.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
DiscreteInputParameter1 = dOEModel1.GetParameter(Name="P1")
level = DiscreteInputParameter1.GetDiscreteLevel(Name="Level 1")
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 327
Design Exploration
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
OutputParameter
Output parameter entity for DesignXplorer.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EnableAutoRefinement
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
328 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
IgnoreForFiltering
Determines whether the parameter filtering is not applicable to the output parameter in the correlation
context.
Read Only No
InheritFromModelSettings
Determines whether the Maximum Predicted Relative Error defined at the Model level is applicable to
the output parameter.
Read Only No
LowerBound
Minimum value extracted from existing design points and/or sample sets.
MaximumPredictedError
Maximum Predicted Error for an output parameter with the GARS algorithm. This is the maximum pre-
dicted error for the selected output parameter.
MaxPredictedRelativeError
Maximum Relative Error targeted for an output parameter when refining with the Kriging algorithm.
This is the maximum predicted relative error that is acceptable for the selected output parameter.
Read Only No
PredictedRelativeError
Current value of the Predicted Relative Error when refining with the Kriging algorithm
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 329
Design Exploration
Scaling
Scaling
Read Only No
Tolerance
Maximum Error targeted for an output parameter when refining with the GARS algorithm. This is the
maximum predicted error that is acceptable for the selected output parameter.
Read Only No
TransformationType
Transformation Type
Read Only No
Units
Units
UpperBound
Maximum value extracted from existing design points and/or sample sets.
Methods
CreateOptimizationCriterion
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
330 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
parameter1 = model.GetParameter(Name="P1")
optimizationCriterion = parameter1.CreateOptimizationCriterion()
GetOptimizationCriterion
Get the DataReference of the OptimizationCriterion associated with a Parameter. An exception is thrown
if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a OptimizationCriterion to change one of its
properties.
system1 = GetSystem(Name="RSO")
optimization1 = system1.GetContainer(ComponentName="Optimization")
optimizationModel1 = optimization1.GetModel()
parameter3 = optimizationModel1.GetParameter(Name="P3")
optimizationCriterion = parameter3.GetOptimizationCriterion()
optimizationCriterion.ObjectiveType = "eGT_MinimumPossible"
GetParameterStatistics
Example
The following example shows how the user can get a ParameterStatistics entity and examine its
Mean property.
system1 = GetSystem(Name="SSA")
sixSigmaAnalysis1 = system1.GetContainer(ComponentName="Six Sigma Analysis")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 331
Design Exploration
sixSigmaModel1 = sixSigmaAnalysis1.GetModel()
parameter4 = sixSigmaModel1.GetParameter(Name="P4")
parameterStatistics1 = parameter4.GetParameterStatistics()
mean = parameterStatistics1.Mean
SixSigmaModel
Entity which performs and manages the Six Sigma Analysis Component
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExportDesignPoints
If True and PreserveDesignPoints is True as well, export project for each preserved Design Point.
Read Only No
NumberOfRetries
Indicates the number of times DX will try to update the failed design points.
Read Only No
NumSamp
Number of Samples
Read Only No
PreserveDesignPoints
If True, preserve the Design Points at the project level after the component Update.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
332 of ANSYS, Inc. and its subsidiaries and affiliates.
RetainDesignPoints
If True and PreserveDesignPoints is True as well, retain data for each preserved Design Point.
Read Only No
RetryDelay
Indicates how much time will elapse between tries. This option is only applicable when NumberOfRetries
is greater than 0, otherwise it has no effect.
Read Only No
SampleGenType
Sampling Type
Read Only No
Methods
CreateChart
Creates a Chart entity. The chart must be updated once after its creation by invoking its Update method.
Then changes to its properties will update the chart automatically.
Required Arguments
ChartType Type of chart to be created. The possible values depend on the type of Model. For in-
stance, a ResponseSurface model accepts Spider, LocalSensitivity and Response chart
while a CorrelationModel accepts CorrelationMatrix, DeterminationMatrix and Correla-
tionScatter charts.
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied, depending
on the value of ChartType.
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 333
Design Exploration
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
TradeoffChart = model.CreateChart(ChartType="eChartTradeoff")
TradeoffChart.Update()
DeleteCharts
Required Arguments
Example
container = system1.GetContainer(ComponentName="Optimization")
model = container.GetModel()
chart1 = model.GetChart(Name="TradeoffChart 1")
chart2 = model.GetChart(Name="SamplesChart 1")
model.DeleteCharts(Charts=[chart1, chart2])
DuplicateChart
Duplicates a Chart entity. The chart must be updated once after its creation by invoking its Update
method. Then changes to its properties will update the chart automatically.
Required Arguments
Optional Arguments
DisplayText Displayed name of the chart. If not specified, a default name is applied,
depending on the value of ChartType.
TargetModel The model on which the duplicated chart is created. If this parameter is
not set, the model of the source chart is used.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
334 of ANSYS, Inc. and its subsidiaries and affiliates.
TargetResponsePoint Parent TargetResponsePoint of the chart. If this parameter is not set, the
response point of the source chart is used if applicable.
Example
GetChart
Query to return the chart reference for a given model and chart name.
Required Arguments
GetParameter
Get the DataReference of a Parameter. An exception is thrown if the entity is not found.
Required Arguments
Example
The following example shows how the user can get a parameter of a model to change one of its
properties.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
inputParameter1 = dOEModel1.GetParameter(Name="P1")
inputParameter1.LowerBound = 1
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 335
Design Exploration
GetParameters
Get the DataReferences of the InputParameter and OutputParameter of the model. If the optional argu-
ment InputParameters is not specified, the query returns all parameters. If it is specified and True, the
query returns only input parameters. If it is False, the query returns only output parameters.
Optional Arguments
InputParameters If True, the query returns only input parameters. If False, the query returns only
output parameters. If the argument is ommitted, the query returns all parameters.
Example
The following example shows how the user can get the parameters of a model.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parameters = dOEModel1.GetParameters()
GetParametricTable
Get the DataReference of ParametricTable. An exception is thrown if the entity is not found. Names of
the tables generated internally are: "DesignPoints", "CorrelationMatrix", "CorrelationScatter", "MinDesign-
Points", "MaxDesignPoints", "ResponsePoints", "DeterminationMatrix".
Required Arguments
Example
The following example shows how the user can get a ParametricTable to add a new row and set
values.
system1 = GetSystem(Name="RSO")
designofExperiment1 = system1.GetContainer(ComponentName="Design of Experiment")
dOEModel1 = designofExperiment1.GetModel()
parametricTable = dOEModel1.GetParametricTable(Name="DesignPoints")
parametricTable.AddRow()
parametricTable.SetCellValue(RowIndex=9,ColumnIndex=0,Value="2.1")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
336 of ANSYS, Inc. and its subsidiaries and affiliates.
Engineering Data
Engineering Data
The container used by an Engineering Data component to maintain project data.
Methods
AddToProjectDefaults
Adds an item, to the list of items, that will be added to new projects by default.
Required Arguments
Optional Arguments
ItemType The EngineeringDataType of the item. This can be Material, Load, or BeamSection.
Example
The following example shows how to add a material named Concrete to the project defaults.
ConsolidateMaterials
Deletes the material.
CreateMaterial
Adds a new material to the container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 337
Engineering Data
Required Arguments
Export
Exports engineering data to the specified file.
Required Arguments
FilePath The target path for the Engineering Data file ("*.xml").
Optional Arguments
ApplyScaleOffset The flag to specify if the scale factor and offset value will be applied during
export.
IgnoreSuppressed The flag to specify if suppressed engineering data will be ignored during export.
ReplaceMaterial The flag to specify if the earlier material data will be replaced in case of similar
material names.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
338 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
Example
GetMaterial
Returns a material of a given name from a container.
The name matching is case insensitive. If a material is not found an exception is thrown.
Required Arguments
Example
The following example creates a new Engineering Data system and queries the default material,
Structural Steel.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem(Position="Default")
container = system.GetContainer(ComponentName="Engineering Data")
structuralSteel = container.GetMaterial(Name="Structural Steel")
GetMaterials
Returns the list of materials in a container. If no materials are in the container, the list is empty.
Import
Imports engineering data into an existing source from a specified source.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 339
Engineering Data
Required Arguments
ImportMaterial
Reads the data for a single material into the requested container.
Required Arguments
Example
This code shows how to read the Copper Alloy material from the provided samples, into Engineering
Data to use in an analysis.
RemoveFromProjectDefaults
Removes an item, from the list of items, that are added to new projects by default.
Required Arguments
Optional Arguments
ItemType The EngineeringDataType of the item. This can be Material, Load, or BeamSection.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
340 of ANSYS, Inc. and its subsidiaries and affiliates.
Default Value Material
Example
The following example shows how to remove Concrete from project defaults.
Data Entities
CurveFit
The entity to store curve fitting information.
Properties
CurveFitData
The coefficients of material model that approximates the experimental test data.
Read Only No
DependentPropertyColl
The collection of experimental test data, e.g., Uniaxial Test data (Engineering Strain Vs Engineering
Stress).
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
UnitSystemWhenSolved
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 341
Engineering Data
Methods
AddTestData
Required Arguments
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
CopyCoefficients
Copies the fitted coefficients from the curve fitting to the property data provided.
Required Arguments
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
342 of ANSYS, Inc. and its subsidiaries and affiliates.
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
Delete
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
GetChartData
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 343
Engineering Data
Material Property
Material Property Data
RemoveTestData
Required Arguments
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
Solve
The curve fitting module will solve for the coefficients which most nearly approximate the experimental
test data.
CurveFitData
The entity which contains data relevant to the curve fitting solution. It is possible to call GetData on
this
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
344 of ANSYS, Inc. and its subsidiaries and affiliates.
entity after the curve fitting solution to determine coefficients. Also for nonlinear fits the seed values
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Methods
DeleteData
Required Arguments
Optional Arguments
SheetQualifiers SheetQualifiers is used to pass in the qualifiers to select between multiple sheets
witht the same name. This is a dictionary of the Qualifier and its Value.
Example
The following example illustrates the deletion of a row from a tabular data sheet.
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Delete the first row in the Density property
#
matlProp1 = matl1.GetProperty(Name="Density")
DeleteTabularDataRow(matlProp1, Index = 0)
#
# Delete the first row in the Coefficient of Thermal Expansion property with
# optional SheeetName and SheetQualifiers
#
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 345
Engineering Data
GetData
Optional Arguments
AsDictionary If set to true, the data will be returned as a dictionary where the keys are variable
names and the values are the data for each variable. If set to false, the data will
be returned in scalar or list format without the variable names.
ColumnMajor If set to true, the data will be returned in column-major order. If set to false, the
data will be returned in row-major order.
EndIndex The end index for requesting a subset of the data (zero-based).
SheetName Specifies the sheet name when the data contains multiple sheets.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
StartIndex The start index for requesting a subset of the data (zero-based).
Default Value 0
Variables Names of the variables for which data is requested (string or list of strings).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
346 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
In this example, all data is requested for the given tabular data entity.
tabData1.GetData()
tabData1.GetData(ColumnMajor=False)
tabData1.GetData(AsDictionary=True)
In this example, data for variables Density and Temperature is requested in dictionary format.
SetData
Optional Arguments
Data Sets the data using a dictionary form. The keys are the variable names and the
values are the data. The use of this argument is mutually exclusive with "Values"
and "Variables".
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<Object (p. 1456)>>
Index Specifies the starting location used to set the data (zero-based). A value of -1
indicates that the data should be appended to the existing data.
Default Value 0
SheetName Specifies the sheet name when the data contains multiple sheets.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
Values List of data values set in conjunction with the "Variables" parameter. This para-
meter and the "Data" parameter are mutually exclusive.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 347
Engineering Data
Variables Names of the variables for which data is being set. This parameter and and the
"Data" parameter are mutually exclusive.
Example
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Change the value of a simple single-valued property
#
matlProp1 = matl1.GetProperty(Name="Density")
SetTabularData(matlProp1,
Variables="Density",
Values="8500 [kg m^-3]")
#
# Set Temperature-dependent data for Elasticity based
# on lists of variables and values.
matlProp2 = matl1.GetProperty(Name="Elasticity")
temperature = ["400 [K]", "600 [K]", "800 [K]"]
E = ["2e5 [MPa]", "1.9e5 [MPa]", "1.6e5 [MPa]"]
SetTabularData(matlProp2,
Variables = ["Temperature","Young's Modulus"],
Values = [temperature, E])
#
# Change the Temperature for the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Temperature",
Values = "625 [K]")
#
# Set a list for Poisson's Ratio starting at the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Poisson's Ratio",
Values = [0.3, 0.3])
#
# Set Temperature-dependent property data for the Coefficient of Thermal Expansion
# using a dictionary. The dictionary key is the Variable name,
# followed by the list of values for the variable.
#
matlProp3 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
newData = {"Temperature": ["200 [F]","400 [F]","600 [F]","800 [F]","1000 [F]"],
"Coefficient of Thermal Expansion" : ["6.3e-6 [F^-1]", "7.0e-6 [F^-1]",
"7.46e-6 [F^-1]", "7.8e-6 [F^-1]",
"8.04e-6 [F^-1]"]}
SetTabularData(matlProp3,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Data = newData)
SetQualifier
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
348 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Optional Arguments
SheetName The name of the tabular data sheet that contains the qualifier.
VariableName The name of the Variable that contains the qualifier to be changed.
VariableQualifiers VariableQualifiers can used to pass in the qualifiers to select between mul-
tiple variables witht the same name. This is a dictionary of the Qualifier and
its Value.
Example
The following example changes the 'Derive From' setting within an Isotropic Elasticity material
property to be "Bulk Modulus and Poisson's Ratio".
DelimitedDataObject
Entity to store the necessary information for importing delimited data.
Properties
Columns
List of columns to read in. Leave this unset to import all columns.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 349
Engineering Data
Columns=[3,5]
Read Only No
Delimiter
Delimiter type.
Delimiter=","
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FileName
# Format 1 - File contains variable names and units # This information is the experimental data collected
from a uniaxial test on a elastomer sample # and was lifted from Hyperelastic Materials sample Elastomer
Sample (Mooney-Rivlin) # # Set "Start Import at Line" to 6 Strain, Stress # Variable Names (these corres-
pond to the names shown in the UI) m m^-1, Pa # Unit (these correspond to the unit strings shown in
the UI) 0.1338, 494.1474492 # Data point 1 0.2675, 912.7972764 # Data point 2 0.3567, 1172.453938 #
Data point 3
# Format 2 - File does not contain variable names and units, these are passed in by using the # Variable-
Names and VariableUnits parameters # This information is the experimental data collected from a uni-
axial test on a elastomer sample # and was lifted from Hyperelastic Materials sample Elastomer Sample
(Mooney-Rivlin) # # Set "Start Import at Line" to 7 0.1338, 494.1474492 # Data point 1 0.2675, 912.7972764
# Data point 2 0.3567, 1172.453938 # Data point 3
Read Only No
ReadLine
Line to start importing. Use this if your file has a header you wish to ignore. The line number you set
here must correspond to the row in your file with the variable names.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
350 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Read Only No
VariableNames
List of variable names, the list must have the same number of names as columns in the data. If the list
is null, it is assumed that the variable names are located in the file at line "BeginAtLine"
Read Only No
VariableUnits
List of variable units, the list must have the same number of units as columns in the data. If the list is
null, it is assumed that the variable units are located in the file at line "BeginAtLine" + 1
Read Only No
Methods
Import
Execute import, and appends delimited data to the MaterialProperty Data. Call this method after setting
the following properties of the DelimitedDataObject: FileName, Delimiter, Readline (optional), Columns
(optional).
FieldVariableDataObject
The FieldVariableDataObject is used to get/set the properties of one field variable, or a group of field
variables (all with the same name and quantity type).
Properties
DataString
Get or set the default data to be used in the interpolation algorithm if this field variable isn't defined.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 351
Engineering Data
LowerLimitString
Get or set the lower limits of the field variable, and is used to validate the field variable data. This value
is also used by the interpolation algorithm during normalization.
Read Only No
QuantityType
Unit
Read Only No
UpperLimitString
Get or set the upper limits of the field variable, and is used to validate the field variable data. This value
is also used by the interpolation algorithm during normalization.
Read Only No
VariableName
Material
The entity to store material information.
Properties
Description
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
352 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
DisplayName
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Source
SourceFileReference
Methods
AddToFavorites
CreateProperty
Includes a physical quantity or the constitutive relation for the physical response of a material. A property
can be visualized as one or more tables of data made up of one or more dependent and independent
variables.
The material property is created based on the specified optional parameters "Definition" and "Behavior".
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 353
Engineering Data
Required Arguments
Optional Arguments
Behavior The optional string to identify the way in which a new material property will behave.
Behavior of some material properties can be specified in different ways, e.g., Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Definition The optional string to identify the way in which new material property will be defined.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
The following example creates a new Engineering Data system and adds Coefficient of Thermal
Expansion and Elasticity material properties to the default material Structural Steel.
Coefficient of Thermal Expansion is created using Secant definition and Orthotropic behavior.
Elasticity is created using Orthotropic behavior.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
354 of ANSYS, Inc. and its subsidiaries and affiliates.
Delete
Duplicate
Duplicates the data in this material and returns a new material. The name of the new material will be
appended with a numerical value to make it unique.
Required Arguments
GetFieldVariableDataObject
Gets a FieldVariableDataObject from the specified parent. The parent determines which field variables
are tied to the data object
Required Arguments
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
temperature = structuralSteel.GetFieldVariableDataObject(Name="Temperature")
GetProperty
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 355
Engineering Data
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
IsSuppressed
Material
Material Property
Material Property Data
IsValid
Optional Arguments
Refresh
This will repopulate the contents of a material with data from a given source. The NameInSource
property of a Material will be used to find a match in the source to pull data from. In the event that
NameInSource is not set, the DisplayName property will be used instead.
Note: This operation will cause destruction of any data currently in the material.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem(Position="Default")
container = system.GetContainer(ComponentName="Engineering Data")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
356 of ANSYS, Inc. and its subsidiaries and affiliates.
structSteel = container.GetMaterial(Name="Structural Steel")
density = structSteel.GetProperty(Name="Density")
density.Delete()
structSteel.UpdateMaterial(Source="General_Materials.xml")
restoredDensity = structSteel.GetProperty(Name="Density")
restoredDensity.SetData(SheetName="", Index=0, Variables=["Density"], Values=[["8000 [kg m^-3]"]])
Required Arguments
RemoveFromFavorites
Optional Arguments
Source The location of the file that contains the item on disk.
Type The type of the object to delete. This is either a Material or a Mixture.
Example
The following example gets the list of favorites from Engineering Data. It then selects and deletes
the "Gray Cast Iron" material from the list.
favorites = EngData.LoadFavoriteItems()
matl = favorites.GetMaterial(Name="Gray Cast Iron")
EngData.DeleteFromFavorites(
Material=matl,
Type="Material")
SetAsDefaultFluidForModel
This will specify the material to use (or not use) for parts in the model which are marked as a fluid.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 357
Engineering Data
If the material is in the Engineering Data component it will set or unset the material to be used in the
model component of the system(s) that contain this Engineering Data component.
If the material is contained in Favorites it will set or unset the material to use as the default on fluids
in the Engineering Data component when a new system is added to the project.
The material is set as the default in Favorites. It will automatically be added to the list of project defaults.
Optional Arguments
Default This Boolean is used to set or unset the material as the default.
SetAsDefaultSolidForModel
This will specify the material to use (or not use) for parts in the model which are marked as a solid.
If the material is in the Engineering Data component it will set or unset the material to be used in the
model component of the system(s) that contain this Engineering Data component.
If the material is contained in Favorites it will set or unset the material to use as the default on solids
in the Engineering Data component when a new system is added to the project.
The material is set as the default in Favorites. It will automatically be added to the list of project defaults.
Optional Arguments
Default This Boolean is used to set or unset the material as the default.
SetColor
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
358 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
structuralSteel.SetColor(Material="strucutralSteel", Red="255", Green="0", Blue="0")
SetOption
Required Arguments
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Material
Material property
Required Arguments
Unlink
Unlinks a material from its underlying source. Once this occurs, the material can no longer be restored
to its original state and the material will no longer have a source.
MaterialProperty
The entity to store material property information.
A material property is the identifier for the singular information (for example, Density) that together
with other properties defines or models the behavior of the material. A property is always defined by
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 359
Engineering Data
at least one table (tabular data), which could be singular. Some properties can contain a collection of
tabular data (for example, Isotropic Elasticity).
Properties
Behavior
The string that defines the way in which the material property behaves, e.g., Elasticity has Isotropic,
Orthotropic or Anisotropic behavior.
Read Only No
Definition
The definition of the material property. Some material properties are defined in different ways, e.g.,
Thermal Expansion can be defined as Secant Coefficient of Thermal Expansion and Instantaneous
Coefficient of Thermal Expansion.
Read Only No
Description
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PropertyDataColl
TypeName
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
360 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Methods
AddTestData
Required Arguments
BeginBatchUpdate
Marks the start of a series of data modifications to a table of data, to improve performance.
CreatePropertyData
Include an additional property data for a material property. Some properties may have more than one
property data to describe the material property.
Required Arguments
Optional Arguments
Behavior A string to identify how the new material property data will behave.
The behavior of some material properties can be specified in different ways, e.g.,
Elasticity can be specified as Isotropic, Orthotropic or Anisotropic.
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Definition A string to identify how the new material property data will be defined.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 361
Engineering Data
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
The following example creates the material property data Orthotropic Secant Coefficient of Thermal
Expansion on the material property Coefficient of Thermal Expansion. This example assumes the
material Structural Steel has been obtained from the General Materials library.
Get the material property we are going to create a new material property data on.
orthoSecantThermExpansionMatPropData = thermExpansionMatProp.CreatePropertyData(
Name="Coefficient of Thermal Expansion",
Definition="Secant",
Behavior="Orthotropic")
Delete
Optional Arguments
Behavior of some material properties can be specified in different ways e.g. Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
Some material properties are defined in different ways e.g. Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
DeleteData
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
362 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Optional Arguments
SheetQualifiers SheetQualifiers is used to pass in the qualifiers to select between multiple sheets
witht the same name. This is a dictionary of the Qualifier and its Value.
Example
The following example illustrates the deletion of a row from a tabular data sheet.
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Delete the first row in the Density property
#
matlProp1 = matl1.GetProperty(Name="Density")
DeleteTabularDataRow(matlProp1, Index = 0)
#
# Delete the first row in the Coefficient of Thermal Expansion property with
# optional SheeetName and SheetQualifiers
#
matlProp2 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
DeleteTabularDataRow(matlProp2,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Index = 0)
EndBatchUpdate
GetChartData
Material Property
Material Property Data
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 363
Engineering Data
GetData
Optional Arguments
AsDictionary If set to true, the data will be returned as a dictionary where the keys are variable
names and the values are the data for each variable. If set to false, the data will
be returned in scalar or list format without the variable names.
ColumnMajor If set to true, the data will be returned in column-major order. If set to false, the
data will be returned in row-major order.
EndIndex The end index for requesting a subset of the data (zero-based).
SheetName Specifies the sheet name when the data contains multiple sheets.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
StartIndex The start index for requesting a subset of the data (zero-based).
Default Value 0
Variables Names of the variables for which data is requested (string or list of strings).
Example
In this example, all data is requested for the given tabular data entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
364 of ANSYS, Inc. and its subsidiaries and affiliates.
tabData1.GetData()
tabData1.GetData(ColumnMajor=False)
tabData1.GetData(AsDictionary=True)
In this example, data for variables Density and Temperature is requested in dictionary format.
GetPropertyData
The property data returned is based on specified optional parameters "Definition" and "Behavior".
Return The material property data that matches specified type name, definition and behavior.
Required Arguments
Optional Arguments
Behavior The optional string to specify the material property data behavior.
Behavior of some material properties can be specified in different ways, e.g., Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
Definition The optional string to specify the material property data definition.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 365
Engineering Data
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property data of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
IsSuppressed
Material
Material Property
Material Property Data
IsValid
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
366 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Output (p. 1459)<string (p. 1485)>
RemoveTestData
Required Arguments
SetData
Optional Arguments
Data Sets the data using a dictionary form. The keys are the variable names and the
values are the data. The use of this argument is mutually exclusive with "Values"
and "Variables".
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<Object (p. 1456)>>
Index Specifies the starting location used to set the data (zero-based). A value of -1
indicates that the data should be appended to the existing data.
Default Value 0
SheetName Specifies the sheet name when the data contains multiple sheets.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
Values List of data values set in conjunction with the "Variables" parameter. This para-
meter and the "Data" parameter are mutually exclusive.
Variables Names of the variables for which data is being set. This parameter and and the
"Data" parameter are mutually exclusive.
Example
#
# Create a new Engineering Data System and access Structural Steel
#
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 367
Engineering Data
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Change the value of a simple single-valued property
#
matlProp1 = matl1.GetProperty(Name="Density")
SetTabularData(matlProp1,
Variables="Density",
Values="8500 [kg m^-3]")
#
# Set Temperature-dependent data for Elasticity based
# on lists of variables and values.
matlProp2 = matl1.GetProperty(Name="Elasticity")
temperature = ["400 [K]", "600 [K]", "800 [K]"]
E = ["2e5 [MPa]", "1.9e5 [MPa]", "1.6e5 [MPa]"]
SetTabularData(matlProp2,
Variables = ["Temperature","Young's Modulus"],
Values = [temperature, E])
#
# Change the Temperature for the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Temperature",
Values = "625 [K]")
#
# Set a list for Poisson's Ratio starting at the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Poisson's Ratio",
Values = [0.3, 0.3])
#
# Set Temperature-dependent property data for the Coefficient of Thermal Expansion
# using a dictionary. The dictionary key is the Variable name,
# followed by the list of values for the variable.
#
matlProp3 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
newData = {"Temperature": ["200 [F]","400 [F]","600 [F]","800 [F]","1000 [F]"],
"Coefficient of Thermal Expansion" : ["6.3e-6 [F^-1]", "7.0e-6 [F^-1]",
"7.46e-6 [F^-1]", "7.8e-6 [F^-1]",
"8.04e-6 [F^-1]"]}
SetTabularData(matlProp3,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Data = newData)
SetQualifier
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
368 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
SheetName The name of the tabular data sheet that contains the qualifier.
VariableName The name of the Variable that contains the qualifier to be changed.
VariableQualifiers VariableQualifiers can used to pass in the qualifiers to select between mul-
tiple variables witht the same name. This is a dictionary of the Qualifier and
its Value.
Example
The following example changes the 'Derive From' setting within an Isotropic Elasticity material
property to be "Bulk Modulus and Poisson's Ratio".
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Material
Material property
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 369
Engineering Data
MaterialPropertyData
The entity to store material property (tabular) data information. The material property data is a collection
of material variable data.
Properties
Behavior
The behavior of the material variable tabular data. Some material properties can have different behavior,
e.g., Elasticity has Isotropic, Orthotropic or Anisotropic behavior.
Read Only No
Definition
The definition of the material variable tabular data. Some material properties are defined in different
ways, e.g., Thermal Expansion can be defined as Secant Coefficient of Thermal Expansion and Instant-
aneous Coefficient of Thermal Expansion.
Read Only No
DependentColl
The collection of dependent variables in the material variable tabular data, e.g., Density.
Description
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IndependentColl
The collection of independent variables in the material variable tabular data, e.g., Temperature.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
370 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReferenceSet (p. 1418)
PrimaryIndependent
The primary independent variable in the material variable tabular data, e.g., Temperature.
RowsCount
The number of data values for a variable in the material variable tabular data.
TypeName
Read Only No
VariableColl
Methods
BeginBatchUpdate
Marks the start of a series of data modifications to a table of data, to improve performance.
CreateCurveFitting
Required Arguments
Definition The definition of curve fitting to create. This must be a definition that is supported by
an engineering data curve fitting.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 371
Engineering Data
Type The type of curve fitting to create. This must be a type that is supported by an engin-
eering data curve fitting.
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
CreateDataProvider
Create a data provider for a give format. The only data provider currently supported is for Delimited
Text (used to import tabular data from a delimited data file).
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
372 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
CreateVariable
Required Arguments
Optional Arguments
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 373
Engineering Data
Delete
EndBatchUpdate
GetChartData
Material Property
Material Property Data
GetCurveFitting
GetFieldVariableDataObject
Gets a FieldVariableDataObject from the specified parent. The parent determines which field variables
are tied to the data object
Required Arguments
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
temperature = structuralSteel.GetFieldVariableDataObject(Name="Temperature")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
374 of ANSYS, Inc. and its subsidiaries and affiliates.
GetVariable
Required Arguments
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property data of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
# Get material
CTEProperty = StructSteel.GetProperty(Name="Coefficient of Thermal Expansion")
# Get material property data
CTEPropData = CTEProperty.GetPropertyData(
Name="Coefficient of Thermal Expansion",
Definition="Secant",
Behavior="Isotropic")
# Get material variable
CTEVariable = CTEPropData.GetVariable(
Name="Coefficient of Thermal Expansion")
IsSuppressed
Material
Material Property
Material Property Data
IsValid
Validates a material property data and provides a message in case of invalid data.
Return The flag that indicates if the material property data is valid.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 375
Engineering Data
Required Arguments
Optional Arguments
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Material
Material property
Required Arguments
MaterialVariable
The entity to store material variable information.
Properties
DatumColl
Read Only No
IsDependent
The flag that indicates if the material variable is dependent, e.g., Density is temperature dependent.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
376 of ANSYS, Inc. and its subsidiaries and affiliates.
LowerBoundUnit
The unit of the lower bound data value in the material variable data.
Read Only No
LowerBoundValue
Read Only No
MaxValue
Read Only No
MinValue
Read Only No
Offset
Read Only No
Scale
Read Only No
TypeName
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 377
Engineering Data
UniqueData
Read Only No
UpperBoundUnit
The unit of the upper bound data value in the material variable data.
Read Only No
UpperBoundValue
Read Only No
Methods
Delete
IsValid
Validates a material variable data and provides a message in case of invalid data.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
378 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
Data Entities
CurveFit
The entity to store curve fitting information.
Properties
CurveFitData
The coefficients of material model that approximates the experimental test data.
Read Only No
DependentPropertyColl
The collection of experimental test data, e.g., Uniaxial Test data (Engineering Strain Vs Engineering
Stress).
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
UnitSystemWhenSolved
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 379
Engineering Data
Read Only No
Methods
AddTestData
Required Arguments
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
CopyCoefficients
Copies the fitted coefficients from the curve fitting to the property data provided.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
380 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
Delete
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 381
Engineering Data
curveFit.Delete()
GetChartData
Material Property
Material Property Data
RemoveTestData
Required Arguments
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
382 of ANSYS, Inc. and its subsidiaries and affiliates.
Solve
The curve fitting module will solve for the coefficients which most nearly approximate the experimental
test data.
Methods
GetMaterial
Returns a material of a given name from a container.
The name matching is case insensitive. If a material is not found an exception is thrown.
Required Arguments
Example
The following example creates a new Engineering Data system and queries the default material,
Structural Steel.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem(Position="Default")
container = system.GetContainer(ComponentName="Engineering Data")
structuralSteel = container.GetMaterial(Name="Structural Steel")
GetMaterials
Returns the list of materials in a container. If no materials are in the container, the list is empty.
Load
Populates the favorite items container with the user's favorite items.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 383
Engineering Data
Example
The following example creates a new Engineering Data system and queries the default material,
Structural Steel.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem(Position="Default")
favoritesContainer = EngData.LoadFavoriteItems()
structuralSteel = favoritesContainer.GetMaterial(Name="Structural Steel")
Data Entities
Material
The entity to store material information.
Properties
Description
Read Only No
DisplayName
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Source
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
384 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
SourceFileReference
Methods
AddToFavorites
CreateProperty
Includes a physical quantity or the constitutive relation for the physical response of a material. A property
can be visualized as one or more tables of data made up of one or more dependent and independent
variables.
The material property is created based on the specified optional parameters "Definition" and "Behavior".
Required Arguments
Optional Arguments
Behavior The optional string to identify the way in which a new material property will behave.
Behavior of some material properties can be specified in different ways, e.g., Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Definition The optional string to identify the way in which new material property will be defined.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 385
Engineering Data
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
The following example creates a new Engineering Data system and adds Coefficient of Thermal
Expansion and Elasticity material properties to the default material Structural Steel.
Coefficient of Thermal Expansion is created using Secant definition and Orthotropic behavior.
Elasticity is created using Orthotropic behavior.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
Delete
Duplicate
Duplicates the data in this material and returns a new material. The name of the new material will be
appended with a numerical value to make it unique.
Required Arguments
GetFieldVariableDataObject
Gets a FieldVariableDataObject from the specified parent. The parent determines which field variables
are tied to the data object
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
386 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
temperature = structuralSteel.GetFieldVariableDataObject(Name="Temperature")
GetProperty
Required Arguments
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
IsSuppressed
Material
Material Property
Material Property Data
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 387
Engineering Data
IsValid
Optional Arguments
Refresh
This will repopulate the contents of a material with data from a given source. The NameInSource
property of a Material will be used to find a match in the source to pull data from. In the event that
NameInSource is not set, the DisplayName property will be used instead.
Note: This operation will cause destruction of any data currently in the material.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem(Position="Default")
container = system.GetContainer(ComponentName="Engineering Data")
structSteel = container.GetMaterial(Name="Structural Steel")
density = structSteel.GetProperty(Name="Density")
density.Delete()
structSteel.UpdateMaterial(Source="General_Materials.xml")
restoredDensity = structSteel.GetProperty(Name="Density")
restoredDensity.SetData(SheetName="", Index=0, Variables=["Density"], Values=[["8000 [kg m^-3]"]])
Required Arguments
RemoveFromFavorites
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
388 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Source The location of the file that contains the item on disk.
Type The type of the object to delete. This is either a Material or a Mixture.
Example
The following example gets the list of favorites from Engineering Data. It then selects and deletes
the "Gray Cast Iron" material from the list.
favorites = EngData.LoadFavoriteItems()
matl = favorites.GetMaterial(Name="Gray Cast Iron")
EngData.DeleteFromFavorites(
Material=matl,
Type="Material")
SetAsDefaultFluidForModel
This will specify the material to use (or not use) for parts in the model which are marked as a fluid.
If the material is in the Engineering Data component it will set or unset the material to be used in the
model component of the system(s) that contain this Engineering Data component.
If the material is contained in Favorites it will set or unset the material to use as the default on fluids
in the Engineering Data component when a new system is added to the project.
The material is set as the default in Favorites. It will automatically be added to the list of project defaults.
Optional Arguments
Default This Boolean is used to set or unset the material as the default.
SetAsDefaultSolidForModel
This will specify the material to use (or not use) for parts in the model which are marked as a solid.
If the material is in the Engineering Data component it will set or unset the material to be used in the
model component of the system(s) that contain this Engineering Data component.
If the material is contained in Favorites it will set or unset the material to use as the default on solids
in the Engineering Data component when a new system is added to the project.
The material is set as the default in Favorites. It will automatically be added to the list of project defaults.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 389
Engineering Data
Optional Arguments
Default This Boolean is used to set or unset the material as the default.
SetColor
Required Arguments
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
structuralSteel.SetColor(Material="strucutralSteel", Red="255", Green="0", Blue="0")
SetOption
Required Arguments
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
390 of ANSYS, Inc. and its subsidiaries and affiliates.
Material
Material property
Required Arguments
Unlink
Unlinks a material from its underlying source. Once this occurs, the material can no longer be restored
to its original state and the material will no longer have a source.
MaterialProperty
The entity to store material property information.
A material property is the identifier for the singular information (for example, Density) that together
with other properties defines or models the behavior of the material. A property is always defined by
at least one table (tabular data), which could be singular. Some properties can contain a collection of
tabular data (for example, Isotropic Elasticity).
Properties
Behavior
The string that defines the way in which the material property behaves, e.g., Elasticity has Isotropic,
Orthotropic or Anisotropic behavior.
Read Only No
Definition
The definition of the material property. Some material properties are defined in different ways, e.g.,
Thermal Expansion can be defined as Secant Coefficient of Thermal Expansion and Instantaneous
Coefficient of Thermal Expansion.
Read Only No
Description
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 391
Engineering Data
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PropertyDataColl
TypeName
Read Only No
Methods
AddTestData
Required Arguments
BeginBatchUpdate
Marks the start of a series of data modifications to a table of data, to improve performance.
CreatePropertyData
Include an additional property data for a material property. Some properties may have more than one
property data to describe the material property.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
392 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Optional Arguments
Behavior A string to identify how the new material property data will behave.
The behavior of some material properties can be specified in different ways, e.g.,
Elasticity can be specified as Isotropic, Orthotropic or Anisotropic.
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Definition A string to identify how the new material property data will be defined.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
The following example creates the material property data Orthotropic Secant Coefficient of Thermal
Expansion on the material property Coefficient of Thermal Expansion. This example assumes the
material Structural Steel has been obtained from the General Materials library.
Get the material property we are going to create a new material property data on.
orthoSecantThermExpansionMatPropData = thermExpansionMatProp.CreatePropertyData(
Name="Coefficient of Thermal Expansion",
Definition="Secant",
Behavior="Orthotropic")
Delete
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 393
Engineering Data
Behavior of some material properties can be specified in different ways e.g. Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
Some material properties are defined in different ways e.g. Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
DeleteData
Required Arguments
Optional Arguments
SheetQualifiers SheetQualifiers is used to pass in the qualifiers to select between multiple sheets
witht the same name. This is a dictionary of the Qualifier and its Value.
Example
The following example illustrates the deletion of a row from a tabular data sheet.
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Delete the first row in the Density property
#
matlProp1 = matl1.GetProperty(Name="Density")
DeleteTabularDataRow(matlProp1, Index = 0)
#
# Delete the first row in the Coefficient of Thermal Expansion property with
# optional SheeetName and SheetQualifiers
#
matlProp2 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
DeleteTabularDataRow(matlProp2,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
394 of ANSYS, Inc. and its subsidiaries and affiliates.
Index = 0)
EndBatchUpdate
GetChartData
Material Property
Material Property Data
GetData
Optional Arguments
AsDictionary If set to true, the data will be returned as a dictionary where the keys are variable
names and the values are the data for each variable. If set to false, the data will
be returned in scalar or list format without the variable names.
ColumnMajor If set to true, the data will be returned in column-major order. If set to false, the
data will be returned in row-major order.
EndIndex The end index for requesting a subset of the data (zero-based).
SheetName Specifies the sheet name when the data contains multiple sheets.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 395
Engineering Data
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
StartIndex The start index for requesting a subset of the data (zero-based).
Default Value 0
Variables Names of the variables for which data is requested (string or list of strings).
Example
In this example, all data is requested for the given tabular data entity.
tabData1.GetData()
tabData1.GetData(ColumnMajor=False)
tabData1.GetData(AsDictionary=True)
In this example, data for variables Density and Temperature is requested in dictionary format.
GetPropertyData
The property data returned is based on specified optional parameters "Definition" and "Behavior".
Return The material property data that matches specified type name, definition and behavior.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
396 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
Behavior The optional string to specify the material property data behavior.
Behavior of some material properties can be specified in different ways, e.g., Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
Definition The optional string to specify the material property data definition.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property data of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
IsSuppressed
Material
Material Property
Material Property Data
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 397
Engineering Data
IsValid
Required Arguments
Optional Arguments
RemoveTestData
Required Arguments
SetData
Optional Arguments
Data Sets the data using a dictionary form. The keys are the variable names and the
values are the data. The use of this argument is mutually exclusive with "Values"
and "Variables".
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<Object (p. 1456)>>
Index Specifies the starting location used to set the data (zero-based). A value of -1
indicates that the data should be appended to the existing data.
Default Value 0
SheetName Specifies the sheet name when the data contains multiple sheets.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
398 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Dictionary (p. 1422)<string (p. 1485), string (p. 1485)>
Values List of data values set in conjunction with the "Variables" parameter. This para-
meter and the "Data" parameter are mutually exclusive.
Variables Names of the variables for which data is being set. This parameter and and the
"Data" parameter are mutually exclusive.
Example
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Change the value of a simple single-valued property
#
matlProp1 = matl1.GetProperty(Name="Density")
SetTabularData(matlProp1,
Variables="Density",
Values="8500 [kg m^-3]")
#
# Set Temperature-dependent data for Elasticity based
# on lists of variables and values.
matlProp2 = matl1.GetProperty(Name="Elasticity")
temperature = ["400 [K]", "600 [K]", "800 [K]"]
E = ["2e5 [MPa]", "1.9e5 [MPa]", "1.6e5 [MPa]"]
SetTabularData(matlProp2,
Variables = ["Temperature","Young's Modulus"],
Values = [temperature, E])
#
# Change the Temperature for the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Temperature",
Values = "625 [K]")
#
# Set a list for Poisson's Ratio starting at the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Poisson's Ratio",
Values = [0.3, 0.3])
#
# Set Temperature-dependent property data for the Coefficient of Thermal Expansion
# using a dictionary. The dictionary key is the Variable name,
# followed by the list of values for the variable.
#
matlProp3 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
newData = {"Temperature": ["200 [F]","400 [F]","600 [F]","800 [F]","1000 [F]"],
"Coefficient of Thermal Expansion" : ["6.3e-6 [F^-1]", "7.0e-6 [F^-1]",
"7.46e-6 [F^-1]", "7.8e-6 [F^-1]",
"8.04e-6 [F^-1]"]}
SetTabularData(matlProp3,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Data = newData)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 399
Engineering Data
SetQualifier
Required Arguments
Optional Arguments
SheetName The name of the tabular data sheet that contains the qualifier.
VariableName The name of the Variable that contains the qualifier to be changed.
VariableQualifiers VariableQualifiers can used to pass in the qualifiers to select between mul-
tiple variables witht the same name. This is a dictionary of the Qualifier and
its Value.
Example
The following example changes the 'Derive From' setting within an Isotropic Elasticity material
property to be "Bulk Modulus and Poisson's Ratio".
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
400 of ANSYS, Inc. and its subsidiaries and affiliates.
Following items can be suppressed:
Material
Material property
Required Arguments
MaterialPropertyData
The entity to store material property (tabular) data information. The material property data is a collection
of material variable data.
Properties
Behavior
The behavior of the material variable tabular data. Some material properties can have different behavior,
e.g., Elasticity has Isotropic, Orthotropic or Anisotropic behavior.
Read Only No
Definition
The definition of the material variable tabular data. Some material properties are defined in different
ways, e.g., Thermal Expansion can be defined as Secant Coefficient of Thermal Expansion and Instant-
aneous Coefficient of Thermal Expansion.
Read Only No
DependentColl
The collection of dependent variables in the material variable tabular data, e.g., Density.
Description
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 401
Engineering Data
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IndependentColl
The collection of independent variables in the material variable tabular data, e.g., Temperature.
PrimaryIndependent
The primary independent variable in the material variable tabular data, e.g., Temperature.
RowsCount
The number of data values for a variable in the material variable tabular data.
TypeName
Read Only No
VariableColl
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
402 of ANSYS, Inc. and its subsidiaries and affiliates.
Methods
BeginBatchUpdate
Marks the start of a series of data modifications to a table of data, to improve performance.
CreateCurveFitting
Required Arguments
Definition The definition of curve fitting to create. This must be a definition that is supported by
an engineering data curve fitting.
Type The type of curve fitting to create. This must be a type that is supported by an engin-
eering data curve fitting.
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 403
Engineering Data
CreateDataProvider
Create a data provider for a give format. The only data provider currently supported is for Delimited
Text (used to import tabular data from a delimited data file).
Required Arguments
Example
CreateVariable
Required Arguments
Optional Arguments
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
404 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
Delete
EndBatchUpdate
GetChartData
Material Property
Material Property Data
GetCurveFitting
GetFieldVariableDataObject
Gets a FieldVariableDataObject from the specified parent. The parent determines which field variables
are tied to the data object
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 405
Engineering Data
Required Arguments
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
temperature = structuralSteel.GetFieldVariableDataObject(Name="Temperature")
GetVariable
Required Arguments
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property data of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
# Get material
CTEProperty = StructSteel.GetProperty(Name="Coefficient of Thermal Expansion")
# Get material property data
CTEPropData = CTEProperty.GetPropertyData(
Name="Coefficient of Thermal Expansion",
Definition="Secant",
Behavior="Isotropic")
# Get material variable
CTEVariable = CTEPropData.GetVariable(
Name="Coefficient of Thermal Expansion")
IsSuppressed
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
406 of ANSYS, Inc. and its subsidiaries and affiliates.
Material
Material Property
Material Property Data
IsValid
Validates a material property data and provides a message in case of invalid data.
Return The flag that indicates if the material property data is valid.
Required Arguments
Optional Arguments
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Material
Material property
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 407
Engineering Data
Methods
Close
Closes an Engineering Data library.
ConsolidateMaterials
Deletes the material.
CreateMaterial
Adds a new material to the container.
Required Arguments
Export
Exports engineering data to the specified file.
Required Arguments
FilePath The target path for the Engineering Data file ("*.xml").
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
408 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
ApplyScaleOffset The flag to specify if the scale factor and offset value will be applied during
export.
IgnoreSuppressed The flag to specify if suppressed engineering data will be ignored during export.
ReplaceMaterial The flag to specify if the earlier material data will be replaced in case of similar
material names.
Example
GetMaterial
Returns a material of a given name from a container.
The name matching is case insensitive. If a material is not found an exception is thrown.
Required Arguments
Example
The following example creates a new Engineering Data system and queries the default material,
Structural Steel.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 409
Engineering Data
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem(Position="Default")
container = system.GetContainer(ComponentName="Engineering Data")
structuralSteel = container.GetMaterial(Name="Structural Steel")
GetMaterials
Returns the list of materials in a container. If no materials are in the container, the list is empty.
Import
Imports engineering data into an existing source from a specified source.
Required Arguments
ImportMaterial
Reads the data for a single material into the requested container.
Required Arguments
Example
This code shows how to read the Copper Alloy material from the provided samples, into Engineering
Data to use in an analysis.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
410 of ANSYS, Inc. and its subsidiaries and affiliates.
installDir = r"C:\Program Files\ANSYS Inc\v121"
matl1 = engineeringData1.ReadMaterial(
Name="Copper Alloy",
Source=installDir+r"\Addins\EngineeringData\Samples\General_Materials.xml")
Refresh
This will repopulate the contents of an Engineering Data library with data from its source.
Save
Saves an Engineering Data library.
Optional Arguments
FilePath The optional string to specify the path if the Engineering Data library should be saved at
different location.
Data Entities
DelimitedDataObject
Entity to store the necessary information for importing delimited data.
Properties
Columns
List of columns to read in. Leave this unset to import all columns.
Columns=[3,5]
Read Only No
Delimiter
Delimiter type.
Delimiter=","
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 411
Engineering Data
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FileName
# Format 1 - File contains variable names and units # This information is the experimental data collected
from a uniaxial test on a elastomer sample # and was lifted from Hyperelastic Materials sample Elastomer
Sample (Mooney-Rivlin) # # Set "Start Import at Line" to 6 Strain, Stress # Variable Names (these corres-
pond to the names shown in the UI) m m^-1, Pa # Unit (these correspond to the unit strings shown in
the UI) 0.1338, 494.1474492 # Data point 1 0.2675, 912.7972764 # Data point 2 0.3567, 1172.453938 #
Data point 3
# Format 2 - File does not contain variable names and units, these are passed in by using the # Variable-
Names and VariableUnits parameters # This information is the experimental data collected from a uni-
axial test on a elastomer sample # and was lifted from Hyperelastic Materials sample Elastomer Sample
(Mooney-Rivlin) # # Set "Start Import at Line" to 7 0.1338, 494.1474492 # Data point 1 0.2675, 912.7972764
# Data point 2 0.3567, 1172.453938 # Data point 3
Read Only No
ReadLine
Line to start importing. Use this if your file has a header you wish to ignore. The line number you set
here must correspond to the row in your file with the variable names.
Read Only No
VariableNames
List of variable names, the list must have the same number of names as columns in the data. If the list
is null, it is assumed that the variable names are located in the file at line "BeginAtLine"
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
412 of ANSYS, Inc. and its subsidiaries and affiliates.
VariableUnits
List of variable units, the list must have the same number of units as columns in the data. If the list is
null, it is assumed that the variable units are located in the file at line "BeginAtLine" + 1
Read Only No
Methods
Import
Execute import, and appends delimited data to the MaterialProperty Data. Call this method after setting
the following properties of the DelimitedDataObject: FileName, Delimiter, Readline (optional), Columns
(optional).
Material
The entity to store material information.
Properties
Description
Read Only No
DisplayName
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Source
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 413
Engineering Data
SourceFileReference
Methods
AddToFavorites
CreateProperty
Includes a physical quantity or the constitutive relation for the physical response of a material. A property
can be visualized as one or more tables of data made up of one or more dependent and independent
variables.
The material property is created based on the specified optional parameters "Definition" and "Behavior".
Required Arguments
Optional Arguments
Behavior The optional string to identify the way in which a new material property will behave.
Behavior of some material properties can be specified in different ways, e.g., Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Definition The optional string to identify the way in which new material property will be defined.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
414 of ANSYS, Inc. and its subsidiaries and affiliates.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
The following example creates a new Engineering Data system and adds Coefficient of Thermal
Expansion and Elasticity material properties to the default material Structural Steel.
Coefficient of Thermal Expansion is created using Secant definition and Orthotropic behavior.
Elasticity is created using Orthotropic behavior.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
Delete
Duplicate
Duplicates the data in this material and returns a new material. The name of the new material will be
appended with a numerical value to make it unique.
Required Arguments
GetFieldVariableDataObject
Gets a FieldVariableDataObject from the specified parent. The parent determines which field variables
are tied to the data object
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 415
Engineering Data
Required Arguments
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
temperature = structuralSteel.GetFieldVariableDataObject(Name="Temperature")
GetProperty
Required Arguments
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
IsSuppressed
Material
Material Property
Material Property Data
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
416 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
IsValid
Optional Arguments
Refresh
This will repopulate the contents of a material with data from a given source. The NameInSource
property of a Material will be used to find a match in the source to pull data from. In the event that
NameInSource is not set, the DisplayName property will be used instead.
Note: This operation will cause destruction of any data currently in the material.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem(Position="Default")
container = system.GetContainer(ComponentName="Engineering Data")
structSteel = container.GetMaterial(Name="Structural Steel")
density = structSteel.GetProperty(Name="Density")
density.Delete()
structSteel.UpdateMaterial(Source="General_Materials.xml")
restoredDensity = structSteel.GetProperty(Name="Density")
restoredDensity.SetData(SheetName="", Index=0, Variables=["Density"], Values=[["8000 [kg m^-3]"]])
Required Arguments
RemoveFromFavorites
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 417
Engineering Data
Source The location of the file that contains the item on disk.
Type The type of the object to delete. This is either a Material or a Mixture.
Example
The following example gets the list of favorites from Engineering Data. It then selects and deletes
the "Gray Cast Iron" material from the list.
favorites = EngData.LoadFavoriteItems()
matl = favorites.GetMaterial(Name="Gray Cast Iron")
EngData.DeleteFromFavorites(
Material=matl,
Type="Material")
SetAsDefaultFluidForModel
This will specify the material to use (or not use) for parts in the model which are marked as a fluid.
If the material is in the Engineering Data component it will set or unset the material to be used in the
model component of the system(s) that contain this Engineering Data component.
If the material is contained in Favorites it will set or unset the material to use as the default on fluids
in the Engineering Data component when a new system is added to the project.
The material is set as the default in Favorites. It will automatically be added to the list of project defaults.
Optional Arguments
Default This Boolean is used to set or unset the material as the default.
SetAsDefaultSolidForModel
This will specify the material to use (or not use) for parts in the model which are marked as a solid.
If the material is in the Engineering Data component it will set or unset the material to be used in the
model component of the system(s) that contain this Engineering Data component.
If the material is contained in Favorites it will set or unset the material to use as the default on solids
in the Engineering Data component when a new system is added to the project.
The material is set as the default in Favorites. It will automatically be added to the list of project defaults.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
418 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
Default This Boolean is used to set or unset the material as the default.
SetColor
Required Arguments
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
structuralSteel.SetColor(Material="strucutralSteel", Red="255", Green="0", Blue="0")
SetOption
Required Arguments
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 419
Engineering Data
Material
Material property
Required Arguments
Unlink
Unlinks a material from its underlying source. Once this occurs, the material can no longer be restored
to its original state and the material will no longer have a source.
MaterialProperty
The entity to store material property information.
A material property is the identifier for the singular information (for example, Density) that together
with other properties defines or models the behavior of the material. A property is always defined by
at least one table (tabular data), which could be singular. Some properties can contain a collection of
tabular data (for example, Isotropic Elasticity).
Properties
Behavior
The string that defines the way in which the material property behaves, e.g., Elasticity has Isotropic,
Orthotropic or Anisotropic behavior.
Read Only No
Definition
The definition of the material property. Some material properties are defined in different ways, e.g.,
Thermal Expansion can be defined as Secant Coefficient of Thermal Expansion and Instantaneous
Coefficient of Thermal Expansion.
Read Only No
Description
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
420 of ANSYS, Inc. and its subsidiaries and affiliates.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PropertyDataColl
TypeName
Read Only No
Methods
AddTestData
Required Arguments
BeginBatchUpdate
Marks the start of a series of data modifications to a table of data, to improve performance.
CreatePropertyData
Include an additional property data for a material property. Some properties may have more than one
property data to describe the material property.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 421
Engineering Data
Optional Arguments
Behavior A string to identify how the new material property data will behave.
The behavior of some material properties can be specified in different ways, e.g.,
Elasticity can be specified as Isotropic, Orthotropic or Anisotropic.
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Definition A string to identify how the new material property data will be defined.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
The following example creates the material property data Orthotropic Secant Coefficient of Thermal
Expansion on the material property Coefficient of Thermal Expansion. This example assumes the
material Structural Steel has been obtained from the General Materials library.
Get the material property we are going to create a new material property data on.
orthoSecantThermExpansionMatPropData = thermExpansionMatProp.CreatePropertyData(
Name="Coefficient of Thermal Expansion",
Definition="Secant",
Behavior="Orthotropic")
Delete
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
422 of ANSYS, Inc. and its subsidiaries and affiliates.
Behavior of some material properties can be specified in different ways e.g. Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
Some material properties are defined in different ways e.g. Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
DeleteData
Required Arguments
Optional Arguments
SheetQualifiers SheetQualifiers is used to pass in the qualifiers to select between multiple sheets
witht the same name. This is a dictionary of the Qualifier and its Value.
Example
The following example illustrates the deletion of a row from a tabular data sheet.
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Delete the first row in the Density property
#
matlProp1 = matl1.GetProperty(Name="Density")
DeleteTabularDataRow(matlProp1, Index = 0)
#
# Delete the first row in the Coefficient of Thermal Expansion property with
# optional SheeetName and SheetQualifiers
#
matlProp2 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
DeleteTabularDataRow(matlProp2,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 423
Engineering Data
Index = 0)
EndBatchUpdate
GetChartData
Material Property
Material Property Data
GetData
Optional Arguments
AsDictionary If set to true, the data will be returned as a dictionary where the keys are variable
names and the values are the data for each variable. If set to false, the data will
be returned in scalar or list format without the variable names.
ColumnMajor If set to true, the data will be returned in column-major order. If set to false, the
data will be returned in row-major order.
EndIndex The end index for requesting a subset of the data (zero-based).
SheetName Specifies the sheet name when the data contains multiple sheets.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
424 of ANSYS, Inc. and its subsidiaries and affiliates.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
StartIndex The start index for requesting a subset of the data (zero-based).
Default Value 0
Variables Names of the variables for which data is requested (string or list of strings).
Example
In this example, all data is requested for the given tabular data entity.
tabData1.GetData()
tabData1.GetData(ColumnMajor=False)
tabData1.GetData(AsDictionary=True)
In this example, data for variables Density and Temperature is requested in dictionary format.
GetPropertyData
The property data returned is based on specified optional parameters "Definition" and "Behavior".
Return The material property data that matches specified type name, definition and behavior.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 425
Engineering Data
Optional Arguments
Behavior The optional string to specify the material property data behavior.
Behavior of some material properties can be specified in different ways, e.g., Elasticity
can be specified as Isotropic, Orthotropic or Anisotropic.
Definition The optional string to specify the material property data definition.
Some material properties are defined in different ways, e.g., Thermal Expansion can be
defined as Secant Coefficient of Thermal Expansion and Instantaneous Coefficient of
Thermal Expansion.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property data of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
IsSuppressed
Material
Material Property
Material Property Data
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
426 of ANSYS, Inc. and its subsidiaries and affiliates.
IsValid
Required Arguments
Optional Arguments
RemoveTestData
Required Arguments
SetData
Optional Arguments
Data Sets the data using a dictionary form. The keys are the variable names and the
values are the data. The use of this argument is mutually exclusive with "Values"
and "Variables".
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<Object (p. 1456)>>
Index Specifies the starting location used to set the data (zero-based). A value of -1
indicates that the data should be appended to the existing data.
Default Value 0
SheetName Specifies the sheet name when the data contains multiple sheets.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 427
Engineering Data
Values List of data values set in conjunction with the "Variables" parameter. This para-
meter and the "Data" parameter are mutually exclusive.
Variables Names of the variables for which data is being set. This parameter and and the
"Data" parameter are mutually exclusive.
Example
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Change the value of a simple single-valued property
#
matlProp1 = matl1.GetProperty(Name="Density")
SetTabularData(matlProp1,
Variables="Density",
Values="8500 [kg m^-3]")
#
# Set Temperature-dependent data for Elasticity based
# on lists of variables and values.
matlProp2 = matl1.GetProperty(Name="Elasticity")
temperature = ["400 [K]", "600 [K]", "800 [K]"]
E = ["2e5 [MPa]", "1.9e5 [MPa]", "1.6e5 [MPa]"]
SetTabularData(matlProp2,
Variables = ["Temperature","Young's Modulus"],
Values = [temperature, E])
#
# Change the Temperature for the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Temperature",
Values = "625 [K]")
#
# Set a list for Poisson's Ratio starting at the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Poisson's Ratio",
Values = [0.3, 0.3])
#
# Set Temperature-dependent property data for the Coefficient of Thermal Expansion
# using a dictionary. The dictionary key is the Variable name,
# followed by the list of values for the variable.
#
matlProp3 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
newData = {"Temperature": ["200 [F]","400 [F]","600 [F]","800 [F]","1000 [F]"],
"Coefficient of Thermal Expansion" : ["6.3e-6 [F^-1]", "7.0e-6 [F^-1]",
"7.46e-6 [F^-1]", "7.8e-6 [F^-1]",
"8.04e-6 [F^-1]"]}
SetTabularData(matlProp3,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Data = newData)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
428 of ANSYS, Inc. and its subsidiaries and affiliates.
SetQualifier
Required Arguments
Optional Arguments
SheetName The name of the tabular data sheet that contains the qualifier.
VariableName The name of the Variable that contains the qualifier to be changed.
VariableQualifiers VariableQualifiers can used to pass in the qualifiers to select between mul-
tiple variables witht the same name. This is a dictionary of the Qualifier and
its Value.
Example
The following example changes the 'Derive From' setting within an Isotropic Elasticity material
property to be "Bulk Modulus and Poisson's Ratio".
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 429
Engineering Data
Material
Material property
Required Arguments
MaterialPropertyData
The entity to store material property (tabular) data information. The material property data is a collection
of material variable data.
Properties
Behavior
The behavior of the material variable tabular data. Some material properties can have different behavior,
e.g., Elasticity has Isotropic, Orthotropic or Anisotropic behavior.
Read Only No
Definition
The definition of the material variable tabular data. Some material properties are defined in different
ways, e.g., Thermal Expansion can be defined as Secant Coefficient of Thermal Expansion and Instant-
aneous Coefficient of Thermal Expansion.
Read Only No
DependentColl
The collection of dependent variables in the material variable tabular data, e.g., Density.
Description
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
430 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IndependentColl
The collection of independent variables in the material variable tabular data, e.g., Temperature.
PrimaryIndependent
The primary independent variable in the material variable tabular data, e.g., Temperature.
RowsCount
The number of data values for a variable in the material variable tabular data.
TypeName
Read Only No
VariableColl
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 431
Engineering Data
Methods
BeginBatchUpdate
Marks the start of a series of data modifications to a table of data, to improve performance.
CreateCurveFitting
Required Arguments
Definition The definition of curve fitting to create. This must be a definition that is supported by
an engineering data curve fitting.
Type The type of curve fitting to create. This must be a type that is supported by an engin-
eering data curve fitting.
Example
The following example loads a material with experimental test data and a Neo-Hookean hyperelastic
property.
template = GetTemplate(TemplateName="EngData")
system = template.CreateSystem()
engineeringData = system.GetContainer(ComponentName="Engineering Data")
neopreneRubber = engineeringData.ReadMaterial(
Name="Neoprene Rubber",
Source="Hyperelastic_Materials.xml")
neoHookeanProperty = neopreneRubber.GetProperty(Name="Neo-Hookean")
neoHookeanPropertyData = neoHookeanProperty.GetPropertyData(Name="Neo-Hookean")
curveFit = neoHookeanPropertyData.CreateCurveFitting(
Type="Neo-Hookean",
Definition="")
uniaxialProperty = neopreneRubber.GetProperty(Name="Uniaxial Test Data")
curveFit.AddTestData(TestData=uniaxialProperty)
biaxialProperty = neopreneRubber.GetProperty(Name="Biaxial Test Data")
curveFit.AddTestData(TestData=biaxialProperty)
shearProperty = neopreneRubber.GetProperty(Name="Shear Test Data")
curveFit.AddTestData(TestData=shearProperty)
volumetricProperty = neopreneRubber.GetProperty(Name="Volumetric Test Data")
curveFit.AddTestData(TestData=volumetricProperty)
curveFit.RemoveTestData(TestData=uniaxialProperty)
curveFit.AddTestData(TestData=uniaxialProperty)
curveFit.Solve()
curveFit.CopyCoefficients(Destination=neoHookeanPropertyData)
curveFit.Delete()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
432 of ANSYS, Inc. and its subsidiaries and affiliates.
CreateDataProvider
Create a data provider for a give format. The only data provider currently supported is for Delimited
Text (used to import tabular data from a delimited data file).
Required Arguments
Example
CreateVariable
Required Arguments
Optional Arguments
CustomData The optional dictionary of custom data. A non-null dictionary designates the material
property as custom and not located in the Engineering Data Metadata.
Qualifiers The optional dictionary of a qualifier name and it's corresponding value.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 433
Engineering Data
Example
Delete
EndBatchUpdate
GetChartData
Material Property
Material Property Data
GetCurveFitting
GetFieldVariableDataObject
Gets a FieldVariableDataObject from the specified parent. The parent determines which field variables
are tied to the data object
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
434 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Example
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
structuralSteel = engineeringData1.GetMaterial(Name="Structural Steel")
temperature = structuralSteel.GetFieldVariableDataObject(Name="Temperature")
GetVariable
Required Arguments
Example
The following example creates new Engineering Data system and queries Coefficient of Thermal
Expansion property data of the default material Structural Steel.
ENGDTemplate = GetTemplate(TemplateName="EngData")
ENGDSystem = ENGDTemplate.CreateSystem(Position="Default")
# Get material
CTEProperty = StructSteel.GetProperty(Name="Coefficient of Thermal Expansion")
# Get material property data
CTEPropData = CTEProperty.GetPropertyData(
Name="Coefficient of Thermal Expansion",
Definition="Secant",
Behavior="Isotropic")
# Get material variable
CTEVariable = CTEPropData.GetVariable(
Name="Coefficient of Thermal Expansion")
IsSuppressed
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 435
Engineering Data
Material
Material Property
Material Property Data
IsValid
Validates a material property data and provides a message in case of invalid data.
Return The flag that indicates if the material property data is valid.
Required Arguments
Optional Arguments
SetSuppression
Item can be suppressed to prevent it from being sent to a downstream cell in the system.
Material
Material property
Required Arguments
MaterialVariable
The entity to store material variable information.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
436 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DatumColl
Read Only No
IsDependent
The flag that indicates if the material variable is dependent, e.g., Density is temperature dependent.
Read Only No
LowerBoundUnit
The unit of the lower bound data value in the material variable data.
Read Only No
LowerBoundValue
Read Only No
MaxValue
Read Only No
MinValue
Read Only No
Offset
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 437
Engineering Data
Read Only No
Scale
Read Only No
TypeName
Read Only No
UniqueData
Read Only No
UpperBoundUnit
The unit of the upper bound data value in the material variable data.
Read Only No
UpperBoundValue
Read Only No
Methods
Delete
IsValid
Validates a material variable data and provides a message in case of invalid data.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
438 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Optional Arguments
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 439
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
440 of ANSYS, Inc. and its subsidiaries and affiliates.
External Connection
External Connection
This container hold data for an instance of the External Process Connector.
Methods
ExecuteOperation
Command that wraps the script invoked by a custom GUI Operation
Required Arguments
GetExternalConnectionProperties
A Query to return a reference to the ExternalConnectionProperties entity
ReadConfiguration
Reads a External Connection configuration file.
Required Arguments
ReadParameterValues
Populates all the values of the parameters of a given type within a container.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 441
External Connection
Data Entities
ExternalConnectionProperties
This entity holds the properties used to connect a Workbench project to an external process or applic-
ation.
Properties
ConfigFile
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
WorkingDirectory
The path to the working directory. This is optional. If this value is not set, it defaults to the add-in dir-
ectory corresponding to the system ("project_files/dpN/sysDir/addinDir")
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
442 of ANSYS, Inc. and its subsidiaries and affiliates.
External Data
External Data
This container holds data to expose external results or data files within the Workbench project.
Methods
AddDataFile
Adds a data file to the outline
Required Arguments
GetExternalLoadData
Query to return the reference to the container's ExternalLoadData data entity.
GetExternalLoadOutput
Query to return the reference to the container's ExternalDataOutput data entity.
InsertDataFile
Adds a data file to the outline
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 443
External Data
Required Arguments
Index OBSOLETE PARAMETER; kept to provide compatability with older scripts Inserts the data
files in the specified location in the internal list. It is 0-based.
InsertSupportFile
Inserts a support file to the associated FileData
Required Arguments
ModifyRespositorySupportFile
Updates a support file to the associated FileData in the repository
Required Arguments
ModifySupportFile
Updates a support file to the associated FileData
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
444 of ANSYS, Inc. and its subsidiaries and affiliates.
RereadDataFiles
When you modify an External Data system's data file outside of the Workbench and you need to cause
the Workbench to re-read the data file.
ScanForFileChanges
This command is useful, when you modify an External Data system's data file outside of the Workbench
and you need to cause the Workbench to re-read the data file.
Data Entities
ExternalDataSetup
This is the DataObject which represents the data transfer provider for the External Data setup container.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ImportType
Read Only No
TransferDataObject
Read Only No
ExternalLoadColumnData
This entity contains information about the column data
Properties
DataType
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 445
External Data
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Identifier
Identifier of this column data. This will be used by the down stream applications
Read Only No
QuantityType
Read Only No
Unit
Read Only No
ExternalLoadData
This is the root level entity for the external data add-in
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
446 of ANSYS, Inc. and its subsidiaries and affiliates.
FilesData
Read Only No
Methods
DeleteFileData
Required Arguments
DuplicateFileData
Required Arguments
GetExternalLoadFileData
Required Arguments
ExternalLoadFileData
This entity contains information for the DataFile added to the outline
Properties
Description
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 447
External Data
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
FileDataProperty
Read Only No
Master
Makes the Data file as a Master or not. Only one Data file can be a Master.
Read Only No
Output
Read Only No
Methods
GetDataProperty
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
448 of ANSYS, Inc. and its subsidiaries and affiliates.
ModifyFileData
Required Arguments
SetAsMaster
Required Arguments
SetDelimiterCharacter
Required Arguments
SetDelimiterType
Required Arguments
Example
solution1.SetDelimiterType(
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 449
External Data
FileData=fileData,
FileDataProperty=fileDataProperty,
Delimiter=DelimiterType.Comma,
DelimiterString=",")
SetDummyNetData
Required Arguments
SetFormatType
Required Arguments
SetMaterialFieldData
Required Arguments
SetStartImportAtLine
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
450 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
ExternalLoadFileDataOutput
This entity contains information about each supporting file
Properties
Dirty
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
FileDataProperty
Read Only No
TranslationIdentifier
Read Only No
ExternalLoadFileDataProperty
Contains information displayed on the Properties pane
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 451
External Data
Properties
ColumnsData
Read Only No
ConversionOption
Read Only No
CoordinateSystemType
Specifies whether to use the Cartesian or Cylindrical coordinate system. The default value is Cartesian
Read Only No
DelimiterCharacter
Contains the delimiter character. Based on this value, number of columns are calculated
Read Only No
DelimiterType
Contains either the predefined delimiter or the user defined delimiter type
Read Only No
Dimensions
You can choose to either import data from 2D or 3D models. If the 2D option is selected, you will be
able to import data only at the X and Y coordinates. The Z coordinate is not supported for the 2D option.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
452 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
DummyNetData
Read Only No
FileIdentifier
A string that can be used to identify the file in the downstream Mechanical application. The data iden-
tifiers, from the Table pane, are appended to this string so that you can pick the correct source data in
the downstream Mechanical application.
Read Only No
FormatString
Contains the FormatString. Based on this value, number of columns are calculated
Read Only No
FormatType
This can be either Delimited or User-Defined. If the value is Delimited - Delimiter Character field is valid
If the value is User-Defined - FormatString field is valid
Read Only No
LengthUnit
Read Only No
MaterialFieldData
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 453
External Data
OriginX
Read Only No
OriginXUnit
Read Only No
OriginY
Read Only No
OriginYUnit
Read Only No
OriginZ
Read Only No
OriginZUnit
Read Only No
ScaleX
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
454 of ANSYS, Inc. and its subsidiaries and affiliates.
ScaleXToolTip
Read Only No
ScaleXValid
Read Only No
ScaleY
Read Only No
ScaleYToolTip
Read Only No
ScaleYValid
Read Only No
ScaleZ
Read Only No
ScaleZToolTip
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 455
External Data
ScaleZValid
Read Only No
Sliver
Read Only No
StartImportAtLine
The line number at which you want the data import to start. Line numbers start at 1.
Read Only No
SupportingFiles
Read Only No
ThetaXY
Read Only No
ThetaXYUnit
Read Only No
ThetaYZ
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
456 of ANSYS, Inc. and its subsidiaries and affiliates.
ThetaYZUnit
Read Only No
ThetaZX
Read Only No
ThetaZXUnit
Read Only No
Methods
GetColumnData
Required Arguments
SetColumnDataType
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 457
External Data
SetCoordinateSystemType
Required Arguments
SetDimensionLengthUnit
Required Arguments
SetDimensionType
Required Arguments
SetFormatString
Required Arguments
SetLengthUnit
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
458 of ANSYS, Inc. and its subsidiaries and affiliates.
ExternalLoadSupportingFileData
This entity contains information about each supporting file
Properties
Description
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
FileIdentifier
Read Only No
FileType
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 459
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
460 of ANSYS, Inc. and its subsidiaries and affiliates.
External Model Setup
Methods
AddDataFile
Adds a data file to the outline
Required Arguments
GetExternalModelData
Query to return the reference to the container's ExternalLoadData data entity.
GetExternalModelOutput
Query to return the reference to the container's ExternalDataOutput data entity.
InsertDataFile
Adds a data file to the outline
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 461
External Model Setup
Required Arguments
Index Inserts the data files in the specified location in the internal list. It is 0-based.
InsertSupportFile
Inserts a support file to the associated FileData
Required Arguments
ModifySupportFile
Updates a support file to the associated FileData
Required Arguments
Example
RereadDataFiles
When you modify an External Model system's data file outside of the Workbench and you need to cause
the Workbench to re-read the data file.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
462 of ANSYS, Inc. and its subsidiaries and affiliates.
ScanForFileChanges
This command is useful, when you modify an External Data system's data file outside of the Workbench
and you need to cause the Workbench to re-read the data file.
Data Entities
ExternalModelData
This is the root level entity for the external data add-in
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FilesData
Read Only No
Methods
DeleteFileData
Required Arguments
DuplicateFileData
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 463
External Model Setup
GetExternalModelFileData
Required Arguments
ExternalModelFileData
This entity contains information for the DataFile added to the outline
Properties
Description
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
FileDataProperty
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
464 of ANSYS, Inc. and its subsidiaries and affiliates.
Output
Read Only No
Methods
GetDataProperty
ModifyFileData
Required Arguments
ExternalModelFileDataOutput
Output data object for parsed/translated files
Properties
Dirty
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 465
External Model Setup
Read Only No
FileDataProperty
Read Only No
TranslationIdentifier
Read Only No
ExternalModelFileDataProperty
Contains information displayed on the Properties pane
Properties
CheckValidBlockedCdbFile
Check wether the given file is a valid CDB File. Default is true
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ElementComponentKey
Read Only No
ElementOffset
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
466 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Read Only No
FaceComponentKey
Read Only No
FileIdentifier
A string that can be used to identify the file in the downstream Mechanical application. The data iden-
tifiers, from the Table pane, are appended to this string so that you can pick the correct source data in
the downstream Mechanical application.
Read Only No
NodalComponentKey
Read Only No
NodeAndElementRenumberingMethod
By default this value is Automatic, specifies whether the user would like us to automatically renumber
his mesh elements to prevent unique id conflicts during assembly
Read Only No
NodeOffset
Read Only No
NumberOfCopies
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 467
External Model Setup
OriginX
Read Only No
OriginXUnit
Read Only No
OriginY
Read Only No
OriginYUnit
Read Only No
OriginZ
Read Only No
OriginZUnit
Read Only No
PlaneNormalX
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
468 of ANSYS, Inc. and its subsidiaries and affiliates.
PlaneNormalY
Read Only No
PlaneNormalZ
Read Only No
PlanePointX
Read Only No
PlanePointXUnit
Read Only No
PlanePointY
Read Only No
PlanePointYUnit
Read Only No
PlanePointZ
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 469
External Model Setup
PlanePointZUnit
Read Only No
ProcessElementComponents
Read Only No
ProcessFaceComponents
Read Only No
ProcessMesh200FromCdb
Read Only No
ProcessModelData
Process Model Data like Coordinate Systems, Element Orientations etc. On by default
Read Only No
ProcessNodalComponents
Read Only No
SupportingFiles
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
470 of ANSYS, Inc. and its subsidiaries and affiliates.
ThetaXY
Read Only No
ThetaXYUnit
Read Only No
ThetaYZ
Read Only No
ThetaYZUnit
Read Only No
ThetaZX
Read Only No
ThetaZXUnit
Read Only No
TransformationType
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 471
External Model Setup
TransformOriginal
Whether or not we are going to transform the first instance of the model
Read Only No
UnitSystem
The unit system the user is using; the length unit is set based on this property
Read Only No
Methods
SetApplicationSource
Required Arguments
SetUnitSystem
Required Arguments
ExternalModelSupportingFileData
Entity to for any additionally linked files
Properties
Description
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
472 of ANSYS, Inc. and its subsidiaries and affiliates.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
FileIdentifier
Read Only No
FileType
Read Only No
RelativePath
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 473
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
474 of ANSYS, Inc. and its subsidiaries and affiliates.
FLUENT
FLUENT Setup
This container holds Setup data for an instance of FLUENT.
Methods
CopyLauncherSettings
Copies the FLUENT Launcher Settings from one FLUENT Setup or Solution container to another FLUENT
Setup or Solution container.
Edit
Opens the FLUENT editor to allow modification of FLUENT data.
This command will open the editor only if one is not already open on this system. If this system’s editor
is already open and in interactive mode, then it will be raised to the front.
Exit
Exits the FLUENT editor.
If no editor is open on the component in question, this command will have no effect.
GetFluentLauncherSettings
Returns the Data Entity which contains the Setup container's settings for the FLUENT Launcher.
Import
Imports the FLUENT mesh and FLUENT case settings into the FLUENT editor from an existing FLUENT
.msh or .cas file; replacing the current FLUENT mesh and FLUENT case settings. If the imported file
contains only a mesh, then the FLUENT case settings will be set to FLUENT's default values.
SendCommand
Execute a scheme, FLUENT GUI, or FLUENT TUI command(s) in the currently open FLUENT session.
FLUENT GUI commands cannot be run if the currently open FLUENT session is running in no GUI mode.
If the FLUENT editor is not open, it will throw an error message suggesting to start editor first.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 475
FLUENT
Example
The following code shows how to execute the commands in a FLUENT journal file:
Data Entities
ChartVariable
Entity representing a variable in Convergence Chart
Properties
Color
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
LineWidth
Read Only No
QuantityName
Read Only No
SymbolSize
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
476 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Methods
DeleteChartVariable
ConvergenceChart
Entity to store a convergence chart information.
Properties
AxisX
Associated X Axis
Read Only No
AxisY
Associated Y Axis
Read Only No
ChartType
Read Only No
Variables
Read Only No
XAxis
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 477
FLUENT
Methods
GetAxis
Required Arguments
GetChartVariable
Required Arguments
GetChartVariables
FluentLauncherSettings
Allows you to specify FLUENT Launcher settings for Fluent Setup/Solution cells.
Properties
CachePassword
Specify whether or not you want to save the HP-MPI password for later use.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
478 of ANSYS, Inc. and its subsidiaries and affiliates.
ClusterHeadNode
Read Only No
ClusterJobTemplate
A custom submission policy created by an IT administrator to define the job parameters for an application
and employed by the cluster users to submit jobs. Relevant for Microsoft Job Scheduler.
Read Only No
ClusterNodeGroup
Used to set specific node group(s) on which to run the job. Relevant for Microsoft Job Scheduler.
Read Only No
ClusterProcessorUnit
Select the unit type (node/socket/core) on which the job would be running. Relevant for Microsoft Job
Scheduler.
Read Only No
ConvertUNCPath
Specify whether or not to convert a local path to a UNC path if any matching shared directory is found.
Read Only No
CreateJobSubmissionXML
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 479
FLUENT
DisplayMesh
Specify whether or not to show the mesh after the mesh file or the case/data file has been read into
FLUENT.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EmbedGraphicsWindows
Specify whether or not to embed the graphics windows in the FLUENT application window, or to have
the graphics windows free-standing.
Read Only No
EnvPath
Read Only No
Initialization
Read Only No
InitSolutionDataFile
Spepcify the solution data file to be used for initializing the solution.
Read Only No
Interconnect
Specify the interconnect that you wish to use for parallel calculations
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
480 of ANSYS, Inc. and its subsidiaries and affiliates.
(e.g., ethernet, infiniband, etc.).
Read Only No
JobScheduler
Use available Resource Manager (LSF, SGE, PBSPro) to launch FLUENT job
Read Only No
JobSubmissionXmlFile
Read Only No
LoadACTStartPage
Read Only No
LSFCheckpointPeriod
Read Only No
LSFQueue
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 481
FLUENT
LSFUseAutomaticCheckpointing
Specify whether or not you want to use automatic checkpointing with LSF. The specific interval for
checkpointing is determined by the LSFCheckpointPeriod property.
Read Only No
MachineFileName
Specify the name of the file that contains a list of machine names to run the parallel job.
Read Only No
MachineList
Read Only No
MachineSpec
Read Only No
MpiType
Specify the MPI type that you wish to use for the parallel calculations
Read Only No
NumberOfProcessors
Specify the number of processors you wish to use for the parallel calculations (e.g., 2, 4, etc.).
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
482 of ANSYS, Inc. and its subsidiaries and affiliates.
NumberOfProcessorsMeshing
Specify the number of processors you wish to use for the meshing parallel calculations (e.g., 2, 4, etc.).
Read Only No
Precision
Read Only No
PrePostOnly
Specify whether or not you want to run FLUENT in PrePost mode, which only allows you to set up or
postprocess a problem (i.e., no calculations can be performed)
Read Only No
RemoteFluentRootPath
Read Only No
RemoteHostName
Specify the name of the head machine on the remote Linux cluster.
Read Only No
RemoteRshCommand
Specify the command to connect to the remote node (the default is SSH).
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 483
FLUENT
RemoteRshOtherCommand
Specify the custom SSH spawn command used to connect to the remote Linux machine.
Read Only No
RemoteRunOnLinux
Specify whether or not you want to run your FLUENT simulation on 64-bit Linux machines.
Read Only No
RemoteUseHost
Specify whether or not to use the remote cluster head node that FLUENT will connect to for spawning
(e.g., via rsh or ssh).
Use the RemoteHostName property to specify the name of the remote cluster head node.
Read Only No
RemoteUseWorkingDirectory
Specify whether or not to use a working directory for remote Linux nodes.
Use the RemoteWorkingDirectory property to specify the name of the working directory.
Read Only No
RemoteWorkingDirectory
Specify the name of the working directory for remote Linux nodes.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
484 of ANSYS, Inc. and its subsidiaries and affiliates.
RunParallel
Specify whether or not you want to run the parallel version of FLUENT.
Read Only No
SetupCompilationEnvironment
Specify whether or not you want to define settings for compiling user-defined functions (UDFs) with
FLUENT.
Read Only No
SGEPE
Specify the SGE parallel environment where you want to submit your FLUENT jobs.
Read Only No
SGEQMaster
Read Only No
SGEQueue
Specify the name of the queue where you want to submit your FLUENT jobs.
Read Only No
SGESettings
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 485
FLUENT
Read Only No
SGEUseSettings
Read Only No
ShowLauncher
Read Only No
StartWhenResourcesAvailable
Specify whether or not to start the FLUENT job when resources are available.
Read Only No
UDFPath
Specify the path to the UDF compilation script (available when SetupCompilationEnvironment is TRUE).
Read Only No
UseJobScheduler
Read Only No
UseLSFCheckpoint
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
486 of ANSYS, Inc. and its subsidiaries and affiliates.
This property is only available when using compute nodes on Linux.
Read Only No
UseLSFQueue
Read Only No
UseSharedMemory
Specify whether or not to use shared memory on the local machine or to use distributed memory on
a cluster.
Read Only No
UseUpstreamLauncherSettings
Specify whether or not the current system's Solution cell should use FLUENT Launcher's property settings
from the current system's Setup cell.
Read Only No
WorkbenchColorScheme
Specify whether or not to use the Workbench color scheme in the graphics window, or the classic black
background color.
Read Only No
ROMSetup
Entity which manages the setup of the ROM feature. This DataObject must be held by a solver addin
container. The solver addin container will then be used as an identifier for the solver addin system.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 487
FLUENT
Read Only No
Setup
Read Only No
Solver
Identification of the solver. The import of an evaluation archive will only be allowed if the solver that
wrote the archive has the same name as the one consuming it.
SetupData
Data entity of Setup cell. Allows you to change attributes of Setup cell.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
GenerateSetupOutput
Allows you to generate case file for Setup cell if mesh file is input or mesh operations are defined
Read Only No
SolverSystemHandler
This entity handles the output produced by a solver addin. There is one instance of SolverSystemHand-
lerDataObject per registered solver system. It holds all the outputs coming from a solver system (snapshot
files, mesh files, solver specific files).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
488 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
ActionMode
Read Only No
ContainedApprovedGeneratedData
Indicate that the data for this system have been outdated by a non parametric change then approved
as still valid by the user.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MeshFile
Read Only No
OutdatedDueToNonParametricChange
Indicate that the data of this system are outdated and not usable.
Read Only No
ProcessedMeshFile
Read Only No
ProjectHandler
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 489
FLUENT
Read Only No
Setup
SnapshotCache
Handle the snapshot cache of this solver system. Will be assigned only in Production, and null overwise.
Read Only No
FLUENT Solution
This container holds Solution data for an instance of FLUENT.
Methods
Continue
Continue solving from current solution. This command should only be used when the Solution component
is either Interrupted or Up-to-Date.
CopyLauncherSettings
Copies the FLUENT Launcher Settings from one FLUENT Setup or Solution container to another FLUENT
Setup or Solution container.
Edit
Opens the FLUENT editor to allow modification of FLUENT data.
This command will open the editor only if one is not already open on this system. If this system’s editor
is already open and in interactive mode, then it will be raised to the front.
Exit
Exits the FLUENT editor.
If no editor is open on the component in question, this command will have no effect.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
490 of ANSYS, Inc. and its subsidiaries and affiliates.
GenerateFluentReportContent
Generate the report fluent solution container.
Required Arguments
GetComponentSettingsForRsmDpUpdate
This query is used to obtain the ComponentSettingsForRsmDpUpdate object for Journaling and
Scripting
GetConvergenceChart
Returns the convergence chart of a given name in a container.
Required Arguments
GetConvergenceCharts
Returns the collection of convergence charts in a container. If no convergence charts are in the container,
the collection is empty.
GetFluentLauncherSettings
Returns the Data Entity which contains the Setup container's settings for the FLUENT Launcher.
GetFluentSolutionProperties
Returns the Data Entity which manages settings and data for the FLUENT Solution component.
GetSolutionSettings
This query is used to obtain the component solve settings object for Journaling and Scripting
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 491
FLUENT
ImportInitialData
Imports an existing FLUENT .dat file as initial conditions for the FLUENT editor.
Discards the currently available Solution Data (and all stored previous solution points).
MarkUpdateRequired
Accepts an interrupted Solution as Update Required.
MarkUpToDate
Accepts an interrupted Solution as Up-to-Date.
The specified Solution component should be in Interrupted state. As a result of this command, the
Solution will be marked Up-to-date.
SendCommand
Execute a scheme, FLUENT GUI, or FLUENT TUI command(s) in the currently open FLUENT session.
FLUENT GUI commands cannot be run if the currently open FLUENT session is running in no GUI mode.
If the FLUENT editor is not open, it will throw an error message suggesting to start editor first.
Example
The following code shows how to execute the commands in a FLUENT journal file:
Data Entities
AxisContinuous
Data entity for Scenegraph axis.
Properties
AutomaticRange
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
492 of ANSYS, Inc. and its subsidiaries and affiliates.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
QuantityName
Read Only No
RangeMaximum
Read Only No
RangeMinimum
Read Only No
Scale
Read Only No
Title
Read Only No
ChartVariable
Entity representing a variable in Convergence Chart
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 493
FLUENT
Properties
Color
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
LineWidth
Read Only No
QuantityName
Read Only No
SymbolSize
Read Only No
Methods
DeleteChartVariable
ChartVariableData
Entity representing a variable in Convergence Chart
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
494 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
VariableDimension
Read Only No
VariableIndex
Read Only No
VariableType
Read Only No
ComponentSolveSettingsForAddin
This class contains the solve settings for Addin solution components to use
Properties
ConfiguredQueue
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 495
FLUENT
Read Only No
EnablePolling
Read Only No
ExecutionMode
execution mode
Read Only No
NumberOfProcesses
Read Only No
PollingInterval
Read Only No
RsmJobName
Read Only No
RsmQueueDetails
Read Only No
UpdateOption
Update mode
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
496 of ANSYS, Inc. and its subsidiaries and affiliates.
Type JobRunMode (p. 1444)
Read Only No
ConvergenceChart
Entity to store a convergence chart information.
Properties
AxisX
Associated X Axis
Read Only No
AxisY
Associated Y Axis
Read Only No
ChartType
Read Only No
Variables
Read Only No
XAxis
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 497
FLUENT
Methods
GetAxis
Required Arguments
GetChartVariable
Required Arguments
GetChartVariables
FluentLauncherSettings
Allows you to specify FLUENT Launcher settings for Fluent Setup/Solution cells.
Properties
CachePassword
Specify whether or not you want to save the HP-MPI password for later use.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
498 of ANSYS, Inc. and its subsidiaries and affiliates.
ClusterHeadNode
Read Only No
ClusterJobTemplate
A custom submission policy created by an IT administrator to define the job parameters for an application
and employed by the cluster users to submit jobs. Relevant for Microsoft Job Scheduler.
Read Only No
ClusterNodeGroup
Used to set specific node group(s) on which to run the job. Relevant for Microsoft Job Scheduler.
Read Only No
ClusterProcessorUnit
Select the unit type (node/socket/core) on which the job would be running. Relevant for Microsoft Job
Scheduler.
Read Only No
ConvertUNCPath
Specify whether or not to convert a local path to a UNC path if any matching shared directory is found.
Read Only No
CreateJobSubmissionXML
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 499
FLUENT
DisplayMesh
Specify whether or not to show the mesh after the mesh file or the case/data file has been read into
FLUENT.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EmbedGraphicsWindows
Specify whether or not to embed the graphics windows in the FLUENT application window, or to have
the graphics windows free-standing.
Read Only No
EnvPath
Read Only No
Initialization
Read Only No
InitSolutionDataFile
Spepcify the solution data file to be used for initializing the solution.
Read Only No
Interconnect
Specify the interconnect that you wish to use for parallel calculations
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
500 of ANSYS, Inc. and its subsidiaries and affiliates.
(e.g., ethernet, infiniband, etc.).
Read Only No
JobScheduler
Use available Resource Manager (LSF, SGE, PBSPro) to launch FLUENT job
Read Only No
JobSubmissionXmlFile
Read Only No
LoadACTStartPage
Read Only No
LSFCheckpointPeriod
Read Only No
LSFQueue
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 501
FLUENT
LSFUseAutomaticCheckpointing
Specify whether or not you want to use automatic checkpointing with LSF. The specific interval for
checkpointing is determined by the LSFCheckpointPeriod property.
Read Only No
MachineFileName
Specify the name of the file that contains a list of machine names to run the parallel job.
Read Only No
MachineList
Read Only No
MachineSpec
Read Only No
MpiType
Specify the MPI type that you wish to use for the parallel calculations
Read Only No
NumberOfProcessors
Specify the number of processors you wish to use for the parallel calculations (e.g., 2, 4, etc.).
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
502 of ANSYS, Inc. and its subsidiaries and affiliates.
NumberOfProcessorsMeshing
Specify the number of processors you wish to use for the meshing parallel calculations (e.g., 2, 4, etc.).
Read Only No
Precision
Read Only No
PrePostOnly
Specify whether or not you want to run FLUENT in PrePost mode, which only allows you to set up or
postprocess a problem (i.e., no calculations can be performed)
Read Only No
RemoteFluentRootPath
Read Only No
RemoteHostName
Specify the name of the head machine on the remote Linux cluster.
Read Only No
RemoteRshCommand
Specify the command to connect to the remote node (the default is SSH).
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 503
FLUENT
RemoteRshOtherCommand
Specify the custom SSH spawn command used to connect to the remote Linux machine.
Read Only No
RemoteRunOnLinux
Specify whether or not you want to run your FLUENT simulation on 64-bit Linux machines.
Read Only No
RemoteUseHost
Specify whether or not to use the remote cluster head node that FLUENT will connect to for spawning
(e.g., via rsh or ssh).
Use the RemoteHostName property to specify the name of the remote cluster head node.
Read Only No
RemoteUseWorkingDirectory
Specify whether or not to use a working directory for remote Linux nodes.
Use the RemoteWorkingDirectory property to specify the name of the working directory.
Read Only No
RemoteWorkingDirectory
Specify the name of the working directory for remote Linux nodes.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
504 of ANSYS, Inc. and its subsidiaries and affiliates.
RunParallel
Specify whether or not you want to run the parallel version of FLUENT.
Read Only No
SetupCompilationEnvironment
Specify whether or not you want to define settings for compiling user-defined functions (UDFs) with
FLUENT.
Read Only No
SGEPE
Specify the SGE parallel environment where you want to submit your FLUENT jobs.
Read Only No
SGEQMaster
Read Only No
SGEQueue
Specify the name of the queue where you want to submit your FLUENT jobs.
Read Only No
SGESettings
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 505
FLUENT
Read Only No
SGEUseSettings
Read Only No
ShowLauncher
Read Only No
StartWhenResourcesAvailable
Specify whether or not to start the FLUENT job when resources are available.
Read Only No
UDFPath
Specify the path to the UDF compilation script (available when SetupCompilationEnvironment is TRUE).
Read Only No
UseJobScheduler
Read Only No
UseLSFCheckpoint
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
506 of ANSYS, Inc. and its subsidiaries and affiliates.
This property is only available when using compute nodes on Linux.
Read Only No
UseLSFQueue
Read Only No
UseSharedMemory
Specify whether or not to use shared memory on the local machine or to use distributed memory on
a cluster.
Read Only No
UseUpstreamLauncherSettings
Specify whether or not the current system's Solution cell should use FLUENT Launcher's property settings
from the current system's Setup cell.
Read Only No
WorkbenchColorScheme
Specify whether or not to use the Workbench color scheme in the graphics window, or the classic black
background color.
Read Only No
FluentSolutionProperties
Entity that manages settings and data for the FLUENT Solution component.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 507
FLUENT
Read Only No
EnableDataInterpolation
It allows to generate the interpolation file at the end of calculation. It can be used as inial data for next
calculation even if inout mesh data has changed.
Read Only No
EnableSolutionMonitoring
It allows to generate the solution monitoring data which can be viewed using commands at Solution
cell.
Read Only No
GeneratePlotImages
Read Only No
GeneratePostProcessingImages
It allows to generate the image files at the end of calculation for fluent post processing objects.
Read Only No
FLUENT TGridData
This container holds TGrid data for an instance of FLUENT.
Data Entities
TGridCADImportOptions
Entity represents CAD import properties from upstream geometry to Fluent Meshing cell
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
508 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FeatureAngle
Allows user to specify the feature angle to determine the features to be imported. The default value is
40.
Read Only No
TessellationOption
Read Only No
Units
Specifies the length unit to scale the mesh on import. Models created in other units will be scaled ac-
cordingly. The default is meters (m).
Read Only No
UseWorkflow
Option that allow user to choose whether to add or not the Import Geometry task in a workflow
Read Only No
TGridData
Data entity of Fluent Meshing cell. Allows you to change attributes of Fluent Meshing cell.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 509
FLUENT
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
RunParallel
Specify whether or not you want to run the parallel version of FLUENT.
Read Only No
SaveCheckpointFiles
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
510 of ANSYS, Inc. and its subsidiaries and affiliates.
Forte
Forte Solution
This container holds Solution data for an instance of Forte.
Data Entities
ComponentFile
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
Properties
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 511
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
512 of ANSYS, Inc. and its subsidiaries and affiliates.
Geometry
Geometry
This container holds imported or generated geometry from an instance of DesignModeler.
Methods
Edit
The Edit command starts the geometry editor, which is either DesignModeler or SpaceClaim, if it is not
already running. If the geometry editor is already running, this command brings its window into focus.
If a CAD file is assigned to a geometry component, the file is loaded in the geometry editor.
Optional Arguments
IsSpaceClaimGeometry Whether to edit the geometry in SpaceClaim. If the user wants to use
SpaceClaim as the geometry editor, then IsSpaceClaimGeometry should
be set to true. If the user wants to use DesignModeler as the geometry
editor, then IsSpaceClaimGeometry should be set to false.
Example
The following example creates a geometry system from the Geometry template, then launches the
SpaceClaim editor in interactive mode.
template1 = GetTemplate(TemplateName="Geometry")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 513
Geometry
system1 = template1.CreateSystem()
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.Edit(IsSpaceClaimGeometry=True)
Exit
The Exit command shuts down the running session of the geometry editor. Before shutting down, the
geometry is brought up to date and the editor saves its database.
The editor session cannot be closed if it is busy in generating features or seeking the user's input. In
such situations, this command throws an ApplicationBusyException exception.
Export
The export command exports geometry data in the running geometry editor to the location specified
in its FilePath argument. The export file CAD format is deduced from the extension of FilePath.
Available options:
Required Arguments
Example
Suppose the geometry in the container "Geometry" needs to be exported to IGES and STEP formats.
This can be achieved by the following example.
geometry1 = GetDataContainer("Geometry")
geometry1.Export(FilePath="C:/Models/geometry1.iges")
geometry1.Export(FilePath=AbsUserPathName("Models/geometry1.step"))
GetGeometryProperties
Return a reference to DataEntity managing property settings of Geometry Container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
514 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Refresh
The Refresh command refreshes the input data in a geometry component by consuming all changed
data from upstream (source) components. This command also updates the modified parameters in the
geometry editor.
After successful execution of this command, the geometry component goes into the "update required"
state.
Optional Arguments
RunScript
Executes a script in the assigned geometry editor, which must be running. SpaceClaim will accept Python
(.py) and SpaceClaim Script (.scscript) files. DesignModeler will accept JavaScript (.js) or Python (.py)
files.
Required Parameters:
Required Arguments
Optional Arguments
SendCommand
SendCommand sends a javascript or python command string to the geometry editor for execution. If
the editor is not open, it will be launched to execute the commands and then closed. If the editor is
already running, it will remain running after command execution.
If the editor is busy and not available for executing the instructions, SendCommand throws an Applic-
ationBusyException exception.
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 515
Geometry
The following command will add a sketch with an elliptical curve in the DesignModeler editor.
Required Arguments
Optional Arguments
Example
system1 = GetSystem(Name="Geom")
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.SendCommand( Command = """var ps1 = new Object();
ps1.Plane = agb.GetActivePlane();
ps1.Origin = ps1.Plane.GetOrigin();
ps1.XAxis = ps1.Plane.GetXAxis();
ps1.YAxis = ps1.Plane.GetYAxis();
ps1.Sk1 = ps1.Plane.NewSketch();
ps1.Sk1.Name = "Sketch1";
with (ps1.Sk1) { ps1.El7 = Ellipse( 8.0, 10.0, 9.0, 6.0, 5.0, 12.0); }
agb.Regen();""")
SetFile
Adds a Geometry file to the Geometry System. The file processed by the geometry editor.
Available options:
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
516 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
Example
geometry1 = GetDataContainer("Geometry")
geometry1.SetFile("C:/Models/block.iges")
geometry2 = GetDataContainer("Geometry 1")
geometry2.SetFile(FilePath=AbsUserPathName("Models/block.prt.1"), PlugInName="ProEngineer[1]")
Stop
The Stop command shuts down the running session of of the Geometry Editor immediately, without
saving its unsaved data.
The editor session can not be stopped if it is busy in importing or exporting CAD files. In such situations,
this command throws an ApplicationBusyException exception.
UpdateCAD
The UpdateCAD command updates the geometry component using parameter values from the Geometry
Editor. If the parameters are coming from external CAD systems through attach features in the editor,
then the attach feature is refreshed to update the parameters. The editor model is re-generated using
the updated parameter values.
UpdateICManagerParam
Update IC Manager Param updates any of the exposed ICManager parameters
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 517
Geometry
WriteNDFFile
Writes a BladeModeler Neutral Data Files (xml format) for each flowpath present in the DM model. In
the case of a single FlowPath a single NDF file is written. For multiple flowpaths the specified filename
is appended with the _[flowpath name] as multiple files are exported.
Required Parameters:
Required Arguments
Data Entities
Geometry
Geometry data object
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
GeometryFilePath
The location of file currently assigned to geometry component. DesignModeler process this file when
started through Edit command.
Read Only No
GeometryImportAnalysisType
Analysis Type preference. Import 3D objects or 2D objects (objects must be in the x-y plane)
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
518 of ANSYS, Inc. and its subsidiaries and affiliates.
GeometryImportCadAssociativity
Associativity preference. Indicates if action should be taken to allow associativity. This option is present
because some CAD systems take too long to compute associativity.
Read Only No
GeometryImportCadAttributes
Import Attributes preference. Allows import of CAD system attributes into the Mechanical application
models. Enable this option to import Motion Loads.
Read Only No
GeometryImportCadAttributesFilter
Import Attributes filter Key. (Displayed only when Attributes is selected.) This field can have any number
of prefixes with each prefix delimited by a semicolon. If the filter is set to an empty string all applicable
entities will be imported as Attributes.
Read Only No
GeometryImportCleanGeometryOnImport
Clean
Read Only No
GeometryImportComparePartsOnUpdate
Compare Parts On Update preference. Runs a post update comparison of parts from the original model
and the new one. Marking those which have no topological or geometric changes as unmodified. This
marking saves the time for remeshing.
Read Only No
GeometryImportComparePartsTolerance
Compare Parts Tolerance Preference. Sets one of three tolerance values for comparison when running
Compare Parts On Update
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 519
Geometry
GeometryImportCoordinateSystems
Import Coordinate Systems preference. Specifies whether coordinate systems created in the CAD applic-
ation should be imported into the Mechanical application.
Read Only No
GeometryImportCoordinateSystemsFilter
Import Coordinate Systems filter Key. (Displayed only when Coordinate Systems is selected.) This field
can have any number of prefixes with each prefix delimited by a semicolon. If the filter is set to an
empty string all applicable entities will be imported asCoordinate Systems.
Read Only No
GeometryImportDecomposeDisjointFaces
Decompose Disjoint Face preference. Use to turn on/off the breaking of disjoint faces into multiple
faces.
Read Only No
GeometryImportFacetQuality
Read Only No
GeometryImportFlattenAssembly
Read Only No
GeometryImportImportUsingInstances
Import Using Instances preference. Processes a CAD model by honoring its part instances to produce
faster attach times and smaller database sizes.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
520 of ANSYS, Inc. and its subsidiaries and affiliates.
GeometryImportLineBodies
Import Line Bodies preference. (If mixed dimension parts, Mixed Import Resolution preference is used.)
Read Only No
GeometryImportMaterialProperties
Import Material Properties preference. Allows import of material data defined in the CAD system. Only
a subset of material data will be imported. This will include Young's Modulus, Poisson Ratio, Mass
Density, Specific Heat, Thermal Conductivity and Thermal Expansion Coefficient. Limited additional data
may be imported depending on CAD support.
Read Only No
GeometryImportMixedResolutionOption
Mixed Import Resolution preference. Allows parts of mixed dimension to be imported as components
of assemblies which have parts of different dimension.
Read Only No
GeometryImportNamedSelections
Import Named Selections preference. Creates a named selection based on data generated in the CAD
system or in the DesignModeler application.
Read Only No
GeometryImportNamedSelectionsFilter
Import Named Selections filter Key. (Displayed only when Named Selections is selected.) This field can
have any number of prefixes with each prefix delimited by a semicolon. If the filter is set to an empty
string all applicable entities will be imported as Named Selections.
Read Only No
GeometryImportParameters
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 521
Geometry
GeometryImportParametersFilter
Import Parameter filter Key. (Displayed only when Parameters is selected.) Allows user to specify a key
that must appear at the beginning or end of a CAD parameter name to be imported. If the filter is set
to an empty string all CAD parameters will be imported.
Read Only No
GeometryImportProcessEnclosures
Enclosure and Symmetry preference. Use to turn on/off the processing of enclosure and symmetry
named selections.
Read Only No
GeometryImportSavePartFile
Reader Mode Saves Updated File preference. When set to Yes, the interface will save the part file of a
model at the end of an update process using the same file name in the same directory.
Read Only No
GeometryImportSmartUpdate
Smart CAD Update preference. Speeds up refresh of models that have unmodified components. If set
to Yes and changes are made to other preferences, these will not be respected if the component is
smart updated.
Read Only No
GeometryImportSolidBodies
Import Solid Bodies preference. (If mixed dimension parts, Mixed Import Resolution preference is used.)
Read Only No
GeometryImportSpaceClaimExplodeUnsharedComponents
GeometryImportSpaceClaimExplodeUnsharedComponents
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
522 of ANSYS, Inc. and its subsidiaries and affiliates.
GeometryImportStitchSurfacesOnImport
Read Only No
GeometryImportStitchTolerance
Defines the tolerance value to be used when attempting to stitch the surfaces together the value is in
meter units
Read Only No
GeometryImportSurfaceBodies
Import Surface Bodies preference. (If mixed dimension parts, Mixed Import Resolution preference is
used.)
Read Only No
GeometryImportWeightclass
Read Only No
GeometryImportWorkPoints
Import Work Points preference. Specifies whether work points created in the CAD application should
be imported into the Mechanical application.
Read Only No
PlugInName
Current PlugInName - Returns TempPlugin if active DM session is editing. Otherwise return the real
plugin name. This is also not persisted.
Read Only No
TeamcenterConnection
The source string obtained from the Teamcenter, pointing to the NX geometry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 523
Geometry
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
524 of ANSYS, Inc. and its subsidiaries and affiliates.
Graphics
Graphics
This container holds charts and graphics objects in the project.
Data Entities
AxisContinuous
A chart axis that spans a set of continuous values. An example is an axis of an XY plot.
Properties
AutoScale
This property will define whether or not automatic scaling should be applied to the axis, or whether
the RangeMin and RangeMax should be used.
Read Only No
Label
Read Only No
Logarithmic
This property controls whether the axis scaling is to be logarithmic or linear. The default is linear scaling.
Read Only No
RangeMax
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 525
Graphics
RangeMin
Read Only No
ShowGrid
Read Only No
TitleBackgroundColor
This defines the background color of an axis title. This is particularly useful when you want to be able
to identify which variable is associated with which axis. The default is transparent.
Read Only No
Usability
Determine whether this axis represents a usability axis. A usability axis presents discrete allowable values
rather than continuous values.
Read Only No
AxisDiscrete
A chart axis that represents a set of discrete values. An example is an axis of a bar chart.
Properties
AutoScale
This property will define whether or not automatic scaling should be applied to the axis, or whether
the RangeMin and RangeMax should be used.
Read Only No
Label
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
526 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RangeMax
The index of the last division of the discrete data to be used. If this is -1 then it is undefined and will
be determined dependent on the data.
Read Only No
RangeMin
The index of the first division of the discrete data to be used. If this is -1 then it is undefined and will
be determined dependent on the data.
Read Only No
ShowGrid
Read Only No
TitleBackgroundColor
This defines the background color of an axis title. This is particularly useful when you want to be able
to identify which variable is associated with which axis. The default is transparent.
Read Only No
ChartXY
This entity provides general properties for an XY (i.e. two dimensional) chart. Plotting details are determ-
ined from the associated variables and axes.
Properties
Legend
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 527
Graphics
Style
Read Only No
Title
Read Only No
Variables
The variables to be displayed in this chart. This can be a list of Variable, VariableXY or VariableXYZ data
entities.
Read Only No
XAxis
Read Only No
XAxisSecondary
Read Only No
YAxis
Read Only No
YAxisSecondary
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
528 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
ChartXYZ
This chart is a canvas for an XYZ plot, the manor of plotting will be determined by the specified variables.
Properties
Legend
Read Only No
Style
Read Only No
Title
Read Only No
Variables
The variables to be displayed in this chart. This can be a list of Variable, VariableXY or VariableXYZ data
entities.
Read Only No
XAxis
Read Only No
YAxis
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 529
Graphics
Read Only No
ZAxis
Read Only No
CorrelationMatrix
A Correlation Matrix uses a tabular graphic to display the strength of the relationships between multiple
parameters in a study.
Properties
CorrelationRange
This range defines the values and the distribution of correlation values to be applied to the color range.
This defaults from -1 to 1.
Read Only No
Legend
Read Only No
Style
Read Only No
Title
Read Only No
Variables
The variables to be displayed in this chart. This can be a list of Variable, VariableXY or VariableXYZ data
entities.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
530 of ANSYS, Inc. and its subsidiaries and affiliates.
Type List (p. 1447)<DataReference (p. 1418)>
Read Only No
Legend
This entity provides a legend for chart data.
Properties
BackgroundColor
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Enabled
Read Only No
ForegroundColor
Read Only No
Orientation
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 531
Graphics
MultiAxisChart
Specialization of a chart to represent a parallel coordinate plot or a spider chart. Multi-axis charts use
an independent axis for each supplied variable.
Properties
ChartType
Sets the type of rendering (e.g. Parallel Coordinate Plot, Spider Plot) for this multi-axis chart.
Read Only No
Legend
Read Only No
Style
Read Only No
Title
Read Only No
Variables
The variables to be displayed in this chart. This can be a list of Variable, VariableXY or VariableXYZ data
entities.
Read Only No
PieChart
Pie chart data object that allows us to represent a displayable pie chart.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
532 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DivisionLabels
In a multi-axis chart we are plotting each variable as an axis, but what we plot are actually displaying
are the rows of each variable, as such we need labels for each row.
Read Only No
Legend
Read Only No
ShowPercentages
Read Only No
Style
Read Only No
Title
Read Only No
Variables
The variables to be displayed in this chart. This can be a list of Variable, VariableXY or VariableXYZ data
entities.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 533
Graphics
RenderStyle
This entity supplies the render properties for any graphics object.
Properties
BarOffset
This property controls the amount of space (relative to the BarWidth) before drawing a bar for this
variable.
For example, if two variables are being drawn in a bar chart and you set the offset of the second variable
to be 0.5, that variable will be shifted by half the BarWidth to avoid overlap.
Read Only No
BarWidth
This property controls the width of bars in a bar chart. The range of allowable values is 0 to 1, and sets
the percentage of the available space used for the bars of the variable.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DotStyle
Read Only No
FillColors
Define the fill color for this variable in the plot. All filled regions will use this color except where the
style is defined as gradient in which case the GradientColor is used.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
534 of ANSYS, Inc. and its subsidiaries and affiliates.
FillStyle
Read Only No
GradientAxis
The axis that defines plot color if gradient shading is enabled. The axis must be continuous.
Read Only No
LineColors
Defines the line color of this variable in a plot. The first value in the list will be used if the line style is
not gradient. Gradient line style will blend between the provided colors.
Read Only No
LineStyle
Read Only No
LineWidth
Sets the width of the line drawn for this variable in pixels.
Read Only No
NumberOfColorBands
Controls the number of color bands to be used in a gradient fill. A value of 0 (the default) will result in
a continuous gradient.
Read Only No
OutlineColors
Define the outline colors for symbols. If not set (the default) then LineColors is used.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 535
Graphics
Read Only No
ShowLinearInterpolationOfLines
When set to true, causes the ends of a line chart to extend to the edge of the chart. This is primarily
used to represent a constant line from a single value.
Read Only No
Smoothing
Enables smoothing of the rendered object. In 3D this results in a smoothed rather than faceted surface.
In 2D this results in a smooth line rather than a straight line between points.
Read Only No
SymbolSize
Set the size of a symbol in pixels when a symbol is drawn for this variable. The rendered symbol size
may be slightly smaller or larger than expected if symbol does not correctly fit into the specified number
of pixels.
Read Only No
Variable
The data entity that defines a variable to be plotted.
Properties
AutoBounds
Defines whether the bounds are to be used from BoundsMin/BoundsMax or whether they are to be
automatically generated based on the data.
Read Only No
BoundsMax
Defines the maximum rendered value for the data. Any larger values will be ignored.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
536 of ANSYS, Inc. and its subsidiaries and affiliates.
BoundsMin
Defines the minimum rendered value for the data. Any smaller values will be ignored.
Read Only No
DisplayAs
Read Only No
FilterBoundsMax
If bounds filtering is enabled, sets the maximum variable value that will cause it to be filtered from the
plot. This is different from BoundsMin in that any variable that exceeds this value will be excluded from
the plot. This primarily applies to Parallel Coordinate Plots.
Read Only No
FilterBoundsMin
If bounds filtering is enabled, sets the minimum variable value that will cause it to be filtered from the
plot. This is different from BoundsMin in that any variable that exceeds this value will be excluded from
the plot. This primarily applies to Parallel Coordinate Plots.
Read Only No
IsFilterBoundsEnabled
When this is true, any variables that are outside the filter bounds will be excluded from the plot. This
primarily applies to Parallel Coordinate Plots.
Read Only No
IsIncludedInLegend
Setting this parameter to 'false' will exclude this variable from any legend it may be included in.
This property is only valid for XY and XYZ charts and will be ignored otherwise.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 537
Graphics
Label
The label of the variable. This is optional and is typically determined from the name of the input variable.
Read Only No
RelativeOrder
Define the order of this variable among all the variables in a chart.
Read Only No
VariableXY
This is the base class for a data entity that defines a variable to be plotted.
Properties
AutoBounds
Defines whether the bounds are to be used from BoundsMin/BoundsMax or whether they are to be
automatically generated based on the data.
Read Only No
BoundsMax
Defines the maximum rendered value for the data. Any larger values will be ignored.
Read Only No
BoundsMin
Defines the minimum rendered value for the data. Any smaller values will be ignored.
Read Only No
DisplayAs
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
538 of ANSYS, Inc. and its subsidiaries and affiliates.
FilterBoundsMax
If bounds filtering is enabled, sets the maximum variable value that will cause it to be filtered from the
plot. This is different from BoundsMin in that any variable that exceeds this value will be excluded from
the plot. This primarily applies to Parallel Coordinate Plots.
Read Only No
FilterBoundsMin
If bounds filtering is enabled, sets the minimum variable value that will cause it to be filtered from the
plot. This is different from BoundsMin in that any variable that exceeds this value will be excluded from
the plot. This primarily applies to Parallel Coordinate Plots.
Read Only No
IsFilterBoundsEnabled
When this is true, any variables that are outside the filter bounds will be excluded from the plot. This
primarily applies to Parallel Coordinate Plots.
Read Only No
IsIncludedInLegend
Setting this parameter to 'false' will exclude this variable from any legend it may be included in.
This property is only valid for XY and XYZ charts and will be ignored otherwise.
Read Only No
Label
The label of the variable. This is optional and is typically determined from the name of the input variable.
Read Only No
RelativeOrder
Define the order of this variable among all the variables in a chart.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 539
Graphics
VariableXYZ
This is the base class for a data entity that defines a variable to be plotted.
Properties
AutoBounds
Defines whether the bounds are to be used from BoundsMin/BoundsMax or whether they are to be
automatically generated based on the data.
Read Only No
BoundsMax
Defines the maximum rendered value for the data. Any larger values will be ignored.
Read Only No
BoundsMin
Defines the minimum rendered value for the data. Any smaller values will be ignored.
Read Only No
DisplayAs
Read Only No
FilterBoundsMax
If bounds filtering is enabled, sets the maximum variable value that will cause it to be filtered from the
plot. This is different from BoundsMin in that any variable that exceeds this value will be excluded from
the plot. This primarily applies to Parallel Coordinate Plots.
Read Only No
FilterBoundsMin
If bounds filtering is enabled, sets the minimum variable value that will cause it to be filtered from the
plot. This is different from BoundsMin in that any variable that exceeds this value will be excluded from
the plot. This primarily applies to Parallel Coordinate Plots.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
540 of ANSYS, Inc. and its subsidiaries and affiliates.
Type float (p. 1480)
Read Only No
IsFilterBoundsEnabled
When this is true, any variables that are outside the filter bounds will be excluded from the plot. This
primarily applies to Parallel Coordinate Plots.
Read Only No
IsIncludedInLegend
Setting this parameter to 'false' will exclude this variable from any legend it may be included in.
This property is only valid for XY and XYZ charts and will be ignored otherwise.
Read Only No
Label
The label of the variable. This is optional and is typically determined from the name of the input variable.
Read Only No
RelativeOrder
Define the order of this variable among all the variables in a chart.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 541
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
542 of ANSYS, Inc. and its subsidiaries and affiliates.
ICE
ICE
This container holds ICE data for an instance of IC Engine.
Methods
Refresh
Refresh ICE command.
Optional Arguments
UpstreamList A list of upstream data containers that supply data to this cell
Reset
Reset ICE command.
Update
Update ICE command.
Data Entities
ICEData
ICE Data Object
Properties
CrankRadius
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 543
ICE
CRLength
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EVO
Read Only No
ICCombustionSimulationType
Read Only No
ICIVCandEVOOption
Read Only No
ICSimulationType
Read Only No
IVC
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
544 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
LiftCurvePath
Read Only No
MinLift
Read Only No
PistonOffset
Read Only No
SetSolverProp
Read Only No
ICE Setup
This container holds ICE setup data for an instance of IC Engine.
Methods
Refresh
Refresh ICE solver setup command.
Optional Arguments
UpstreamList A list of upstream data containers that supply data to this cell
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 545
ICE
Reset
Reset ICE solver setup command.
Update
Update ICE solver setup command.
Data Entities
ICESetupData
ICE Setup Data Object
Properties
CrankAngleSelector
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ICKeyGridOption
Read Only No
ICResetMeshOnFailure
Read Only No
PostIterationJournal
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
546 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
PreIterationJournal
Read Only No
PreIterationJournalForte
Read Only No
SolverSettingEditor
Read Only No
SolverSettingEditorForte
Read Only No
UserBCProfileFile
Read Only No
UserSettingsFilePath
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 547
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
548 of ANSYS, Inc. and its subsidiaries and affiliates.
ICEM
ICEM CFD
This container holds ICEM CFD data for an instance of ICEM.
Data Entities
MeshingAssemblyTransferType
Mesh data object that resides in the ICEM CFD container.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Subsets
ICEM CFD creates Subsets instead of Parts from Named Selections if set.
Read Only No
TransferFile
The ICEM CFD downstream files are *.msh "Imported FLUENT Mesh File Type", *.poly "POLYFLOWMesh",
*.inp "ANSYS Input File", and *.uns "ICEM CFD Mesh File".
Read Only No
SimulationGeneratedMesh
Mesh data object that resides in the ICEM CFD container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 549
ICEM
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Subsets
ICEM CFD creates Subsets instead of Parts from Named Selections if set.
Read Only No
TransferFile
The ICEM CFD downstream files are *.msh "Imported FLUENT Mesh File Type", *.poly "POLYFLOWMesh",
*.inp "ANSYS Input File", and *.uns "ICEM CFD Mesh File".
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
550 of ANSYS, Inc. and its subsidiaries and affiliates.
IcePak
IcePak Setup
This container holds Setup data for an instance of IcePak.
Methods
Edit
User can launch the Icepak application by executing the Edit command
Optional Arguments
EnableUpdate
Enables Setup update
Exit
Close the Icepak session
Import
Import on the Setup container with an existing Icepak project or the compressed tzr Icepak project will
launch an Icepak session and opens the imported project
Import on the Solution container allow users to set different set of case and data files for post pro-
cessing.By default, the case and data files from the latest solution are available on the solution compon-
ent.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 551
IcePak
Required Arguments
FilePath Path to the project or tzr file when operated on Setup container. Path to the case file to
be imported when operated on the Solution container
Example
Icepak.Import(FilePath=r"E:\DSModels\ICE\demo1_files\dp0\IPK\Icepak\IcepakProj")
When the Import is called on the Setup container with tzr file
Icepak.Import(FilePath=r"c:\Temp\test.tzr")
Icepak.Import(FilePath=r"D:\IcepakProj00.cfd.cas")
Data Entities
ComponentSolveSettingsForAddin
This class contains the solve settings for Addin solution components to use
Properties
ConfiguredQueue
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
552 of ANSYS, Inc. and its subsidiaries and affiliates.
EnablePolling
Read Only No
ExecutionMode
execution mode
Read Only No
NumberOfProcesses
Read Only No
PollingInterval
Read Only No
RsmJobName
Read Only No
RsmQueueDetails
Read Only No
UpdateOption
Update mode
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 553
IcePak
IcePakSetup
Represents the IcepakSetup data entity
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
WorkbenchColorScheme
Setting this property will force Icepak to use the Workbench color scheme. Unsetting this property will
allow Icepak to use the default color scheme set inside Icepak
Read Only No
XmlFile
Read Only No
IcePak Solution
This container holds Solution data for an instance of IcePak.
Methods
GetComponentSettingsForRsmDpUpdate
This query is used to obtain the ComponentSettingsForRsmDpUpdate object for Journaling and
Scripting
GetExpertProperties
This query is used to obtain the ExpertProperties object for Journaling and Scripting
GetSolutionSettings
Query to get fetch the proper solution settings reference.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
554 of ANSYS, Inc. and its subsidiaries and affiliates.
Import
Import on the Setup container with an existing Icepak project or the compressed tzr Icepak project will
launch an Icepak session and opens the imported project
Import on the Solution container allow users to set different set of case and data files for post pro-
cessing.By default, the case and data files from the latest solution are available on the solution compon-
ent.
Required Arguments
FilePath Path to the project or tzr file when operated on Setup container. Path to the case file to
be imported when operated on the Solution container
Example
Icepak.Import(FilePath=r"E:\DSModels\ICE\demo1_files\dp0\IPK\Icepak\IcepakProj")
When the Import is called on the Setup container with tzr file
Icepak.Import(FilePath=r"c:\Temp\test.tzr")
Icepak.Import(FilePath=r"D:\IcepakProj00.cfd.cas")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 555
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
556 of ANSYS, Inc. and its subsidiaries and affiliates.
LOST AND FOUND
Data Entities
CFXMesh
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
CFXSolverInputFilePath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FileNamePath
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 557
LOST AND FOUND
MAPDLSolverInputFilePath
Read Only No
CFXSetup
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
CFXSolverInputFilePath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FileNamePath
Read Only No
MAPDLSolverInputFilePath
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
558 of ANSYS, Inc. and its subsidiaries and affiliates.
CFXSolution
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
CFXResultsFilePath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MAPDLResultsFilePath
Read Only No
CriteriaDataObject
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 559
LOST AND FOUND
DOEDataObject
No details are provided for this entry.
Properties
binfile
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
maxRuntime
Read Only No
path_to_script
Read Only No
preserveDesignPointFiles
Read Only No
preserveDesignPoints
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
560 of ANSYS, Inc. and its subsidiaries and affiliates.
processes
Read Only No
RetainedFiles
RetainedFilesLink
Read Only No
updateByPython
Read Only No
useMaximumRuntime
Read Only No
useRSM
Read Only No
DpdbSettings
A data object representing DPDB settings
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 561
LOST AND FOUND
Properties
DatabaseName
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExecutionTime
Read Only No
ServerUrl
Read Only No
StartLocalEvaluatorOnUpdate
Read Only No
UpdateDesignPointInSteps
whether to split the project into steps prior to DP updates via DPS
Read Only No
EngineeringData
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
562 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
AdditionalFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Read Only No
ExternalData
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 563
LOST AND FOUND
Read Only No
FluentCase
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFilesPath
Read Only No
CaseFilePath
Read Only No
DataFilePath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MAPDLResultsFilePath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
564 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
FluentMesh
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFilesPath
Read Only No
CaseFilePath
Read Only No
DataFilePath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MAPDLResultsFilePath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 565
LOST AND FOUND
Read Only No
FluentSetup
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFilesPath
Read Only No
CaseFilePath
Read Only No
DataFilePath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MAPDLResultsFilePath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
566 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
FluentSolution
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFilesPath
Read Only No
CaseFilePath
Read Only No
DataFilePath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MAPDLResultsFilePath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 567
LOST AND FOUND
Read Only No
Geometry
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
GeometryFileReferencePath
Read Only No
TransferFilePath
Read Only No
IntegrationDataObject
No details are provided for this entry.
Properties
DataType
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
568 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MAPDLCdb
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFiles
Read Only No
AuxiliaryFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 569
LOST AND FOUND
Read Only No
MAPDLDatabase
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFiles
Read Only No
AuxiliaryFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Read Only No
MAPDLResults
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
570 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFiles
Read Only No
AuxiliaryFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Read Only No
MatML31
No details are provided for this entry.
Properties
AdditionalFilesPath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 571
LOST AND FOUND
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Read Only No
MatML31
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MechanicalMesh
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
572 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
TransferFilePath
Read Only No
MechanicalModel
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Read Only No
MechanicalSetup
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 573
LOST AND FOUND
AuxiliaryFiles
Read Only No
AuxiliaryFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Read Only No
MechanicalSolution
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFiles
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
574 of ANSYS, Inc. and its subsidiaries and affiliates.
AuxiliaryFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TransferFilePath
Read Only No
MeshingMesh
No details are provided for this entry.
Properties
AdditionalFilesPath
Read Only No
AuxiliaryFilesPath
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 575
LOST AND FOUND
Read Only No
TransferFilePath
Read Only No
MinervaFile
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Location
Read Only No
MOPDataObject
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
openPPBeforeCalculation
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
576 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
NeoHookeanHyperElasticityDependents
Neo-Hookean Hyperelasticity dependents.
Properties
BulkModulus
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InitialShearModulus
Read Only No
OptimizationDataObject
No details are provided for this entry.
Properties
binfile
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 577
LOST AND FOUND
Read Only No
extrapolationType
Read Only No
maxRuntime
Read Only No
path_to_script
Read Only No
preserveDesignPointFiles
Read Only No
preserveDesignPoints
Read Only No
processes
Read Only No
RetainedFiles
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
578 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
RetainedFilesLink
Read Only No
updateByPython
Read Only No
useMaximumRuntime
Read Only No
useRSM
Read Only No
validateBestDesign
Read Only No
OrthotropicElasticityDependents
The Orthotropic Elasticity dependents.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 579
LOST AND FOUND
Read Only No
PoissonsRatioXY
Read Only No
PoissonsRatioXZ
Read Only No
PoissonsRatioYZ
Read Only No
ShearModulusXY
Read Only No
ShearModulusXZ
Read Only No
ShearModulusYZ
Read Only No
YoungsModulusXDirection
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
580 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
YoungsModulusYDirection
Read Only No
YoungsModulusZDirection
Read Only No
ParametersDataObject
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PostETKDataObject
No details are provided for this entry.
Properties
DataType
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 581
LOST AND FOUND
Read Only No
UseETKLicense
Read Only No
PostprocessingDataObject
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
doeBinfile
Read Only No
ReevalScriptDataObject
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ReevaluationDataObject
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
582 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
binfile
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
maxRuntime
Read Only No
path_to_script
Read Only No
preserveDesignPointFiles
Read Only No
preserveDesignPoints
Read Only No
processes
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 583
LOST AND FOUND
Read Only No
RetainedFiles
RetainedFilesLink
Read Only No
updateByPython
Read Only No
useMaximumRuntime
Read Only No
useRSM
Read Only No
ResultsDataObject
No details are provided for this entry.
Properties
ACPBatchMode
Specifies the batch mode of ACP : 1 means true batch mode and 2 stands for GUI without window.
Batch mode 2 is needed to save snapshots of the active scene what asks a GUI environment.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
584 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
StartupTimeout
Total time to wait for ACP server to start up and connect OK: Value was originally set to 90s, but was
increased because of slow GE network installations where it was reported that 90s was not enough
time to start ACP.
Read Only No
SamplingDataObject
No details are provided for this entry.
Properties
binfile
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
maxRuntime
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 585
LOST AND FOUND
path_to_script
Read Only No
preserveDesignPointFiles
Read Only No
preserveDesignPoints
Read Only No
processes
Read Only No
RetainedFiles
RetainedFilesLink
Read Only No
updateByPython
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
586 of ANSYS, Inc. and its subsidiaries and affiliates.
useMaximumRuntime
Read Only No
useRSM
Read Only No
UpstreamConnectionTracker
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 587
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
588 of ANSYS, Inc. and its subsidiaries and affiliates.
MaterialDesigner
Material Designer
This container holds data for an instance of Material Designer.
Methods
ClearGeneratedData
ClearGeneratedData command clears the genearated data of a material designer cell.
After succesful execution of this command, the material designer component goes into "update required"
state.
Edit
The Edit command starts MaterialDesigner session, if it is not already running. If MaterialDesigner session
is already running, this command brings the MaterialDesigner window in focus.
If a scdoc file is assigned to material designer component, the file is loaded in the MaterialDesigner.
Available options:
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 589
MaterialDesigner
Exit
Exit command shuts down the running session of the Geometry Editor. Before shuting down, the geo-
metry is brought up-to-date generates the editor saves its database.
The editor session can not be closed if it is busy in generating features or seeking user's input. In such
situations, this command throws an ApplicationBusyException exception.
GetMaterialDesignerProperties
Return a reference to DataEntity managing property settings of Material Designer Container.
RefreshMD
Refresh command refreshes the input data in a material designer component by consuming all changed
data from upstream (source) components. This command also updates the modified parameters in the
geometry editor.
After succesful execution of this command, the material designer component goes into "update required"
state.
RunScript
Executes a script in the assigned geometry editor, which must be running. It will accept Python (.py)
and SpaceClaim Script (.scscript) files.
Required Parameters:
Required Arguments
SendCommand
The SendCommand sends javascript or python command string to the Geometry Editor for execution.
If the editor is not open, it will be launched to execute commands, and then closed. If editor is already
running, it will keep running after the command execution.
If the editor is busy and not available for executing the instruction, the SendCommand throws an Ap-
plicationBusyException exception.
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
590 of ANSYS, Inc. and its subsidiaries and affiliates.
Command Javascript or Python command string contain-
ing scripting commands for the Geometry
Editor
Language Language of the command. Allowed values
are: "Javascript" and "Python". The default
language is "Javascript"
The following command will add a sketch with an elliptical curve in the MaterialDesigner editor.
Required Arguments
Optional Arguments
Example
system1 = GetSystem(Name="Geom")
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.SendCommand( Command = """var ps1 = new Object();
ps1.Plane = agb.GetActivePlane();
ps1.Origin = ps1.Plane.GetOrigin();
ps1.XAxis = ps1.Plane.GetXAxis();
ps1.YAxis = ps1.Plane.GetYAxis();
ps1.Sk1 = ps1.Plane.NewSketch();
ps1.Sk1.Name = "Sketch1";
with (ps1.Sk1) { ps1.El7 = Ellipse( 8.0, 10.0, 9.0, 6.0, 5.0, 12.0); }
agb.Regen();""")
Stop
The Stop command shuts down the running session of of the Geometry Editor immediately, without
saving its unsaved data.
The editor session can not be stopped if it is busy in importing or exporting CAD files. In such situations,
this command throws an ApplicationBusyException exception.
Data Entities
MaterialDesigner
Material designer data object
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 591
MaterialDesigner
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
GeometryFilePath
The location of file currently assigned to geometry component. MaterialDesigner process this file when
started through Edit command.
Read Only No
PlugInName
Current PlugInName - Returns TempPlugin if active DM session is editing. Otherwise return the real
plugin name. This is also not persisted.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
592 of ANSYS, Inc. and its subsidiaries and affiliates.
Mechanical APDL
Mechanical APDL
This container holds data for a Mechanical APDL analysis.
Methods
AddFile
Copies the specified file to the working directory of the Mechanical APDL editor and registers the file
with the Workbench project.
AddInputFile
Specifies an input file containing APDL commands for the Mechanical APDL editor for execution when
the editor opens. Copies the file to the application working directory and registers it with the Workbench
project.
Edit
Opens the Mechanical APDL editor to allow modification of Analysis data.
Exit
Exits the Mechanical APDL editor.
GetAnalysisSettings
Query to return the reference to the container's AnalysisSettings data entity.
GetComponentSettingsForRsmDpUpdate
This query is used to obtain the ComponentSettingsForRsmDpUpdate object for Journaling and
Scripting
GetMapdlInputFile
Query to return the reference to the container's MapdlSetup data entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 593
Mechanical APDL
GetMapdlSetup
Query to return the reference to the container's MapdlSetup data entity.
GetSolutionSettings
This query is used to obtain the solution settings object for Journaling and Scripting
SendCommand
Sends commands to the Mechanical APDL editor.
SwitchToBackgroundMode
Switch the Update in progress into background mode. This will enable operations that are not allowed
during an Update in foreground mode (e.g. Project Save).
This command is not normally useful in a script. Journals may record the invocation of this command
after an Update invoke, as the result of GUI activity while the Update is in progress. However, replay of
these journals will always wait for the Update invoke to complete before invoking the next command,
rendering this step ineffectual.
Data Entities
ExtendedComponentSettingsForRsmDpUpdate
Extended Component settings when solved as part of design point update via RSM Currently used for
Addins with solvers that would like to take advantage of SMP
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
LimitOnNumberOfCores
Read Only No
SerialOnly
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
594 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
Read Only No
SharedMemoryParallel
A boolean flag indicating whether or not to restrict the solver to using SMP, instead of distributed
parallel
Read Only No
UseLimitOnNumberOfCores
Read Only No
HiddenPollingComponentSolveSettings
This class contains a derived version of solve settings where polling is disabled
Properties
ConfiguredQueue
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EnablePolling
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 595
Mechanical APDL
ExecutionMode
execution mode
Read Only No
NumberOfProcesses
Read Only No
PollingInterval
Read Only No
RsmJobName
Read Only No
RsmQueueDetails
Read Only No
UpdateOption
Update mode
Read Only No
MapdlInputFile
Represents an input file for the Mechanical APDL editor.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
596 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Methods
Delete
PublishMapdlParameter
SwitchInputOrder
Switches the order of two input files for the Mechanical APDL editor.
UnpublishMapdlParameter
MapdlReferenceFile
Represents a reference file for the Mechanical APDL editor.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Methods
Delete
MapdlSetup
Represents the settings used to launch the Mechanical APDL editor.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 597
Mechanical APDL
Properties
CommandLineOptions
Read Only No
CustomExecutablePath
Read Only No
DatabaseMemory
Defines the portion of workspace (memory) to be used for the database. The default is 512 MB for 64-
bit machines, 256 MB for 32-bit machines.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Distributed
Read Only No
DownloadDistributedFiles
Indicates whether or not to download files from slave node scratches during distributed solves
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
598 of ANSYS, Inc. and its subsidiaries and affiliates.
GPUAccelerator
Specifies the type of GPU Accelerators. By default this is set to none meaning no GPU acceleration is
used.
Read Only No
Graphics
Specifies the type of graphics device. This option applies only to interactive mode. For UNIX/Linux sys-
tems, graphics device choices are X11, X11C, or 3D. For Windows systems, graphics device options are
WIN32 or WIN32C, or 3D.
Read Only No
JobName
Specifies the initial jobname, a name assigned to all files generated by the program for a specific
model. If you omit the -j option, the jobname is assumed to be file.
Read Only No
License
Defines which ANSYS product will run during the session (ANSYS Multiphysics, ANSYS Structural, etc.).
Read Only No
MachineList
Read Only No
MPIType
Read Only No
NumberOfGpusPerMachine
Specifies the number of accelerators to use when running with GPU Acceleration.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 599
Mechanical APDL
Read Only No
Processors
Specifies the number of processors to use when running Distributed ANSYS or Shared-memory ANSYS.
Read Only No
ReadStartAns
Read Only No
WorkspaceMemory
Specifies the total size of the workspace (memory) in megabytes. If you omit the -m option, the default
is 1 GB (1024 MB) for 64-bit machines, 512 MB for 32-bit machines.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
600 of ANSYS, Inc. and its subsidiaries and affiliates.
Mechanical
Methods
Edit
Opens the Mechanical editor and attaches geometry.
Optional Arguments
Hidden Specify if Mechanical will open in hidden mode. The default value is false.
Interactive Specify if Mechanical will open in interactive mode. The default value is true.
StartAsReadOnly Specify if Mechanical will open in read-only mode. The default value is false.
Example
To edit the enhanced model component with default optional parameter values:
enhancedModel.Edit()
enhancedModel.Edit(Interactive=True)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 601
Mechanical
Exit
Exit the Mechanical editor
Optional Arguments
SaveDatabase Indicates whether the Mechanical database will be saved prior to exiting
Mechanical Model
This container holds Model data for an instance of ANSYS Mechanical.
Methods
Edit
Opens the Mechanical editor and attaches geometry.
Optional Arguments
Hidden Specify if Mechanical will open in hidden mode. The default value is false.
Interactive Specify if Mechanical will open in interactive mode. The default value is true.
StartAsReadOnly Specify if Mechanical will open in read-only mode. The default value is false.
Example
model.Edit()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
602 of ANSYS, Inc. and its subsidiaries and affiliates.
model.Edit(Interactive=True)
Exit
Exit the Mechanical editor
Optional Arguments
SaveDatabase Indicates whether the Mechanical database will be saved prior to exiting
Export
Exports a .dsdb file for the model component.
Required Arguments
ExportASMJournal
Exports an ASM Journal (.wbjn) and supporting files for the model component.
Required Arguments
FilePath The path and name of the .wbjn file to be written. Supporting files written alongside.
ExportGeometry
Exports a PartManager database (.pmdb) file for the geometry in the model component.
Required Arguments
ExportMesh
Exports a .acmo file for the mesh in the model component.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 603
Mechanical
GetACPImportOptions
Query to return the data reference to the acp import options
Required Arguments
GetMechanicalMesh
Query to return the reference to the container's MechanicalMesh data entity.
GetMechanicalMeshFile
Query to return the reference to the container's MechanicalMeshFile data entity.
GetMechanicalModel
Query to return the reference to the container's MechanicalModel data entity.
GetMechanicalSystemType
Query to return the reference to the container's MechanicalSystemType data entity.
GetMeshProperties
Query to return the reference to the container's MeshProperties data entity
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
604 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The Data Entity containing settings for this component.
GetModelComponentProperties
Query to return the reference to the container's ModelComponentProperties data entity
GetSimulationImportOptions
Query to return the data reference to the simulation import options
Required Arguments
ImportMesh
Imports a mesh file into Mechanical
Required Arguments
SendCommand
Executes a JScript or python command in the Mechanical editor.
If the Mechanical editor is not open, then the editor's GUI will not be available, causing some commands
to fail. In this case, consider calling the container's Edit method to open the editor before using Send-
Command.
Furthermore, if the Mechanical editor is not open, SendCommand will start the editor without the GUI,
issue the specified command, and then close the editor. For multiple SendCommands, this may degrade
performance.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 605
Mechanical
Required Arguments
Optional Arguments
ExtensionName Extension name for the command Only available with Python commmands and
defaults to empty
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the Mechanical
editor:
model.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
To run a JScript file already saved to disk using Run Macro from Mechanical:
setup.SendCommand(Command="WB.AppletList.Applet(\"DSApplet\").App.Script.doToolsRunMacro(\"C:\\\\macro.js\"
Data Entities
ACPImportOptions
Import options for model assembly available on the downstream model
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MirrorTransform
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
606 of ANSYS, Inc. and its subsidiaries and affiliates.
Type MirrorTransformOptionsForSimulation (p. 1453)
Read Only No
NumberOfCopies
By default this value is 0, specifies how many additional copies of the upstream model are needed
Read Only No
RenumberMeshElementsAutomatically
By default this value is true, specifies whether the user would like us to automatically renumber his
mesh elements to prevent unique id conflicts during assembly
Read Only No
RigidTransform
Read Only No
SmoothingCdb
Which upstream CDB file generated by mechanical to use as our model source
Read Only No
Source
Read Only No
TransferType
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 607
Mechanical
TransformationType
Read Only No
GeneralModelAssemblyProperties
Class used to expose general properties for the model assembly workflow
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
GroupObjectsBySource
Read Only No
LengthUnit
Read Only No
ObjectRenaming
Read Only No
MechanicalMesh
This is the mesh data entity object that will exist in the model container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
608 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Caption
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MeshId
Read Only No
MechanicalModel
The model data entity in the model container.
Properties
AcpRenumberingInformation
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<DataReference (p. 1418)>>
Read Only No
AllowMeshing
Read Only No
Caption
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 609
Mechanical
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EdaFile
Read Only No
File
Read Only No
IsResetNotRequired
Read Only No
MeshFile
Read Only No
ModelConversionAssociativityMap
Read Only No
ModelId
Model identifier that corresponds with the ID on Model tree node in Mechanical
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
610 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Read Only No
PrimeMeshFile
Read Only No
PrototypeId
Prototype identifier which corresponds to the ID on the Geometry tree node in Mechanical
Read Only No
MechanicalSystemType
This entity provides string based information about the physics, analysis, and solver settings for the
Mechanical system component.
Properties
AnalysisTypeDisplayString
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PhysicsTypeDisplayString
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 611
Mechanical
SolverTypeDisplayString
MeshConversionOptionsEntity
(Beta) Entity to control the Skin Detection algorithm for importing cdb files.
Properties
BodyGroupingType
Read Only No
ComponentKey
If the nodal components will be processed during CDB components the nodal component key will allow
filtering of which components to process
Read Only No
CreateGeometry
Read Only No
CreateGeometryEdgeComponents
Should the geometry edge named selections be created during CDB conversion
Read Only No
CreateGeometryFaceComponents
Should the geometry face named selections be created during CDB conversion
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
612 of ANSYS, Inc. and its subsidiaries and affiliates.
CreateGeometryVertexComponents
Should the geometry vertex named selections be created during CDB conversion
Read Only No
CutAngle
Only displayed if Forbid Close Components equals Yes. It is the angle used to cut closed surfaces to
separate the elements into components.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ForbidCloseComponents
Option to split closed surfaces into several components.If Yes then the algorithm cuts closed surfaces
into several components. It provides a simple method to avoid problematic faces on closed surfaces.
Read Only No
GeometryImportAnalysisType
Read Only No
ProcessLineBodies
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 613
Mechanical
ToleranceAngle
The tolerance angle to seperate two elements into seperate components. If the angle between the
normals of two adjacent elements is less than or equal to the Tolerance Angle then the two elements
are in the same component, otherwise, they are separated.
Read Only No
VertexInsertionAngle
The Vertex Insertion Angle is the minimunm angle to insert a vertex between two free edges of mesh.
During the generation of the geometry, if two segments of an edge abruptly make an angle greater
than the Vertex Insertion Angle, then the edge is split and a vertex is inserted.
Read Only No
ModelComponentProperties
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
License
Read Only No
ModelOutputSettingsForACP
Entity to control the properties of mesh file generated by Mechanical Model.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
614 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
LengthUnit
Read Only No
SimulationImportOptions
Import options for model assembly available on the downstream model
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MirrorTransform
Read Only No
NumberOfCopies
By default this value is 0, specifies how many additional copies of the upstream model are needed
Read Only No
RenumberMeshElementsAutomatically
By default this value is true, specifies whether the user would like us to automatically renumber his
mesh elements to prevent unique id conflicts during assembly
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 615
Mechanical
RigidTransform
Read Only No
SmoothingCdb
Which upstream CDB file generated by mechanical to use as our model source
Read Only No
Source
Read Only No
TransformationType
Read Only No
SimulationMeshProperties
Entity to control mesh properties for a Mechanical Model
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
saveMeshFileInSeparateFile
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
616 of ANSYS, Inc. and its subsidiaries and affiliates.
Mechanical Results
This container holds Results data for an instance of ANSYS Mechanical.
Methods
Edit
Opens the Mechanical editor and attaches geometry.
Optional Arguments
ForceGui Specify if Mechanical is required to open in GUI mode. This is needed for Topo-
logy Optimization to solve correctly during DP updates.
Hidden Specify if Mechanical will open in hidden mode. The default value is false.
Interactive Specify if Mechanical will open in interactive mode. The default value is true.
StartAsReadOnly Specify if Mechanical will open in read-only mode. The default value is false.
Example
result.Edit()
result.Edit(Interactive=True)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 617
Mechanical
EditPost
Opens the Mechanical editor and attaches geometry.
Example
result.Edit()
result.Edit(Interactive=True)
Exit
Exit the Mechanical editor
Optional Arguments
SaveDatabase Indicates whether the Mechanical database will be saved prior to exiting
GetMechanicalSystemType
Query to return the reference to the container's MechanicalSystemType data entity.
GetModalOptionsForCdb
Query to return the component reference for a given container and component base name.
GetPhysicsType
Query to return the reference to the container's MechanicalSystemType data entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
618 of ANSYS, Inc. and its subsidiaries and affiliates.
GetSimulationImportOptionsForResult
Query to return the component reference for a given container and component base name.
GetSimulationResultFile
Query to return the component reference for a given container and component base name.
GetStaticOptionsForCdb
Query to return the component reference for a given container and component base name.
SendCommand
Executes a JScript or python command in the Mechanical editor.
If the Mechanical editor is not open, then the editor's GUI will not be available, causing some commands
to fail. In this case, consider calling the container's Edit method to open the editor before using Send-
Command.
Furthermore, if the Mechanical editor is not open, SendCommand will start the editor without the GUI,
issue the specified command, and then close the editor. For multiple SendCommands, this may degrade
performance.
Required Arguments
Optional Arguments
ExtensionName Extension name for the command Only available with Python commmands and
defaults to empty
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 619
Mechanical
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the Mechanical
editor:
model.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
To run a JScript file already saved to disk using Run Macro from Mechanical:
setup.SendCommand(Command="WB.AppletList.Applet(\"DSApplet\").App.Script.doToolsRunMacro(\"C:\\\\macro.js\"
Data Entities
ModalOptionsForCdb
ModalOptionsForCdb
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Mode
Time
Read Only No
ScaleFactor
Scale Factor
Read Only No
SimulationImportOptionsForResult
Import options for model assembly available on the downstream model
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
620 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
LengthUnit
Read Only No
NumberOfCopies
By default this value is 0, specifies how many additional copies of the upstream model are needed
Read Only No
RenumberMeshElementsAutomatically
By default this value is true, specifies whether the user would like us to automatically renumber his
mesh elements to prevent unique id conflicts during assembly
Read Only No
RigidTransform
Read Only No
Source
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 621
Mechanical
SimulationResultsStlZip
DataTransfer provider that holds the file reference to a zipped folder of STL and pmdb files.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExportTopOptAction
Read Only No
TransferDataObject
Read Only No
TransferFile
VersionNumber
StaticOptionsForCdb
StaticOptionsForCdb
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
622 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ScaleFactor
Scale Factor
Read Only No
Time
Time
Read Only No
Mechanical Setup
This container holds Set Up data for an instance of ANSYS Mechanical.
Methods
Edit
Opens the Mechanical editor and attaches geometry.
Optional Arguments
Hidden Specify if Mechanical will open in hidden mode. The default value is false.
Interactive Specify if Mechanical will open in interactive mode. The default value is true.
StartAsReadOnly Specify if Mechanical will open in read-only mode. The default value is false.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 623
Mechanical
Example
setup.Edit()
setup.Edit(Interactive=True)
Exit
Exit the Mechanical editor
Optional Arguments
SaveDatabase Indicates whether the Mechanical database will be saved prior to exiting
Export
Writes either an APDL input file (for use with the ANSYS solver) or a CAE Representation file (for use
with any solver).
Required Arguments
Path If the SetupDataType is 'InputFile', this should be a file path. If the SetupDataType
is 'CAERepresentation', this should be a folder path.
SetupDataType Type of setup data to write to disk. Available options are: 'InputFile' and 'CAERep-
resentation'.
GetMechanicalSetupFile
Query to return the reference to the container's MechanicalSetupFile data entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
624 of ANSYS, Inc. and its subsidiaries and affiliates.
GetMechanicalSystemType
Query to return the reference to the container's MechanicalSystemType data entity.
GetPhysicsType
Query to return the reference to the container's MechanicalSystemType data entity.
SendCommand
Executes a JScript or python command in the Mechanical editor.
If the Mechanical editor is not open, then the editor's GUI will not be available, causing some commands
to fail. In this case, consider calling the container's Edit method to open the editor before using Send-
Command.
Furthermore, if the Mechanical editor is not open, SendCommand will start the editor without the GUI,
issue the specified command, and then close the editor. For multiple SendCommands, this may degrade
performance.
Required Arguments
Optional Arguments
ExtensionName Extension name for the command Only available with Python commmands and
defaults to empty
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the Mechanical
editor:
model.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 625
Mechanical
To run a JScript file already saved to disk using Run Macro from Mechanical:
setup.SendCommand(Command="WB.AppletList.Applet(\"DSApplet\").App.Script.doToolsRunMacro(\"C:\\\\macro.js\"
SetDesignAssessmentFile
Set the design assessment
Required Arguments
Data Entities
DesignAssessmentSetupSettingsType
The data entity that holds the setup properties for a Design Assessment.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
SolverTarget
Read Only No
UserAttributeFile
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
626 of ANSYS, Inc. and its subsidiaries and affiliates.
Mechanical Solution
This container holds Solution data for an instance of ANSYS Mechanical.
Methods
Edit
Opens the Mechanical editor and attaches geometry.
Optional Arguments
Hidden Specify if Mechanical will open in hidden mode. The default value is false.
Interactive Specify if Mechanical will open in interactive mode. The default value is true.
StartAsReadOnly Specify if Mechanical will open in read-only mode. The default value is false.
Example
solution.Edit()
solution.Edit(Interactive=True)
Exit
Exit the Mechanical editor
Optional Arguments
SaveDatabase Indicates whether the Mechanical database will be saved prior to exiting
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 627
Mechanical
Export
Exports the results(*.db, *.rth, *.rmg, and *.rst) files to given DirectoryPath.
Required Arguments
GetComponentSettingsForRsmDpUpdate
This query is used to obtain the ComponentSettingsForRsmDpUpdate object for Journaling and
Scripting
GetExpertProperties
This query is used to obtain the ExpertProperties object for Journaling and Scripting
GetMechanicalSystemType
Query to return the reference to the container's MechanicalSystemType data entity.
GetModalUpdateOptionsForCdbTransfer
Query to return the data reference to the modal options for solution to model
Required Arguments
GetPhysicsType
Query to return the reference to the container's MechanicalSystemType data entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
628 of ANSYS, Inc. and its subsidiaries and affiliates.
GetRBDUpdateOptionsForMechdbTransfer
Query to return the data reference to the static options for solution to model
Required Arguments
GetSolutionSettings
Returns a DataReference to the Solution Settings object for this container
GetStaticUpdateOptionsForCdbTransfer
Query to return the data reference to the static options for solution to model
Required Arguments
SendCommand
Executes a JScript or python command in the Mechanical editor.
If the Mechanical editor is not open, then the editor's GUI will not be available, causing some commands
to fail. In this case, consider calling the container's Edit method to open the editor before using Send-
Command.
Furthermore, if the Mechanical editor is not open, SendCommand will start the editor without the GUI,
issue the specified command, and then close the editor. For multiple SendCommands, this may degrade
performance.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 629
Mechanical
Optional Arguments
ExtensionName Extension name for the command Only available with Python commmands and
defaults to empty
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the Mechanical
editor:
model.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
To run a JScript file already saved to disk using Run Macro from Mechanical:
setup.SendCommand(Command="WB.AppletList.Applet(\"DSApplet\").App.Script.doToolsRunMacro(\"C:\\\\macro.js\"
Data Entities
ExtendedComponentSettingsForRsmDpUpdate
Extended Component settings when solved as part of design point update via RSM Currently used for
Addins with solvers that would like to take advantage of SMP
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
LimitOnNumberOfCores
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
630 of ANSYS, Inc. and its subsidiaries and affiliates.
SerialOnly
Read Only No
SharedMemoryParallel
A boolean flag indicating whether or not to restrict the solver to using SMP, instead of distributed
parallel
Read Only No
UseLimitOnNumberOfCores
Read Only No
ModalUpdateOptionsForCdbTransfer
ModalUpdateOptionsForCdbTransfer
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ElementComponentKey
Read Only No
FaceComponentKey
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 631
Mechanical
Read Only No
Mode
Time
Read Only No
NodalComponentKey
Read Only No
ProcessElementComponents
Read Only No
ProcessFaceComponents
Read Only No
ProcessModelData
Read Only No
ProcessNodalComponents
Read Only No
ScaleFactor
Scale Factor
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
632 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RBDUpdateOptionsForMechdbTransfer
RBDUpdateOptionsForMechdbTransfer
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ElementComponentKey
Read Only No
FaceComponentKey
Read Only No
NodalComponentKey
Read Only No
ProcessElementComponents
Read Only No
ProcessFaceComponents
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 633
Mechanical
Read Only No
ProcessModelData
Read Only No
ProcessNodalComponents
Read Only No
ScaleFactor
Scale Factor
Read Only No
Time
Actual time
Read Only No
TimeOption
Time option
Read Only No
SimulationSolutionSettings
Mechanical specific simulation solution settings entity used for Journaling and Scripting. Not based on
the common Infrastructure.Rsm.Queries entity.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
634 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
Queue
SolveManager
SolveProcessSetting
Read Only No
UpdateOption
Read Only No
StaticUpdateOptionsForCdbTransfer
StaticUpdateOptionsForCdbTransfer
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ElementComponentKey
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 635
Mechanical
Read Only No
FaceComponentKey
Read Only No
NodalComponentKey
Read Only No
ProcessElementComponents
Read Only No
ProcessFaceComponents
Read Only No
ProcessModelData
Read Only No
ProcessNodalComponents
Read Only No
ScaleFactor
Scale Factor
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
636 of ANSYS, Inc. and its subsidiaries and affiliates.
Type double (p. 1425)
Read Only No
Time
Actual time
Read Only No
TimeOption
Time option
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 637
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
638 of ANSYS, Inc. and its subsidiaries and affiliates.
Mesh
Mesh
This container holds Mesh data for an instance of the Meshing application.
Methods
Edit
Opens the Meshing editor. If the editor has never been opened, the command will import the geometry
file associated with the Geometry cell in the Mesh system.
Optional Arguments
Interactive Specifies whether the editor should open in interactive mode. The default value is
true.
Example
mesh.Edit()
mesh.Edit(Interactive=True )
Exit
Exits the Meshing editor.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 639
Mesh
Export
Saves the current state of the Meshing editor and exports a *.meshdat file. If the Meshing editor is not
currently open, the cached state (the state of the editor the last time it was closed) of the Meshing
editor will be exported.
Required Arguments
ExportASMJournal
Exports an ASM Journal (.wbjn) and supporting files for the model component.
Required Arguments
FilePath The path and name of the .wbjn file to be written. Supporting files written alongside.
ExportGeometry
Exports a PartManager database (.pmdb) file for the geometry in the model component.
Required Arguments
ExportMesh
Exports a .acmo file for the mesh in the model component.
Required Arguments
GetMechanicalMeshFile
Returns the data reference to the container's MechanicalMeshFile data entity.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
640 of ANSYS, Inc. and its subsidiaries and affiliates.
GetMechanicalModel
Returns the data reference to the container's MechanicalModel data entity.
GetMechanicalSystemType
Returns the data reference to the container's MechanicalSystemType data entity.
GetMeshingImportOptions
Query to return the data reference to the meshing import options
Required Arguments
GetMeshProperties
Query to return the data reference to the meshing properties
Import
Import a mesh data file. This action will delete the geometry container from the Mesh system and
convert the Mesh cell into a file container. It is not possible to view meshes that are imported through
this command in the Meshing editor; however, the files imported can be transferred to downstream
mesh consumers (such as CFX, FLUENT, etc.) by way of normal component to component data transfer.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 641
Mesh
Example
To import a data file into the mesh component with default optional parameter values:
mesh.Import(FilePath=r"C:\temp\data.cfx", MeshType="CFX")
SendCommand
Sends commands to the Meshing editor using JScript or Python syntax.
If the Meshing editor is not open, then the editor's GUI will not be available to the script, causing some
commands to fail. In this case, consider calling Edit() to open the editor before using SendCommand.
Furthermore,if the Meshing editor is not open,SendCommand will start the editor without GUI,issue the
specified command,and then close the editor. For multiple SendCommands,this may degrade perform-
ance.
Required Arguments
Optional Arguments
Example
To execute some arbitrary command (in this case, causing a dialog box to appear) in the Meshing
editor:
mesh.SendCommand(Command=r"WBScript.Out("My Text",true);" )
Data Entities
GeneralMeshAssemblyProperties
Class used to expose general properties for the mesh assembly workflow
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
642 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
GroupObjectsBySource
Read Only No
LengthUnit
Read Only No
ObjectRenaming
Read Only No
MechanicalModel
The data entity that contains the identifiers which maintain a relationship between the Mesh data
contain and the objects in the Meshing editor tree.
Properties
Caption
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 643
Mesh
Read Only No
ModelId
Identifier which corresponds to the Model object in the Meshing editor tree. This ID can be used in
conjunction with SendCommand to perform operations such as inserting mesh controls or manipulating
mesh settings within the Meshing editor itself.
Read Only No
PrototypeId
Identifier which corresponds to the Geometry object in the Meshing editor tree. This ID can be used in
conjunction with SendCommand to perform operations such as inserting mesh controls or manipulating
mesh settings within the Meshing editor itself.
Read Only No
MechanicalSystemType
This entity provides string based information about the physics, analysis, and solver settings for the
Mesh component. As the Mesh component may be used independent of any specific physics, analysis,
or solver, the properties exposed by this entity may take a value of "Any", meaning simply that it is up
to the user to initialize and correctly configure the mesh settings within the Meshing editor.
Properties
AnalysisTypeDisplayString
The string which represents the current analysis type setting - this value will always be "Any".
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ICEngineAutoSetup
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
644 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
Read Only No
ICEngineMeshSettings
The string is a hyper link which opens the IC Engine mesh setting dialog.
Read Only No
PhysicsTypeDisplayString
The string which represents current physics type setting - the value can be "Any" or "CFD".
RefMeshSize
The quantity represent the reference mesh size for IC Engine mesh settings.
Read Only No
SolverTypeDisplayString
The string which represents the current solver setting - the value can be "Any", "FLUENT", "CFX", or
"POLYFLOW".
MeshConversionOptions
(Beta) Entity to control the Skin Detection algorithm for importing cdb files.
Properties
BodyGroupingType
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 645
Mesh
ComponentKey
If the nodal components will be processed during CDB components the nodal component key will allow
filtering of which components to process
Read Only No
CreateGeometry
Read Only No
CreateGeometryEdgeComponents
Should the geometry edge named selections be created during CDB conversion
Read Only No
CreateGeometryFaceComponents
Should the geometry face named selections be created during CDB conversion
Read Only No
CreateGeometryVertexComponents
Should the geometry vertex named selections be created during CDB conversion
Read Only No
CutAngle
Only displayed if Forbid Close Components equals Yes. It is the angle used to cut closed surfaces to
separate the elements into components.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
646 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
ForbidCloseComponents
Option to split closed surfaces into several components.If Yes then the algorithm cuts closed surfaces
into several components. It provides a simple method to avoid problematic faces on closed surfaces.
Read Only No
GeometryImportAnalysisType
Read Only No
ProcessLineBodies
Read Only No
ToleranceAngle
The tolerance angle to seperate two elements into seperate components. If the angle between the
normals of two adjacent elements is less than or equal to the Tolerance Angle then the two elements
are in the same component, otherwise, they are separated.
Read Only No
VertexInsertionAngle
The Vertex Insertion Angle is the minimunm angle to insert a vertex between two free edges of mesh.
During the generation of the geometry, if two segments of an edge abruptly make an angle greater
than the Vertex Insertion Angle, then the edge is split and a vertex is inserted.
Read Only No
MeshingImportOptions
Import options for model assembly available on the downstream model
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 647
Mesh
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MirrorTransform
Read Only No
NumberOfCopies
By default this value is 0, specifies how many additional copies of the upstream mesh are needed
Read Only No
RenumberMeshElementsAutomatically
By default this value is true, specifies whether the user would like us to automatically renumber his
mesh elements to prevent unique id conflicts during assembly
Read Only No
RigidTransform
Read Only No
Source
Read Only No
TransformationType
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
648 of ANSYS, Inc. and its subsidiaries and affiliates.
Type TransformType (p. 1492)
Read Only No
MeshProperties
Contains properties to control mesh generation in Meshing application
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
saveMeshFileInSeparateFile
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 649
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
650 of ANSYS, Inc. and its subsidiaries and affiliates.
Microsoft Office Excel Analysis
Methods
GetExcelSetup
Get the DataReference of the MSExcelSetup entity. There is only one MSExcelSetup entity per Analysis
container. An exception is thrown if the entity is not found.
Example
The following example shows how the user can get a setup entity to set a different NamedRangeKey
value.
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
setup1.NamedRangeKey = "MyPrefix"
Data Entities
MSExcelFile
This entity represents an Excel file added to the Analysis container in order to expose data as Workbench
parameters and perform calculations based on parameters. It is created by the MSExcelSetup.AddFile
method which copies and registers the original user's file into the project files.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 651
Microsoft Office Excel Analysis
Read Only No
ErrorMessage
Read Only No
FileName
Read Only No
MacroName
Read Only No
OriginalFilePath
Read Only No
State
Read Only No
UseMacro
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
652 of ANSYS, Inc. and its subsidiaries and affiliates.
Methods
GetRange
Gets the DataReference of an MSExcelRange entity from its name. An exception is thrown if the entity
is not found.
Required Arguments
Example
The following example shows how the user can get an MSExcelRange named "WB_Thickness".
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file1 = setup1.GetFile()
range1 = file1.GetRange(Name="WB_Thickness")
write range1.CellRange
write range1.Value
GetRanges
Example
The following example shows how the user can get all the MSExcelRange entities of an MSExcelFile.
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file1 = setup1.GetFile()
ranges = file1.GetRanges()
OpenInApplication
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 653
Microsoft Office Excel Analysis
PublishParameter
Publishes an MSExcelRange as a Parameter in the Workbench project. The IsOutput argument allows
to publish the range as an input or an output parameter. The method returns the created Parameter
entity.
Required Arguments
Optional Arguments
IsOutput True to specify that the range is published as an output parameter, or false for input
parameter.
Example
The following example shows how to publish ranges as input or output parameters.
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file = setup1.AddFile(FilePath="C:\Test\ProcessCalculation.xlsx")
ValvePosition = file.GetRange(Name="WB_Valve_Position")
T1 = file.GetRange(Name="WB_T1")
input1 = file.PublishParameter( ValvePosition )
output1 = file.PublishParameter( T1 )
Reload
Reloads an MSExcelFile to synchronize the data between the Microsoft Office Excel application and
Workbench. For instance, it is necessary to call this method when the ExcelSetup.NamedRangeKey has
been modified, in order to filter the named ranges based on the new NamedRangeKey's value. It is also
necessary to reload the file if the workbook has been edited outside of Workbench, for instance to
change a formula. The method recreates MSExcelRange and Parameter entities as required. The existing
results in Workbench are invalidated.
Example
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file = setup1.GetFile()
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
654 of ANSYS, Inc. and its subsidiaries and affiliates.
file.Reload()
UnpublishParameter
Unpublishes an MSExcelRange as a Parameter from the Workbench project, which means deleting the
Parameter entity that was created in association to this MSExcelRange.
Required Arguments
Example
The following example shows how to publish and unpublish ranges as input or output parameters.
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file = setup1.AddFile(FilePath="C:\Test\ProcessCalculation.xlsx")
ValvePosition = file.GetRange(Name="WB_Valve_Position")
input1 = file.PublishParameter( ValvePosition )
T1 = file.GetRange(Name="WB_T1")
output1 = file.PublishParameter( T1 )
file.UnpublishParameter(ValvePosition)
file.UnpublishParameter(T1)
MSExcelRange
This entity represents an Excel named range that matches the prefix string define by the Parameter
Key. The MSExcelRange entities are created automatically when an Excel file is added, or reloaded, by
filtering all the named ranges found in the Excel workbook with the Parameter Key. The MSExcelRange
is not published as a parameter by default: use the MSExcelFile.PublishParameter method to expose
the range as an input or output parameter in the Workbench project. The named ranges can contain
a single cell for the value, or two cells for the value and the unit string.
Properties
CellRange
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 655
Microsoft Office Excel Analysis
Read Only No
Value
Read Only No
ValueQuantityName
Read Only No
Methods
GetParameter
Gets the Parameter entity associated with a published MSExcelRange entity. If the MSExcelRange is not
published as a parameter, the method returns null.
Example
The following example shows how the user can get the parameter associated with a range.
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file1 = setup1.GetFile()
range1 = file1.GetRange(Name="WB_Thickness")
parameter1 = range1.GetParameter()
write parameter1.Name
MSExcelSetup
This entity holds properties to setup the data exchange with the Microsoft Office Excel application and
information about the state of the connection with the instance of Microsoft Office Excel. There is one
unique MSExcelSetup entity instance per Analysis container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
656 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExcelStatus
Status of the connection with the instance of the Microsoft Office Excel application.
ExcelVersion
Version number of the Microsoft Office Excel instance connected with Workbench.
NamedRangeKey
The Named Ranges Key is a prefix string used to filter the named ranges found in the Excel workbook.
The default value is set using the value of the related user preference. It is possible to use an empty
string in order to retrieve all named ranges.
Read Only No
UnitSystemName
The name of the unit system used for the Analysis container.
Read Only No
Methods
AddFile
Adds a file to an MSExcelSetup entity by providing its FilePath. The method copies and registers the
file into the Workbench project and returns an MSExcelFile entity if successful. The method also creates
an MSExcelRange entity for each named range matching the ExcelSetup.NamedRangeKey prefix string
("" by default). If the file does not exist, is not an Excel file or cannot be registered into the project, the
method throws an exception. If a file was already added to the MSExcelSetup, the method throws an
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 657
Microsoft Office Excel Analysis
exception as well because only one file can be handled in each Analysis container. To use another file,
the user has to Reset the data container first.
Required Arguments
FilePath The Path of the original Microsoft Office Excel file to add.
Example
The following example shows how to add a file to the MSExcelSetup entity.
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file = setup1.AddFile(FilePath="C:\Test\ProcessCalculation.xlsx")
write file.FileName
ranges = file.GetRanges()
DeleteFile
Deletes a file from an MSExcelSetup entity and from the Workbench project file management. All the
MSExcelRange entities and associated Parameter entities are deleted as well.
Required Arguments
Example
The following example shows how to delete a file from an MSExcelSetup entity.
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file = setup1.GetFile()
setup1.DeleteFile(file)
GetFile
Gets the MSExcelFile entity associated to the MSExcelSetup entity. If the MSExcelSetup entity has no
file, the method returns null. If the optional argument Name is specified but does not correspond to a
file associated to the MSExcelSetup, the method throws an exception.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
658 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Optional Arguments
Example
The following example shows how the user can get a file entity from a setup entity to retrieve one
of its properties.
system1 = GetSystem(Name="XLS")
analysis1 = system1.GetContainer(ComponentName="Analysis")
setup1 = analysis1.GetExcelSetup()
file1 = setup1.GetFile()
write file1.Name
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 659
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
660 of ANSYS, Inc. and its subsidiaries and affiliates.
Parameters
Parameters
This container hold project-level Parameters and Design Points.
Methods
GetAllNamedExpressions
Returns all named expressions associated with a given container.
GetAllParameters
Returns the set of all parameters associated with all entity properties in a given container. Parameters
not associated with containers are not returned.
Example
In this example 'paramSet' becomes the set of parameters associated with the properties of any
entity that resides within the Results container of system1.
results1 = system1.GetContainer(ComponentName="Results")
paramSet = results1.GetAllParameters()
Data Entities
DesignPoint
The data entity which describes a project-level design point.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 661
Parameters
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Exported
Read Only No
HasValidRetainedData
Indicates whether the data model and files for this design point is retained in the project and valid.
This can happen for a retained DP; or a non-retained DP before previously retained data is deleted.
IsUpToDate
Note
Read Only No
Retained
Read Only No
StateOfParameters
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
662 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DesignPointState (p. 1421)
UpdateOrder
Read Only No
Methods
AreParameterValuesEqual
Comparison to see if all parameter values within two different design points are equivalent.
Required Arguments
CopyParameterExpressions
Copies all input parameter expressions from one design point to another.
Required Arguments
Delete
Deletes a design point, the associated directory, and all design point files from the project.
Duplicate
Creates a new design point in which all parameters have the same values as in the specified original
design point.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 663
Parameters
Optional Arguments
GetParameterValue
Required Arguments
SetParameterExpression
Sets the expression of the specified input parameter in the given design point.
Required Arguments
Example
The following example illustrates the setting of a parameter expression for a given design point.
dp = Parameters.GetDesignPoint("0")
param = Parameters.GetParameter("P1")
dp.SetParameterExpression(param, "cos(1)")
SetParameterExpressions
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
664 of ANSYS, Inc. and its subsidiaries and affiliates.
DesignPointReportSetting
Design point report setting entity.
Properties
DesignPointReportImage
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Parameter
The data entity which describes a project-level Parameter.
Properties
Description
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ErrorMessage
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 665
Parameters
Expression
The parameter definition as an expression. This property may be a constant expression, or it may depend
on the values of other parameters.
Read Only No
ExpressionType
Indicates whether the expression is constant, derived from another expression, or undefined.
PersistedNamedValueEntityReference
the data reference of the entity that the named value refers to
Read Only No
Usage
Value
The current value of the parameter. For derived parameters, this value is the evaluated expression result.
ValueQuantityName
Gets the value quantity name if ValueSpec is a QuantitySpec. Null otherwise. If the entity is a parameter
then setting this property will constrain the dimensions of values of the parameter to be consistent
with the quantity name. This property does not constrain the values of named expressions.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
666 of ANSYS, Inc. and its subsidiaries and affiliates.
Methods
Delete
Deletes a parameter.
A parameter can only be deleted when it is no longer associated with any properties/entities in the
project.
Disassociate
Required Arguments
Entity The data model entity that holds the property to be disassociated.
DisassociateInContext
Disassociates a data model property for a given context from an existing parameter.
Required Arguments
Entity The data model entity that holds the property to be disassociated.
Optional Arguments
Example
entity1 = ...
parameter1 = Parameters.GetParameter(Name="p1")
parameter1.DisassociateInContext(entity1, "SampleProperty")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 667
Parameters
contextEntity1 = ...
parameter1.DisassociateInContext(entity1, "SampleProperty", contextEntity1)
GetAssociatedEntityProperties
Returns the entity properties associated with a given parameter. If a container is specified, returns only
the entity properties for the given container.
Optional Arguments
Container Optionally specifies a container for which the entity properties should be returned.
GetDependencies
For a derived parameter, returns the list of parameters referred to by this parameter's expression.
SetQuantityName
Required Arguments
SetQuantityUnit
Set the unit string for a parameter across all design points.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
668 of ANSYS, Inc. and its subsidiaries and affiliates.
ParameterSummaryChart
This is a summary chart that will display all parameters against all design points. This is useful for un-
derstanding and visualizing the full parameter space, but is not very useful for comparing one parameter
against another. For parameter vs. parameter charts, see CreateParameterVsParameterChart.
Properties
Chart
This stores the data reference to any generated charts from the Graphics system. e.g. a result of Cre-
ateMultiAxisChart.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsBaseDesignPointExcluded
Read Only No
Variables
Read Only No
Methods
Delete
ParameterVsParameterChart
This chart type can be used to plot one parameter against another or parameters vs. design points.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 669
Parameters
chart1 = Parameters.CreateParameterVsParameterChart()
chart1.XAxisBottom = Parameters.GetParameter("P1")
chart1.XAxisTop = Parameters.GetParameter("P2")
chart1.YAxisLeft = Parameters.GetParameter("P3")
chart1.YAxisRight = Parameters.GetParameter("P4")
Properties
Chart
This stores the data reference to any generated charts from the Graphics system. e.g. a result of Creat-
eChartXY.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsBaseDesignPointExcluded
Read Only No
XAxisBottom
Read Only No
XAxisTop
Read Only No
YAxisLeft
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
670 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
YAxisRight
Read Only No
Methods
Delete
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 671
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
672 of ANSYS, Inc. and its subsidiaries and affiliates.
Polyflow
Polyflow Setup
This container holds Setup data for an instance of Polyflow.
Methods
AddFile
Allows to import any kind of file into the Inputs sub-directory of the current Polyflow system
setup1.AddFile(FilePath="D:/temp/viscosity.crv")
This command will copy the viscosity.crv file from the D:\temp directory
into the Inputs directory of the current Polyflow system.
Required Arguments
Edit
Starts the editor (Polydata) given a Polyflow Setup Container
setup1.Edit()
This command will launch the editor (Polydata) of the selected Setup cell.
Exit
Stops the editor (Polydata) or the solver (Polyflow) given a Polyflow Setup or Solution Container
setup1.Exit()
This command will stop the editor (Polydata) of the selected Setup cell.
solver1.Exit()
This command will stop the solver (Polyflow) of the selected Solution cell.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 673
Polyflow
GetPolyflowMesh
Returns the PolyflowMesh object stored in the Polyflow Setup component.
ImportMesh
Allows to import a mesh file (gambit *.neu file, *.poly file, *.msh Fluent Mesh file or Polyflow Mesh file).
For *.neu and¨*.poly and a *.msh fluent file, a mesh conversion is automatically performed to get
eventually a Polyflow Mesh file (*.msh)
setup1.ImportMesh(FilePath="D:/temp/swell.msh")
This command will copy the swell.msh file from the D:\temp directory
into the directory of the current Polyflow system.
Required Arguments
ImportSetup
Allows to import a setup file (*.dat file) into the current Polyflow system
setup1.ImportSetup(FilePath="D:/temp/swell.dat")
This command will copy the swell.dat file from the D:/temp directory
into the directory of the current Polyflow system.
Required Arguments
ImportUDF
Allows to import the udf file into the Inputs sub-directory of the current Polyflow system
setup1.ImportUDF(UdfFilePath="D:/temp/swell.udf")
This command will copy the swell.udf file from the D:/temp directory
into the Inputs directory of the current Polyflow system.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
674 of ANSYS, Inc. and its subsidiaries and affiliates.
SetMeshPreferences
Allows to specify which mesh of upstream polyflow system will be used in the current polyflow system
: one does not provide a mesh file name, but a specific key to the corresponding mesh. The Mesh restart
mode can take two values : "NoUpstreamMeshFile" or "SingleMeshFile"
setup1.SetMeshPreferences(
meshRestartMode="SingleMeshFile",
meshKey="mesh (t=0.5000000E+00)[formatted]"))
This command will take the mesh generated by the upstream polyflow system
at time t=0.5 (and that is formatted)
Note : the mesh keys can be found in the "last_result.pub" file generated by the Polyflow solver in the
upstream system!
Required Arguments
meshKey Mesh key (among the list of available meshes created by an upstream polyflow
system)
StartFuseTool
Starts Polyfuse given a Polyflow Setup Container
setup1.StartFuseTool()
This command will launch the mesh manipulation tool (Polyfuse) on the selected Setup cell.
StartMaterialsTool
Starts Polymat given a Polyflow Setup Container
setup1.StartMaterialsTool()
This command will launch the material parameters fitting tool (Polymat) on the selected Setup cell.
StartPreferences
Starts the Editor of Polydata preferences given a Polyflow Setup Container or Starts the Editor of Polyflow
preferences given a Polyflow Solution Container
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 675
Polyflow
Data Entities
PolydataPreference
Contains a reference to the preferences file for Polydata (setup editor). It is a provider of the preferences
file.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
PolyflowMesh
Contains a reference to a Polyflow mesh file. It is a provider for a Polyflow mesh file.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
MeshReadingMode
Tells if one wants a conversion of the input mesh (*.poly or fluent *.msh) into a polyflow *.msh or if
one wants a direct reading by polydata (when editing setup)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
676 of ANSYS, Inc. and its subsidiaries and affiliates.
Type MeshReading (p. 1451)
Read Only No
PolyflowSetup
Contains a reference to a Polyflow data file. It is a provider of the data file (containing the setup).
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
Polyflow Solution
This container holds Solution data for an instance of Polyflow.
Methods
ClearTemporaryFiles
Clear temporary files generated by Polyflow solver (if the solver is not running!) given a Polyflow Solution
Container
solution1.ClearTemporaryFiles()
Exit
Stops the editor (Polydata) or the solver (Polyflow) given a Polyflow Setup or Solution Container
setup1.Exit()
This command will stop the editor (Polydata) of the selected Setup cell.
solver1.Exit()
This command will stop the solver (Polyflow) of the selected Solution cell.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 677
Polyflow
GetComponentSettingsForRsmDpUpdate
This query is used to obtain the ComponentSettingsForRsmDpUpdate object for Journaling and
Scripting
GetPolyflowSolution
Returns the PolyflowSolution object stored in the Polyflow Solution component.
GetSolutionSettings
This query is used to obtain the component solve settings object for Journaling and Scripting
SetResultsPreferences
Allows to specify which result (res/rst/csv) of upstream polyflow system will be used in the current
polyflow system : one does not provide filenames, but specific keys to the corresponding result files.
Note : the result (res,rst,csv) keys can be found in the "last_result.pub" file generated by the Polyflow
solver in the upstream system!
Required Arguments
csvKey Csv key (among the list of available csv created by an upstream polyflow
system)
restartKey Restart key (among the list of available restart created by an upstream polyflow
system)
resultKey Result key (among the list of available results created by an upstream polyflow
system)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
678 of ANSYS, Inc. and its subsidiaries and affiliates.
solverRestartMode Solver restart mode
Example
solution1.SetResultsPreferences(
solverRestartMode="Restart with a single Polyflow CSV file",
resultKey="undefined",
restartKey="undefined",
csvKey="csv (t=0.5000000E+00)[formatted]")
This command will take the csv generated by the upstream polyflow system at time t=0.5 (and that
is formatted)
StartCFDPost
Starts CFD-Post given a Polyflow Solution Container in order to see the initial state of a simulation.
solution1.StartCFDPost()
This command will launch CFD-Post on the selected Solution cell.
StartCurveTool
Starts Polycurve (curves viewer) given a Polyflow Solution Container
solution1.StartCurveTool()
This command will launch Polycurve of the selected Solution cell.
StartDiagnosticsTool
Starts Diagnostics tool (Polydiag) given a Polyflow Solution Container
solution1.StartDiagnosticsTool()
This command will launch the Diagnostics tool (Polydiag) of the selected Solution cell.
StartListingViewer
Starts the listing viewer, given a Polyflow Solution Container, to present the content of a text file
solution1.StartListingViewer(FilePath="D:/temp/polyflow.lst")
This command will launch the listing viewer tool (Polylst) on the selected Solution cell.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 679
Polyflow
StartPreferences
Starts the Editor of Polydata preferences given a Polyflow Setup Container or Starts the Editor of Polyflow
preferences given a Polyflow Solution Container
StartStatisticsTool
Starts Polystat given a Polyflow Solution Container
solution1.StartStatisticsTool()
This command will launch the statistical analyzer tool (Polystat) on the selected Solution cell.
SwitchToBackgroundMode
Switch the Update in progress into background mode. This will enable operations that are not allowed
during an Update in foreground mode (e.g. Project Save).
This command is not normally useful in a script. Journals may record the invocation of this command
after an Update invoke, as the result of GUI activity while the Update is in progress. However, replay of
these journals will always wait for the Update invoke to complete before invoking the next command,
rendering this step ineffectual.
Data Entities
HiddenPollingComponentSolveSettings
This class contains a derived version of solve settings where polling is disabled
Properties
ConfiguredQueue
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
680 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
EnablePolling
Read Only No
ExecutionMode
execution mode
Read Only No
NumberOfProcesses
Read Only No
PollingInterval
Read Only No
RsmJobName
Read Only No
RsmQueueDetails
Read Only No
UpdateOption
Update mode
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 681
Polyflow
Read Only No
PolyflowPreference
Contains a reference to the preferences file for Polyflow (solver). It is a provider of the preferences file.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Read Only No
PolyflowSolution
Contains a reference to a Polyflow listing file. It is a provider of the listing file (containing a summary
of the simulation).
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
File
Data reference to the listing file generated by the Polyflow solver and containing a summary of the
simulation.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
682 of ANSYS, Inc. and its subsidiaries and affiliates.
Project
Project
This container holds the Systems, Components and Templates in the project.
Data Entities
Component
No details are provided for this entry.
Properties
DirectoryName
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Notes
Read Only No
UserId
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 683
Project
Methods
Clean
DeleteShare
Optional Arguments
DeleteTransfer
Required Arguments
GetAIMMechanicalPhysicsDefinitionOutput
This method is available only in AIM. For the given Physics Definition schematic component, return it's
valid Mechanical Physics Definition output
GetContainer
GetFluentMeshOutput
This method is available only in AIM. For the given Meshing schematic component, return it's valid
FluentMesh output
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
684 of ANSYS, Inc. and its subsidiaries and affiliates.
GetFluentPartMeshOutputProvider
This method is available only in AIM. For the given Meshing schematic component, return it's valid
FluentMesh output
GetFluentPhysicsDefinitionOutput
This method is available only in AIM. For the given Meshing schematic component, return it's valid
FluentPhysicsDefinition output for Fluent
GetGeometryMeshOutput
This method is available only in AIM. For the given Meshing schematic component, return it's valid
GeometryMesh output
GetTaskObject
This method is available only in AIM. For the given project schematic component, return it's anchor
object.
Return The anchor object associated with the project schematic component.
HasValidPartMesh
For the given Meshing schematic component, check whether it supports Part Mesh
HasValidVolumeFillMesh
For the given Meshing schematic component, check whether it supports volume Fill Mesh
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 685
Project
Refresh
RemoveFromSystem
Required Arguments
ReplaceWithShare
Required Arguments
Optional Arguments
Example
Reset
TransferData
Required Arguments
TransferSpecificData
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
686 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Update
Optional Arguments
UpdateUpstreamComponents
ComponentTemplate
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Methods
CreateComponent
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 687
Project
Optional Arguments
Example
CustomProjectTemplate
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
SystemNames
Read Only No
SystemTemplates
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
688 of ANSYS, Inc. and its subsidiaries and affiliates.
Methods
CreateProject
Delete
DesignPointSolveSettings
No details are provided for this entry.
Properties
ComponentExecutionMode
Read Only No
ConfiguredQueue
Read Only No
DesignPointRetainedOrExportedUpdate
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
NumberOfCoresPerJob
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 689
Project
Read Only No
NumberOfJobsToBeCreated
Read Only No
NumberOfTasksToBeCreated
Read Only No
PartialUpdate
Read Only No
PreRSMUpdate
Read Only No
RetainPartialUpdate
Read Only No
RsmJobName
Read Only No
RsmQueueDetails
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
690 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
UpdateMethod
Read Only No
UpdateOption
Update mode
Read Only No
UpdateOrder
Read Only No
UpfrontLicenseCheckout
Read Only No
SchematicSettings
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Notes
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 691
Project
Read Only No
System
No details are provided for this entry.
Properties
AnalysisType
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Notes
Read Only No
Physics
Read Only No
Solver
UserId
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
692 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
Methods
Copy
Required Arguments
Delete
Duplicate
Optional Arguments
Example
Export
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 693
Project
Required Arguments
Example
GetComponent
Required Arguments
GetContainer
Required Arguments
GetReplaceableTemplates
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
694 of ANSYS, Inc. and its subsidiaries and affiliates.
Type List (p. 1447)<DataReference (p. 1418)>
Move
Required Arguments
RecreateDeletedComponents
Refresh
Update
Optional Arguments
Template
No details are provided for this entry.
Properties
AnalysisType
Read Only No
DisplayName
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 695
Project
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Physics
Read Only No
Solver
SystemType
Read Only No
SystemTypeAbbreviation
Read Only No
Methods
CreateSystem
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
696 of ANSYS, Inc. and its subsidiaries and affiliates.
Type List (p. 1447)<DataReference (p. 1418)>
Example
ReplaceSystem
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 697
Project
Data Entities
FileType
FileType defines file type information including a short description.
Properties
Description
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExtensionPatterns
The possible file extension patterns to match in a regular expression. The patterns are used to check
whether this file type can handle a set of file extensions.
Extensions
The possible file extensions (with the leading "."). These extensions can be displayed to the user in a
file dialog filter, for example.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
698 of ANSYS, Inc. and its subsidiaries and affiliates.
Project Files
This container holds Files registered with the File Manager.
Methods
GetFiles
Gets all the File References that are associated with the specified container.
Example
This example prints the location of files for two different components of a system.
system1 = GetSystem(Name="Static1")
geometry1 = system1.GetContainer(ComponentName="Geometry")
for fileRef in geometry1.GetFiles():
print fileRef.Location
>>> C:\Users\myUser\Projects\static1_files\dp0\SYS\DM\SYS.agdb
>>> E:\data\Models\pipe.x_t
model1 = system1.GetContainer(ComponentName="Model")
for fileRef in model1.GetFiles():
print fileRef.Location
>>> C:\Users\myUser\Projects\static1_files\dp0\global\MECH\SYS.engd
>>> C:\Users\myUser\Projects\static1_files\dp0\global\MECH\SYS.mechdb
Data Entities
FileReference
The data entity that represents a file that is part of the project.
Properties
Directory
A string that contains the path to the directory containing the file.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 699
Project
Read Only No
Exists
FileName
LastModifiedTime
Location
The full path to the local file including the directory and file name.
Read Only No
Size
Methods
Copy
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
700 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Example
fileRef = GetRegisteredFileQuery(FilePath=r"path_to_file")
fileRefCopy = fileRef.Copy(DestinationDirectoryPath=r"path_to_copy_file", Overwrite=True, CopyReferenceCoun
Delete
Optional Arguments
BackUp Specifies whether to back up the file before deletion. This optional argument's
default value is true.
DeleteIfShared Specifies whether a registered file should be deleted even if it is still in use. This
optional argument's default value is true. If this argument's value is false, an ex-
ception will be thrown if a shared file is encountered. To avoid the exception, set
ErrorIfShared to false.
ErrorIfShared Specifies whether to throw an exception when trying to delete a shared file if
DeleteIfShared is set to false.
Example
The following example illustrates a deletion of a registered file via a file reference. The file will be
deleted if even if it is still in use. Note that the file will be backed up.
fileRef = GetRegisteredFile(FilePath=r"C:\Users\anyuser\path-to-file.extension")
fileRef.Delete(DeleteIfShared=True,
BackUp=True)
The next example illustrates a deletion of a registered file via a file reference without a forced dele-
tion. If the file is shared, an error will not occur, and the file reference count will be decremented.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 701
Project
fileRef = GetRegisteredFile(FilePath=r"C:\Users\anyuser\path-to-file.extension")
fileRef.Delete(ErrorIfShared=False)
Move
Required Arguments
Optional Arguments
BackUp Specifies whether to back up the file before the move. This optional argument's default value
is true.
Example
fileRef = GetRegisteredFileQuery(FilePath=r"path_to_file")
fileRefCopy = fileRef.Move(NewDirectoryPath=r"path_to_move_file", Backup=False)
Rename
Renames a file.
Required Arguments
New- The new file name, excluding the directory path. To change the directory, see MoveFileCom-
Name mand.
Optional Arguments
BackUp Specifies whether to back up the file before renaming it. This optional argument's default
value is true.
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
702 of ANSYS, Inc. and its subsidiaries and affiliates.
fileRef = GetRegisteredFileQuery(FilePath=r"path_to_file")
fileRefCopy = fileRef.Rename(NeName="new_file_name", BackUp=True)
Repair
Repairs a file that is referenced in the project but cannot be found on disk. If the file is expected to be
found under the project directory, then this command will copy the new file to the expected location
rather than link to the new file in its current location. Use SetFilePathCommand to link to a file in a new
location.
Required Arguments
Project Messages
This container holds current project messages.
Data Entities
StoredMessage
A data entity representing a message (error, warning, information, etc.) that is visible to the user.
Properties
Association
The data model entity to which the message applies (a component, for example).
DateTimeStamp
Details
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 703
Project
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MessageCategory
MessageType
Summary
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
704 of ANSYS, Inc. and its subsidiaries and affiliates.
Study
Study
This container holds Study data for an instance of Study.
Common Methods
CreateDataManager
The Data Manager is a utility object intended for use by the ImportEngineeringData command. It is
used to load an applicable manager for the type of data being managed as well the source of the data
which the manager will use to bring the data into the project.
Optional Arguments
Provider The management provider for the requested Source of data. The provider understands
how to convert the data in the sources to AIM.
Sources The source of the data which will be managed by the Data Manager. If this argument is
not provided the Source must be set or provided before the Data Manager is used.
Example
dataManagerThermal = study1.CreateDataManager(
Sources=[r"C:\ANSYSDev\Program Files\Ansys Inc\v151\Addins\EngineeringData\Samples\Thermal_Materials.xm
Provider="ANSYS")
CreateEntity
Create AIM objects of the requested Type.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 705
Study
Required Arguments
Type The entity Type to create. The entity Type can be seen in the GUI by hovering over the entity's
object icon. Also using dir(Study) will show object types for Get<Type> queries, for which the
<Type> may be able to be created.
Optional Arguments
AssociatedObject The object to associate this object to in the AIM dependency graph,
which will create a directed edge in the AIM dependency graph. See
discussion on Study and Tasks. This is deprecated in favor of Associ-
ation.
Association The object to associate this object to in the AIM dependency graph,
which will create a directed edge in the AIM dependency graph. See
discussion on Study and Tasks.
Location If the entity has a location property, this will set the property to the
provided LocationSet.
Location2 If the entity has a second location property, this will set the property
to the provided LocationSet.
LocationWithHitPoints If the entity has a location property with hit points, this will set the
property to the provided LocationSet.
LocationWithHitPoints2 If the entity has a second location property with hit points, this will
set the property to the provided LocationSet.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
706 of ANSYS, Inc. and its subsidiaries and affiliates.
Default Value Ansys.Study.Core.Common.Referencing.Location-
Set
Example
This example shows the steps preceding the CreateEntity, and then creates a PhysicsRegion object.
system1 = GetSystem(Name="Study")
physicsDefinitionComponent1 = Study.CreateTask(
Type="Physics Definition",
System=system1)
study1 = system1.GetContainer(ComponentName="Study")
physicsDefinition1 = physicsDefinitionComponent1.GetTaskObject()
physicsRegion1 = study1.CreateEntity(
Type="PhysicsRegion",
Association=physicsDefinition1)
CreateTable
CreateTable is a convenience command which performs the following commands:
Creates a table and associates with the Parent. See the CreateEntity command, where
Type="Table" and AssociatedObject=Parent.
Adds columns corresponding to the Columns parameter. See the AddTableColumn command.
Required Arguments
Columns A List of tuple (name and physical quantity). The name is used to identify the column and
must be unique to this table. The physical quantity (e.g. Density, Pressure, etc.) is used to
verify the data has the correct units. The use of integer indexes in other table related
commands correspond to the order of the columns, with 0 (zero) being the first item.
Parent The DataReference of the object to which this table should be created in the scope of
Example
This example illustrates creating a table and setting data in the table.
# drContainer is the DataContainerReference of an object that has been previously created (e.g. study1)
# drParent is the DataReference of an object that has been previously created (e.g. material1)
table1 = drContainer.CreateTable(drParent, Columns=[("Temperature","Temperature"),("Displacement","Length")
table1.AddRow(Data=["100 [C]","1.0 [m]"])
table1.AddRow(Data=["200 [C]",".02 [m]"])
table1.AddRow(Data=["300 [C]",".06 [m]"])
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 707
Study
table1.GetData()
GetAEMLaunchControls
Obtains a AEMLaunchControls instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetAllTaskGroupsInProject
Returns all tasks in the project.
GetBeamEndRelease
Obtains a BeamEndRelease instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetBeamSection
Obtains a BeamSection instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
708 of ANSYS, Inc. and its subsidiaries and affiliates.
GetBearingLoad
Obtains a BearingLoad instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetBodyTemperature
Obtains a BodyTemperature instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetBoltPretension
Obtains a BoltPretension instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetBoundaryCondition
Obtains a BoundaryCondition instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 709
Study
GetBoundaryLayerRefinement
Obtains a BoundaryLayerRefinement instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetCappingSurface
Obtains a CappingSurface instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetCharge
Obtains a Charge instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetConditionGroup
Obtains a ConditionGroup instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
710 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetConfiguration
Obtains a Configuration instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetConnection
Obtains a Connection instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetConnectionBehavior
Obtains a ConnectionBehavior instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetConstraint
Obtains a Constraint instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 711
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetContact
Obtains a Contact instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetContactBehavior
Obtains a ContactBehavior instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetContactDetection
Obtains a ContactDetection instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetContourResult
Obtains a ContourResult instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
712 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The ContourResult instance.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetConvection
Obtains a Convection instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetCoreLossComputation
Obtains a CoreLossComputation instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetCurrent
Obtains a Current instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 713
Study
GetCyclicSymmetryConstraint
Obtains a CyclicSymmetryConstraint instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetDisplacement
Obtains a Displacement instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetDistributedMass
Obtains a DistributedMass instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetEddyEffectComputation
Obtains a EddyEffectComputation instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
714 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
GetElectricCurrent
Obtains a ElectricCurrent instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetEquipotential
Obtains a Equipotential instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetFatigueSettings
Obtains a FatigueSettings instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetFidelityRefinement
Obtains a FidelityRefinement instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 715
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetForce
Obtains a Force instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetForceComputation
Obtains a ForceComputation instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetGeneralPhysicsOptions
Obtains a GeneralPhysicsOptions instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetGeometryImportSource
Obtains a GeometryImportSource instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
716 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetGravityDefinition
Obtains a GravityDefinition instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetGroundLocation
Obtains a GroundLocation instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetHeatFlow
Obtains a HeatFlow instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetHeatFlux
Obtains a HeatFlux instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 717
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetHeatGeneration
Obtains a HeatGeneration instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetHeatSrc
Obtains a HeatSrc instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetImport
Obtains a Import instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
718 of ANSYS, Inc. and its subsidiaries and affiliates.
GetInertiaLoad
Obtains a InertiaLoad instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetInitialCondition
Obtains a InitialCondition instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetInitialTemperature
Obtains a InitialTemperature instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetInsulating
Obtains a Insulating instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 719
Study
GetInterfaceGenerator
Obtains a InterfaceGenerator instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetIsoSurface
Obtains a IsoSurface instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetJoint
Obtains a Joint instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetJointBehavior
Obtains a JointBehavior instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
720 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetLaunchSettings
Obtains a LaunchSettings instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetLine
Obtains a Line instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetLinearizedStressChart
Obtains a LinearizedStressChart instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetLineChart
Obtains a LineChart instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 721
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetLoad
Obtains a Load instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMaterial
Obtains a Material instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMaterialAssignment
Obtains a MaterialAssignment instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMaterialAtState
Obtains a MaterialAtState instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
722 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The MaterialAtState instance.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMechanicalPhysicsOptions
Obtains a MechanicalPhysicsOptions instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMemberSizeConstraint
Obtains a MemberSizeConstraint instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMesh
Obtains a Mesh instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 723
Study
GetMeshControl
Obtains a MeshControl instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMeshControlBodySizing
Obtains a MeshControlBodySizing instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMeshControlEdgeSizing
Obtains a MeshControlEdgeSizing instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMeshControlElementShape
Obtains a MeshControlElementShape instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
724 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
GetMeshControlFaceSizing
Obtains a MeshControlFaceSizing instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMeshControlLocalBoundaryLayer
Obtains a MeshControlLocalBoundaryLayer instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMeshDiagnostics
Obtains a MeshDiagnostics instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMeshing
Obtains a Meshing instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 725
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMeshModeling
Obtains a MeshModeling instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetModeling
Obtains a Modeling instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetModelingImportSource
Obtains a ModelingImportSource instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMoment
Obtains a Moment instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
726 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMomentumSrc
Obtains a MomentumSrc instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMonitorChart
Obtains a MonitorChart instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetMoveRotateControl
Obtains a MoveRotateControl instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetOptimizationConstraint
Obtains a OptimizationConstraint instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 727
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetOptimizationOptions
Obtains a OptimizationOptions instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetOutputControls
Obtains a OutputControls instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetParticleInjectionCnd
Obtains a ParticleInjectionCnd instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
728 of ANSYS, Inc. and its subsidiaries and affiliates.
GetParticleTrack
Obtains a ParticleTrack instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPerimeterWeld
Obtains a PerimeterWeld instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPhysicsCoupling
Obtains a PhysicsCoupling instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPhysicsDefinition
Obtains a PhysicsDefinition instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 729
Study
GetPhysicsOptions
Obtains a PhysicsOptions instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPhysicsRegion
Obtains a PhysicsRegion instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPlane
Obtains a Plane instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPoint
Obtains a Point instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
730 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowCondition
Obtains a PolyflowCondition instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowContact
Obtains a PolyflowContact instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowContactBehavior
Obtains a PolyflowContactBehavior instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowConvection
Obtains a PolyflowConvection instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 731
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowDieDeformation
Obtains a PolyflowDieDeformation instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowFixedMold
Obtains a PolyflowFixedMold instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowFluidSolidInterfaceBehavior
Obtains a PolyflowFluidSolidInterfaceBehavior instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowForceDrivenMold
Obtains a PolyflowForceDrivenMold instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
732 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The PolyflowForceDrivenMold instance.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowFreejetExit
Obtains a PolyflowFreejetExit instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowFreeSurface
Obtains a PolyflowFreeSurface instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowHeatFlux
Obtains a PolyflowHeatFlux instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 733
Study
GetPolyflowInflow
Obtains a PolyflowInflow instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowInitialLayerThickness
Obtains a PolyflowInitialLayerThickness instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowInitialTemperature
Obtains a PolyflowInitialTemperature instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowInsulated
Obtains a PolyflowInsulated instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
734 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
GetPolyflowLaunchControls
Obtains a PolyflowLaunchControls instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowMold
Obtains a PolyflowMold instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowNumericalControls
Obtains a PolyflowNumericalControls instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowOutflow
Obtains a PolyflowOutflow instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 735
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowOutputControls
Obtains a PolyflowOutputControls instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowPhysicsOptions
Obtains a PolyflowPhysicsOptions instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowPressure
Obtains a PolyflowPressure instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowRegionInterface
Obtains a PolyflowRegionInterface instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
736 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowRemeshing
Obtains a PolyflowRemeshing instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowRestrictor
Obtains a PolyflowRestrictor instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowSolutionControls
Obtains a PolyflowSolutionControls instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowSupport
Obtains a PolyflowSupport instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 737
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowSymmetry
Obtains a PolyflowSymmetry instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowTemperatureImposed
Obtains a PolyflowTemperatureImposed instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowVelocityDrivenMold
Obtains a PolyflowVelocityDrivenMold instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
738 of ANSYS, Inc. and its subsidiaries and affiliates.
GetPolyflowWall
Obtains a PolyflowWall instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPolyflowWallBase
Obtains a PolyflowWallBase instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPorositySrc
Obtains a PorositySrc instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPressure
Obtains a Pressure instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 739
Study
GetPressureDrop
Obtains a PressureDrop instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPrimitiveBox
Obtains a PrimitiveBox instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPsdAcceleration
Obtains a PsdAcceleration instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPsdDisplacement
Obtains a PsdDisplacement instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
740 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPsdGAcceleration
Obtains a PsdGAcceleration instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPsdLoad
Obtains a PsdLoad instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPsdVelocity
Obtains a PsdVelocity instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetPullOutDirection
Obtains a PullOutDirection instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 741
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetRadiation
Obtains a Radiation instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetReferenceFrame
Obtains a ReferenceFrame instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetRegionInterface
Obtains a RegionInterface instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetRegionInterfaceGenerator
Obtains a RegionInterfaceGenerator instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
742 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The RegionInterfaceGenerator instance.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetResponsePsdResult
Obtains a ResponsePsdResult instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetResultObject
Obtains a ResultObject instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetResults
Obtains a Results instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 743
Study
GetScalarConstraint
Obtains a ScalarConstraint instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetScalarInitialCondition
Obtains a ScalarInitialCondition instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetScalarLoad
Obtains a ScalarLoad instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSectionLayer
Obtains a SectionLayer instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
744 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
GetSelectionSet
Obtains a SelectionSet instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetShape
Obtains a Shape instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetShapeTaskStatistics
Obtains a ShapeTaskStatistics instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetShearMomentDiagram
Obtains a ShearMomentDiagram instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 745
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetShellThickness
Obtains a ShellThickness instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSimulation
Obtains a Simulation instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSingleValueResult
Obtains a SingleValueResult instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSkinDepthResolution
Obtains a SkinDepthResolution instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
746 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSolutionProgression
Obtains a SolutionProgression instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSolutionStep
Obtains a SolutionStep instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSolvePhysics
Obtains a SolvePhysics instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSolverSettings
Obtains a SolverSettings instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 747
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSpotWeld
Obtains a SpotWeld instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSpring
Obtains a Spring instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSpringBehavior
Obtains a SpringBehavior instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
748 of ANSYS, Inc. and its subsidiaries and affiliates.
GetStatusGroup
Obtains a StatusGroup instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetStreamLine
Obtains a StreamLine instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetStressConstraint
Obtains a StressConstraint instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetStructuralMass
Obtains a StructuralMass instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 749
Study
GetSupport
Obtains a Support instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSuppressControl
Obtains a SuppressControl instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetSymmetryConstraint
Obtains a SymmetryConstraint instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetTableResult
Obtains a TableResult instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
750 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetTaskGroup
Obtains a TaskGroup instance by name from the supplied container.
Required Arguments
GetTemperatureCondition
Obtains a TemperatureCondition instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetTemperatureConstraint
Obtains a TemperatureConstraint instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetTerminal
Obtains a Terminal instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 751
Study
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetThermalMass
Obtains a ThermalMass instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetTorqueComputation
Obtains a TorqueComputation instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetTranscript
Obtains a Transcript instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetUserCommands
Obtains a UserCommands instance by name from the supplied container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
752 of ANSYS, Inc. and its subsidiaries and affiliates.
Return The UserCommands instance.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetValidMaterialContent
Query to return a list of valid material model tuples, where each tuple has the strings for use on the
CreateMaterialContent command. The tuple is in the following form (Model, Definition, Behavior)
Return A list of the valid material model tuples. The default list returned
is in the following form [(Model, Definition, Behavior), ..., (Model,
Definition, Behavior)].
Optional Arguments
IncludeName Include the user friendly name as the first element of a sub-list and second element
is the material model tuple. The list returned is in the following form [[Name, (Model,
Definition, Behavior)], ..., [Name, (Model, Definition, Behavior)]]
Example
This example requests all the valid material properties including the names.
validContent = Study.GetValidMaterialContent(IncludeName=true)
GetVectorConstraint
Obtains a VectorConstraint instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 753
Study
GetVectorInitialCondition
Obtains a VectorInitialCondition instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetVectorLoad
Obtains a VectorLoad instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetVectorResult
Obtains a VectorResult instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetVoltage
Obtains a Voltage instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
754 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
GetVolumeExtractionRegion
Obtains a VolumeExtractionRegion instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetVolumeSimplificationRegion
Obtains a VolumeSimplificationRegion instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
GetWrap
Obtains a Wrap instance by name from the supplied container.
Required Arguments
Name The entity name for which to search. Include the @ prefix if searching by display text
MigrateDefaultBoltModelAsToOneBoltForAllLocations
Create AIM objects of the requested Type.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 755
Study
Required Arguments
Type The entity Type to create. The entity Type can be seen in the GUI by hovering over the entity's
object icon. Also using dir(Study) will show object types for Get<Type> queries, for which the
<Type> may be able to be created.
Optional Arguments
AssociatedObject The object to associate this object to in the AIM dependency graph,
which will create a directed edge in the AIM dependency graph. See
discussion on Study and Tasks. This is deprecated in favor of Associ-
ation.
Association The object to associate this object to in the AIM dependency graph,
which will create a directed edge in the AIM dependency graph. See
discussion on Study and Tasks.
Location If the entity has a location property, this will set the property to the
provided LocationSet.
Location2 If the entity has a second location property, this will set the property
to the provided LocationSet.
LocationWithHitPoints If the entity has a location property with hit points, this will set the
property to the provided LocationSet.
LocationWithHitPoints2 If the entity has a second location property with hit points, this will
set the property to the provided LocationSet.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
756 of ANSYS, Inc. and its subsidiaries and affiliates.
ObjectReferences Future use
Example
This example shows the steps preceding the CreateEntity, and then creates a PhysicsRegion object.
system1 = GetSystem(Name="Study")
physicsDefinitionComponent1 = Study.CreateTask(
Type="Physics Definition",
System=system1)
study1 = system1.GetContainer(ComponentName="Study")
physicsDefinition1 = physicsDefinitionComponent1.GetTaskObject()
physicsRegion1 = study1.CreateEntity(
Type="PhysicsRegion",
Association=physicsDefinition1)
MigrateDefaultSupportTypeToUserdefined
Create AIM objects of the requested Type.
Required Arguments
Type The entity Type to create. The entity Type can be seen in the GUI by hovering over the entity's
object icon. Also using dir(Study) will show object types for Get<Type> queries, for which the
<Type> may be able to be created.
Optional Arguments
AssociatedObject The object to associate this object to in the AIM dependency graph,
which will create a directed edge in the AIM dependency graph. See
discussion on Study and Tasks. This is deprecated in favor of Associ-
ation.
Association The object to associate this object to in the AIM dependency graph,
which will create a directed edge in the AIM dependency graph. See
discussion on Study and Tasks.
Location If the entity has a location property, this will set the property to the
provided LocationSet.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 757
Study
Location2 If the entity has a second location property, this will set the property
to the provided LocationSet.
LocationWithHitPoints If the entity has a location property with hit points, this will set the
property to the provided LocationSet.
LocationWithHitPoints2 If the entity has a second location property with hit points, this will
set the property to the provided LocationSet.
Example
This example shows the steps preceding the CreateEntity, and then creates a PhysicsRegion object.
system1 = GetSystem(Name="Study")
physicsDefinitionComponent1 = Study.CreateTask(
Type="Physics Definition",
System=system1)
study1 = system1.GetContainer(ComponentName="Study")
physicsDefinition1 = physicsDefinitionComponent1.GetTaskObject()
physicsRegion1 = study1.CreateEntity(
Type="PhysicsRegion",
Association=physicsDefinition1)
MigrateDefaultVectorDefineByToComponents
Create AIM objects of the requested Type.
Required Arguments
Type The entity Type to create. The entity Type can be seen in the GUI by hovering over the entity's
object icon. Also using dir(Study) will show object types for Get<Type> queries, for which the
<Type> may be able to be created.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
758 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Optional Arguments
AssociatedObject The object to associate this object to in the AIM dependency graph,
which will create a directed edge in the AIM dependency graph. See
discussion on Study and Tasks. This is deprecated in favor of Associ-
ation.
Association The object to associate this object to in the AIM dependency graph,
which will create a directed edge in the AIM dependency graph. See
discussion on Study and Tasks.
Location If the entity has a location property, this will set the property to the
provided LocationSet.
Location2 If the entity has a second location property, this will set the property
to the provided LocationSet.
LocationWithHitPoints If the entity has a location property with hit points, this will set the
property to the provided LocationSet.
LocationWithHitPoints2 If the entity has a second location property with hit points, this will
set the property to the provided LocationSet.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 759
Study
Example
This example shows the steps preceding the CreateEntity, and then creates a PhysicsRegion object.
system1 = GetSystem(Name="Study")
physicsDefinitionComponent1 = Study.CreateTask(
Type="Physics Definition",
System=system1)
study1 = system1.GetContainer(ComponentName="Study")
physicsDefinition1 = physicsDefinitionComponent1.GetTaskObject()
physicsRegion1 = study1.CreateEntity(
Type="PhysicsRegion",
Association=physicsDefinition1)
TryGetAEMLaunchControls
Obtains a AEMLaunchControls instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetBeamEndRelease
Obtains a BeamEndRelease instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
760 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetBeamSection
Obtains a BeamSection instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetBearingLoad
Obtains a BearingLoad instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetBodyTemperature
Obtains a BodyTemperature instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 761
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetBoltPretension
Obtains a BoltPretension instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetBoundaryCondition
Obtains a BoundaryCondition instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
762 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetBoundaryLayerRefinement
Obtains a BoundaryLayerRefinement instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetCappingSurface
Obtains a CappingSurface instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetCharge
Obtains a Charge instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 763
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetConditionGroup
Obtains a ConditionGroup instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetConfiguration
Obtains a Configuration instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
764 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetConnection
Obtains a Connection instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetConnectionBehavior
Obtains a ConnectionBehavior instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetConstraint
Obtains a Constraint instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 765
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetContact
Obtains a Contact instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetContactBehavior
Obtains a ContactBehavior instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
766 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetContactDetection
Obtains a ContactDetection instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetContourResult
Obtains a ContourResult instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetConvection
Obtains a Convection instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 767
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetCoreLossComputation
Obtains a CoreLossComputation instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetCurrent
Obtains a Current instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
768 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetCyclicSymmetryConstraint
Obtains a CyclicSymmetryConstraint instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetDisplacement
Obtains a Displacement instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetDistributedMass
Obtains a DistributedMass instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 769
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetEddyEffectComputation
Obtains a EddyEffectComputation instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetElectricCurrent
Obtains a ElectricCurrent instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
770 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetEquipotential
Obtains a Equipotential instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetFatigueSettings
Obtains a FatigueSettings instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetFidelityRefinement
Obtains a FidelityRefinement instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 771
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetForce
Obtains a Force instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetForceComputation
Obtains a ForceComputation instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
772 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetGeneralPhysicsOptions
Obtains a GeneralPhysicsOptions instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetGeometryImportSource
Obtains a GeometryImportSource instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetGravityDefinition
Obtains a GravityDefinition instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 773
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetGroundLocation
Obtains a GroundLocation instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetHeatFlow
Obtains a HeatFlow instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
774 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetHeatFlux
Obtains a HeatFlux instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetHeatGeneration
Obtains a HeatGeneration instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetHeatSrc
Obtains a HeatSrc instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 775
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetImport
Obtains a Import instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetInertiaLoad
Obtains a InertiaLoad instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
776 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetInitialCondition
Obtains a InitialCondition instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetInitialTemperature
Obtains a InitialTemperature instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetInsulating
Obtains a Insulating instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 777
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetInterfaceGenerator
Obtains a InterfaceGenerator instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetIsoSurface
Obtains a IsoSurface instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
778 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetJoint
Obtains a Joint instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetJointBehavior
Obtains a JointBehavior instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetLaunchSettings
Obtains a LaunchSettings instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 779
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetLine
Obtains a Line instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetLinearizedStressChart
Obtains a LinearizedStressChart instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
780 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetLineChart
Obtains a LineChart instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetLoad
Obtains a Load instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMaterial
Obtains a Material instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 781
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMaterialAssignment
Obtains a MaterialAssignment instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMaterialAtState
Obtains a MaterialAtState instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
782 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetMechanicalPhysicsOptions
Obtains a MechanicalPhysicsOptions instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMemberSizeConstraint
Obtains a MemberSizeConstraint instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMesh
Obtains a Mesh instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 783
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMeshControl
Obtains a MeshControl instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMeshControlBodySizing
Obtains a MeshControlBodySizing instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
784 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetMeshControlEdgeSizing
Obtains a MeshControlEdgeSizing instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMeshControlElementShape
Obtains a MeshControlElementShape instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMeshControlFaceSizing
Obtains a MeshControlFaceSizing instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 785
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMeshControlLocalBoundaryLayer
Obtains a MeshControlLocalBoundaryLayer instance by name from the supplied container, falling back
to an alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMeshDiagnostics
Obtains a MeshDiagnostics instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
786 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetMeshing
Obtains a Meshing instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMeshModeling
Obtains a MeshModeling instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetModeling
Obtains a Modeling instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 787
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetModelingImportSource
Obtains a ModelingImportSource instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMoment
Obtains a Moment instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
788 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetMomentumSrc
Obtains a MomentumSrc instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMonitorChart
Obtains a MonitorChart instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetMoveRotateControl
Obtains a MoveRotateControl instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 789
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetOptimizationConstraint
Obtains a OptimizationConstraint instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetOptimizationOptions
Obtains a OptimizationOptions instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
790 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetOutputControls
Obtains a OutputControls instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetParticleInjectionCnd
Obtains a ParticleInjectionCnd instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetParticleTrack
Obtains a ParticleTrack instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 791
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPerimeterWeld
Obtains a PerimeterWeld instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPhysicsCoupling
Obtains a PhysicsCoupling instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
792 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPhysicsDefinition
Obtains a PhysicsDefinition instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPhysicsOptions
Obtains a PhysicsOptions instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPhysicsRegion
Obtains a PhysicsRegion instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 793
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPlane
Obtains a Plane instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPoint
Obtains a Point instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
794 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPolyflowCondition
Obtains a PolyflowCondition instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowContact
Obtains a PolyflowContact instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowContactBehavior
Obtains a PolyflowContactBehavior instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 795
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowConvection
Obtains a PolyflowConvection instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowDieDeformation
Obtains a PolyflowDieDeformation instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
796 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPolyflowFixedMold
Obtains a PolyflowFixedMold instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowFluidSolidInterfaceBehavior
Obtains a PolyflowFluidSolidInterfaceBehavior instance by name from the supplied container, falling
back to an alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowForceDrivenMold
Obtains a PolyflowForceDrivenMold instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 797
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowFreejetExit
Obtains a PolyflowFreejetExit instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowFreeSurface
Obtains a PolyflowFreeSurface instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
798 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPolyflowHeatFlux
Obtains a PolyflowHeatFlux instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowInflow
Obtains a PolyflowInflow instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowInitialLayerThickness
Obtains a PolyflowInitialLayerThickness instance by name from the supplied container, falling back to
an alternate name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 799
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowInitialTemperature
Obtains a PolyflowInitialTemperature instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowInsulated
Obtains a PolyflowInsulated instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
800 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPolyflowLaunchControls
Obtains a PolyflowLaunchControls instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowMold
Obtains a PolyflowMold instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowNumericalControls
Obtains a PolyflowNumericalControls instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 801
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowOutflow
Obtains a PolyflowOutflow instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowOutputControls
Obtains a PolyflowOutputControls instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
802 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPolyflowPhysicsOptions
Obtains a PolyflowPhysicsOptions instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowPressure
Obtains a PolyflowPressure instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowRegionInterface
Obtains a PolyflowRegionInterface instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 803
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowRemeshing
Obtains a PolyflowRemeshing instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowRestrictor
Obtains a PolyflowRestrictor instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
804 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPolyflowSolutionControls
Obtains a PolyflowSolutionControls instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowSupport
Obtains a PolyflowSupport instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowSymmetry
Obtains a PolyflowSymmetry instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 805
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowTemperatureImposed
Obtains a PolyflowTemperatureImposed instance by name from the supplied container, falling back to
an alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowVelocityDrivenMold
Obtains a PolyflowVelocityDrivenMold instance by name from the supplied container, falling back to
an alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
806 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPolyflowWall
Obtains a PolyflowWall instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPolyflowWallBase
Obtains a PolyflowWallBase instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPorositySrc
Obtains a PorositySrc instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 807
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPressure
Obtains a Pressure instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPressureDrop
Obtains a PressureDrop instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
808 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPrimitiveBox
Obtains a PrimitiveBox instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPsdAcceleration
Obtains a PsdAcceleration instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPsdDisplacement
Obtains a PsdDisplacement instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 809
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPsdGAcceleration
Obtains a PsdGAcceleration instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPsdLoad
Obtains a PsdLoad instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
810 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetPsdVelocity
Obtains a PsdVelocity instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetPullOutDirection
Obtains a PullOutDirection instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetRadiation
Obtains a Radiation instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 811
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetReferenceFrame
Obtains a ReferenceFrame instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetRegionInterface
Obtains a RegionInterface instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
812 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetRegionInterfaceGenerator
Obtains a RegionInterfaceGenerator instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetResponsePsdResult
Obtains a ResponsePsdResult instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetResultObject
Obtains a ResultObject instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 813
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetResults
Obtains a Results instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetScalarConstraint
Obtains a ScalarConstraint instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
814 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetScalarInitialCondition
Obtains a ScalarInitialCondition instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetScalarLoad
Obtains a ScalarLoad instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSectionLayer
Obtains a SectionLayer instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 815
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSelectionSet
Obtains a SelectionSet instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetShape
Obtains a Shape instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
816 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetShapeTaskStatistics
Obtains a ShapeTaskStatistics instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetShearMomentDiagram
Obtains a ShearMomentDiagram instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetShellThickness
Obtains a ShellThickness instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 817
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSimulation
Obtains a Simulation instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSingleValueResult
Obtains a SingleValueResult instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
818 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetSkinDepthResolution
Obtains a SkinDepthResolution instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSolutionProgression
Obtains a SolutionProgression instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSolutionStep
Obtains a SolutionStep instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 819
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSolvePhysics
Obtains a SolvePhysics instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSolverSettings
Obtains a SolverSettings instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
820 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetSpotWeld
Obtains a SpotWeld instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSpring
Obtains a Spring instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSpringBehavior
Obtains a SpringBehavior instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 821
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetStatusGroup
Obtains a StatusGroup instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetStreamLine
Obtains a StreamLine instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
822 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetStressConstraint
Obtains a StressConstraint instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetStructuralMass
Obtains a StructuralMass instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSupport
Obtains a Support instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 823
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSuppressControl
Obtains a SuppressControl instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetSymmetryConstraint
Obtains a SymmetryConstraint instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
824 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetTableResult
Obtains a TableResult instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetTemperatureCondition
Obtains a TemperatureCondition instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetTemperatureConstraint
Obtains a TemperatureConstraint instance by name from the supplied container, falling back to an al-
ternate name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 825
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetTerminal
Obtains a Terminal instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetThermalMass
Obtains a ThermalMass instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
826 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetTorqueComputation
Obtains a TorqueComputation instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetTranscript
Obtains a Transcript instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetUserCommands
Obtains a UserCommands instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 827
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetVectorConstraint
Obtains a VectorConstraint instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetVectorInitialCondition
Obtains a VectorInitialCondition instance by name from the supplied container, falling back to an alternate
name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
828 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetVectorLoad
Obtains a VectorLoad instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetVectorResult
Obtains a VectorResult instance by name from the supplied container, falling back to an alternate name
if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetVoltage
Obtains a Voltage instance by name from the supplied container, falling back to an alternate name if
the first is not found.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 829
Study
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetVolumeExtractionRegion
Obtains a VolumeExtractionRegion instance by name from the supplied container, falling back to an
alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
TryGetVolumeSimplificationRegion
Obtains a VolumeSimplificationRegion instance by name from the supplied container, falling back to
an alternate name if the first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
830 of ANSYS, Inc. and its subsidiaries and affiliates.
TryGetWrap
Obtains a Wrap instance by name from the supplied container, falling back to an alternate name if the
first is not found.
Required Arguments
AlternateName The entity name for which to search. Include the @ prefix if searching by display
text.
Name The entity name for which to search. Include the @ prefix if searching by display
text.
AlternatingStress
The Alternating Stress material model.
Properties
Interpolation
The Interpolation for the AlternatingStress charting can be chosen between: Linear, Semi-Log and Log-
Log.
Read Only No
Magnitude
The Magnitude is an expresion which evaluates to a Quantity with the correct units.
Read Only No
Appearance
The Appearance Properties material model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 831
Study
Properties
ColorComponentBlue
Read Only No
ColorComponentGreen
Read Only No
ColorComponentRed
Read Only No
ColorSpace
Read Only No
MaterialMetallic
Read Only No
MaterialOpacity
Read Only No
MaterialRoughness
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
832 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
MaterialTransmittance
Material Density - used to define how much contribution diffuse color has on the output.
Read Only No
ArbitrarySection
This class represents arbitrary beam cross section with following properties
Properties
Area
Read Only No
AreaMomentOfInertiaAboutYAxis
Read Only No
AreaMomentOfInertiaAboutZAxis
Read Only No
CentroidAbscissa
Read Only No
CentroidOrdinate
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 833
Study
ProductOfInertiaAboutYZAxes
Product of inertia
Read Only No
ShearCenterAbscissa
Read Only No
ShearCenterOrdinate
Read Only No
Torsion
Torsion constant
Read Only No
Warping
Warping constant
Read Only No
AxisDirectionDefinition
Defines an axis from a vector or point.
Properties
Automatic
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
834 of ANSYS, Inc. and its subsidiaries and affiliates.
Axis
Read Only No
DefineBy
Read Only No
BeamSection
BeamSection is a class that holds beam section type, offset type and cross section properties.
Properties
Location
Read Only No
OffsetType
Offset of the beam cross section, also the location of the nodes in the section
Read Only No
SectionType
Read Only No
XOffset
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 835
Study
YOffset
Read Only No
BHCurve
The B-H Curve model.
Properties
Value
The Magnitude allows for tabular input through the expresson language.
Read Only No
BilinearIsotropicHardening
Implementation for IProvideChartData
Properties
Value
The Magnitude.
Read Only No
BilinearIsotropicHardeningDependents
The Bilinear Isotropic Hardening dependents.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
836 of ANSYS, Inc. and its subsidiaries and affiliates.
TangentModulus
Read Only No
YieldStrength
Read Only No
BilinearKinematicHardeningDependents
The Bilinear Kinematic Hardening dependents.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TangentModulus
Read Only No
YieldStrength
Read Only No
BoundaryLayerRefinement
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 837
Study
Properties
AspectRatio
Read Only No
BoundaryLayerAlgorithm
Available options:
Post
Pre
Read Only No
DefineBy
Available options:
Read Only No
FirstAspectRatio
Specifies the aspect ratio of the boundaries that are extruded from the boundary base.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
838 of ANSYS, Inc. and its subsidiaries and affiliates.
FirstLayerHeight
Read Only No
GrowthRate
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Read Only No
MaximumLayers
Read Only No
MaximumThickness
Read Only No
NumberOfLayers
Read Only No
TransitionRatio
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 839
Study
UseAutomaticallyDefinedLocation
A common toggle for all sub meshing objects with a Location property so that it can be automatically
set. Currently only visible in Boundary Layer object.
Read Only No
CalculatedValueMonitor
Calculated value monitor objects are used to present graphical charts tracking aspects of the solution
results, such as max(displacements.x)@Body1.
Properties
Component
Read Only No
Expression
Read Only No
Function
Read Only No
Location
Read Only No
Method
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
840 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
MonitorTypeName
Read Only No
SubCategory
Read Only No
CappingSurface
A CappingSurface creates an analytic surface based on a set of bounding edges or faces.
Properties
CreateSelectionSet
Read Only No
SelectionMethod
Read Only No
CappingSurfaceEdgesConstraint
Provides additional information to a Capping Surface when it is constructed based on a set of edges.
Properties
Algorithm
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 841
Study
Edges
Read Only No
FlipLoopOrientation
Sets the orientation of the edge loop, if the algorithm is a Convex Hull.
Read Only No
CappingSurfaceFacesConstraint
Provides additional information to a Capping Surface when it is constructed based on the internal loops
of a set of faces.
Properties
Algorithm
Read Only No
Faces
Read Only No
FlipLoopOrientation
Sets the orientation of the edge loop, if the algorithm is a Convex Hull.
Read Only No
CappingSurfaceLoopsConstraint
Provides additional information to a Capping Surface when it is constructed based on a set of edge
loops.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
842 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Algorithm
Read Only No
EdgeLoopCount
Read Only No
EdgeLoops
Read Only No
FlipLoopOrientation
Sets the orientation of the edge loop, if the algorithm is a Convex Hull.
Read Only No
CappingSurfaceVerticesConstraint
Provides additional information to a Capping Surface when it is constructed based on the internal loops
of a set of faces.
Properties
Algorithm
Read Only No
FlipLoopOrientation
Sets the orientation of the edge loop, if the algorithm is a Convex Hull.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 843
Study
Read Only No
Vertices
Read Only No
CartesianTriplet
Triplet represented in cartesian coordinates
Properties
X
X coordinate
Read Only No
Y coordinate
Read Only No
Z coordinate
Read Only No
ChannelSection
This class represents channel beam cross section
Properties
LowerFlangeThickness
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
844 of ANSYS, Inc. and its subsidiaries and affiliates.
LowerFlangeWidth
Read Only No
OverallHeight
Overall Height
Read Only No
StemThickness
Stem Thickness
Read Only No
UpperFlangeThickness
Read Only No
UpperFlangeWidth
Read Only No
CircularSolidSection
This class represents circular solid beam cross section
Properties
Radius
Radius
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 845
Study
CircularTubeSection
This class represents circular tube beam cross section
Properties
InnerRadius
Read Only No
OuterRadius
Read Only No
ConditionGroup
Collection of UserObjects (Loads, Constraints, Contacts) and their selected StatusGroup for each step
Key is SolutionStep DataReference, Value is UserObject DataReference
Properties
ConditionDataReferences
Read Only No
SimulationStepStatusGroup
Read Only No
Configuration
The entity that represents a Configuration Task. Holds the list of configure controls objects.
Configure controls:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
846 of ANSYS, Inc. and its subsidiaries and affiliates.
Move/rotate control Allows the transformation selected part com-
ponents.
Properties
No Properties.
Methods
InsertPrimitiveBox
Required Arguments
ContourResult
Displays the contour of a selected variable on a specified location.
Properties
CalculateAverage
Read Only No
EvaluateFullRange
Read Only No
LastAutomaticDisplayText
Read Only No
Location
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 847
Study
Read Only No
RelativeTo
Read Only No
ResultName
Read Only No
Settings
This allows for the required settings (such as Fatigue Settings) to be added to the contour result.
Read Only No
SimulationStep
Read Only No
Variable
Read Only No
CylindricalTriplet
Triplet represented in cylindrical coordinates
Properties
Phi
Angle from the +X axis in the XY plane (a.k.a. theta or phi) phi = arctan(y / x) 0 <= theta < 2PI
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
848 of ANSYS, Inc. and its subsidiaries and affiliates.
Rho
Read Only No
Read Only No
DataManager
The DataManager is used to access readers and writers. This allows engineering data to be read and
written to and from files.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ProviderName
Methods
DeleteDataManager
Example
dataManagerThermal = study1.CreateDataManager(
Sources=[r"C:\ANSYSDev\Program Files\Ansys Inc\v151\Addins\EngineeringData\Samples\Thermal_Materials.xm
Provider="ANSYS")
Study.DeleteDataManager(dataManagerThermal)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 849
Study
FindByDescription
Finds items in the Data Manager, where the item's Description contains the supplied text.
Required Arguments
Example
This example create a data manager and searches for a match in the description.
dataManagerThermal = study1.CreateDataManager(
Sources=[r"C:\ANSYSDev\Program Files\Ansys Inc\v151\Addins\EngineeringData\Samples\Thermal_Materials.xm
Provider="ANSYS")
matList = Study.FindByDescription(dataManagerThermal, "Thermal Properties")
FindByModel
Finds materials in the Data Manager, where the material contains a matching model for the supplied
arguments.
Required Arguments
Optional Arguments
Definition The optional string to identify the way in which model is defined.
Example
This example creates a data manager and searches for materials that have an Isotropic Elasticity
model.
dataManagerGeneral = study1.CreateDataManager(
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
850 of ANSYS, Inc. and its subsidiaries and affiliates.
Sources=[r"C:\ANSYSDev\Program Files\Ansys Inc\v151\Addins\EngineeringData\Samples\General_Materials.xm
Provider="ANSYS")
matList = Study.FindByModel(dataManagerGeneral, "Elasticity", Behavior="Isotropic")
FindByName
Finds items in the Data Manager, where the item's name contains the supplied string.
Required Arguments
Name The string to identify the name of the item to be searched for.
Example
This example creates a data manager and searches for any material having Alloy in the name.
dataManagerGeneral = study1.CreateDataManager(
Sources=[r"C:\ANSYSDev\Program Files\Ansys Inc\v151\Addins\EngineeringData\Samples\General_Materials.xm
Provider="ANSYS")
matList = Study.FindByName(dataManagerGeneral, "Alloy")
FindByRange
Finds items in the Data Manager, where the item has the property and a value within the specified
range.
Required Arguments
MaximumQuantity The maximum quantity in the range to search for. i.e. 1 [kPa]
MinimumQuantity The minimum quantity in the range to search for. i.e. 10 [Pa]
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 851
Study
Example
This example creates a data manager and searches for any material having density in the range of
7000 [kg m^-3] to 9000 [kg m^-3].
dataManagerGeneral = study1.CreateDataManager(
Sources=[r"C:\ANSYSDev\Program Files\Ansys Inc\v151\Addins\EngineeringData\Samples\General_Materials.xm
Provider="ANSYS")
matList = Study.FindByRange(dataManagerGeneral, "Density", "7000 [kg m^-3]" ,"9000 [kg m^-3]")
GetValidContentNames
Return A List of strings containing the names of the items loaded into the
DataManager.
Optional Arguments
Example
This example creates a data manager and returns the items it is managing.
dataManagerGeneral = study1.CreateDataManager(
Sources=[r"C:\ANSYSDev\Program Files\Ansys Inc\v151\Addins\EngineeringData\Samples\General_Materials.xm
Provider="ANSYS")
contents = Study.GetValidContentNames(dataManagerGeneral)
Density
The Density model provided via a specified expression.
Properties
Magnitude
The Magnitude is an expresion which evaluates to a Quantity with the correct units.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
852 of ANSYS, Inc. and its subsidiaries and affiliates.
FidelityRefinement
No details are provided for this entry.
Properties
Behavior
Specifies whether size control settings can be changed by the mesher (Soft) or not (Hard).
Available options:
Soft
Hard
Read Only No
CurvatureNormalAngle
Read Only No
Detail
Read Only No
GrowthRate
Specifies increase in element edge length with each succeeding layer of elements.
Read Only No
LocalMinSize
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 853
Study
Read Only No
NumberOfCells
Specifies value to override global Number of cells across gap on local entities
Read Only No
ProximityMinimumSize
Read Only No
ProximitySizeFunctionSource
Specifies value to override global Number of cells across gap on local entities
Read Only No
SizeFunctionMethod
Available options:
Program controlled
Adaptive
Curvature and proximity
Curvature
Proximity
Fixed
Read Only No
GeometryDimension
Dimension parameter imported from CAD.
Properties
Value
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
854 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
GeometryImportSource
Defines an imported geometry source through direct file browsing or an active CAD attach source.
Provides the ability to update the geometry from the source system.
Properties
ActiveCADAttachSource
Read Only No
FilePath
Read Only No
LineModelTypes
Read Only No
MaterialAssignments
Read Only No
PlugInName
Displays the current plugin name when the source has been defined by an active CAD attach.
SharedEdgesAmongBeams
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 855
Study
Read Only No
SourceSelectionMode
Selection Types:
Read Only No
SourceType
Methods
BrowseImportSourceOperation
Required Arguments
GenerateImportSourceOperation
UpdateGeometryImportSource
Updates a specific Geometry Import Source from the source CAD system. Any changed parameter values
associated with this import source are pushed to the source CAD system.
UpdateGeometryImportSourceFromCAD
Updates a specific Geometry Import Source from the source CAD system. Parameter values associated
with the import source are synchronized with the current values defined in the source CAD system.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
856 of ANSYS, Inc. and its subsidiaries and affiliates.
GeometryPreferences
Defines geometry import preferences used during the initial geometry import and any subsequent up-
dates.
Properties
CleanGeometryOnImport
Read Only No
CoordinateSystemKey
Allows the specification of a key that is used to filter processed CAD System coordinate systema during
import. The key must be present at the beginning or the end of a coordinate system's name to be valid
for import. The Coordinate System Key supports multiple prefixes/suffixes with each value separated
by a semicolon. If the value is empty, all coordinate systems are imported. The key is empty by default.
Read Only No
DecomposeDisjointFaces
Enables the decomposition of disjoint faces into separate face entities. The default is No.
Read Only No
DimensionKey
Allows the specification of a key that is used to filter processed CAD System Parameters during import.
The key must be present at the beginning or the end of a CAD Parameter's name to be valid for import.
The Dimension Key supports multiple prefixes/suffixes with each value separated by a semicolon. If the
value is empty, all Dimensions are imported. The default key is "DS".
Read Only No
ImportCoordinateSystems
Specifies whether coordinate systems created in the CAD System are imported as Reference Frame
objects. The default is No.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 857
Study
ImportDimensions
Enables Dimension processing. Dimension processing can have a negative impact on overall import
performance. The default is Independent.
Read Only No
ImportNamedSelections
Enables processing of CAD System Named Selections that result in the creation of Selection Sets. The
default is No.
Read Only No
ImportSheets
Read Only No
ImportSolids
Read Only No
ImportWires
Read Only No
MixedResolution
Allows parts of mixed dimension to be imported as components of assemblies which have parts of
different dimensions. The default is None.
The following options control what is imported when there are bodies of mixed dimension in a multi-
body part:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
858 of ANSYS, Inc. and its subsidiaries and affiliates.
Type MixedResolutionType (p. 1454)
Read Only No
NamedSelectionKey
Allows the specification of a key that is used to filter processed CAD System Named Selections during
import. The key must be present at the beginning or end of a CAD Named Selection's name to be valid
for import. The Selection Set Key supports multiple prefixes/suffixes with each value separated by a
semicolon. If the value is empty, all Selection Sets are imported. The default key is "NS".
Read Only No
ProcessAssociativity
Indicates if action should be taken to allow associativity. Associativity processing can have a negative
impact on import performance. The default is Yes.
Read Only No
ProcessEnclosures
Enables the processing of enclosure and symmetry CAD System Named Selections. The default is Yes.
Read Only No
ReaderSaveUpdate
Enables saving of the internal part files generated from the geometry import during the import/update
action. The default is No.
Read Only No
StitchSurfacesOnImport
Read Only No
StitchTolerance
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 859
Study
Read Only No
UseInstances
Honors a geometry import's part instances during processing to produce faster import times and allow
smaller database sizes. The default is Yes.
Read Only No
GlobalMeshAdvancedAttributes
GlobalMeshAdvancedAttributes specifies the global advanced properties for Part Meshing.
Available options:
Properties
DefeaturingTolerance
Read Only No
ElementMidsideNodes
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
860 of ANSYS, Inc. and its subsidiaries and affiliates.
Kept Elements with midside nodes.
Read Only No
LoopRemovalTolerance
Specifies the tolerance value for sheet loop removal. Any loop with radius less than or equal to Loop
Removal Tolerance value is removed by mesher. Setting the tolerance value to 0 means that no loops
will be removed.
Read Only No
MeshBasedDefeaturing
Available options:
Read Only No
ProcessorLimit
Specifies the number of processors to be used by part-based meshing task to enhance performance
and ranges from 0 to 64. Default value of 0 (when Use all processors = Yes) automatically ensures that
maximum number of available CPU cores are utilized.
Read Only No
ShapeChecking
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 861
Study
Read Only No
StraightSidedElements
Available options:
No
Yes
Read Only No
TriangleSurfaceMesher
Available options:
Read Only No
UseAllProcessors
Available options:
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
862 of ANSYS, Inc. and its subsidiaries and affiliates.
GlobalMeshBoundaryLayerAttributes
GlobalMeshBoundaryLayerAttributes specifies the global boundary layer properties.
Available options:
Properties
CollisionAvoidance
Available options:
Read Only No
FilletRatio
Specifies whether fillets proportional to the prism height will be created in corner zones of tetrahedral
mesh.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 863
Study
FixFirstLayer
Determines whether the heights or ratios of the first boundary layer will be modified to avoid collision.
Available options:
No
Yes
Read Only No
GapFactor
Read Only No
GrowthRateType
Determines height of boundary layers for given initial height and height ratio.
Available options:
Read Only No
MaxAngle
Read Only No
MaxHeightOverBase
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
864 of ANSYS, Inc. and its subsidiaries and affiliates.
SmoothIterations
Read Only No
UsePostSmoothing
Available options:
No
Yes
Read Only No
GlobalMeshSizingAttributes
GlobalMeshSizingAttributes specifies the global mesh sizing attributes.
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 865
Study
Properties
AdaptiveResolution
Read Only No
CurvatureNormalAngle
Specifies maximum allowable angle that one element is allowed to span when Advanced Size Function
is Proximity and Curvature or Curvature.
Read Only No
ElementSeedSize
Read Only No
GrowthRate
Specifies the increase in edge length with each succeeding layer of elements.
Read Only No
MaxFaceSize
Read Only No
MaxSize
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
866 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
MinSize
Read Only No
NumberOfCellsAcrossGap
Specifies minimum number of elements to be generated in gaps when Advanced Size Function is
Proximity and Curvature or Proximity.
Read Only No
ProximityMinSize
Specifies global minimum size when Advanced Size Function is Proximity and Curvature or Proximity.
Read Only No
ProximitySizeFunctionSources
Specifies the source type to be used for size function calculation when Advanced Size Function is
Proximity or Curvature and proximity.
Available options:
Faces
Edges
FacesAndEdges
Read Only No
Smoothing
Available options:
Low
Medium
High
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 867
Study
UseAdvancedSizeFunction
Available options:
Adaptive
Curvature
Proximity
Fixed
ProximityCurvature
Read Only No
UseFixedSizeFunctionForSheets
Specifies use of Fixed Size function for sheets if there are present in the geometry.
Read Only No
GlobalPAMSizingAttributes
No details are provided for this entry.
Properties
AdvancedSizeFunction
Read Only No
CurvatureNormalAngle
DisableAutomaticControls
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
868 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
GrowthRate
Specifies the increase in edge length with each succeeding layer of elements.
MaxFaceSize
MaxSize
MinSize
NumberOfCellsAcrossGap
Specifies minimum number of elements to be generated in gaps when Advanced Size Function is
Proximity and Curvature or Proximity.
ProximitySizeFunctionSources
Specifies the source type to be used for size function calculation when Advanced Size Function is
Proximity or Curvature and proximity.
Available options:
Faces
Edges
FacesAndEdges
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 869
Study
UsePredefinedSettings
Automatically calculates the global sizing values based on the resolution value and the choice of size
function.
Read Only No
GlobalParametersExtension
Frequency parameters for Results
Properties
Frequency
FrequencyImaginary
FrequencyReal
GlobalWrapSewAdvancedAttributes
GlobalWrapSewAdvancedAttributes specifies the global advanced properties for wrap and sew.
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
870 of ANSYS, Inc. and its subsidiaries and affiliates.
CreateIntersectingEdgesForOverlappingBodies Create intersecting edges for overlapping
bodies.
Zoning Specifies options for zoning.
TargetMetric Specifies the measure for mesh quality.
MetricValue Specifies the value at which wrapper surface
will be improved.
Aggressive Specifies whether mesh may deviate from
geometry as a result of wrapper surface im-
provement.
Properties
Aggressive
Specifies whether mesh may deviate from geometry as a result of wrapper surface improvement.
Available options:
MeetTarget
MaintainGeometry
Read Only No
CreateIntersectingEdgesForOverlappingBodies
Available options:
No
Yes
Read Only No
EdgeExtractionAngle
Read Only No
MetricValue
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 871
Study
RefinementTolerance
Read Only No
TargetMetric
Available options:
Skewness
SizeChange
AspectRatio
Read Only No
TessellationRefinement
Available options:
Read Only No
Zoning
Available options:
Part
Body
Face
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
872 of ANSYS, Inc. and its subsidiaries and affiliates.
GravityDefinition
GravityDefinition defines the three components of gravity and the reference frame it is relative to.
Properties
RelativeToName
Relative to
XComponent
Read Only No
YComponent
Read Only No
ZComponent
Read Only No
HatSection
This class represents HAT beam cross section
Properties
LeftBrimThickness
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 873
Study
LeftBrimWidth
Read Only No
LeftStemThickness
Read Only No
OverallHeight
Overall Height
Read Only No
RightBrimThickness
Read Only No
RightBrimWidth
Read Only No
RightStemThickness
Read Only No
TopHatThickness
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
874 of ANSYS, Inc. and its subsidiaries and affiliates.
TopHatWidth
Read Only No
HollowRectangularSection
This class represents hollow rectangular beam cross section
Properties
LowerThickness
Lower Thickness
Read Only No
OuterHeightOfTheBox
Read Only No
OuterWidthOfTheBox
Read Only No
UpperThickness
Upper Thickness
Read Only No
VerticalLeftThickness
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 875
Study
VerticalRightThickness
Read Only No
Import
Main Data Import Task user object. Holds the list of import source objects
Properties
No Properties.
Methods
AddActiveCADAttachSourceOperation
Creates a single Geometry Import Source within an Import Task. The import source object will be initial-
ized with its source selection mode set to Active CAD Attach.
AddGeometryImportSourceOperation
Optional Arguments
ChooseImportSources
Multiple selection of import source files. The file list is processed and import source objects are created
within the Import Task.
Required Arguments
ISection
This class represents I beam cross section
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
876 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
LowerFlangeThickness
Read Only No
LowerFlangeWidth
Read Only No
OverallHeight
Overall height
Read Only No
StemThickness
Stem Thickness
Read Only No
UpperFlangeThickness
Read Only No
UpperFlangeWidth
Read Only No
IsoSurface
Creates surfaces of constant value of the specified variable.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 877
Study
Properties
EvaluateFullRange
Read Only No
IsovalueMethod
Read Only No
Isovalues
Read Only No
LastAutomaticDisplayText
Read Only No
Location
Read Only No
NumberOfIsovalues
Read Only No
ResultName
Result name
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
878 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
SimulationStep
Read Only No
Variable
Read Only No
IsotropicElasticity
The Isotropic Elasticity material model.
Properties
Derivation
The Isotropic Elasticity values can be entered for one of the following combinations:
which will then compute the other values using Hooke's law.
Read Only No
Magnitude
The Magnitude is used for an expresion to include variations of the data for any independent variable
(e.g. Temperature).
Read Only No
IsotropicElectricalConductivity
Isotropic bulk conductivity material model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 879
Study
Properties
Value
The Value is an expresion which evaluates to a Quantity with the correct units.
Read Only No
IsotropicMagneticLossTangent
Magnetic Loss Tangent material model.
Properties
Value
The Value is an expresion which evaluates to a Quantity with the correct units.
Read Only No
IsotropicRelativePermeability
The Isotropic Relative Permeability model.
Properties
Magnitude
Read Only No
IsotropicRelativePermittivity
Isotropic relative permittivity material model.
Properties
Magnitude
The Magnitude is an expresion which evaluates to a Quantity with the correct units.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
880 of ANSYS, Inc. and its subsidiaries and affiliates.
IsotropicResistivity
The input for resistivity which is isotropic.
Properties
Magnitude
Read Only No
IsotropicSecantCoefficientofThermalExpansion
The Isotropic Secant Coefficient of Thermal Expansion material model.
Properties
Magnitude
The Magnitude is an expresion which evaluates to a Quantity with the correct units.
Read Only No
IsotropicSeebeckCoefficient
Seebeck Coefficient : Isotropic model.
Properties
Magnitude
Read Only No
IsotropicThermalConductivity
The Isotropic Thermal Conductivity material model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 881
Study
Properties
Magnitude
The Magnitude is an expresion which evaluates to a Quantity with the correct units.
Read Only No
Legend
Specifies how the legend for the current object should be displayed.
Properties
ClipToRange
Specifies whether to clip out-of-range values. If not set, the out-of-range values are colored by the In-
valid Min/Max Colors.
Read Only No
ColorDistribution
Read Only No
Coloring
Read Only No
NumberOfColors
Read Only No
RangeMaximum
Specifies the maximum user range value when variable range is 'User Specified'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
882 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RangeMinimum
Specifies the minimum user range value when variable range is 'User Specified'.
Read Only No
VariableRange
Read Only No
Line
Line represented by 2 end points
Properties
Point1
Read Only No
Point2
Read Only No
LineChart
Displays the quantity of a variable on a line
Properties
EvaluateFullRange
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 883
Study
Location
Read Only No
NormalizeData
Read Only No
ReverseDirection
Reverse the direction of the data when it's sent to the graph
Read Only No
SimulationStep
Read Only No
Variable
Read Only No
Variables
Read Only No
LSection
This class represents L beam cross section
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
884 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
HorizontalLegLength
Read Only No
HorizontalLegThickness
Read Only No
VerticalLegLength
Read Only No
VerticalLegThickness
Read Only No
MagneticCoercivity
Magnetic Coercivity material model.
Properties
MagnetizationDirectionType
Read Only No
Magnitude
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 885
Study
Read Only No
Primary
First component
Read Only No
Secondary
Second component
Read Only No
Tertiary
Third component
Read Only No
Material
The material object holds all information that defines the behavior for a specific material.
Properties
DefaultStateOfMatter
A material can have data for the states; solid, liquid and gas. The default specifies that when this mater-
ial is assigned to the model it will by default use this state.
Read Only No
Description
Read Only No
SourceInformation
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
886 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
Methods
AddPropertyTable
This command is used to allow the expression of a property to reference data in the named table. This
is a reference and not a copy, and so if the table is used in the expression, and a change is made on
the referenced table and the change is in the data being referenced the value of the property will be
modified. The command creates table functions in the context of this expression which can be used
with constants, field variables, or another named expression. If the property does not support an expres-
sion an error will occur.
Required Arguments
Dependents A List of the column index(es) to use from the Table which correspond to the de-
pendent variable(s) of the Property. The indexes can be an Integer index or the String
name of the column.
Independents A List of the column index(es) to use from the Table for use in the expression and
correspond to the independent variables of the Property. The indexes can be an In-
teger index or the String name of the column.
Index An integer which uniquely identifies the Table for use in the expression of the
Property. In the expression this table can be accessed via tableIndex(args). The table
with an index of one can be accessed in the expression as table(args) or table1(args).
Property The String which provides the path of the property on the Parent.
Optional Arguments
Bounds An enum which describes what will occur when the index is outside of the bounds
of the table. The valid enum values are; Constant, Fit, Zero, and Error. The default
is Error.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 887
Study
Interpolation An enum of the type of interpolation to use when accessing data from the table
at a given index. The valid enum values are; None, Linear, Cubic Spline. The default
is Linear.
Example
CreateContent
Includes a physical quantity or the constitutive relation for the physical response of a material.
The material property is created based on the specified optional parameters "Definition" and "Behavior".
You can use the GetValidMaterialContentQuery query to obtain a list of available property/models with
the corresponding behavior and/or definition.
Optional Arguments
The behavior typically refers to how the material responds, e.g., the density property
could behave as an Ideal Gas or a Real Gas.
Definition The optional string to identify the way in which new material property/model will be
defined.
In some cases the material property/model may be defined in different ways, e.g.,
Thermal Expansion can be defined using Secant or Instantaneous.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
888 of ANSYS, Inc. and its subsidiaries and affiliates.
Model The string to identify the material property/model to be included.
State The optional string to identify the physical state of the property/model.
Example
CreatePropertyTable
Required Arguments
Fields A List of field variable names to be used as the independent variables for this property.
The dependent variables are defined by the Property.
Property The String which provides the path of the property on the Parent.
Example
This example creates a new Table for the Isotropic Resistivity property in a material.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 889
Study
DeleteContent
Required Arguments
Optional Arguments
Behavior The optional string to identify the behavior of the property/model that is to be deleted.
The behavior typically refers to how the material responds, e.g., the density property
could behave as an Ideal Gas or a Real Gas.
Definition The optional string to identify the way in which material property/model to be deleted
was defined.
In some cases the material property/model may be defined in different ways, e.g.,
Thermal Expansion can be defined using Secant or Instantaneous.
State The optional string to identify the physical state to add the property/model.
Example
This example deletes the Isotropic Elasticity model from an already created material.
ExportEngineeringData
Required Arguments
Source The source that this data will be exported to, via the Data Manager.
Optional Arguments
DataManager The data manager which is managing the requested engineering data. If not provided
then the DataManager associated with the Entity will be used. If the Entity has no
associated DataManager the default ANSYS Data Manager will be used.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
890 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Format The format which the Data Manager should use to save the entity. If it is not provided
the DataManager will determine it based on the Source. If the Source does not yet
exist the Data Manager will determine the format if it is a single type or throw an
exception if the Format is not provided.
Example
This example assumes that a material and data manager exist in the Study
ImportEngineeringData
ImportEngineeringData allows an engineering data object which can be managed to import data from
a source via a DataManager
Required Arguments
Name The name of the engineering data to import from the DataManager.
Optional Arguments
DataManager The data manager which is managing the requested engineering data. If not provided
then the DataManager associated with the Entity will be used. If the Entity has no
associated DataManager the default ANSYS Data Manager will be used.
Source The source of the data which will be managed by the Data Manager. If it is not
provided the Source property of the DataManager will be used, if it is not set then
an exception will occur.
Example
material1.ImportEngineeringData(Name="Aluminum Alloy")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 891
Study
RemovePropertyTable
Remove a table reference from a property to prevent its use in an expression. If the property does not
support an expression an error will occur.
Required Arguments
Index The integer which uniquely identifies the Table for use in the expression of the Property.
Property The String which provides the path of the property on the Parent.
Example
MaterialAssignment
Assigns a Material to a specified Location.
Properties
Location
Read Only No
Material
For UI access only to the reference to the Material, other areas should use MaterialAtState
Read Only No
ReferenceFrame
When applicable, for example orthotropic data is present, the reference frame is used to determine the
material's x, y, and z coordinates.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
892 of ANSYS, Inc. and its subsidiaries and affiliates.
StateOfMatter
Read Only No
MaterialAtState
The material object holds all information that defines the behavior for a specific material.
Properties
Description
Read Only No
SourceInformation
Methods
AddPropertyTable
This command is used to allow the expression of a property to reference data in the named table. This
is a reference and not a copy, and so if the table is used in the expression, and a change is made on
the referenced table and the change is in the data being referenced the value of the property will be
modified. The command creates table functions in the context of this expression which can be used
with constants, field variables, or another named expression. If the property does not support an expres-
sion an error will occur.
Required Arguments
Dependents A List of the column index(es) to use from the Table which correspond to the de-
pendent variable(s) of the Property. The indexes can be an Integer index or the String
name of the column.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 893
Study
Independents A List of the column index(es) to use from the Table for use in the expression and
correspond to the independent variables of the Property. The indexes can be an In-
teger index or the String name of the column.
Index An integer which uniquely identifies the Table for use in the expression of the
Property. In the expression this table can be accessed via tableIndex(args). The table
with an index of one can be accessed in the expression as table(args) or table1(args).
Property The String which provides the path of the property on the Parent.
Optional Arguments
Bounds An enum which describes what will occur when the index is outside of the bounds
of the table. The valid enum values are; Constant, Fit, Zero, and Error. The default
is Error.
Interpolation An enum of the type of interpolation to use when accessing data from the table
at a given index. The valid enum values are; None, Linear, Cubic Spline. The default
is Linear.
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
894 of ANSYS, Inc. and its subsidiaries and affiliates.
bc1.SetPropertyExpression(Entity=bc1, Name=“Magnitude”, Expression=“table1(20)”)
RemovePropertyTable
Remove a table reference from a property to prevent its use in an expression. If the property does not
support an expression an error will occur.
Required Arguments
Index The integer which uniquely identifies the Table for use in the expression of the Property.
Property The String which provides the path of the property on the Parent.
Example
MaterialOrientation
No details are provided for this entry.
Properties
DefineBy
Read Only No
EdgeGuide
Read Only No
MaximumNumberOfDisplayPoints
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 895
Study
Read Only No
RelativeTo
Read Only No
SurfaceGuide
Read Only No
MeshControlBodySizing
Body Sizing control which contains all sizing options a user can place on a Body reference
Properties
Behavior
Specifies whether size control settings can be changed by the mesher (Soft) or not (Hard).
Available options:
Soft
Hard
Read Only No
CurvatureNormalAngle
Read Only No
ElementSize
Specifies the maximum size for the edge, face or body sizing control.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
896 of ANSYS, Inc. and its subsidiaries and affiliates.
GrowthRate
Specifies increase in element edge length with each succeeding layer of elements.
Read Only No
LocalMinSize
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Read Only No
NumberOfCells
Specifies value to override global Number of cells across gap on local entities
Read Only No
ProximityMinimumSize
Read Only No
ProximitySizeFunctionSource
Specifies value to override global Number of cells across gap on local entities
Read Only No
SizeFunctionMethod
Available options:
Program controlled
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 897
Study
Adaptive
Curvature and proximity
Curvature
Proximity
Fixed
Read Only No
MeshControlEdgeSizing
Specifies attributes for edge sizing.
Available options:
Properties
Behavior
Specifies whether size control settings can be changed by the mesher (Soft) or not (Hard).
Available options:
Soft
Hard
Read Only No
BiasGrowthRate
Read Only No
BiasMethod
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
898 of ANSYS, Inc. and its subsidiaries and affiliates.
BiasType
Available options:
Right
Left
CenterIn
CenterOut
Constant
Read Only No
CurvatureNormalAngle
Read Only No
EdgeDivisions
Read Only No
EdgeSizingMethod
Available options:
ElementSize
EdgeDivisions
Read Only No
ElementSize
Specifies the maximum size for the edge, face or body sizing control.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 899
Study
GrowthRate
Specifies increase in element edge length with each succeeding layer of elements.
Read Only No
LocalMinSize
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Read Only No
NumberOfCells
Specifies value to override global Number of cells across gap on local entities
Read Only No
ProximityMinimumSize
Read Only No
ProximitySizeFunctionSource
Specifies value to override global Number of cells across gap on local entities
Read Only No
SizeFunctionMethod
Available options:
Program controlled
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
900 of ANSYS, Inc. and its subsidiaries and affiliates.
Adaptive
Curvature and proximity
Curvature
Proximity
Fixed
Read Only No
MeshControlElementShape
Mesh Method properties
Properties
LocalElementMidsideNodes
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Read Only No
Shape
Read Only No
SourceLocation
Read Only No
TargetLocation
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 901
Study
Read Only No
MeshControlFaceSizing
Face Sizing control to be scoped to a topological selection of faces.
Properties
Behavior
Specifies whether size control settings can be changed by the mesher (Soft) or not (Hard).
Available options:
Soft
Hard
Read Only No
CurvatureNormalAngle
Read Only No
ElementSize
Specifies the maximum size for the edge, face or body sizing control.
Read Only No
GrowthRate
Specifies increase in element edge length with each succeeding layer of elements.
Read Only No
LocalMinSize
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
902 of ANSYS, Inc. and its subsidiaries and affiliates.
Location
A common property for all sub meshing objects with a defined Geometry Filter
Read Only No
NumberOfCells
Specifies value to override global Number of cells across gap on local entities
Read Only No
ProximityMinimumSize
Read Only No
ProximitySizeFunctionSource
Specifies value to override global Number of cells across gap on local entities
Read Only No
SizeFunctionMethod
Available options:
Program controlled
Adaptive
Curvature and proximity
Curvature
Proximity
Fixed
Read Only No
MeshControlLocalBoundaryLayer
Specifies local boundary layer attributes.
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 903
Study
Properties
AspectRatio
Read Only No
BoundaryLayerAlgorithm
Available options:
Post
Pre
Read Only No
DefineBy
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
904 of ANSYS, Inc. and its subsidiaries and affiliates.
FirstLayerThickness Creates constant boundary layers using values
of First Layer Height, Maximum Layers and
Growth Rate.
FirstAspectRatio Creates boundary layers using values of First
Aspect Ratio, Maximum Layers and Growth
Rate.
LastAspectRatio Creates constant boundary layers using values
of First Layer Height, Maximum Layers and
Aspect Ratio.
Read Only No
FirstAspectRatio
Specifies the aspect ratio of the boundaries that are extruded from the boundary base.
Read Only No
FirstLayerHeight
Read Only No
GrowthRate
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Read Only No
MaximumLayers
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 905
Study
MaximumThickness
Read Only No
NumberOfLayers
Read Only No
TransitionRatio
Read Only No
UseAutomaticallyDefinedLocation
A common toggle for all sub meshing objects with a Location property so that it can be automatically
set. Currently only visible in Boundary Layer object.
Read Only No
MeshCrossSection
No details are provided for this entry.
Properties
Area
Read Only No
AreaMomentOfInertiaAboutYAxis
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
906 of ANSYS, Inc. and its subsidiaries and affiliates.
AreaMomentOfInertiaAboutZAxis
Read Only No
CentroidAbscissa
Read Only No
CentroidOrdinate
Read Only No
ProductOfInertiaAboutYZAxes
Product of inertia
Read Only No
SectionIntegrationOptions
Read Only No
ShearCenterAbscissa
Read Only No
ShearCenterOrdinate
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 907
Study
Torsion
Torsion constant
Read Only No
Warping
Warping constant
Read Only No
MeshDiagnostics
MeshDiagnostics specifies the settings used to evaluate mesh quality.
Available options:
Properties
AverageMetric
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
908 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
MaxMetric
Read Only No
MeshMetric
Available options:
Read Only No
MinMetric
Read Only No
NumElements
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 909
Study
Read Only No
NumNodes
Read Only No
StandardDeviation
Read Only No
Methods
EvaluateMeshDiagnostics
Evaluates the output mesh metrics for a given Mesh Diagnostics control.
MeshDisplayProperties
Base class for display state objects with reference Ids or reference names.
Properties
No Properties.
MeshDisplayPropertiesWithIds
Object returned by mesh display state queries with reference Ids and their corresponding display state
properties.
Available properties:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
910 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
No Properties.
MeshDisplayPropertiesWithStrings
Object returned by mesh display state queries with reference names and their corresponding display
state properties.
Available properties:
Properties
No Properties.
Meshing
Meshing Task is used to determine (in a smart way) which meshing technology to use for meshing the
model. A mesh can be generated by either (1) selectively meshing parts or entire assemblies of parts,
or (2) filling in the volume of a surface mesh created by a Wrap task.
Available options:
Properties
DeriveZoneTypeFromName
Used only when there is a connection from AIM Mesh Modeling component to Fluent Setup - part mesh
file tranfer
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 911
Study
EngineeringIntent
Defines the kind of physics that is being studied in this simulation process (used in part-based Meshing).
Available options:
Read Only No
MeshingRetries
Will tell the mesher to try again with finer sizing inputs if the first attempt at meshing fails.
Read Only No
MeshResolution
Defines the resolution for automatically calculating global meshing inputs. Selecting a higher resolution
generates a better quality mesh.
Read Only No
ThinStructures
Read Only No
UsePredefinedSettings
Automatically calculates the global sizing values based on the resolution value.
Read Only No
MeshModeling
Main MeshModeling Task user object
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
912 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DeriveZoneTypeFromName
Used only when there is a connection from AIM Mesh Modeling component to Fluent Setup - part mesh
file transfer
Read Only No
MeshSectionCell
No details are provided for this entry.
Properties
No Properties.
MeshSectionNode
No details are provided for this entry.
Properties
No Properties.
Modeling
Main Modeling Task user object
Properties
No Properties.
Methods
ChooseGeometryImport
Browses for the geometry import file path and sets it for a Modeling Task.
Required Arguments
ResyncGeometry
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 913
Study
SetImportPath
Required Arguments
ModelingImportSource
Defines an imported modeling source associated with the Modeling Task.
Properties
ActiveCADAttachSource
Read Only No
FilePath
Read Only No
LineModelTypes
Read Only No
MaterialAssignments
Read Only No
PlugInName
Displays the current plugin name when the source has been defined by an active CAD attach.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
914 of ANSYS, Inc. and its subsidiaries and affiliates.
SharedEdgesAmongBeams
Read Only No
SourceSelectionMode
Selection Types:
Read Only No
SourceType
ModelsElasticity
Elasticity of the active model.
Properties
ModelType
Read Only No
ModelsPlasticity
Plasticity of the active model.
Properties
As
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 915
Study
Read Only No
MolarMass
The Molar Mass model.
Properties
Magnitude
Read Only No
MonitorChart
Class containing a list of monitors to be displayed in a single chart.
Properties
No Properties.
MoveRotateControl
The Configuration control to move or rotate the geometry to a new Reference Frame.
Properties
PartSelections
Read Only No
RelativeTo
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
916 of ANSYS, Inc. and its subsidiaries and affiliates.
Methods
GenerateConfigureControlCommand
MultipleTableEditor
Class that edits multiple tables.
Properties
ReferenceValue
Read Only No
Table
A Table Expression.
Read Only No
NeoHookeanHyperElasticity
The Neo-Hookean Hyperelasticity model.
Properties
Magnitude
The Magnitude.
Read Only No
OriginAndOrientationDefinitionMethod
Defines a reference frame from a local origin and 2 direction vectors
Properties
No Properties.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 917
Study
OrthotropicElasticity
The Orthotropic Elasticity model.
Properties
Magnitude
The Magnitude.
Read Only No
PhysicsCoupling
Provides the definition of a Physics Coupling Interface.
Properties
PhysicsRegion1
The source Physics Region that sends data via the Physics Coupling Interface.
Read Only No
PhysicsRegion2
The target Physics Region that receives data via the Physics Coupling Interface.
Read Only No
Side1Location
The source locations for the Physics Coupling Interface. This location can be set to AllCouplingSource-
Faces(), AllCouplingSourceBodies(), or specific boundary conditions or selection sets from the Source
solution.
Read Only No
Side2Locations
The target locations that receive data via the Physics Coupling Interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
918 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
SourceFrequency
Read Only No
PhysicsDefinition
Represents a physics solution.
Properties
CalculationType
Read Only No
PhysicsFidelity
Defines the resolution for automatically calculated solver inputs. Selecting a higher fidelity gives better
accuracy.
Read Only No
PreStressedModal
Read Only No
RandomVibration
Read Only No
Methods
EvaluateVolumeResult
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 919
Study
Optional Arguments
GenerateConductionPaths
GenerateInitialMesh
GetAllBoundaryConditions
Provides a list of all Boundary Conditions in this entity. (Deprecated; use GetAllConditionsQuery instead)
GetAllConditions
Optional Arguments
GetAllContacts
GetAllObjects
GetAllObjects may be used to get all of the objects for the given search criteria.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
920 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
SearchLocation The criteria to use to do the match for the SearchString. This can be Exact, Begin-
sWith, Contains, or EndsWith and the default is Exact.
SearchString A search string to filter the return Components for the requested Type.
Example
system1 = GetSystem(Name="Study")
solutionComponent1 = Study.CreateTask(
Name="Solution",
System=system1)
study1 = system1.GetContainer(ComponentName="Study")
solution1 = study1.GetSolution(Name="Solution")
for item in solution1.GetAllObjects():
print item
GetAllPhysicsRegions
GetBodiesOfUnknownPhysicsRegion
Gets a list of bodies that are not associated with a physics region.
Return A list of bodies that are not associated with any physics regions.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 921
Study
GetBodiesOfUnknownPhysicsRegionAndTotalBodyCount
Gets a list of bodies that are not associated with a physics region and also the total number of bodies.
Return Total count of bodies and a list of bodies that are not associated
with any physics regions.
Type Dictionary (p. 1422)<long (p. 1442), List (p. 1447)<string (p. 1485)>>
Required Arguments
GetDuplicateMaterialAssignments
Required Arguments
GetMaterialAssignments
GetTopologyWithoutMaterial
Locates the topologies ( represented by their reference strings ) that currently don't have a material
assignment given an active Model.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
922 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
WriteSolverInputFile
PhysicsOptions
The common set of Physics Options.
Properties
No Properties.
PhysicsRegion
Specifies the type and location of the fundamental physics in the simulation.
Properties
Location
Read Only No
PhysicsType
Read Only No
Methods
GetAllBoundaryConditions
Provides a list of all Boundary Conditions in this entity. (Deprecated; use GetAllConditionsQuery instead)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 923
Study
GetAllConditions
Optional Arguments
GetDuplicateMaterialAssignments
Required Arguments
GetMaterialAssignments
GetTopologyWithoutMaterial
Locates the topologies ( represented by their reference strings ) that currently don't have a material
assignment given an active Model.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
924 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Plane
The analytic definition of a flat plane where the Z axis is the normal direction.
Properties
ConstructionMethod
Read Only No
ScopedBodies
Read Only No
Transform
Plane transform.
PlaneFromPlaneDefinition
Definition type for defining a plane from another plane.
Properties
BasePlane
Read Only No
PlaneFromReferenceFrameDefinition
Definition type for defining a plane from a reference frame.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 925
Study
Properties
Plane
Read Only No
ReferenceFrame
Read Only No
PlaneOriginAndOrientationDefinition
Definition type for defining a plane from an origin and 2 axes.
Properties
No Properties.
PlaneTransformation
Extension for plane offset and rotation
Properties
RotationAngle
Read Only No
Suppress
Read Only No
Point
Point represented by local coordinates relative to a reference frame.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
926 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
CalculationMethod
Read Only No
DefineBy
Read Only No
Location
Read Only No
RelativeTo
Read Only No
PointDefinition
Collection of properties to define a UniversalPoint
Properties
CalculationMethod
Read Only No
DefineBy
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 927
Study
Read Only No
Location
Read Only No
RelativeTo
Read Only No
PowerFerriteCoreLoss
Core Loss Power Ferrite material model.
Properties
CM
Read Only No
Read Only No
Read Only No
PrimitiveBox
This class represents a primitive box component
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
928 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
CreateSelectionSets
Read Only No
PrimitiveBoxConstraint
This class extends the PrimitiveBox class. Contains properties like Selection Method, Cushioning, Location
etc.
Properties
CushionXminus
Read Only No
CushionXplus
Read Only No
CushionYminus
Read Only No
CushionYplus
Read Only No
CushionZminus
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 929
Study
Read Only No
CushionZplus
Read Only No
EntitiesInSelection
Read Only No
SelectionMethod
Gets or sets the options for choosing between box creation methods.
Read Only No
TypeOfCushion
Gets or sets the option to select between Uniform or Non-Uniform cushion around box.
Read Only No
UniformCushionValue
Read Only No
QuadrilateralSection
This class represents quadrilateral beam cross section. It consists of four coordinates for the corners(i,j,k,l),
each having an abscissa and ordinate.
Properties
Abscissa1
Abscissa 1
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
930 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Abscissa2
Abscissa 2
Read Only No
Abscissa3
Abscissa 3
Read Only No
Abscissa4
Abscissa 4
Read Only No
Ordinate1
Ordinate 1
Read Only No
Ordinate2
Ordinate 2
Read Only No
Ordinate3
Ordinate 3
Read Only No
Ordinate4
Ordinate 4
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 931
Study
Read Only No
RectangularSection
This class represents retangular beam cross section
Properties
Height
Overall height
Read Only No
Width
Overall width
Read Only No
ReferenceFrame
Frame of reference for modeling and simulation data.
Properties
ConfigurationTransform
DefinitionType
Read Only No
EnablePivot
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
932 of ANSYS, Inc. and its subsidiaries and affiliates.
ParentFrame
Read Only No
PreferredCoordinateType
Read Only No
ResultObject
Used to define and evaluate a quantitative result in an Analysis.
Properties
CalculateAverage
Read Only No
EvaluateFullRange
Read Only No
LastAutomaticDisplayText
Read Only No
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 933
Study
RelativeTo
Read Only No
ResultName
Read Only No
SimulationStep
Read Only No
Variable
Read Only No
Methods
Evaluate
Evaluates the Result's calculated and displayed values based on the current solution.
Results
The top-level object for a Results task.
Properties
AnimationDuration
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
934 of ANSYS, Inc. and its subsidiaries and affiliates.
CustomScaling
Read Only No
Scaling
Read Only No
ResultSetParametersExtension
Parameters for Results
Properties
Mode
Read Only No
PhaseAngle
Read Only No
Substep
Read Only No
ReverseAboutXTransform
Rotates about the X axis by 180 degrees.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 935
Study
Properties
Suppress
Read Only No
ReverseAboutYTransform
Rotates about the Y axis by 180 degrees
Properties
Suppress
Read Only No
ReverseAboutZTransform
Rotates about the Z axis by 180 degrees
Properties
Suppress
Read Only No
RotationTransform
Rotates the matrix about a vector relative to the local reference frame.
Properties
RelativeToType
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
936 of ANSYS, Inc. and its subsidiaries and affiliates.
RotationAngle
Read Only No
Suppress
Read Only No
SectionLayer
SectionLayer is a class that represents various section properties as available to a given layer. In general
composite shell and beam elements can have multiple layers and each layer can have its own orientation,
thickness and offset.
Properties
Offset
Read Only No
RelativeTo
Read Only No
Thickness
Thickness
Read Only No
SelectionSet
An object that can be used to reference any Location.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 937
Study
Properties
Location
The selected location: evaluates to a set of reference ids. See LocationSet for more detail.
Read Only No
Methods
GetSelectionSetSelectableEntityCount
Shape
The top-level object for a Shape task.
Properties
DensityThreshold
Read Only No
ResultName
Read Only No
ShapeAdjustment
Read Only No
SmoothShape
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
938 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
Read Only No
Methods
ExportNewModel
ShapeTaskStatistics
Class to optimize Shape statistics.
Properties
MassReduction
OriginalMass
OriginalVolume
ReducedMass
ReducedVolume
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 939
Study
VolumeReduction
ShellThickness
ShellThickness is a class that holds thickness and offset information of surface bodies.
Properties
IsImportedThickness
Flag if the thickness and offset information are imported data from a modeler as opposed to user input
data.
Read Only No
Location
Read Only No
Offset
Input user offset value when the Thickness distribution is set to User defined offset.
Read Only No
ReverseOffsetDirection
Read Only No
Thickness
Total thickness
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
940 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
ThicknessDistribution
Offset of the shell section, also the location of the nodes in the section.
Read Only No
Simulation
The top-level object that manages all data in a simulation study. Depends on the Reference Manager
,Configuration Manager and ETRM
Properties
No Properties.
Methods
GetAllModels
GetObjectsForReference
A query to get all data objects in the simulation which reference the topological entity with the given
reference ID.
Return The list of data objects that references the given input Reference
string.
Required Arguments
Reference The toplogical entities reference string such as "BODY1", "FACE16", etc
GetPhysicsRegionForSelection
Returns the Physics Regions that contain any of the specified journal reference strings.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 941
Study
Required Arguments
SingleValueResult
A result object that can be used to evaluate a single calculated value.
Properties
CalculateAverage
Read Only No
Condition
Read Only No
EvaluateFullRange
Read Only No
Expression
An expression to be calculated.
Read Only No
Function
Read Only No
LastAutomaticDisplayText
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
942 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
Location
Read Only No
MeshEntity
Specifies the type of mesh location (node, element, face, edge) to be used to calculate the value.
Read Only No
Method
Read Only No
RelativeTo
Read Only No
ResultName
Read Only No
SimulationStep
Read Only No
Value
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 943
Study
Read Only No
Variable
Read Only No
WeightType
Read Only No
SolutionProgression
SolutionProgression is a class that specifes convergence, stabilization of solution etc, the typical attributes
for monitoring and controlling a solution.
Properties
MaxNumberDesignIterations
Read Only No
SolutionQualityMonitor
Solution quality monitor objects are used to present graphical charts tracking aspects of the solution
quality, such as convergence.
Properties
Component
Read Only No
Location
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
944 of ANSYS, Inc. and its subsidiaries and affiliates.
Type LocationSet (p. 1447)
Read Only No
MonitorTypeName
Read Only No
SubCategory
Gives the name of a set of fields (assembly of fields of same nature : for contact, for thermal, ..)
Read Only No
SolutionStep
Solution Step
Properties
SolutionProgression
Read Only No
SolutionVariableMonitor
Solution variable monitor objects are used to present graphical charts tracking aspects of the solution
results, such as displacements.
Properties
Component
Read Only No
Location
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 945
Study
Read Only No
MonitorTypeName
Read Only No
SubCategory
Gives the name of a set of fields (assembly of fields of same nature : for contact, for thermal, ..)
Read Only No
SolverSettings
The common set of solver settings.
Properties
No Properties.
SpecificHeatConstantPressure
The specific heat at constant pressure model provided via a specified expression.
Properties
Magnitude
The Magnitude is an expresion which evaluates to a Quantity with the correct units.
Read Only No
SphericalTriplet
Triplet represented in spherical coordinates
Properties
Phi
Angle in the XY plane counter-clockwise from the +X axis (a.k.a phi) phi = arctan(y / x)
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
946 of ANSYS, Inc. and its subsidiaries and affiliates.
R
Read Only No
Theta
Angle between the +Z axis and the vector (a.k.a. polar angle, theta) theta = arccos(z / r)
Read Only No
StateOfMatterExtension
For the purpose of using generic in AddProperty need a base for the StateOfMatter
Properties
No Properties.
StatusGroup
Defines the behavior (suppression, ramping, factor, locked) for a collection of UserObjects
Properties
No Properties.
StepControlExtension
StepControlExtension is a class to represents controls for Simulation
Properties
NumberOfSteps
StrainLifeParameters
The Strain Life Properties material model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 947
Study
Properties
CyclicStrainHardeningExponent
Read Only No
CyclicStrengthCoefficient
Read Only No
DuctilityCoefficient
Read Only No
DuctilityExponent
Read Only No
StrainLifeCurve
StrengthCoefficient
Read Only No
StrengthExponent
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
948 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
StressStrainCurve
Stress-Strain Curve
StreamLine
A result that displays flow paths within a vector field.
Properties
Direction
Read Only No
Distribution
Read Only No
EndTime
Read Only No
EndTimeFactor
The amount my which the maximum integration time is scaled when creating animated streamlines.
Read Only No
EvaluateFullRange
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 949
Study
FadeLineSegments
Read Only No
FixedStepSize
The size of integration steps in streamline creation when using a fixed step size.
Read Only No
LastAutomaticDisplayText
Read Only No
Location
Read Only No
MeshDistribution
Read Only No
NSteps
Read Only No
ResultName
Result name
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
950 of ANSYS, Inc. and its subsidiaries and affiliates.
RibbonWidth
Read Only No
SegmentRatio
Read Only No
SkipFactor
How many nodes or elements are skipped when sampling mesh to generate seed points.
Read Only No
StepSize
The method used to determine the size of integration steps in streamline creation.
Read Only No
StreamLineColorOption
Read Only No
StreamLineDisplayStyle
Read Only No
StreamLineShape
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 951
Study
StreamLineStyle
Read Only No
SymbolScaleFactor
Read Only No
SymbolSegmentDensity
Read Only No
SymbolShape
Read Only No
TubeDiameter
Read Only No
UniformDistributionSize
Read Only No
Variable
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
952 of ANSYS, Inc. and its subsidiaries and affiliates.
VolumetricGridSpacing
Read Only No
WireThickness
Read Only No
SummaryParametersExtension
Summary of Result values
Properties
Average
Max
Min
Sum
The calculated Sum total of the Quantity being evaluated in this Result.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 953
Study
SumX
The calculated Sum total of the X-component of the Quantity evaluated in this Result.
SumY
The calculated Sum total of the Y-component of the Quantity evaluated in this Result.
SumZ
The calculated Sum total of the Z-component of the Quantity evaluated in this Result.
SuppressControl
Settings for the suppression of geometry or mesh in a Configuration.
Properties
PartSelections
Read Only No
Methods
GenerateConfigureControlCommand
SutherlandThreeCoefficientDefinition
The three coefficient model definition.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
954 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EffectiveTemperature
Read Only No
ReferenceTemperature
Read Only No
ReferenceViscosity
Read Only No
SutherlandTwoCoefficientDefinition
The two coefficient model definition
Properties
CoefficientC1
Read Only No
CoefficientC2
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 955
Study
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TableResult
Table object that displays result data.
Properties
Data
EvaluateFullRange
Read Only No
LastAutomaticDisplayText
Read Only No
TensileUltimateStrength
The Tensile Ultimate Strength model.
Properties
Magnitude
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
956 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
TensileYieldStrength
The Tensile Yield Strength model.
Properties
Magnitude
Read Only No
ThreeCoefficientDefinition
The three coefficient definition
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ReferenceTemperature
Read Only No
ReferenceViscosity
Read Only No
TemperatureExponent
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 957
Study
Read Only No
TimeDependentParametersExtension
Time dependent parameters for post objects
Properties
Time
Read Only No
Transcript
Controls the contents of a Transcript monitor.
Properties
Filename
Read Only No
SourceType
Read Only No
TranslationTransform
Translates a reference frame by a vector.
Properties
RelativeToType
Define the translation vector relative to Local or Parent. This is a simplification of the TranslationVector
RelativeTo property
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
958 of ANSYS, Inc. and its subsidiaries and affiliates.
Suppress
Read Only No
TSection
This class represents T beam cross section
Properties
FlangeThickness
Flange Thickness
Read Only No
FlangeWidth
Flange Width
Read Only No
OverallHeight
Overall height
Read Only No
StemThickness
Stem Thickness
Read Only No
TwoCoefficientDefinition
The two coefficient definition.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 959
Study
Properties
DimensionalCoefficientB
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
TemperatureExponent
Read Only No
UniversalTriplet
Representation of a point or vector in cartesian, cylindrical, and spherical coordinates
Properties
CoordinateType
Read Only No
UniversalVectorDefinition
Collection of properties to define a UniversalVector
Properties
CalculationMethod
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
960 of ANSYS, Inc. and its subsidiaries and affiliates.
DefineBy
Read Only No
Location
Read Only No
Magnitude
Read Only No
RelativeTo
Read Only No
ReverseDirection
Read Only No
VectorDefineBy
Read Only No
VectorResult
A result object that displays the magnitude and direction of a vector field.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 961
Study
Properties
CalculateAverage
Read Only No
Distribution
Read Only No
EvaluateFullRange
Read Only No
LastAutomaticDisplayText
Read Only No
Location
Read Only No
MeshDistribution
Read Only No
RelativeTo
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
962 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
ResultName
Read Only No
SimulationStep
Read Only No
SkipFactor
How many nodes or elements are skipped when sampling mesh to generate seed points.
Read Only No
SymbolLength
Read Only No
SymbolScaleFactor
Read Only No
SymbolShape
Read Only No
UniformDistributionSize
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 963
Study
Read Only No
Variable
Read Only No
VolumetricGridSpacing
Read Only No
Viscosity
The viscosity model provided via a specified expression.
Properties
Magnitude
The Magnitude is an expresion which evaluates to a Quantity with the correct units.
Read Only No
ViscosityCarreauShearAndTemperatureDependent
The Shear Rate and Temperature dependent model.
Properties
ActivationEnergy
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
964 of ANSYS, Inc. and its subsidiaries and affiliates.
InfiniteShearViscosity
Read Only No
PowerLawIndex
Read Only No
ReferenceTemperature
Read Only No
TimeConstant
Read Only No
ZeroShearViscosity
Read Only No
ViscosityCarreauShearRateDependent
The Shear Rate dependent model.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 965
Study
InfiniteShearViscosity
Read Only No
PowerLawIndex
Read Only No
TimeConstant
Read Only No
ZeroShearViscosity
Read Only No
ViscosityCrossShearAndTemperatureDependent
The Shear Rate and Temperature Dependent model.
Properties
ActivationEnergy
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
966 of ANSYS, Inc. and its subsidiaries and affiliates.
PowerLawIndex
Read Only No
ReferenceTemperature
Read Only No
TimeConstant
Read Only No
ZeroShearViscosity
Read Only No
ViscosityCrossShearRateDependent
The Shear Rate Dependent model.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
PowerLawIndex
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 967
Study
TimeConstant
Read Only No
ZeroShearViscosity
Read Only No
ViscosityHerschelBulkleyShearAndTemperatureDependent
The Shear Rate and Temperature dependent model.
Properties
ActivationEnergy
Read Only No
ConsistencyIndex
Read Only No
CriticalShearRate
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
968 of ANSYS, Inc. and its subsidiaries and affiliates.
PowerLawIndex
Read Only No
ReferenceTemperature
Read Only No
YieldStressThreshold
Read Only No
ViscosityHerschelBulkleyShearRateDependent
The Shear Rate dependent model.
Properties
ConsistencyIndex
Read Only No
CriticalShearRate
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 969
Study
PowerLawIndex
Read Only No
YieldStressThreshold
Read Only No
ViscosityNonNewtonianPowerLawShearAndTemperatureDependent
The Shear Rate and Temperature dependent model.
Properties
ActivationEnergy
Read Only No
ConsistencyIndex
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MaximumViscosityLimit
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
970 of ANSYS, Inc. and its subsidiaries and affiliates.
MinimumViscosityLimit
Read Only No
PowerLawIndex
Read Only No
ReferenceTemperature
Read Only No
ViscosityNonNewtonianPowerLawShearRateDependent
The Shear Rate dependent model
Properties
ConsistencyIndex
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MaximumViscosityLimit
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 971
Study
MinimumViscosityLimit
Read Only No
PowerLawIndex
Read Only No
VolumeExtractionRegion
Volume Extraction Region specifies the settings used when extracting a volume region for a wrap task.
Available options:
Properties
FeatureResolution
Sets the Feature Resolution factor to be used for all Mesh Regions.
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Read Only No
Point
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
972 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Point (p. 1465)
Read Only No
RegionBehavior
Available options:
Read Only No
WrapMethod
Available options:
ShrinkWrap
CutWrap
Read Only No
VolumeSimplificationRegion
Volume Simplification specifies the settings used when simplifying a model within a wrap task.
Available options:
Properties
FeatureResolution
Sets the Feature Resolution factor to be used for all Mesh Regions.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 973
Study
Read Only No
Location
A common property for all sub meshing objects with a defined Geometry Filter
Read Only No
MergeBodies
If checked, geometry is simplified by unifying multiple solid surfaces into one and ignoring any interior
voids and faces. Otherwise, a conformal, well-connected surface mesh is created for each of the selected
bodies.
Read Only No
RegionBehavior
Available options:
Read Only No
WrapMethod
Available options:
ShrinkWrap
CutWrap
Read Only No
Wrap
Volume creation task uses specialized boundary wrapping to extract a well-connected surface mesh for
the selected geometry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
974 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
MeshResolution
Defines the resolution for automatically calculating global meshing inputs. Selecting a higher resolution
generates a better quality mesh.
Read Only No
Reassociate
Specifies whether the current output model should be used for reassociating so that reference Ids are
persistent or whether new references should be created.
Read Only No
UsePredefinedSettings
Automatically calculates the global sizing values based on the resolution value.
Read Only No
ZSection
This class represents Z beam cross section
Properties
LowerFlangeThickness
Read Only No
LowerFlangeWidth
Read Only No
OverallHeight
Overall Height
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 975
Study
Read Only No
StemThickness
Stem Thickness
Read Only No
UpperFlangeThickness
Read Only No
UpperFlangeWidth
Read Only No
ContourResultOptions
No details are provided for this entry.
Properties
UseNodeValues
Read Only No
Duration
No details are provided for this entry.
Properties
EndTime
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
976 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Expression (p. 1430)<Quantity (p. 1469)>
Read Only No
NumberOfTimeSteps
Read Only No
Option
Read Only No
HeatSrc
No details are provided for this entry.
Properties
Location
Read Only No
LaunchControls
No details are provided for this entry.
Properties
AfdRootPath
Read Only No
HostFilePath
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 977
Study
Read Only No
NumberOfProcessors
Read Only No
SolverFilesDirectory
MaterialDistribution
No details are provided for this entry.
Properties
Distribution
Read Only No
MaterialModels
No details are provided for this entry.
Properties
MaterialModel
Read Only No
MomentumSrc
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
978 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Location
Read Only No
ParticleInjectionCnd
No details are provided for this entry.
Properties
Location
Read Only No
ParticleTrack
No details are provided for this entry.
Properties
EndTime
Read Only No
EndTimeFactor
Read Only No
EvaluateFullRange
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 979
Study
FadeLineSegments
Read Only No
LastAutomaticDisplayText
Read Only No
Location
Read Only No
ParticlesMaterialAssignmentName
Read Only No
ParticleTrackColorOption
Read Only No
ParticleTrackDisplayStyle
Read Only No
ParticleTrackShape
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
980 of ANSYS, Inc. and its subsidiaries and affiliates.
ParticleTrackStyle
Read Only No
ResultName
Result name
Read Only No
SegmentRatio
Read Only No
SymbolScaleFactor
Read Only No
SymbolSegmentDensity
Read Only No
SymbolShape
Read Only No
TubeDiameter
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 981
Study
WireThickness
Read Only No
PersistablePosition
No details are provided for this entry.
Properties
coordX
Read Only No
coordY
Read Only No
coordZ
Read Only No
unit
Read Only No
PersistableStateMessage
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
982 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Location
Read Only No
Popup
Read Only No
PropertyName
Read Only No
StateMessageLevel
Read Only No
Text
Read Only No
PersistableSupplierItem
No details are provided for this entry.
Properties
No Properties.
PersistableVariableMinMaxPositions
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 983
Study
Properties
maxPositions
Read Only No
minPositions
Read Only No
PorositySrc
No details are provided for this entry.
Properties
Location
Read Only No
PressureDrop
No details are provided for this entry.
Properties
CalculateAverage
Read Only No
EvaluateFullRange
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
984 of ANSYS, Inc. and its subsidiaries and affiliates.
LastAutomaticDisplayText
Read Only No
Location
Read Only No
Location2
Read Only No
RelativeTo
Read Only No
ResultName
Read Only No
SimulationStep
Read Only No
Value
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 985
Study
Variable
Read Only No
RegionInterface
No details are provided for this entry.
Properties
DefinitionMethod
Read Only No
Location1
Read Only No
Location2
Read Only No
PhysicsRegions1
Read Only No
PhysicsRegions2
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
986 of ANSYS, Inc. and its subsidiaries and affiliates.
RegionInterfaceGenerator
No details are provided for this entry.
Properties
Location
Read Only No
Tolerance
Read Only No
UserCommands
UserCommands is a way to send user commands directly to the solver.
Properties
No Properties.
BeamEndRelease
This is a class that is meant to define a beam end release.
Properties
EdgesLocation
Read Only No
IndependentEdges
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 987
Study
Read Only No
ReferenceFrame
Read Only No
RotationX
Read Only No
RotationY
Read Only No
RotationZ
Read Only No
TranslationX
Read Only No
TranslationY
Read Only No
TranslationZ
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
988 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DOFBehavior (p. 1424)
Read Only No
VertexLocation
Read Only No
BearingLoad
No details are provided for this entry.
Properties
Location
Read Only No
BoltPretension
A bolt pretension can be used to model a bolt which is holding together two bodies. It can be used to
apply a known value of axial load or adjustment (the length which has reduced by screw tightening)
to the bolt.
Properties
AxialDirection
Select the separation surface normal : X, Y or Z axis of the selected reference frame.
Read Only No
AxialDirectionDefinition
Choose how the separation surface is selected : Program controlled or user defined It can be user
defined only if a volume is selected. Otherwise it has to be program controlled.
Read Only No
AxialDirectionLocation
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 989
Study
Read Only No
BoltDiameter
Read Only No
DefineBy
Read Only No
Location
Read Only No
Magnitude
Read Only No
ModelAs
Choose how many bolts should be created if multiple volumes are selected : One for all selected volumes
or one per selected volume.
Read Only No
ReferenceFrame
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
990 of ANSYS, Inc. and its subsidiaries and affiliates.
TorqueCoefficient
Read Only No
BoundaryCondition
BoundaryCondition is the abstraction over load and constraints.
Properties
Location
Read Only No
BushingJoint
This class represents the properties of a bushing joint connection between two locations. It is added
to a JointBehavior if joint type is set as bushing.
Properties
No Properties.
CalculationTime
A class that holds calculation time of transient analysis.
Properties
Duration
Read Only No
Charge
Current is a Scalar Load to precribe a given value of current at a given location in a model in electric
solutions.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 991
Study
Properties
Location
Read Only No
Magnitude
Read Only No
Connection
This is a class that is meant to define different kinds of connections like Contact, Joint, Spring, Beam
etc. via one of its behaviors when set Non creatable by a user.
Properties
Behavior
Read Only No
CreationMode
It tells if this connection was created automatically by the program or created manually by the user
Read Only No
Location1
This is the first location of the connection. For contact, this normally refers to the source of the contact.
Read Only No
Location1Bodies
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
992 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
Location2
This is the second location of the connection. For contact, this normally refers to the target of the
contact.
Read Only No
Location2Bodies
ConnectionBehavior
ConnectionBehavior is an abstraction over all kinds of connection behaviors such as JointBehavior,
BeamBehavior, LinkBehavior, SpringBehavior and ContactBehavior.
Properties
No Properties.
ConnectionStatisticalMeasures
This class represents the connection confidence percentage data. It get run-time added to an automatic
generated contacts whne the generate confidence setting is turned on.
Properties
PercentageConfidenceLevel
Constraint
Constraint is an abstraction over all the boundary condtions that provide known values and does not
require solution for a given location in the model such as Supports, Displacements, Rotations etc.
Properties
Location
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 993
Study
Read Only No
Contact
This is a class that is meant to define Contact
Properties
AllowSelfContact
Read Only No
Behavior
Read Only No
CreationMode
It tells if this connection was created automatically by the program or created manually by the user
Read Only No
Location1
This is the first location of the connection. For contact, this normally refers to the source of the contact.
Read Only No
Location1Bodies
Location2
This is the second location of the connection. For contact, this normally refers to the target of the
contact.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
994 of ANSYS, Inc. and its subsidiaries and affiliates.
Type LocationSet (p. 1447)
Read Only No
Location2Bodies
ContactBehavior
ContactBehavior is ConnectionBehavior to model various kinds of contact behaviors available from
Mechanical Solvers such as contact types and their formulations.
Properties
ContactType
Read Only No
ContactDamping
This class represents the contact damping settings. It get run-time added to a non linear structural
contact.
Properties
NormalStabilizationDamping
Damping scaling factor along the normal direction to reduce the risk of rigid body motion
Read Only No
TangentStabilizationDamping
Damping scaling factor along the tangential direction to reduce the risk of rigid body motion
Read Only No
ContactDetection
This is a class resposible for applying the rules of contact detection
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 995
Study
Properties
Algorithm
Read Only No
FaceEdgeDetectionPreference
Property for setting the preference for face to edge or edge to face detection between bodies or parts
Read Only No
FaceFaceDetectionPreference
Property for setting the preference for face to face detection between bodies or parts
Read Only No
Location
Read Only No
Preference
Property for setting the preference for detecting contact between bodies, or between bodies of different
parts
Read Only No
Priority
Property for setting the priority for contact detection. Face override means priority is set for Face to
Face -> Face to Edge -> Edge to Edge Edge override means priority is set for Edge to Edge -> Edge to
Face -> Face to Face
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
996 of ANSYS, Inc. and its subsidiaries and affiliates.
Tolerance
Read Only No
ContactDetectionDirection
ContactDetectionDirection is a class to change the normals on shell bodies for contact connections as
available from MAPDL solver
Properties
DetectionDirectionMethod
Read Only No
ReverseDirectionLoaction1
Read Only No
ReverseDirectionLoaction2
Read Only No
ContactElasticSlipTolerance
This is a class resposible for setting elastic slip tolerance at the contact interface.
Properties
DefineBy
This propertry decides whether it should use program controlled value or a manually entered factor or
value.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 997
Study
Value
Read Only No
ContactHeatGeneration
This class represents the heat generation due to friction or current
Properties
FrictionHeatFactor
It represents the fraction of frictional dissipated energy converted into heat. It varies from 0 to 1. For
an input of true 0, you must enter a very small value (for example, 1E-8).
Read Only No
HeatDistributionFactor
It represents the weight factor for the distribution of heat between the contact and target surfaces.
Read Only No
ContactInterfaceGapAdjustment
This class represents the interface gap adjustment settings. It gets run-time added to Contact and enabled
as the contact type becomes frictional, rough, frictionless
Properties
InitialInterfaceTreatment
Read Only No
Offset
Defines the contact offset value. A positive value moves the contact closer together and a negative
value moves the contact further apart.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
998 of ANSYS, Inc. and its subsidiaries and affiliates.
ContactPenetrationTolerance
This is a class resposible for setting penetration tolerance at the contact interface.
Properties
DefineBy
This propertry decides whether it should use program controlled value or a manually entered factor or
value.
Read Only No
Value
Read Only No
ContactPinball
This is a class resposible for setting pinball value for contact detection.
Properties
DefineBy
This propertry decides whether it should use program controlled value or a manually entered factor or
value.
Read Only No
Value
Read Only No
ContactProperties
This class defines contact properties that can change per contact pair such as Symmetry Behavior etc.
as exposed by Mechanical solvers.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 999
Study
Properties
ApplySymmetry
Switch to turn on symmetric contact - Additional contact pair will be generated by swapping Location
1 and Location 2
Read Only No
ContactRadius
This is a class resposible for radii settings for an edge-edge contact.
Properties
DefineBy
Switch to choose between program controlled radii values or use manually entered values.
Read Only No
SourceRadius
Read Only No
TargetRadius
Read Only No
ContactStiffness
This class represents the various behavior of contact stiffness
Properties
UpdateStiffnessControl
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1000 of ANSYS, Inc. and its subsidiaries and affiliates.
ContactSubObject
This is the base class for pinball, penetration tolerance and the slip tolerance.
Properties
DefineBy
This propertry decides whether it should use program controlled value or a manually entered factor or
value.
Read Only No
Value
Read Only No
Convection
Convection is a Scalar Load to precribe a given value of heat flux at a given location in a model in
thermal solutions.
Properties
AmbientTemperature
Read Only No
Location
Read Only No
Magnitude
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1001
Study
ReferenceFrame
Field variables of the spatial variation expression are defined with respect to this reference frame.
Read Only No
Current
Current is a Scalar Load to precribe a given value of current at a given location in a model in electric
solutions.
Properties
Location
Read Only No
Magnitude
Read Only No
ReferenceFrame
Field variables of the spatial variation expression are defined with respect to this reference frame.
Read Only No
Specification
Read Only No
CylindricalJoint
This class represents the properties of a cylindrical joint connection between two locations. It is added
to a JointBehavior if joint type is set as cylindrical.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1002 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
No Properties.
Displacement
Displacement is a Vector Constraint used to prescribe a given value of displacement at a given location
in the model
Properties
AppliedRemotely
This property sets the type of displacement whether it is applied directly or remotely via an originating
point
Read Only No
Location
Read Only No
Specify
This property sets the type of displacement whether it is translation only or a combo of translation and
rotation.
Read Only No
DisplacementByVector
Extension object for prescribing displacement by translation only or rotation only.
Properties
DefineBy
This property sets the type of vector specification which could be by Components or MagnitudeAndDir-
ection or NormalToSurface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1003
Study
RelativeTo
Vector components or direction has been specified with respect to this reference frame.
Read Only No
DistributedMass
No details are provided for this entry.
Properties
Location
Read Only No
Mass
Read Only No
MassType
Read Only No
EdgeEdgeContactSettings
This is a class resposible for edge-edge contact settings.
Properties
Treatment
Option to select if only parallel contact pair or both parallel and perpendicular contact pairs are created
for an edge-edge contact.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1004 of ANSYS, Inc. and its subsidiaries and affiliates.
EigenvalueBucklingExtension
No details are provided for this entry.
Properties
LoadMultiplier
ElectricConductance
This class represents the eletric conductance at the contact interface. It gets added when selected
physics includes electric and formulation is not MPC.
Properties
Conductance
Read Only No
ConductanceControl
Read Only No
Equipotential
This is a class that creates an equal voltage on the selection applied.
Properties
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1005
Study
FatigueSettings
This is a class that contains the various settings pertaining to Fatigue analysis
Properties
AccumulateDamage
Read Only No
AnalysisType
Select the type of approach used for fatigue analysis i.e. Stress life or Strain life
Read Only No
BlocksPerCycle
Read Only No
DefineBy
Read Only No
DesignLife
Read Only No
DesignLifeUnit
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1006 of ANSYS, Inc. and its subsidiaries and affiliates.
ENMeanStressTheory
Specify how mean stress effects are handled for Strain life fatigue
Read Only No
InfiniteLife
Specify the maximum life for strain life to avoid skewed contour plots showing very high lives
Read Only No
LoadingType
Select the type of applied constant amplitude loading based on the loading ratio
Read Only No
MeanStressTheory
Specify how mean stress effects are handled for Stress life fatigue
Read Only No
MultiAxisType
Read Only No
Ratio
Read Only No
ScaleFactor
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1007
Study
TimePerCycle
Read Only No
UltimateStrength
Read Only No
UnitType
Read Only No
YieldStrength
Read Only No
FatigueUnitsExtension
/// Displays the units chosen for Fatigue life and design life.
Properties
UnitName
/// The units chosen for Fatigue life and design life.
FixedJoint
This class represents the properties of a fixed joint connection between two locations. It is added to a
JointBehavior if joint type is set as fixed.
Properties
No Properties.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1008 of ANSYS, Inc. and its subsidiaries and affiliates.
Force
Force is a Vector Load to prescribe external force to a given model at a given location.
Properties
AppliedRemotely
Property to control if the force is applied remotely via an originating point or directly.
Read Only No
Location
Read Only No
Specification
Property to specify if the applied force value is total force or the force per unit area of the selected
surface location.
Read Only No
GeneralJoint
This class represents only general joint specific settings. It get run-time added to Joint as the joint type
is general
Properties
No Properties.
GeneralJointDOFs
This class represents the properties of a general joint connection between two locations. It is added to
a JointBehavior if joint type is set as general.
Properties
Rotation
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1009
Study
Read Only No
TranslationX
Read Only No
TranslationY
Read Only No
TranslationZ
Read Only No
GlobalModelingOptions
GlobalModelingOptions is a class that encapsulates various advanced solver element formulations
available to users. Normally an end user never deals with them as solver defaults are good enough, but
we do offer a scheme to override it.
Properties
MidSideNodes
Mid side nodes info to determine the element order either linear or quadratic.
Read Only No
GroundLocation
This is a class that is meant to define ground location
Properties
Location
The selected location: evaluates to a set of reference ids. See LocationSet for more detail.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1010 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
HeatFlow
Heat Flow is a Scalar Load to precribe a given value of heat flow at a given location in a model in
thermal solutions.
Properties
Location
Read Only No
Magnitude
Read Only No
ReferenceFrame
Field variables of the spatial variation expression are defined with respect to this reference frame.
Read Only No
HeatFlux
Heat Flux is a Scalar Load to precribe a given value of heat flux at a given location in a model in thermal
solutions.
Properties
Location
Read Only No
Magnitude
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1011
Study
Read Only No
ReferenceFrame
Field variables of the spatial variation expression are defined with respect to this reference frame.
Read Only No
HeatGeneration
Heat Generation is a Scalar Load to prescribe a uniform generation rate internal to a body.
Properties
DefineBy
Property to specify if the applied heat generation value is total heat generated or the heat generated
per unit volume.
Read Only No
Location
Read Only No
Magnitude
Read Only No
ReferenceFrame
Field variables of the spatial variation expression are defined with respect to this reference frame.
Read Only No
HingeJoint
This class represents the properties of a hinge joint connection between two locations. It is added to
a JointBehavior if joint type is set as hinge.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1012 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
No Properties.
InertiaLoad
InertiaLoad is a Vector Load experienced by a body by the virtue of being in an accelerated reference
frame due to its mass properties. It can be prescribed via an Acceleration, Angular Velocity or Angular
Acceleration at a given location in the model.
Properties
LoadType
Load Type of Inertia Load such as Acceleration, Angular Velocity or Angular Acceleration.
Read Only No
Location
Read Only No
InitialCondition
Initial conditions is the abstraction over all kinds of initial conditions.
Properties
Location
Read Only No
InitialReferenceFrames
This class shows the two reference frames selected for two locations of a joint connection. It is added
to a connection if joint behavior is selected.
Properties
Base
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1013
Study
Read Only No
Mobile
Read Only No
InitialTemperature
This class specifes the initial values of the temperature
Properties
Location
Read Only No
Magnitude
Read Only No
InterfaceGenerator
InterfaceGenerator is class to define various settings for detection of Interface Conditions such a contacts.
Properties
BehaviorCreation
It allows you to create one contact behavior and share it or create separate ones for each one of searched
interfaces.
Read Only No
DetectionTypes
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1014 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
GenerateFixedJoints
Read Only No
GenerateHingeJoints
Read Only No
InterfaceToleranceSpecification
It allows to let either program decides the tolerance value for you or you choose to input your own
tolerance value
Read Only No
InterfaceType
Type of inerfaces to be generated. Select from Contact, Joint and Mesh Interface.
Read Only No
Location
Read Only No
Tolerance
Read Only No
Joint
This is a class that is meant to define different kinds of Joint
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1015
Study
Properties
Behavior
Read Only No
CreationMode
It tells if this connection was created automatically by the program or created manually by the user
Read Only No
Location1
This is the first location of the connection. For contact, this normally refers to the source of the contact.
Read Only No
Location1Bodies
Location2
This is the second location of the connection. For contact, this normally refers to the target of the
contact.
Read Only No
Location2Bodies
TrimOptimization
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1016 of ANSYS, Inc. and its subsidiaries and affiliates.
Type JointTrimOptimization (p. 1445)
Read Only No
JointBehavior
JointBehavior is a ConnectionBehavior that models joint connection between two locations.
Properties
JointType
Joint type such as fixed, hinge, slot, translational, cylindrical, planar, etc.
Read Only No
JointTypeBase
This is the base class for all joint types (fixed, hinge, cylindrical, general, etc.)
Properties
No Properties.
LaunchSettings
LaunchSettings is a class that allows defining solver launch controls such as Solver file directory, various
solver input file names as exposed by MAPDL solver.
Properties
ComponentDataFileName
A name for auxiliary solver input file which contains all nodal and elemental components created in
MAPDL solution.
Read Only No
ConnectionElementsDataFileName
A name for auxiliary solver input file which contains all connection elements in MAPDL solution.
Read Only No
ContactPairOutput
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1017
Study
Read Only No
DeleteWorkFiles
Read Only No
DistributedSolve
Read Only No
InputDataFileName
A name for master solver input file which assembles all other auxiliary input files (MeshDataFileName,
ComponentDataFileName, etc.) for MAPDL Solver.
Read Only No
JobName
Read Only No
LoadElementsDataFileName
A name for auxiliary solver input file which contains all load elements in MAPDL solution.
Read Only No
MeshDataFileName
A name for auxiliary solver input file which contains all mesh information(nodes and elements) for all
participating bodies in MAPDL solution.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1018 of ANSYS, Inc. and its subsidiaries and affiliates.
NumberOfProcessors
Read Only No
OutputListFileName
Read Only No
SolverFilesDirectory
LinearizedResults
Extension object that presents linearized stress parameters
Properties
BendingStressBeginning
BendingStressEnd
MembranePlusBendingStressBeginning
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1019
Study
MembranePlusBendingStressEnd
MembranePlusBendingStressMidLength
MembraneStress
PeakStressBeginning
PeakStressEnd
PeakStressMidLength
TotalStressBeginning
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1020 of ANSYS, Inc. and its subsidiaries and affiliates.
TotalStressEnd
TotalStressMidLength
LinearizedStressChart
No details are provided for this entry.
Properties
EvaluateFullRange
Read Only No
LastAutomaticDisplayText
Read Only No
Location
Read Only No
NormalizeData
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1021
Study
ReverseDirection
Reverse the direction of the data when it's sent to the graph
Read Only No
SimulationStep
Read Only No
Variable
Read Only No
Variables
Read Only No
LinearizeOption
Extension object that provides the option to linearize stress results
Properties
Linearize
Read Only No
Load
Load is Boudary Condition to prescribe external load to a given location in a model. It is an abstraction
over scalar and vector loads.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1022 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Location
Read Only No
MechanicalPhysicsOptions
MechanicalPhysicsOptions is a class that represents various ways through which a physics option can
be applied to bodies. For example various stress states to be analyzed such as 3DStress State, Plane
Stress, Plane Strain, Axisymmetric, etc.
Properties
Location
Read Only No
UseInertialReferenceFrame
For Rigid bodies, control to model them using a single Inertial Frame or individual ones
Read Only No
Moment
Moment is a vector load to prescribe an external moment load to a given location in a model.
Properties
Location
Read Only No
OptimizationConstraint
OptimizationConstraint is a base class for all optimization constraint classes
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1023
Study
Properties
No Properties.
OptimizationOptions
OptimizationOptions is an extension object for MechanicalPhysicsOptions to offer the objective options
for the optimization process of a given location
Properties
ConstrainModeNumber
Read Only No
ConstrainNaturalFrequency
Read Only No
DesignTypes
Read Only No
Location
Read Only No
MaximumFrequency
Read Only No
MaxModesToFind
Maximum modes to find for modal solutions as available from MAPDL solver.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1024 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Read Only No
MinimumFrequency
Read Only No
ModeNumber
Sets the mode number needed for natural frequency optimal design.
Read Only No
PreserveBondedContacts
Read Only No
ReductionType
Sets the material removal to be based on for a model with multiple materials.
Read Only No
SpecifyTargetReduction
Read Only No
TargetReduction
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1025
Study
OutputControls
OutputControls is a class that specifes the list of output specifications(such as Deformation, Stress,
Strain) to control the "what" goes in result file. It also controls "how frequently" results are stored.
Properties
No Properties.
PerimeterWeld
This class represents a perimeter weld connection between two locations.
Properties
Behavior
Read Only No
CreationMode
It tells if this connection was created automatically by the program or created manually by the user
Read Only No
Location1
This is the first location of the connection. For contact, this normally refers to the source of the contact.
Read Only No
Location1Bodies
Location2
This is the second location of the connection. For contact, this normally refers to the target of the
contact.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1026 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Location2Bodies
PlanarJoint
This class represents the properties of a planar joint connection between two locations. It is added to
a JointBehavior if joint type is set as planar.
Properties
No Properties.
Pressure
Pressure is a scalar load to prescribe an external pressure to a given location(face or element faces) in
a model always in a direction normal to the location surface.
Properties
Location
Read Only No
Magnitude
Read Only No
ReferenceFrame
Field variables of the pressure spatial variation expression are defined with respect to this reference
frame.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1027
Study
PretensionTolerance
It denotes the tolerance upto which nodes below the separation surface are considered to be above
the surface. It has an affect of shifting separation surface downwards by this distance.
Properties
Tolerance
Read Only No
ToleranceSpecification
Read Only No
PsdAcceleration
PsdAcceleration is a PSD acceleration random vibration excitation applied to supports in global X, Y or
Z direction.
Properties
Location
Read Only No
ReferenceFrame
Read Only No
PsdDisplacement
PsdDisplacement is a PSD displacement random vibration excitation applied to supports in global X, Y
or Z direction.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1028 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Location
Read Only No
ReferenceFrame
Read Only No
PsdGAcceleration
PsdGAcceleration is a G acceleration random vibration excitation applied to supports in global X, Y or
Z direction.
Properties
Location
Read Only No
ReferenceFrame
Read Only No
PsdLoad
PsdLoad is a base class for all PSD loads in a random vibration analysis.
Properties
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1029
Study
ReferenceFrame
Read Only No
PsdUserDefinedTypeExtension
No details are provided for this entry.
Properties
ResultType
Read Only No
PsdVelocity
PsdVelocity is a PSD velocidy random vibration excitation applied to supports in global X, Y or Z direction.
Properties
Location
Read Only No
ReferenceFrame
Read Only No
Radiation
Radiation is a scalar load to prescribe an external Radiation to a given location in a model.
Properties
Emissivity
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1030 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Expression (p. 1430)<Quantity (p. 1469)>
Read Only No
Location
Read Only No
Magnitude
Read Only No
ReferenceFrame
Field variables of the spatial variation expression are defined with respect to this reference frame.
Read Only No
ReadOnlyShape
Read only shape is created to display intermediate shape to the user while solving an optimization
analysis.
Properties
No Properties.
ReferenceTemperature
No details are provided for this entry.
Properties
Value
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1031
Study
RemoteLocation
This extension is added to boundary condition when it is applied remotely via an originating point.
Properties
Formulation
Read Only No
OriginatingPoint
Read Only No
ResponsePsdResult
No details are provided for this entry.
Properties
ExpectedFrequency
Read Only No
LastAutomaticDisplayText
Read Only No
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1032 of ANSYS, Inc. and its subsidiaries and affiliates.
RelativeTo
RmsValue
Read Only No
Variable
Read Only No
ResultReferenceExtension
No details are provided for this entry.
Properties
ResultReference
Read Only No
ScalarConstraint
ScalarConstraint is abstraction over constraints that are scalar by nature such as temperature in thermal
solutions or voltage in electric solutions
Properties
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1033
Study
Magnitude
Read Only No
ScalarInitialCondition
This is used by scalar initial conditions.
Properties
Location
Read Only No
Magnitude
Read Only No
ScalarLoad
ScalarLoad is abstraction over loads that are scalar by nature such as pressure Radiation etc.
Properties
Location
Read Only No
Magnitude
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1034 of ANSYS, Inc. and its subsidiaries and affiliates.
ScaleFactorExtension
No details are provided for this entry.
Properties
Probability
ScaleFactor
Read Only No
ScaleFactorValue
Read Only No
ShearMomentDiagram
No details are provided for this entry.
Properties
Location
Read Only No
NormalizeData
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1035
Study
RelativeTo
ReverseDirection
Reverse the direction of the data when it's sent to the graph
Read Only No
SimulationStep
Read Only No
Variable
Read Only No
SlotJoint
This class represents the properties of a slot joint connection between two locations. It is added to a
JointBehavior if joint type is set as slot.
Properties
No Properties.
SmdOutputExtension
No details are provided for this entry.
Properties
Maximum
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1036 of ANSYS, Inc. and its subsidiaries and affiliates.
Minimum
SolidModelingOptions
SolidModelingOptions is a class that encapsulates various advanced solver element formulations available
to users. Normally an end user never deals with them as solver defaults are good enough, but we do
offer a scheme to override it.
Properties
BrickIntegrationType
Read Only No
SphericalJoint
This class represents the properties of a spherical joint connection between two locations. It is added
to a JointBehavior if joint type is set as spherical.
Properties
No Properties.
SpotWeld
This class represents a spot weld connection between two locations.
Properties
Behavior
Read Only No
CreationMode
It tells if this connection was created automatically by the program or created manually by the user
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1037
Study
Read Only No
Location1
This is the first location of the connection. For contact, this normally refers to the source of the contact.
Read Only No
Location1Bodies
Location2
This is the second location of the connection. For contact, this normally refers to the target of the
contact.
Read Only No
Location2Bodies
Spring
This is a class for spring connection
Properties
Behavior
Read Only No
CreationMode
It tells if this connection was created automatically by the program or created manually by the user
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1038 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
GroundedLocation
Read Only No
Location1
This is the first location of the connection. For contact, this normally refers to the source of the contact.
Read Only No
Location1Bodies
Location2
This is the second location of the connection. For contact, this normally refers to the target of the
contact.
Read Only No
Location2Bodies
RelativeTo
Read Only No
SpringLength
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1039
Study
SpringBehavior
SpringBehavior is a ConnectionBehavior that models linear and nolinear spring connection between
two locations.
Properties
BehaviorType
Read Only No
Damping
Read Only No
DampingX
Read Only No
DampingY
Read Only No
DampingZ
Read Only No
FixedTranslations
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1040 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DoF (p. 1424)
Read Only No
FreeRotations
Read Only No
SpringType
Read Only No
Stiffness
Read Only No
StiffnessX
Read Only No
StiffnessY
Read Only No
StiffnessZ
Read Only No
SpringPreloadSettings
This class represents preload settings for a spring connection between two locations.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1041
Study
Properties
InitialCondition
Read Only No
PreloadType
Set the preload type to None, Load, Length, Torque or Rotation load and Length are available for lon-
gitudical springs only. Torque and Rotation are available for torsional springs only.
Read Only No
StructuralMass
Structural mass to model one or more selected bodies as one rigid body with known mass and mass
moments of inertia.
Properties
ConnectingLocation
This is the location by which point mass is connected to the rest of the model
Read Only No
Formulation
Read Only No
Location
Read Only No
Mass
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1042 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Expression (p. 1430)<Quantity (p. 1469)>
Read Only No
MassMomentOfInertiaX
Read Only No
MassMomentOfInertiaY
Read Only No
MassMomentOfInertiaZ
Read Only No
Support
Support is a constraint to precribe zero values to active degrees of freedom for a given model at a
given location.
Properties
FixedDOFs
Read Only No
Location
Read Only No
RelativeTo
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1043
Study
Read Only No
SupportType
Read Only No
TemperatureCondition
Temperature Condition is scalar load to prescribe temperature to a given location(bodies or elements)
in a model in pure structural solutions.
Properties
Location
Read Only No
Magnitude
Read Only No
ReferenceFrame
Field variables of the spatial variation expression are defined with respect to this reference frame.
Read Only No
TemperatureConstraint
Temperature Constraint is a scalar constraint to precribe known value of temperature in solutions that
suppport thermal degrees of freedom.
Properties
Location
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1044 of ANSYS, Inc. and its subsidiaries and affiliates.
Type LocationSet (p. 1447)
Read Only No
Magnitude
Read Only No
ThermalConductance
This class represents the thermal conductance at the contact interface. It gets added when selected
physics includes thermal and formulation is not MPC.
Properties
Conductance
Read Only No
ConductanceControl
Read Only No
ThermalMass
Thermal mass to model one or more selected bodies with known thermal capacitance
Properties
Capacitance
Read Only No
ConnectingLocation
This is the location by which thermal mass is connected to the rest of the model
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1045
Study
Read Only No
Formulation
Read Only No
Location
Read Only No
TranslationalJoint
This class represents the properties of a translational joint connection between two locations. It is added
to a JointBehavior if joint type is set as translational.
Properties
No Properties.
TranslationRotation
Extension object for prescribing displacement by both translation and rotation components.
Properties
RelativeTo
Read Only No
RotationX
Read Only No
RotationY
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1046 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RotationZ
Read Only No
TranslationX
Read Only No
TranslationY
Read Only No
TranslationZ
Read Only No
UniversalJoint
This class represents the properties of a universal joint connection between two locations. It is added
to a JointBehavior if joint type is set as universal.
Properties
No Properties.
UnknownJoint
This class is used only for initialization purposes if joint type is unknown.
Properties
No Properties.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1047
Study
Vector
Vector is class used by all Boundary Conditions and Connection that support a Vector Behavior.
Properties
DefineBy
This property sets the type of vector specification which could be by Components or MagnitudeAndDir-
ection or NormalToSurface.
Read Only No
RelativeTo
Vector components or direction has been specified with respect to this reference frame.
Read Only No
VectorByComponents
VectorByComponents is class to define a vector by Components.
Properties
Component1
The x component
Read Only No
Component2
The y component
Read Only No
Component3
The z component
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1048 of ANSYS, Inc. and its subsidiaries and affiliates.
CoordinateType
The type of coordinate system to be used which could be Cartesian or Cylindrical or Spherical.
RelativeTo
Vector components has been specified with respect to this reference frame.
Read Only No
VectorByGeometry
ByGeometry is class to define a vector using geometry.
Properties
Magnitude
Read Only No
VectorByMagnitudeAndDirection
VectorByMagnitudeAndDirection is class to define a vector by magnitude and direction.
Properties
Direction
User can select a geometric entity for this property which will be used to infer a direction for the vector.
Read Only No
Magnitude
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1049
Study
ReverseDirection
This property can be used to reverse the direction which is inferred from the geometric selection.
Read Only No
VectorConstraint
A Vector Constraint is constraint that has an underneath vectors like Displacement, Velocity etc
Properties
Location
Read Only No
VectorInitialCondition
Initial conditions is the abstraction over all kinds of vector initial conditions.
Properties
Location
Read Only No
VectorLoad
VectorLoad is an abstraction over loads that are vector by nature such as Force, Moment, Traction etc.
Properties
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1050 of ANSYS, Inc. and its subsidiaries and affiliates.
Voltage
Voltage is a scalar constraint to precribe known value of voltage in solutions that suppport electric de-
grees of freedom.
Properties
Location
Read Only No
Magnitude
Read Only No
AemChartResultProcessor
No details are provided for this entry.
Properties
No Properties.
AemContourFieldResultProcessor
No details are provided for this entry.
Properties
No Properties.
AemFunctionProvider
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1051
Study
Read Only No
AEMLaunchControls
No details are provided for this entry.
Properties
NumOfProcessors
Read Only No
AemSingleValueResultProcessor
No details are provided for this entry.
Properties
No Properties.
AemVectorFieldResultProcessor
No details are provided for this entry.
Properties
No Properties.
BodyTemperature
No details are provided for this entry.
Properties
Location
Read Only No
Temperature
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1052 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Expression (p. 1430)<Quantity (p. 1469)>
Read Only No
CoreLossComputation
No details are provided for this entry.
Properties
CoreLossBodyIncluded
Read Only No
CorelossType
Read Only No
EddyEffectComputation
No details are provided for this entry.
Properties
DisplacementBodyIncluded
Read Only No
DisplacementCurrentType
Read Only No
EddyEffectBodyIncluded
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1053
Study
Read Only No
EddyEffectType
Read Only No
ElectricCurrent
No details are provided for this entry.
Properties
Current
Read Only No
CurrentType
Read Only No
FillFactor
Read Only No
IsConnectedInParallel
Read Only No
Location1
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1054 of ANSYS, Inc. and its subsidiaries and affiliates.
Location2
Read Only No
NumberOfBranches
Read Only No
NumberOfConductors
Read Only No
Phase
Read Only No
ReversePolarity
Read Only No
ShowConductionPath
Read Only No
Terminals
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1055
Study
ForceComputation
No details are provided for this entry.
Properties
ForceType
Read Only No
Location
Read Only No
ReferenceFrame
Read Only No
FrequencyPPOption
No details are provided for this entry.
Properties
Magnitude
Read Only No
FrequencyResponseSettings
No details are provided for this entry.
Properties
AdaptiveFrequency
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1056 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
AdaptiveFrequencySetupType
Read Only No
Frequencies
Read Only No
FrequenciesPerDecade
Read Only No
FrequencySpecification
Read Only No
SingleValueFrequency
Read Only No
StartFrequency
Read Only No
StepSize
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1057
Study
Read Only No
StopFrequency
Read Only No
SweepType
Read Only No
GeneralPhysicsOptions
No details are provided for this entry.
Properties
AmbientTemperature
Read Only No
ComputeInductance
Read Only No
CondThreshold
Read Only No
CondThresholdType
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1058 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
PerfcondThreshold
Read Only No
PerfcondThresholdType
Read Only No
Insulating
No details are provided for this entry.
Properties
Location
Read Only No
MagneticsSolverSettings
No details are provided for this entry.
Properties
CurvedSurfaceMeshingTuning
Read Only No
ErrPercent
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1059
Study
ErrPercentOption
Read Only No
MaxPassNumber
Read Only No
MaxPassOption
Read Only No
MeshRefine
Read Only No
MeshRefineOption
Read Only No
NonlinearRes
Read Only No
NonlinearResOption
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1060 of ANSYS, Inc. and its subsidiaries and affiliates.
SolutionPerformanceTuning
Read Only No
MatrixObjectTuple
No details are provided for this entry.
Properties
SourceId
Read Only No
SourceName
Read Only No
SourceTurn
Read Only No
PostMatrixObjectTuple
No details are provided for this entry.
Properties
GroupBranches
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1061
Study
GroupEntries
Read Only No
GroupId
Read Only No
GroupName
Read Only No
ResultSetComplex
No details are provided for this entry.
Properties
PhaseAngle
Read Only No
ResultSetFrequency
No details are provided for this entry.
Properties
Frequency
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1062 of ANSYS, Inc. and its subsidiaries and affiliates.
SkinDepthResolution
No details are provided for this entry.
Properties
Location
Read Only No
Resolution
Read Only No
TableResultFrequencyExtension
No details are provided for this entry.
Properties
Frequency
Read Only No
TableResultLocationExtension
No details are provided for this entry.
Properties
Location
Read Only No
TableResultTypeExtension
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1063
Study
Properties
ForceType
Read Only No
LossType
Read Only No
MatrixType
Read Only No
Type
Read Only No
Terminal
No details are provided for this entry.
Properties
FillFactor
Read Only No
Location
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1064 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
NumberOfConductors
Read Only No
ReversePolarity
Read Only No
ShowConductionPath
Read Only No
TorqueComputation
No details are provided for this entry.
Properties
Axis
Read Only No
Location
Read Only No
ReferenceFrame
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1065
Study
TorqueDirection
Read Only No
TorqueType
Read Only No
AdditionalConvergenceControls
AdditionalConvergenceControls is a Solver Settings class that allows defining nonlinear controls such
as line search, predictor etc. as exposed by MAPDL solver.
Properties
EquilibriumIterations
Read Only No
EquilibriumIterationsKey
Read Only No
LineSearch
Read Only No
PredictorCorrector
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1066 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
BucklingControls
No details are provided for this entry.
Properties
IncludeNegativeLoadMultiplier
Read Only No
ContactFormulation
ContactFormulation is a class which represents various contact formulations as available from MAPDL
solver.
Properties
ConstraintType
Read Only No
DetectAsymmetryAutomatically
A flag to notify the program if auto-asymmetry should be used in the physics solution.
Read Only No
DetectionType
Specify the location of contact detection to be used in the analysis in order to obtain a good convergence.
Read Only No
DynamicFrictionCoefficient
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1067
Study
Formulation
Set the contact formulation to be used by the solver for a particular contact pair.
Read Only No
IncludeShellThickness
Read Only No
PhysicsToTransfer
Read Only No
SmallSliding
Read Only No
TransferredPhysics
Read Only No
ConvergenceControl
ConvergenceControl is Solver Settings class that allows defining various non-linear convergence tech-
niques as exposed by MAPDL solver such as CNVTOL command.
Properties
Convergence
An enumeration to turn on, off Convergence Controls as available from MAPDL solver.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1068 of ANSYS, Inc. and its subsidiaries and affiliates.
MinimumReferenceValue
Convergence minimum reference value defined for a given Convergence Control as available from
MAPDL solver.
Read Only No
ReferenceValue
Convergence value defined for a given Convergence Control as available from MAPDL solver.
Read Only No
ReferenceValueSpecification
Read Only No
Tolerance
Convergence tolerance value defined for a given Convergence Control as available from MAPDL solver.
Read Only No
ConvergenceControls
ConvergenceCriterias is a Solution Progression class that allows defining convergence controls as exposed
by MAPDL solver.
Properties
No Properties.
CyclicSymmetryConstraint
CyclicSymmetryConstraint is a manufacturing constraint to apply a cyclic symmetry constraint in an
optimization analysis.
Properties
AxialDirection
Select an axis direction of the selected reference frame for the cyclic symmetry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1069
Study
Read Only No
AxialDirectionDefinition
Select a method for defining the axial direction: based on a geometry selection or a reference frame.
Read Only No
AxialDirectionLocation
Select a face and use its normal as the axial direction for the cyclic symmetry.
Read Only No
NumberOfSectors
Read Only No
ReferenceFrame
Read Only No
GeneralNonLinearControls
GeneralNonLinearControls is Solver Settings class that allows defining some general nonlinear techniques
such as large deflection or Newton Raphson Methods as exposed by MAPDL solver.
Properties
LargeDeflection
Read Only No
NRSetting
An enumeration to select various Newton Raphson Methods as available from MAPDL solver.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1070 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
GeneralSolutionControls
GeneralSolutionControls is Solver Settings class that allows defining some general solution controls
such as unit sytems, Equation solver types etc. as exposed by MAPDL solver.
Properties
InertiaRelief
Read Only No
InitialContactTreatment
Read Only No
LimitSearchToRange
Activate search to a given range of frequencies for frequency domain solutions as available from MAPDL
solver.
Read Only No
MatrixSolver
Read Only No
MaxModesToFind
Maximum modes to find for modal solutions as available from MAPDL solver.
Read Only No
RangeMaximum
A value of maximum frequency for frequency domain solutions with a given range as available from
MAPDL solver.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1071
Study
Read Only No
RangeMinimum
A value of minimum frequency for frequency domain solutions with a given range as available from
MAPDL solver.
Read Only No
SolverDamping
An enumeration for damped modal solver types as available from MAPDL solver.
Read Only No
SolverUnitSystem
Read Only No
MapdlFixedJoint
MapdlFixedJoint is a class to represents Fixed Joint Connection Behavior as available from MAPDL
solver
Properties
Formulation
Read Only No
ReductionMethod
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1072 of ANSYS, Inc. and its subsidiaries and affiliates.
MAPDLFunctionProvider
This is a class that implements MAPDL expressions like AllContacts(), AllJoints() etc.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
MemberSizeConstraint
MemberSizeConstraint is a manufacturing constraint to apply the minimum and maximum constraints
on the memeber size in an optimization analysis
Properties
MaximumConstraintType
Maximum constraint type of the member size constraint: Program Controlled or Manual
Read Only No
MaximumSize
Read Only No
MinimumConstraintType
Minimum constraint type of the member size constraint: Program Controlled or Manual
Read Only No
MinimumSize
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1073
Study
OptimizationControls
This is an extension object to SolverSettings for optimization controls
Properties
ConvergenceAccuracy
Read Only No
MaximumNumberOfIterations
Read Only No
MaxNumberOfIntermediateFiles
Sets the maximum number of intermediate files for the optimization process
Read Only No
MinimumNormalizedDensity
Read Only No
OptimizationSolver
Read Only No
OutputSpecification
OutputSpecification is a class that defines each individual item that can be controlled to be stored in
a result file such as Deformation, Stress or Strain.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1074 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
EquallySpacedTimePoints
Read Only No
Frequency
Frequency of OutputSpecification, how often a given output type is written to result file
Read Only No
Location
Read Only No
OutputType
Read Only No
RecurrenceRate
RecurrenceRate of OutputSpecification
Read Only No
OutputSpecifications
OutputSpecifications is a class that is repository of individual OutputSpecification such as Deformation,
Stress or Strain.
Properties
No Properties.
PullOutDirection
PullOutDirection is a manufacturing constraint used in optimization analysis
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1075
Study
Properties
Axis
Read Only No
Direction
Read Only No
ReferenceFrame
Field variables of the spatial variation expression are defined with respect to this reference frame.
Read Only No
RandomVibrationControls
RandomVibrationControls, an extension object to Solver Settings class, allows to define various analysis
settings for random vibration as exposed by MAPDL solver.
Properties
ConstantDampingFactor
Read Only No
ExcludeInsignificantModes
Read Only No
ModeSignificanceLevel
A value for mode significance level to exclude insignificant modes in a random vibration analysis.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1076 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Stabilization
Stabilization is a class that allows defining Stablization parameters for nonlinear solutions as exposed
by MAPDL solver.
Properties
DampingFactor
Read Only No
EnergyDissipationRatio
Read Only No
ForceLimit
Read Only No
StabilizationKey
Read Only No
SubStepOption
Read Only No
StressConstraint
StressConstraint is a stress constraint used in an optimization analysis
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1077
Study
Properties
Location
Read Only No
MaximumStress
Read Only No
Type
SymmetryConstraint
SymmetryConstraint is a manufacturing constraint to apply a symmetry constraint in an optimization
analysis.
Properties
PlaneOfSymmetry
Read Only No
TimeStepOptions
TimeStepOptions is a Solver Settings class that help define the time step controls available in MAPDL
solver.
Properties
DefinedBy
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1078 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
InitialNumberOfSubsteps
When defining auto time stepping by substeps, define Initial Substeps as available in MAPDL solver.
Read Only No
InitialTimeStep
When defining auto time stepping by time steps, define Initial Time Step as available in MAPDL solver.
Read Only No
MaximumNumberOfSubsteps
When defining auto time stepping by substeps, define Maximum Substeps as available in MAPDL solver.
Read Only No
MaximumTimeStep
When defining auto time stepping by time steps, define Maximum Time Step as available in MAPDL
solver.
Read Only No
MinimumNumberOfSubsteps
When defining auto time stepping by substeps, define Minimum Substeps as available in MAPDL solver.
Read Only No
MinimumTimeStep
When defining auto time stepping by time steps, define Minimum Time Step as available in MAPDL
solver.
Read Only No
NumberOfSubsteps
When auto time stepping is off define number of substeps as available in MAPDL solver.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1079
Study
Read Only No
Substepping
Define Substepping options such as specified range, fixed number or program controlled as available
in MAPDL solver.
Read Only No
TimeIntegration
Turn on or off Time Integration for inertia effects as available in MAPDL solver.
Read Only No
TimeStep
When auto time stepping is off define time steps as available in MAPDL solver.
Read Only No
TrimOptimization
TrimOptimization is a class to represents various trimming options available for contact connection.
Properties
Tolerance
Read Only No
Type
Trim Type to control trimming such as keeping it on, off or Program Controllled.
Read Only No
ZeroThermalStrainTemperature
ZeroThermalStrainTemperature is a class that hold temperature at zero thermal strain.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1080 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Magnitude
Magnitude of ZeroThermalStrainTemperature
Read Only No
BoundaryMonitor
No details are provided for this entry.
Properties
AllowSubsetLocation
Read Only No
Boundary
Read Only No
Location
Read Only No
MonitoredOperation
Read Only No
MonitoredVariable
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1081
Study
Read Only No
SurfaceMonitorConvergenceCriteria
Read Only No
Flow
No details are provided for this entry.
Properties
AngularSpeed
Read Only No
AxialSpeed
Read Only No
FanPressureRise
Read Only No
FlowDirection
Read Only No
IncludeFan
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1082 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
InletSpec
Read Only No
Location
Read Only No
MassFlowRate
Read Only No
MassFractionComponent1
Read Only No
NormalSpeed
Read Only No
OutletSpec
Read Only No
ReferenceFrame
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1083
Study
Read Only No
SolvedSpecie
Read Only No
StaticPressure
Read Only No
TotalPressure
Read Only No
FlowTemperature
No details are provided for this entry.
Properties
Boundary
Read Only No
Temperature
Read Only No
FluentBoundary
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1084 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
Location
Read Only No
FluentLaunchControls
No details are provided for this entry.
Properties
MpiType
Read Only No
NumberOfProcesses
Read Only No
ProcessDistribution
Read Only No
FluentLocationInfo
No details are provided for this entry.
Properties
No Properties.
FluentPhysicsOptions
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1085
Study
Properties
Gravity
Read Only No
IncludeBuoyancy
Read Only No
IncludeGravity
Read Only No
OperatingPressure
Read Only No
OperatingTemperature
Read Only No
RadiationModel
Read Only No
ThermalExpansionCoefficient
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1086 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
TurbulenceModel
Read Only No
FluentSolveError
No details are provided for this entry.
Properties
No Properties.
FluentSource
No details are provided for this entry.
Properties
Location
Read Only No
FluidEnergySource
No details are provided for this entry.
Properties
EnergySource
Read Only No
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1087
Study
HeatTransfer
No details are provided for this entry.
Properties
ConvectionTemperature
Read Only No
Emissivity
Read Only No
HeatFlow
Read Only No
HeatFlux
Read Only No
HeatTransferCoefficient
Read Only No
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1088 of ANSYS, Inc. and its subsidiaries and affiliates.
RadiativeTemperature
Read Only No
Temperature
Read Only No
ThermalSpec
Read Only No
LocationInfo
No details are provided for this entry.
Properties
No Properties.
MomentumSource
No details are provided for this entry.
Properties
Location
Read Only No
MomentumXSource
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1089
Study
MomentumYSource
Read Only No
MomentumZSource
Read Only No
PhysicsRegionLocationInfo
No details are provided for this entry.
Properties
No Properties.
PointMonitor
No details are provided for this entry.
Properties
AllowSubsetLocation
Read Only No
Boundary
Read Only No
Location
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1090 of ANSYS, Inc. and its subsidiaries and affiliates.
MonitoredOperation
Read Only No
MonitoredVariable
Read Only No
PointX
Read Only No
PointY
Read Only No
PointZ
Read Only No
SurfaceMonitorConvergenceCriteria
Read Only No
PorositySource
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1091
Study
Properties
InertialResistance
Read Only No
InertialResistanceX
Read Only No
InertialResistanceY
Read Only No
InertialResistanceZ
Read Only No
Location
Read Only No
Permeability
Read Only No
PermeabilityX
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1092 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
PermeabilityY
Read Only No
PermeabilityZ
Read Only No
Porosity
Read Only No
PorosityMediaMaterial
Read Only No
PorosityType
Read Only No
PorousMedia
Read Only No
ReferenceBoundary
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1093
Study
Properties
Boundary
Read Only No
RegionInterface2
No details are provided for this entry.
Properties
DefinitionMethod
Read Only No
Location1
Read Only No
Location2
Read Only No
PhysicsRegions1
Read Only No
PhysicsRegions2
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1094 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
RegionInterfaceGenerator2
No details are provided for this entry.
Properties
Location
Read Only No
Tolerance
Read Only No
SolidEnergySource
No details are provided for this entry.
Properties
EnergySource
Read Only No
Location
Read Only No
SolutionControls
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1095
Study
Properties
AdaptiveTimestepping
Read Only No
ComputeLocalScale
Read Only No
ConvergenceCriteria
Read Only No
ConvergenceOption
Read Only No
ConvertToPoly
Read Only No
EnergyConvergenceCriteria
Read Only No
IncludePeriodicity
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1096 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
NumberOfIterations
Read Only No
NumberOfTimeSteps
Read Only No
PhysicalTimeStep
Read Only No
SurfaceMonitorChainingOperation
Read Only No
TransientConvergenceCriteria
Read Only No
SurfaceLocationInfo
No details are provided for this entry.
Properties
No Properties.
Symmetry
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1097
Study
Properties
Location
Read Only No
ThermalApplication
No details are provided for this entry.
Properties
Boundary
Read Only No
Wall
No details are provided for this entry.
Properties
AngularSpeed
Read Only No
Location
Read Only No
MotionSpec
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1098 of ANSYS, Inc. and its subsidiaries and affiliates.
ReferenceFrame
Read Only No
SlipSpec
Read Only No
WallHeatTransfer
No details are provided for this entry.
Properties
Boundary
Read Only No
ConvectionTemperature
Read Only No
Emissivity
Read Only No
HeatFlow
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1099
Study
HeatFlux
Read Only No
HeatTransferCoefficient
Read Only No
RadiativeTemperature
Read Only No
Temperature
Read Only No
ThermalSpec
Read Only No
WallRadiation
No details are provided for this entry.
Properties
Boundary
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1100 of ANSYS, Inc. and its subsidiaries and affiliates.
DiffuseFraction
Read Only No
Emissivity
Read Only No
CouplingInterface
Configure a coupling interface.
Properties
MappingControl
Read Only No
Side
Read Only No
Suppress
context to be documented
Read Only No
TransferToSideTwo
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1101
Study
Read Only No
CouplingInterface
Configure a coupling interface.
Properties
MappingControl
Read Only No
Side
Read Only No
Suppress
context to be documented
Read Only No
TransferToSideTwo
Read Only No
PhysicsCoupling
No details are provided for this entry.
Properties
DisplayText
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1102 of ANSYS, Inc. and its subsidiaries and affiliates.
PhysicsRegion1
Read Only No
PhysicsRegion2
Read Only No
Side1Location
Read Only No
Side2Locations
Read Only No
SourceFrequency
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1103
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1104 of ANSYS, Inc. and its subsidiaries and affiliates.
System Coupling
Methods
CreateDataTransfer
Creates a data transfer.
Required Arguments
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1105
System Coupling
Example
The following example demonstrates creation of a data transfer. It is assumed that user had created
two participants (e.g. Transient Structural and Fluid Flow(Fluent) and connected to System Coupling
System. System Coupling User's Guide in help documentation provides information on "Tutorial:
Oscillating Plate with Two-Way Fluid-Structure Interaction". The same information can be referred
to see how two participants can be setup and connect to System Coupling System.
ExportSCIFile
Writes the system coupling input file at the specified path.
Required Arguments
GetAnalysisSettings
Returns the analysis settings entity in a container.
GetDataTransfer
Returns the data transfer of a given name in a container.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1106 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
GetDataTransfers
Returns the collection of data transfers in a container. If no data transfers are in the container, the col-
lection is empty.
GetExpertSettings
Returns the expert settings entity from a system coupling setup container.
GetIntermediateRestartDataOutputControls
Returns the intermediate result files output controls from a system coupling setup container. Renamed
from ResultFiles to RestartData to avoid confusion for MAPDL users.
GetParticipant
Returns the participant with a given name from a system coupling setup container.
Required Arguments
GetParticipants
Returns the collection of participants in a container. If no participants are in the container, the collection
is empty.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1107
System Coupling
GetSequenceControls
Returns the sequence controls from a system coupling setup container.
ReadRestartPoints
Generates a list of restart points in analysis settings
Data Entities
AnalysisSettings
The entity to store the analysis settings for a coupling run.
Properties
AnalysisType
Read Only No
DisableSolutionUpdate
This flag disables updates if restarts are not supported and solution data exists
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DurationDefinedBy
This property specifies how we should determine the end of the coupling run.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1108 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DurationType (p. 1425)
Read Only No
EndTime
Read Only No
Initialization
Read Only No
MaximumIteration
The maximum number of iterations per coupling step for the coupling run.
Read Only No
MinimumIteration
The minimum number of iterations per coupling step for the coupling run.
Read Only No
NumberOfSteps
Read Only No
RestartStep
Read Only No
RestartTime
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1109
System Coupling
Read Only No
StepSize
Read Only No
DataTransfer
Entity to store a data transfer information.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsSuppressed
Read Only No
SourceParticipant
Read Only No
SourceRegion
Read Only No
SourceVariable
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1110 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Read Only No
TargetParticipant
Read Only No
TargetRegion
Read Only No
TargetVariable
Read Only No
TransferSettings
Read Only No
Methods
Delete
Duplicate
GetSettings
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1111
System Coupling
SetSuppression
Required Arguments
Suppressed The boolean value to specify if the item should be suppressed or unsuppressed
DataTransferSettings
Entity to store the settings for the data transfer control.
Properties
ConvergenceTarget
The target value used when evaluating convergence of the data transfer within a coupling iteration.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Ramping
Read Only No
TransferAt
Read Only No
UnderRelaxationFactor
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1112 of ANSYS, Inc. and its subsidiaries and affiliates.
Type double (p. 1425)
Read Only No
ExecutionControlSettings
No details are provided for this entry.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
EngineVersion
Read Only No
ExpertSettings
The entity to store advanced options for data mapping.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Settings
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1113
System Coupling
Methods
AddProperty
Required Arguments
GetProperty
Required Arguments
RemoveProperty
Required Arguments
SetProperty
Required Arguments
IntermediateResultFilesOutputControls
The entity to store the settings for result files creation during a coupling run.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1114 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
OutputFrequency
This property specifies the frequency at which the result files are generated.
Read Only No
StepInterval
Read Only No
SequenceControl
The entity to store solver sequence information for a coupling run.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Sequence
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1115
System Coupling
Methods
GetSequence
Required Arguments
SetSequence
This command will set the sequence number for the specified participant.
Required Arguments
SystemCouplingCoSimulationParticipant
This is a base class for the entity which represents System Coupling Co-simulation Participant information.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InternalName
The internal name of the multiphysics participant (usually a solver) that is providing this data
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1116 of ANSYS, Inc. and its subsidiaries and affiliates.
SystemCouplingParticipant
This is a base class for the entity which represents System Coupling Participant information. System
Coupling Participant information comprises of System and solver-level information related to coupling.
Note- Coupling participants are systems that will provide and/or consume data in a coupled analysis.
Example systems in Workbench include: Analysis Systems – Steady-State Thermal, Transient Thermal,
Static Structural, Transient Structural, Fluid Flow (Fluent) Component Systems – Fluent, External Data
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InternalName
The internal name of the multiphysics participant (usually a solver) that is providing this data
Read Only No
SystemCouplingRegion
This entity represents a System Coupling Region. A region is most often a point, line, surface or volume
that is part (or all) of the geometry or topology of a coupling participant.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InternalName
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1117
System Coupling
Topology
Read Only No
SystemCouplingStaticDataParticipant
This is a base class/entity for the entity which represents System Coupling Static Data Participant inform-
ation.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InternalName
The internal name of the multiphysics participant (usually a solver) that is providing this data
Read Only No
SystemCouplingSteadyCoSimulationParticipant
The entity represents System Coupling Steady Co-simulation Participant information e.g. information
related to Static Structural Participant System for coupling purpose.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InternalName
The internal name of the multiphysics participant (usually a solver) that is providing this data
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1118 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
SystemCouplingSteadyStaticDataParticipant
The entity represents System Coupling Steady Static Data Participant information e.g. information related
to External Data Participant System for coupling purposes.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InternalName
The internal name of the multiphysics participant (usually a solver) that is providing this data
Read Only No
SystemCouplingTransientCoSimulationParticipant
The entity represents System Coupling Transient Co-simulation Participant information e.g. information
related to Transient Structural Participant System for coupling purposes.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InternalName
The internal name of the multiphysics participant (usually a solver) that is providing this data
Read Only No
SystemCouplingTransientStaticDataParticipant
The entity represents System Coupling Transient Static Data Participant information.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1119
System Coupling
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
InternalName
The internal name of the multiphysics participant (usually a solver) that is providing this data
Read Only No
SystemCouplingVariable
This entity represents a System Coupling Variable. A variable is a physical quantity such as force, length,
or temperature that can be transferred between regions of participant systems.
Properties
DataType
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Exposure
Read Only No
InternalName
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1120 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
PhysicalType
Read Only No
Methods
CreateConvergenceChart
Creates a new convergence chart.
Required Arguments
CreateSolutionInformation
Creates a new solution information entity and adds it to the specified system coupling solution container.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1121
System Coupling
GetAllSolutionInformation
Returns the collection of solution information entities in a container. If no solution information entities
are in the container, the collection is empty.
GetChartVariableNames
Returns a dictionary of fully qualified chart variable names and display names.
During System Coupling Solution cell Update or after Solution cell Update, these names can be used
to create chart variable using "CreateVariable" data entity method of "ConvergenceChart".
Return A dictionary of fully qualified chart variable names and display names
GetConvergenceChart
Returns the convergence chart of a given name in a container.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1122 of ANSYS, Inc. and its subsidiaries and affiliates.
GetConvergenceCharts
Returns the collection of convergence charts in a container. If no convergence charts are in the container,
the collection is empty.
GetSolutionComponentProperties
Returns the solution component properties for a system coupling solution container.
GetSolutionInformation
Returns the solution information of a given name in a container.
Required Arguments
Data Entities
AxisContinuous
A chart axis that spans a set of continuous values. An example is an axis of an XY plot
Properties
AutomaticRange
The property to define whether or not automatic scaling should be applied to the axis, or whether the
RangeMin and RangeMax should be used.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1123
System Coupling
Read Only No
QuantityName
Read Only No
RangeMaximum
Read Only No
RangeMinimum
Read Only No
Scale
The scale of the axis. Scale can be defined as Linear/CommonLog (Log base 10)/Natural Log.
Read Only No
Title
Read Only No
ChartVariable
Entity representing a variable in Convergence Chart
Properties
Color
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1124 of ANSYS, Inc. and its subsidiaries and affiliates.
This property is valid only for the chart displayed in Scene pane.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
LineWidth
The width of the line drawn for this chart variable in pixels.
This property is valid only for the chart displayed in Scene pane.
Read Only No
QualifiedName
Read Only No
RefinementLevel
Read Only No
SymbolSize
The size of a symbol in pixels when a symbol is drawn for this variable. The rendered symbol size may
be slightly smaller or larger than expected if symbol does not correctly fit into the specified number of
pixels.
This property is valid only for the chart displayed in Scene pane.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1125
System Coupling
Methods
Delete
ConvergenceChart
Entity to store a convergence chart information.
Properties
AxisX
Associated X Axis
Read Only No
AxisY
Associated Y Axis
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Variables
Read Only No
XAxis
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1126 of ANSYS, Inc. and its subsidiaries and affiliates.
Methods
CreateVariable
Creates a chart variable based on specified quailified name and adds it to the specified convergence
chart.
During System Coupling Solution cell Update or after Solution cell Update, user can create convergence
chart and add chart variables. A chart variable is based on specified fully qualified name. GetChartVari-
ableNames query returns a dictionary of fully qualified chart variable names and display names. This
can be used to create charts.
Required Arguments
Optional Arguments
Example
The following example demonstrates creation of chart variables. It is assumed that user has setup
partcipants (e.g. Transient Structural and Fluid Flow(Fluent) and System Coupling system, and also
solved coupled analysis.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1127
System Coupling
Delete
GetAxis
Required Arguments
GetChartVariable
Required Arguments
GetChartVariables
SolutionComponentProperties
The entity to store additional command line options which are passed to the coupling service on update.
Properties
CommandLineOptions
Additional command line options which are passed to the coupling service on update.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1128 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
UpdateOption
Read Only No
SolutionInformation
Entity to store the solution information provided by the coupled participants.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
FilePath
Read Only No
Methods
Delete
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1129
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1130 of ANSYS, Inc. and its subsidiaries and affiliates.
TurboSystems
Turbo Geometry
This container holds Geometry data for an instance of BladeGen.
Methods
CreateBladeMesh
Creates a new Mesh system and automatically meshes the fluid zone for the blade geometry from the
Blade Design component.
CreateGeometry
This command class creates a new BladeEditor model. An up-to-date Geometry cell appears on the
project schematic containing the new model.
DeleteBGDFiles
Deletes the BGD files in the Filenames list from the BladeGen component directory.
Required Arguments
Edit
Opens the BladeGen editor to allow modification of Blade Design data.
This command will open the editor only if one is not already open on this component. If this component's
editor is already open, then it will be raised to the front.
Exit
Exits the BladeGen editor.
Any changes made in this editor will be retained on exit. These changes are made permanent by a
Project Save, and will be discarded in the event of closing the project without saving. If no editor is
open on the component in question, this command will have no effect.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1131
TurboSystems
Optional Arguments
GetTurboGeometryProperties
Returns the Data Entity which contains user settings and properties for the Blade Design container.
Import
Imports blade geometry data into the BladeGen editor from an existing BladeGen file.
Required Arguments
Example
template1 = GetTemplate(TemplateName="BladeGen")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
bladeDesign1.Import(FilePath="myfilepath/pump.bgd")
ImportSelectedBladerow
Imports blade geometry data into the BladeGen editor from the specified bladerow
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1132 of ANSYS, Inc. and its subsidiaries and affiliates.
Data Entities
TurboGeometryProperties
This data entity provides access to the import properties that are used to determine how the blade
geometry is handled when it is transferred to a downstream Geometry cell.
Properties
BladeExt
Import Option that specifies the blade surface extension length (as a percentage of the average hub
to shroud distance) when the Blade Design data is transferred to a downstream Geometry. These surfaces
are extended and then trimmed to the MasterProfile sketch to ensure that the blade solid correctly
matches the hub and shroud contours.
Read Only No
BladeLoftOption
Import Option that specifies how to loft the blade surfaces when the Blade Design data is transferred
to a downstream Geometry.
Available options:
Read Only No
CreateAllBlades
Import Option that specifies whether to create one or all blades when the Blade Design data is transferred
to a downstream Geometry.
Available options:
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1133
TurboSystems
CreateFluidZone
Import Option that specifies whether to create the fluid zone body when the Blade Design data is
transferred to a downstream Geometry. The resulting Enclosure can be used for a CFD analysis of the
blade passage.
Available options:
Read Only No
CreateHub
Import Option that specifies whether a hub body will be created when the Blade Design data is trans-
ferred to a downstream Geometry.
Available options:
Read Only No
CreateNamedSelections
Import Option that specifies whether to create the Named Selections for the fluid zone when the Blade
Design data is transferred to a downstream Geometry. If this property is selected, then BladeEditor will
create Named Selections (regions) for the typical faces of the blade passage, i.e., Blade, Hub, Shroud,
Inflow, Outflow, PeriodicA and PeriodicB. These Named Selections can be used as selection groups in
other ANSYS Workbench applications. Note that this property is available only if Create Fluid Zone is
selected.
Available options:
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1134 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
LayerNumber
Import Option that specifies the integer value of the Layer Number to use for the shroud clearance
when the Blade Design data is transferred to a downstream Geometry. This property only applies when
the Shroud Clearance property is set to Relative Layer or Absolute Layer.
Read Only No
MachineType
Available options:
Pump
AxialCompressor
CentrifugalCompressor
Fan
AxialTurbine
RadialTurbine
HydraulicTurbine
Other
Unknown
Read Only No
MergeBladeTopology
Import Option that specifies whether to merge the blade faces when the Blade Design data is transferred
to a downstream Geometry. If not merged, there will be four faces corresponding to the leading edge,
trailing edge, pressure and suction surfaces of the blade. If merged, blade faces that are tangent to one
another will be merged into a single face.
Available options:
Read Only No
ModelUnits
THIS PROPERTY IS DEPRECATED IN WB16.0 AND IS RETAINED PURELY FOR BACKWARDS COMPATIBILITY.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1135
TurboSystems
The length scale units the BladeGen model was created in. Used when transfering the BladeGen model
to VistaTF.
Available options:
m
cm
mm
inches
ft
Read Only No
PeriodicSurfExt
Import Option that defines the periodic surface extension length (as a percentage of the average hub
to shroud distance) when the Blade Design data is transferred to a downstream Geometry.
Read Only No
PeriodicSurfOption
Import Option that specifies the style of the periodic interface surfaces for the fluid zone when the
Blade Design data is transferred to a downstream Geometry. Note that this property is available only if
Create Fluid Zone is selected.
Available options:
Read Only No
ShroudClearance
Import Option that specifies whether to include the shroud clearance when the Blade Design data is
transferred to a downstream Geometry.
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1136 of ANSYS, Inc. and its subsidiaries and affiliates.
RelativeLayer The selected Layer Number is relative to the
shroud layer, e.g., 1 implies the first layer
closest to the shroud layer, 2 implies the
second closest layer to the shroud, etc.
AbsoluteLayer The selected layer index counts up from the
hub layer, which is zero.
Read Only No
SpanwiseCount
The number of spanwise gridlines used in the downstream VistaTF calculation. Default = 4
Read Only No
StreamwiseCount
The number of streamwise gridlines used in the downstream VistaTF calculation. Default = 20
Read Only No
Turbo Mesh
This container holds Mesh data for an instance of TurboGrid.
Methods
Edit
Opens the TurboGrid editor to allow modification of Turbo Mesh data.
Optional Arguments
Interactive Run the editor in interactive mode if True, or in no GUI mode if False.
TopologySuspended If True, open the editor with the topology in a suspended state. Otherwise,
open the editor with the suspended state of topology the same as when the
editor was last closed.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1137
TurboSystems
Exit
Exits the editor.
Any changes made in this editor will be retained on exit. These changes are made permanent by a
Project Save, and will be discarded in the event of closing the project without saving.
If no editor is open on the component in question, this command will have no effect.
GetTurboMeshProperties
Returns the Data Entity which contains user settings and properties for the Turbo Mesh container.
LoadBladeGen
This command imports the specified BladeGen INF file data into the Turbo Mesh cell. If an upstream
geometry link to the Turbo Mesh cell exists an error message is generated.
template1 = GetTemplate(TemplateName="TurboGrid")
system1 = template1.CreateSystem()
turboMesh1 = system1.GetContainer(ComponentName="Turbo Mesh")
turboMesh1.LoadBladeGen(FileName="myfilepath/BladeGen.inf")
Required Arguments
ReinitializeContainer
This command reinitialises the selected container, resetting the local data and using the cached initial-
isation CCL commands
SendCommand
Sends commands to the editor for this component using CFX Command Language (CCL) syntax. If the
editor for this component is not open, it will be launched before the commands are sent and sub-
sequently closed. In this mode, component data is loaded and saved as if calling Edit(Interactive=False)
and Exit around the SendCommand invocation.
The instructions must be CFX Command Language session commands that are valid for the editor in
question.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1138 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
SetInitCCL
Sets the initialisation commands for this component using CFX Command Language (CCL) syntax. On
setting the commands they may be applied to the editor in question using ApplyInitCCLCommand.
The instructions must be CFX Command Language session commands that are valid for the editor in
question.
Required Arguments
Data Entities
TurboMeshProperties
This data entity provides access to the properties that are used to determine which blade geometry to
mesh and how to handle the inlet and outlet positions.
Properties
AvailableFlowpaths
Displays a list of the available flowpaths and bladerows. Use this information as a guide when specifying
the Flowpath and Bladerow properties (described below). Use the Refresh command in the context
menu to update the list after linking.
CADSelectedBladeRow
Specifies which Flowpath feature in BladeEditor contains the bladerow that is to be loaded in ANSYS
TurboGrid. On initial refresh, it will default to the first flowpath available.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1139
TurboSystems
Read Only No
DownstreamBladerowNumber
Specifies the bladerow number for the bladerow that is immediately downstream of the current bladerow.
This property is available only when Outlet Position Method is set to Adjacent Blade.
Read Only No
IgnoreBladeNamesInINF
If this property is set to true than blade names in the upstream geometry are ignored for labelling regions
in the Turbo mesh.
Read Only No
InletBlock
If this is checked then an inlet block will be generated, if possible, when the mesh is created.
Read Only No
InletPositionOption
Specifies how the inlet points are positioned in TurboGrid. This property is only available when multiple
bladerows in the same flowpath have been exported from BladeEditor.
Available options:
Read Only No
MaximumFaceAngle
This is the maximum face angle in the mesh if the mesh has been generated.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1140 of ANSYS, Inc. and its subsidiaries and affiliates.
MeshNamePrefix
If specified, this string will be prepended to all region names in the mesh when transferred to a CFX
system. This option is only available when Beta features are enabled.
Read Only No
MinimumFaceAngle
This is the minimum face angle in the mesh if the mesh has been generated.
Read Only No
OutletBlock
If this is checked then an outlet block will be generated, if possible, when the mesh is created.
Read Only No
OutletPositionOption
Specifies how the outlet points are positioned in TurboGrid. This property is only available when multiple
bladerows in the same flowpath have been exported from BladeEditor.
Available options:
Read Only No
SelectedBladerowNum
Specifies which bladerow (within the specified Flowpath feature) is to be loaded in ANSYS TurboGrid.
The bladerows are number sequentially, starting from 1 for native Blade features.
Read Only No
SelectedFlowpathName
Specifies which Flowpath feature in BladeEditor contains the bladerow that is to be loaded in ANSYS
TurboGrid. On initial refresh, it will default to the first flowpath available.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1141
TurboSystems
Read Only No
UpstreamBladerowNumber
Specifies the bladerow number for the bladerow that is immediately upstream of the current bladerow.
This property is available only when Inlet Position Method is set to Adjacent Blade.
Read Only No
Methods
Edit
This command class launches the Turbo Setup popup GUI.
GetPerformanceMapProperties
Returns the Data Entity which contains user settings and properties for the Performance Map container.
Data Entities
PerformanceMapProperties
This data entity provides access to the properties which define the Performance Map component.
Properties
BaseDutyPoint
BaseDutySpeed
This property specifies the base duty rotational speed of the impeller.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1142 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
DesignPoints
References to the design points in the parameter manager generated by the performance map
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExitCorrected
Read Only No
FlowSysResults
FlowSysSelected
ImperialUnits
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1143
TurboSystems
IncludeOutOfDate
InputParams
Dictionary with references to the connected flow systems and their input parameter references The key
is the reference to the fluid flow system. The value is a list of references to the speed and mass flow
parameters (in that order).
Type Dictionary (p. 1422)<DataReference (p. 1418), List (p. 1447)<DataReference (p. 1418)>>
Read Only No
MassParam
SIunits
SI units option
Read Only No
SpeedParam
XField
YField
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1144 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
Turbo Setup
This container holds data for an instance of Turbo Setup.
Methods
CreatePerformanceMap
This command class creates a new Turbo Fluid Flow system on the project schematic. Appropriate input
and output parameters are exposed from the system.
CreateThroughflow
This command class creates a new VistaTF system. The system, comprising Setup, Solution and Results
cells, is created on the project schematic and the operating conditions set accordingly.
CreateTurboflow
This command class creates a new Turbomachinery Fluid Flow system. The new system appears on the
project schematic containing Turbo Mesh, Setup, Solution and Results cells. The Turbo Mesh and Setup
cells are initialised leaving the system ready to update.
DisplayTurboSetupResults
This command class display the performance map results for the Turbo Setup.
Required Arguments
Edit
This command class launches the Turbo Setup popup GUI.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1145
TurboSystems
GetTurboFluidFlowSystems
Returns the Data References to the Turbo Fluid Flow systems used by the Turbo Setup for Performance
Maps.
GetTurboSetupProperties
Returns the Data Entity which contains user settings and properties for the Turbo Setup container.
ReadOperatingPoints
This command class updates the Turbo Setup performance map with changes made to the operating
points in the parameter manager.
ReadPerformanceMapResults
This command class reads the results parameters from the Turbo Fluid Flow systems referenced by the
Turbo Setup and populates the corresponding Turbo Setup results properties.
WriteOperatingPoints
This command class creates/updates the parameter manager with the design points defined by the
Turbo Setup performance map.
Data Entities
TurboSetupProperties
This data entity provides access to the properties which define the Turbo Setup component.
Properties
Acentric
This property specifies the acentric factor for the working fluid. Note that this is only available when
MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Real'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1146 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Alpha3
This property specifies the flow angle at the inlet to the machine in the absolute reference frame.
Read Only No
BaseDutyPoint
BaseDutyResults
Dictionary of results for the base duty point. The dictionary Key is the Turbo Fluid Flow system. The
dictionary Value is itself a dictionary holding the results parameter references and corresponding
Quantities
Type Dictionary (p. 1422)<DataReference (p. 1418), Dictionary (p. 1422)<DataReference (p. 1418),
Quantity (p. 1469)>>
BaseSpeedParam
ComponentConfig
This property specifies the configuration of the components which the machine is comprised of.
Available options:
Read Only No
Cp_A0
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the constant component (coefficient of T^0) of
the lower temperature range polynomial. Note that this is only available when MaterialPropsOption is
set to 'User' and the GasModelOption is set to 'Real'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1147
TurboSystems
Read Only No
Cp_A1
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^1 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_A2
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^2 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_A3
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^3 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_A4
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^4 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_Amax
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the maximum temperature limit for which the
lower temperature range polynomial is applicable. Note that this is only available when MaterialProp-
sOption is set to 'User' and the GasModelOption is set to 'Real'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1148 of ANSYS, Inc. and its subsidiaries and affiliates.
Type float (p. 1480)
Read Only No
Cp_Amin
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the minimum temperature limit for which the
lower temperature range polynomial is applicable. Note that this is only available when MaterialProp-
sOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
CriticalPressure
This property specifies the critical pressure for the working fluid. Note that this is only available when
MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
CriticalTemp
This property specifies the critical temperature for the working fluid. Note that this is only available
when MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
CriticalVol
This property specifies the critical volume for the working fluid. Note that this is only available when
MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
GammaUser
This property specifies the ratio of specific heats for the working fluid. Note that this is only available
when MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Ideal'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1149
TurboSystems
Read Only No
GasModel
This property specifies whether to treat the working fluid as an Ideal or a Real gas.
Available options:
Ideal
Real
Read Only No
ImperialUnits
Read Only No
IncludeOutOfDate
MassFlow
This property specifies the design point mass flow rate passing through the machine.
Read Only No
MassFlowRates
MassParam
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1150 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
MaterialNameSelection
This property specifies the name of the working fluid, as selected from the database. Note that this is
only available when the MaterialPropsOption is set to 'Database'.
Available options:
air
carbon_dioxide
hydrogen
methane
nitrogen
oxygen
parahydrogen
propylene
R123
R125
R134a
R141b
R142b
R245fa
water
Read Only No
MaterialPropsOption
This property specifies whether the working fluid properties are chosen from the materials database or
specified directly by the user.
Available options:
Database
User
Read Only No
MaxFlow1
Read Only No
MaxFlow10
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1151
TurboSystems
Read Only No
MaxFlow11
Read Only No
MaxFlow12
Read Only No
MaxFlow13
Read Only No
MaxFlow14
Read Only No
MaxFlow15
Read Only No
MaxFlow2
Read Only No
MaxFlow3
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1152 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
MaxFlow4
Read Only No
MaxFlow5
Read Only No
MaxFlow6
Read Only No
MaxFlow7
Read Only No
MaxFlow8
Read Only No
MaxFlow9
Read Only No
MaxFlowrates
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1153
TurboSystems
MaxIterParam
MaxSpeedlines
MeshNodeCount
This property specifies the target passage node count used with the ATM meshing scheme in TurboGrid
The minimum value for this property is 50,000 nodes
Read Only No
MinFlow1
Read Only No
MinFlow10
Read Only No
MinFlow11
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1154 of ANSYS, Inc. and its subsidiaries and affiliates.
MinFlow12
Read Only No
MinFlow13
Read Only No
MinFlow14
Read Only No
MinFlow15
Read Only No
MinFlow2
Read Only No
MinFlow3
Read Only No
MinFlow4
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1155
TurboSystems
MinFlow5
Read Only No
MinFlow6
Read Only No
MinFlow7
Read Only No
MinFlow8
Read Only No
MinFlow9
Read Only No
MuUser
Read Only No
NFlow1
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1156 of ANSYS, Inc. and its subsidiaries and affiliates.
NFlow10
Read Only No
NFlow11
Read Only No
NFlow12
Read Only No
NFlow13
Read Only No
NFlow14
Read Only No
NFlow15
Read Only No
NFlow2
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1157
TurboSystems
NFlow3
Read Only No
NFlow4
Read Only No
NFlow5
Read Only No
NFlow6
Read Only No
NFlow7
Read Only No
NFlow8
Read Only No
NFlow9
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1158 of ANSYS, Inc. and its subsidiaries and affiliates.
NFlows
NSpeeds
Read Only No
Omega
This property specifies the design point rotational speed of the impeller.
Read Only No
Omega1
Read Only No
Omega10
Read Only No
Omega11
Read Only No
Omega12
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1159
TurboSystems
Omega13
Read Only No
Omega14
Read Only No
Omega15
Read Only No
Omega2
Read Only No
Omega3
Read Only No
Omega4
Read Only No
Omega5
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1160 of ANSYS, Inc. and its subsidiaries and affiliates.
Omega6
Read Only No
Omega7
Read Only No
Omega8
Read Only No
Omega9
Read Only No
OperatingPts
Preswirl
This property specifies how the radial distribution of the preswirl angle is calculated.
Available options:
constant
free
forced
linear
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1161
TurboSystems
R160_NFlow1
R160_NFlow10
R160_NFlow2
R160_NFlow3
R160_NFlow4
R160_NFlow5
R160_NFlow6
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1162 of ANSYS, Inc. and its subsidiaries and affiliates.
R160_NFlow7
R160_NFlow8
R160_NFlow9
R160_NSpeeds
Results
Dictionary of results for the performance map. The dictionary Key is the Turbo Fluid Flow system. The
dictionary Value comprises a nested List of dictionaries as follows: The dictionary holds the results
parameter references and corresponding Quantities for a flow rate The inner List of dictionaries contains
the results for all the flow rates on a speedline The outer List contains the results for all the speedlines
in the map
Type Dictionary (p. 1422)<DataReference (p. 1418), List (p. 1447)<List (p. 1447)<Diction-
ary (p. 1422)<DataReference (p. 1418), Quantity (p. 1469)>>>>
RotationalDirection
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1163
TurboSystems
Read Only No
RUser
This property specifies the specific gas constant for the working fluid. Note that this is only available
when MaterialPropsOption is set to 'User'.
Read Only No
SIunits
SI units option
Read Only No
Speed10MassFlow1
Read Only No
Speed10MassFlow10
Read Only No
Speed10MassFlow11
Read Only No
Speed10MassFlow12
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1164 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed10MassFlow13
Read Only No
Speed10MassFlow14
Read Only No
Speed10MassFlow15
Read Only No
Speed10MassFlow2
Read Only No
Speed10MassFlow3
Read Only No
Speed10MassFlow4
Read Only No
Speed10MassFlow5
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1165
TurboSystems
Speed10MassFlow6
Read Only No
Speed10MassFlow7
Read Only No
Speed10MassFlow8
Read Only No
Speed10MassFlow9
Read Only No
Speed11MassFlow1
Read Only No
Speed11MassFlow10
Read Only No
Speed11MassFlow11
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1166 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed11MassFlow12
Read Only No
Speed11MassFlow13
Read Only No
Speed11MassFlow14
Read Only No
Speed11MassFlow15
Read Only No
Speed11MassFlow2
Read Only No
Speed11MassFlow3
Read Only No
Speed11MassFlow4
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1167
TurboSystems
Speed11MassFlow5
Read Only No
Speed11MassFlow6
Read Only No
Speed11MassFlow7
Read Only No
Speed11MassFlow8
Read Only No
Speed11MassFlow9
Read Only No
Speed12MassFlow1
Read Only No
Speed12MassFlow10
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1168 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed12MassFlow11
Read Only No
Speed12MassFlow12
Read Only No
Speed12MassFlow13
Read Only No
Speed12MassFlow14
Read Only No
Speed12MassFlow15
Read Only No
Speed12MassFlow2
Read Only No
Speed12MassFlow3
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1169
TurboSystems
Speed12MassFlow4
Read Only No
Speed12MassFlow5
Read Only No
Speed12MassFlow6
Read Only No
Speed12MassFlow7
Read Only No
Speed12MassFlow8
Read Only No
Speed12MassFlow9
Read Only No
Speed13MassFlow1
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1170 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed13MassFlow10
Read Only No
Speed13MassFlow11
Read Only No
Speed13MassFlow12
Read Only No
Speed13MassFlow13
Read Only No
Speed13MassFlow14
Read Only No
Speed13MassFlow15
Read Only No
Speed13MassFlow2
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1171
TurboSystems
Speed13MassFlow3
Read Only No
Speed13MassFlow4
Read Only No
Speed13MassFlow5
Read Only No
Speed13MassFlow6
Read Only No
Speed13MassFlow7
Read Only No
Speed13MassFlow8
Read Only No
Speed13MassFlow9
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1172 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed14MassFlow1
Read Only No
Speed14MassFlow10
Read Only No
Speed14MassFlow11
Read Only No
Speed14MassFlow12
Read Only No
Speed14MassFlow13
Read Only No
Speed14MassFlow14
Read Only No
Speed14MassFlow15
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1173
TurboSystems
Speed14MassFlow2
Read Only No
Speed14MassFlow3
Read Only No
Speed14MassFlow4
Read Only No
Speed14MassFlow5
Read Only No
Speed14MassFlow6
Read Only No
Speed14MassFlow7
Read Only No
Speed14MassFlow8
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1174 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed14MassFlow9
Read Only No
Speed15MassFlow1
Read Only No
Speed15MassFlow10
Read Only No
Speed15MassFlow11
Read Only No
Speed15MassFlow12
Read Only No
Speed15MassFlow13
Read Only No
Speed15MassFlow14
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1175
TurboSystems
Speed15MassFlow15
Read Only No
Speed15MassFlow2
Read Only No
Speed15MassFlow3
Read Only No
Speed15MassFlow4
Read Only No
Speed15MassFlow5
Read Only No
Speed15MassFlow6
Read Only No
Speed15MassFlow7
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1176 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed15MassFlow8
Read Only No
Speed15MassFlow9
Read Only No
Speed1MassFlow1
Read Only No
Speed1MassFlow10
Read Only No
Speed1MassFlow11
Read Only No
Speed1MassFlow12
Read Only No
Speed1MassFlow13
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1177
TurboSystems
Speed1MassFlow14
Read Only No
Speed1MassFlow15
Read Only No
Speed1MassFlow2
Read Only No
Speed1MassFlow3
Read Only No
Speed1MassFlow4
Read Only No
Speed1MassFlow5
Read Only No
Speed1MassFlow6
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1178 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed1MassFlow7
Read Only No
Speed1MassFlow8
Read Only No
Speed1MassFlow9
Read Only No
Speed2MassFlow1
Read Only No
Speed2MassFlow10
Read Only No
Speed2MassFlow11
Read Only No
Speed2MassFlow12
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1179
TurboSystems
Speed2MassFlow13
Read Only No
Speed2MassFlow14
Read Only No
Speed2MassFlow15
Read Only No
Speed2MassFlow2
Read Only No
Speed2MassFlow3
Read Only No
Speed2MassFlow4
Read Only No
Speed2MassFlow5
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1180 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed2MassFlow6
Read Only No
Speed2MassFlow7
Read Only No
Speed2MassFlow8
Read Only No
Speed2MassFlow9
Read Only No
Speed3MassFlow1
Read Only No
Speed3MassFlow10
Read Only No
Speed3MassFlow11
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1181
TurboSystems
Speed3MassFlow12
Read Only No
Speed3MassFlow13
Read Only No
Speed3MassFlow14
Read Only No
Speed3MassFlow15
Read Only No
Speed3MassFlow2
Read Only No
Speed3MassFlow3
Read Only No
Speed3MassFlow4
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1182 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed3MassFlow5
Read Only No
Speed3MassFlow6
Read Only No
Speed3MassFlow7
Read Only No
Speed3MassFlow8
Read Only No
Speed3MassFlow9
Read Only No
Speed4MassFlow1
Read Only No
Speed4MassFlow10
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1183
TurboSystems
Speed4MassFlow11
Read Only No
Speed4MassFlow12
Read Only No
Speed4MassFlow13
Read Only No
Speed4MassFlow14
Read Only No
Speed4MassFlow15
Read Only No
Speed4MassFlow2
Read Only No
Speed4MassFlow3
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1184 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed4MassFlow4
Read Only No
Speed4MassFlow5
Read Only No
Speed4MassFlow6
Read Only No
Speed4MassFlow7
Read Only No
Speed4MassFlow8
Read Only No
Speed4MassFlow9
Read Only No
Speed5MassFlow1
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1185
TurboSystems
Speed5MassFlow10
Read Only No
Speed5MassFlow11
Read Only No
Speed5MassFlow12
Read Only No
Speed5MassFlow13
Read Only No
Speed5MassFlow14
Read Only No
Speed5MassFlow15
Read Only No
Speed5MassFlow2
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1186 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed5MassFlow3
Read Only No
Speed5MassFlow4
Read Only No
Speed5MassFlow5
Read Only No
Speed5MassFlow6
Read Only No
Speed5MassFlow7
Read Only No
Speed5MassFlow8
Read Only No
Speed5MassFlow9
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1187
TurboSystems
Speed6MassFlow1
Read Only No
Speed6MassFlow10
Read Only No
Speed6MassFlow11
Read Only No
Speed6MassFlow12
Read Only No
Speed6MassFlow13
Read Only No
Speed6MassFlow14
Read Only No
Speed6MassFlow15
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1188 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed6MassFlow2
Read Only No
Speed6MassFlow3
Read Only No
Speed6MassFlow4
Read Only No
Speed6MassFlow5
Read Only No
Speed6MassFlow6
Read Only No
Speed6MassFlow7
Read Only No
Speed6MassFlow8
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1189
TurboSystems
Speed6MassFlow9
Read Only No
Speed7MassFlow1
Read Only No
Speed7MassFlow10
Read Only No
Speed7MassFlow11
Read Only No
Speed7MassFlow12
Read Only No
Speed7MassFlow13
Read Only No
Speed7MassFlow14
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1190 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed7MassFlow15
Read Only No
Speed7MassFlow2
Read Only No
Speed7MassFlow3
Read Only No
Speed7MassFlow4
Read Only No
Speed7MassFlow5
Read Only No
Speed7MassFlow6
Read Only No
Speed7MassFlow7
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1191
TurboSystems
Speed7MassFlow8
Read Only No
Speed7MassFlow9
Read Only No
Speed8MassFlow1
Read Only No
Speed8MassFlow10
Read Only No
Speed8MassFlow11
Read Only No
Speed8MassFlow12
Read Only No
Speed8MassFlow13
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1192 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed8MassFlow14
Read Only No
Speed8MassFlow15
Read Only No
Speed8MassFlow2
Read Only No
Speed8MassFlow3
Read Only No
Speed8MassFlow4
Read Only No
Speed8MassFlow5
Read Only No
Speed8MassFlow6
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1193
TurboSystems
Speed8MassFlow7
Read Only No
Speed8MassFlow8
Read Only No
Speed8MassFlow9
Read Only No
Speed9MassFlow1
Read Only No
Speed9MassFlow10
Read Only No
Speed9MassFlow11
Read Only No
Speed9MassFlow12
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1194 of ANSYS, Inc. and its subsidiaries and affiliates.
Speed9MassFlow13
Read Only No
Speed9MassFlow14
Read Only No
Speed9MassFlow15
Read Only No
Speed9MassFlow2
Read Only No
Speed9MassFlow3
Read Only No
Speed9MassFlow4
Read Only No
Speed9MassFlow5
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1195
TurboSystems
Speed9MassFlow6
Read Only No
Speed9MassFlow7
Read Only No
Speed9MassFlow8
Read Only No
Speed9MassFlow9
Read Only No
SpeedParam
Speeds
StagPressure
This property specifies the design point stagnation pressure, P01, at the inlet to the machine.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1196 of ANSYS, Inc. and its subsidiaries and affiliates.
StagTemp
This property specifies the design point stagnation temperature, T01, at the inlet to the machine.
Read Only No
TipConfig
Available options:
Unshrouded impeller
Shrouded impeller
Read Only No
UseTipClearance
This property specifies whether the impeller uses a tip clearance. Note that this is only available for
unshrouded impellers.
Read Only No
XField
YField
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1197
TurboSystems
Methods
CreateBladeDesign
This command class creates a new BladeGen model. An up-to-date BladeGen cell appears on the project
schematic containing the new model.
CreateGeometry
This command class creates a new BladeEditor model. An up-to-date Geometry cell appears on the
project schematic containing the new model.
Edit
This command class launches the Vista popup GUI.
GetVistaAFDAnalysisProperties
This query takes a container reference and returns the Data Entity which contains user settings and
properties for the VistaAFD Analysis container.
Data Entities
VistaAFDAnalysis
Analysis represents a VistaAFD throughflow calculation used to analyse the design performance
Properties
Alpha1
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1198 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
Alpha3
Read Only No
AlphaOGVHub
Read Only No
AlphaOGVMean
Read Only No
AlphaRotHub
Read Only No
AlphaRotMean
Read Only No
Blade
Read Only No
BladeBetaExit
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1199
TurboSystems
Read Only No
BladeBetaInlet
Read Only No
BladeOption
Read Only No
BMunits
BladeGen/BladeEditor units
Read Only No
BMunitsOption
Read Only No
DeHallerOGVHub
Read Only No
DeHallerOGVMean
Read Only No
DeHallerRotHub
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1200 of ANSYS, Inc. and its subsidiaries and affiliates.
Type float (p. 1480)
Read Only No
DeHallerRotMean
Read Only No
DevIGVHub
Read Only No
DevIGVMean
Read Only No
DevOGVHub
Read Only No
DevOGVMean
Read Only No
DevRotHub
Read Only No
DevRotMean
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1201
TurboSystems
Read Only No
DfOGVHub
Read Only No
DfOGVMean
Read Only No
DfRotHub
Read Only No
DfRotMean
Read Only No
Diameter
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1202 of ANSYS, Inc. and its subsidiaries and affiliates.
Eta
Aerodynamic efficiency
Read Only No
EtaInput
Read Only No
EtaTS
Read Only No
EtaTSPipe
Read Only No
EtaTT
Read Only No
HeadRise
Read Only No
HtrIn
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1203
TurboSystems
HtrOut
Read Only No
HubLoadParam
Read Only No
HubVelFactor
Read Only No
HubX
Read Only No
HubY
Read Only No
IGV
Read Only No
IGVhubThickX
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1204 of ANSYS, Inc. and its subsidiaries and affiliates.
IGVhubThickY
Read Only No
IGVleadingX
Read Only No
IGVleadingY
Read Only No
IGVshrThickX
Read Only No
IGVshrThickY
Read Only No
IGVthetaLE
Read Only No
IGVtrailingX
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1205
TurboSystems
IGVtrailingY
Read Only No
ImperialUnits
Read Only No
InnerIter
Read Only No
Layer1
Read Only No
Layer2
Read Only No
Layer3
Read Only No
LoadHub
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1206 of ANSYS, Inc. and its subsidiaries and affiliates.
LoadMean
Read Only No
MassFlow
Read Only No
MaxLoadHub
Read Only No
MaxLoadMean
Read Only No
MixLoss
Read Only No
NMain
Read Only No
OGV
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1207
TurboSystems
OGVhubThickX
Read Only No
OGVhubThickY
Read Only No
OGVleadingX
Read Only No
OGVleadingY
Read Only No
OGVshrThickX
Read Only No
OGVshrThickY
Read Only No
OGVthetaLE
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1208 of ANSYS, Inc. and its subsidiaries and affiliates.
OGVtrailingX
Read Only No
OGVtrailingY
Read Only No
Omega
Read Only No
OuterIter
Read Only No
Pdyn
Read Only No
PdynPipe
Read Only No
PhiHub
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1209
TurboSystems
PhiMean
Read Only No
Power
Power
Read Only No
RatioIGV
Read Only No
RatioOGV
Read Only No
RatioRotor
Read Only No
RotorHubThickX
Read Only No
RotorHubThickY
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1210 of ANSYS, Inc. and its subsidiaries and affiliates.
RotorLeadingX
Read Only No
RotorLeadingY
Read Only No
RotorShrThickX
Read Only No
RotorShrThickY
Read Only No
RotorThetaLE
Read Only No
RotorTrailingX
Read Only No
RotorTrailingY
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1211
TurboSystems
Sc90MaxIter
Read Only No
Sc90Relax
Read Only No
Sc90Tol
Read Only No
ShrX
Read Only No
ShrY
Read Only No
SIunits
Read Only No
Span
Spanwise fractions
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1212 of ANSYS, Inc. and its subsidiaries and affiliates.
StagPressure
Read Only No
StagTemp
Read Only No
Torque
Torque
Read Only No
TrimIGV
Read Only No
TrimOGV
Read Only No
TrimRotor
Read Only No
VanesIGV
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1213
TurboSystems
VanesOGV
Read Only No
VanesRotor
Read Only No
VistaAFDTitle
Editor Title
Read Only No
Methods
CreateBladeDesign
This command class creates a new BladeGen model. An up-to-date BladeGen cell appears on the project
schematic containing the new model.
CreateGeometry
This command class creates a new BladeEditor model. An up-to-date Geometry cell appears on the
project schematic containing the new model.
Edit
This command class launches the Vista popup GUI.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1214 of ANSYS, Inc. and its subsidiaries and affiliates.
GetVistaAFDDesignProperties
This query takes a container reference and returns the Data Entity which contains user settings and
properties for the VistaAFD Design container.
Data Entities
VistaAFDDesign
Design represents a VistaAFD throughflow calculation used to define the blade profiles
Properties
Alpha1
Read Only No
Alpha3
Read Only No
AlphaOGVHub
Read Only No
AlphaOGVMean
Read Only No
AlphaRotHub
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1215
TurboSystems
Read Only No
AlphaRotMean
Read Only No
Blade
Read Only No
BladeBetaExit
Read Only No
BladeBetaInlet
Read Only No
BladeOption
Read Only No
BMunits
BladeGen/BladeEditor units
Read Only No
BMunitsOption
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1216 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
DeHallerOGVHub
Read Only No
DeHallerOGVMean
Read Only No
DeHallerRotHub
Read Only No
DeHallerRotMean
Read Only No
DevIGVHub
Read Only No
DevIGVMean
Read Only No
DevOGVHub
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1217
TurboSystems
Read Only No
DevOGVMean
Read Only No
DevRotHub
Read Only No
DevRotMean
Read Only No
DfOGVHub
Read Only No
DfOGVMean
Read Only No
DfRotHub
Read Only No
DfRotMean
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1218 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Diameter
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Eta
Aerodynamic efficiency
Read Only No
EtaInput
Read Only No
EtaTS
Read Only No
EtaTSPipe
Read Only No
EtaTT
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1219
TurboSystems
Read Only No
HeadRise
Read Only No
HtrIn
Read Only No
HtrOut
Read Only No
HubLoadParam
Read Only No
HubVelFactor
Read Only No
HubX
Read Only No
HubY
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1220 of ANSYS, Inc. and its subsidiaries and affiliates.
Type List (p. 1447)<Quantity (p. 1469)>
Read Only No
IGV
Read Only No
IGVhubThickX
Read Only No
IGVhubThickY
Read Only No
IGVleadingX
Read Only No
IGVleadingY
Read Only No
IGVshrThickX
Read Only No
IGVshrThickY
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1221
TurboSystems
Read Only No
IGVthetaLE
Read Only No
IGVtrailingX
Read Only No
IGVtrailingY
Read Only No
ImperialUnits
Read Only No
InnerIter
Read Only No
Layer1
Read Only No
Layer2
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1222 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
Read Only No
Layer3
Read Only No
LoadHub
Read Only No
LoadMean
Read Only No
MassFlow
Read Only No
MaxLoadHub
Read Only No
MaxLoadMean
Read Only No
MixLoss
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1223
TurboSystems
Read Only No
NMain
Read Only No
OGV
Read Only No
OGVhubThickX
Read Only No
OGVhubThickY
Read Only No
OGVleadingX
Read Only No
OGVleadingY
Read Only No
OGVshrThickX
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1224 of ANSYS, Inc. and its subsidiaries and affiliates.
Type List (p. 1447)<float (p. 1480)>
Read Only No
OGVshrThickY
Read Only No
OGVthetaLE
Read Only No
OGVtrailingX
Read Only No
OGVtrailingY
Read Only No
Omega
Read Only No
OuterIter
Read Only No
Pdyn
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1225
TurboSystems
Read Only No
PdynPipe
Read Only No
PhiHub
Read Only No
PhiMean
Read Only No
Power
Power
Read Only No
RatioIGV
Read Only No
RatioOGV
Read Only No
RatioRotor
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1226 of ANSYS, Inc. and its subsidiaries and affiliates.
Type float (p. 1480)
Read Only No
RotorHubThickX
Read Only No
RotorHubThickY
Read Only No
RotorLeadingX
Read Only No
RotorLeadingY
Read Only No
RotorShrThickX
Read Only No
RotorShrThickY
Read Only No
RotorThetaLE
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1227
TurboSystems
Read Only No
RotorTrailingX
Read Only No
RotorTrailingY
Read Only No
Sc90MaxIter
Read Only No
Sc90Relax
Read Only No
Sc90Tol
Read Only No
ShrX
Read Only No
ShrY
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1228 of ANSYS, Inc. and its subsidiaries and affiliates.
Type List (p. 1447)<Quantity (p. 1469)>
Read Only No
SIunits
Read Only No
Span
Spanwise fractions
Read Only No
StagPressure
Read Only No
StagTemp
Read Only No
Torque
Torque
Read Only No
TrimIGV
Read Only No
TrimOGV
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1229
TurboSystems
Read Only No
TrimRotor
Read Only No
VanesIGV
Read Only No
VanesOGV
Read Only No
VanesRotor
Read Only No
VistaAFDTitle
Editor Title
Read Only No
Methods
Edit
This command class launches the Vista popup GUI.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1230 of ANSYS, Inc. and its subsidiaries and affiliates.
GetVistaAFDMeanlineProperties
This query takes a container reference and returns the Data Entity which contains user settings and
properties for the VistaAFD Meanline container.
Import
This command imports Vista data into the Blade Design cell from an existing BladeGen file. If no appro-
priate Vista data is found in the specified BladeGen file, an error message is generated.
template1 = GetTemplate(TemplateName="VistaCPD")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
bladeDesign1.Import(FilePath="myfilepath/pump.bgd")
Required Arguments
Data Entities
VistaAFDMeanline
Meanline represents a VistaAFD meanline calculation as an initial 1D design
Properties
Alpha1
Read Only No
Alpha3
Read Only No
AlphaOGVHub
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1231
TurboSystems
Read Only No
AlphaOGVMean
Read Only No
AlphaRotHub
Read Only No
AlphaRotMean
Read Only No
DeHallerOGVHub
Read Only No
DeHallerOGVMean
Read Only No
DeHallerRotHub
Read Only No
DeHallerRotMean
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1232 of ANSYS, Inc. and its subsidiaries and affiliates.
Type float (p. 1480)
Read Only No
Diameter
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Eta
Aerodynamic efficiency
Read Only No
EtaInput
Read Only No
EtaTS
Read Only No
EtaTSPipe
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1233
TurboSystems
EtaTT
Read Only No
HeadRise
Read Only No
HtrIn
Read Only No
HtrOut
Read Only No
HubLoadParam
Read Only No
HubVelFactor
Read Only No
HubX
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1234 of ANSYS, Inc. and its subsidiaries and affiliates.
HubY
Read Only No
IGV
Read Only No
ImperialUnits
Read Only No
LoadHub
Read Only No
LoadMean
Read Only No
MassFlow
Read Only No
MaxLoadHub
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1235
TurboSystems
MaxLoadMean
Read Only No
MixLoss
Read Only No
OGV
Read Only No
Omega
Read Only No
Pdyn
Read Only No
PdynPipe
Read Only No
PhiHub
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1236 of ANSYS, Inc. and its subsidiaries and affiliates.
PhiMean
Read Only No
Power
Power
Read Only No
RatioIGV
Read Only No
RatioOGV
Read Only No
RatioRotor
Read Only No
ShrX
Read Only No
ShrY
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1237
TurboSystems
SIunits
Read Only No
StagPressure
Read Only No
StagTemp
Read Only No
Torque
Torque
Read Only No
TrimIGV
Read Only No
TrimOGV
Read Only No
TrimRotor
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1238 of ANSYS, Inc. and its subsidiaries and affiliates.
VanesIGV
Read Only No
VanesOGV
Read Only No
VanesRotor
Read Only No
VistaAFDTitle
Editor Title
Read Only No
Vista CCD
This container holds Analysis data for an instance of Vista CCD.
Methods
CreateBladeDesign
This command class creates a new BladeGen model. An up-to-date BladeGen cell appears on the project
schematic containing the new model.
CreateGeometry
This command class creates a new BladeEditor model. An up-to-date Geometry cell appears on the
project schematic containing the new model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1239
TurboSystems
CreateTF
This command class creates a new Turbo Setup system, a new geometry component (BladeGen or
BladeEditor) and a Vista TF system. The geometry and Vista TF systems are linked appropriately and
inputs populated appropriately ready for update.
Optional Arguments
CreateThroughflow
This command class creates a new throughflow system. The system, comprising Geometry, Setup,
Solution and Results cells, is created on the project schematic and is updated performing the throughflow
analysis automatically.
Optional Arguments
CreateTurboflow
This command class creates new Turbo Setup, Geometry (BladeGen or BladeEditor) and Turbomachinery
Fluid Flow systems. The new systems appear on the project schematic. The Turbo Setup and Geometry
components are updated. The Turbo Fluid Flow system components are initialised and the Turbo Mesh
component is connected to the upstream Geometry.
Optional Arguments
CreateTurboSetup
This command class creates a new Turbo Setup system. The Turbo Setup is populated with data from
the Vista Tools component it's launched from
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1240 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataContainerReference (p. 1418)
Edit
This command class launches the Vista popup GUI.
GetVistaCCDBladeDesignProperties
This query takes a container reference and returns the Data Entity which contains user settings and
properties for the VistaCCD Blade Design container.
Import
This command imports Vista data into the Blade Design cell from an existing BladeGen file. If no appro-
priate Vista data is found in the specified BladeGen file, an error message is generated.
template1 = GetTemplate(TemplateName="VistaCPD")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
bladeDesign1.Import(FilePath="myfilepath/pump.bgd")
Required Arguments
Data Entities
VistaCCDBladeDesign
This data entity provides access to the properties which define the VistaCCD project. This includes both
the input and the results properties.
Properties
Acentric
This property specifies the acentric factor for the working fluid. Note that this is only available when
MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1241
TurboSystems
Alpha3
This property specifies the flow angle at the impeller inlet in the absolute reference frame.
Read Only No
Alpha5rms
This property reports the absolute flow angle at the impeller trailing edge.
Read Only No
AnChkRatio
Read Only No
B5
This property reports the axial distance between hub and shroud at the impeller trailing edge (tip width).
Read Only No
Beta5rms
This property reports the relative flow angle at the impeller trailing edge.
Read Only No
BetaBlade3HubUser
This property specifies the hub leading edge blade angle. Note that this is NOT available when the
StackingOption is set to 'Radial'.
Read Only No
BetaBlade3ShrUser
This property specifies the impeller shroud leading edge blade angle. Note that this is only available
when the ShroudDiameterOption is set to 'Angle'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1242 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
BetaBlade5
Read Only No
BetaBladeLEhub
This property reports the blade angle at the impeller leading edge hub location.
Read Only No
BetaBladeLErms
This property reports the blade angle at the impeller leading edge meanline location.
Read Only No
BetaBladeLEshr
This property reports the blade angle at the impeller leading edge shroud location.
Read Only No
BetaLEhub
This property reports the relative flow angle at the impeller leading edge hub location.
Read Only No
BetaLErms
This property reports the relative flow angle at the impeller leading edge meanline location.
Read Only No
BetaLEshr
This property reports the relative flow angle at the impeller leading edge shroud location.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1243
TurboSystems
Read Only No
BMunitsOption
This property specifies the units used when creating a new BladeGen/BladeEditor model. Note that this
is independent of the units used in the VistaCCD popup GUI.
Available options:
mm
cm
inches
ft
m
Read Only No
ChkRatio
Read Only No
ChokeUser
This property specifies the impeller choke ratio. Note that this is only available when the IncidenceOption
is set to 'choke'.
Read Only No
ClearanceOption
This property specifies impeller tip clearance is specified. 'Ratio' indicates that the tip clearance is specified
as a fraction of the tip width 'User' specifies that the clearance will be defined directly by the user.
Available options:
Ratio
User
Read Only No
ClearRatio
This property reports the axial tip clearance ratio of the impeller.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1244 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
ClearRatioUser
This property specifies the ratio of the impeller tip clearance to the tip width. Note that this is only
available when ClearanceOption is set to 'Ratio'.
Read Only No
ClearUser
This property specifies the value of the impeller tip clearance. Note that this is only available when
ClearanceOption is set to 'User'.
Read Only No
CorrelationOption
This property specifies the correlation used to calculate the stage efficiency. Note that this is only
available when the EfficiencyOption is set to 'Correlation'.
Available options:
CaseyRobinson
CaseyMarty
Rodgers
Read Only No
Cp_A0
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the constant component (coefficient of T^0) of
the lower temperature range polynomial. Note that this is only available when MaterialPropsOption is
set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
Cp_A1
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^1 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1245
TurboSystems
Read Only No
Cp_A2
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^2 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_A3
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^3 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_A4
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^4 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_A5
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^5 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_A6
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^6 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1246 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Cp_A7
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^7 of the lower temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_Amax
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the maximum temperature limit for which the
lower temperature range polynomial is applicable. Note that this is only available when MaterialProp-
sOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
Cp_Amin
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the minimum temperature limit for which the
lower temperature range polynomial is applicable. Note that this is only available when MaterialProp-
sOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
Cp_B0
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the constant component (coefficient of T^0) of
the upper temperature range polynomial. Note that this is only available when MaterialPropsOption is
set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
Cp_B1
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^1 of the upper temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1247
TurboSystems
Read Only No
Cp_B2
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^2 of the upper temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_B3
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^3 of the upper temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_B4
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^4 of the upper temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_B5
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^5 of the upper temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_B6
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^6 of the upper temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1248 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Cp_B7
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the coefficient of T^7 of the upper temperature
range polynomial. Note that this is only available when MaterialPropsOption is set to 'User' and the
GasModelOption is set to 'Real'.
Read Only No
Cp_Bmax
For a user-defined real gas, the specific heat capacity is specified as a polynomial function of temperature
over two temperature ranges. This property specifies the maximum temperature limit for which the
upper temperature range polynomial is applicable. Note that this is only available when MaterialProp-
sOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
CriticalPressure
This property specifies the critical pressure for the working fluid. Note that this is only available when
MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
CriticalTemp
This property specifies the critical temperature for the working fluid. Note that this is only available
when MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
CriticalVol
This property specifies the critical volume for the working fluid. Note that this is only available when
MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Real'.
Read Only No
D3Hub
This property specifies the hub inlet diameter for the impeller.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1249
TurboSystems
Read Only No
D3ShrUser
This property specifies the impeller shroud diameter at the leading edge. Note that this is only available
when the ShroudDiameterOption is set to 'Diameter'.
Read Only No
D5
This property reports the diameter at the impeller trailing edge (tip diameter).
Read Only No
Diffuser
Available options:
Vaned
Vaneless
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DLEhub
This property reports the diameter at the impeller leading edge hub location.
Read Only No
DLErms
This property reports the diameter at the impeller leading edge meanline location.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1250 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
DLEshr
This property reports the diameter at the impeller leading edge shroud location.
Read Only No
EfficiencyOption
This property specifies whether to use a correlation to automatically calculate the compressor stage
efficiency, or to use a user-defined efficiency.
Available options:
Correlation
User
template1 = GetTemplate(TemplateName="VistaCCD")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
vistaCCDProperties1 = bladeDesign1.GetVistaCCDBladeDesignProperties()
vistaCCDProperties1.EfficiencyOption = "Correlation"
Read Only No
EtaIsen
This property reports the isentropic efficiency for the compressor stage.
Read Only No
EtaIsenImp
This property reports the isentropic efficiency for the compressor impeller.
Read Only No
EtaIsenImpUser
This property specifies the user defined impeller isentropic efficiency. Note that this is only available
when the ImpellerEfficiencyOption is set to 'User'.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1251
TurboSystems
Read Only No
EtaIsenUser
This property specifies the user defined stage isentropic efficiency. Note that this is only available when
the UserEfficiencyOption is set to 'Isentropic'.
Read Only No
EtaPoly
This property reports the polytropic efficiency for the compressor stage.
Read Only No
EtaPolyImp
This property reports the polytropic efficiency for the compressor impeller.
Read Only No
EtaPolyUser
This property specifies the user defined stage polytropic efficiency. Note that this is only available when
the UserEfficiencyOption is set to 'Polytropic'.
Read Only No
Gamma
This property reports the ratio of specific heats of the working fluid.
Read Only No
GammaUser
This property specifies the ratio of specific heats for the working fluid. Note that this is only available
when MaterialPropsOption is set to 'User' and the GasModelOption is set to 'Ideal'.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1252 of ANSYS, Inc. and its subsidiaries and affiliates.
GasModelOption
This property specifies whether to treat the working fluid as an Ideal or a Real gas.
Available options:
Ideal
Real
Read Only No
GeometryStyle
This property specifies the approach taken when creating a new Geometry model from a successful
VistaCCD calculation.
Available options:
Interactive
Parametric
Read Only No
H05
This property reports the total enthalpy at the impeller trailing edge.
Read Only No
H0LE
This property reports the stagnation enthalpy at the impeller leading edge.
Read Only No
Impeller
Available options:
Unshrouded
Shrouded
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1253
TurboSystems
ImpellerEfficiencyOption
This property specifies whether to automatically calculate the impeller efficiency by linking this to the
stage efficiency, or to use a user-defined efficiency.
Available options:
LinkToStage
User
Read Only No
ImpellerLength
This property specifies the impeller axial length to tip diameter ratio.
Read Only No
ImpellerLengthOption
This property specifies whether the impeller length ratio is calculated automatically, or specified by the
user.
Available options:
Automatic
User
Read Only No
ImpellerLengthUserOpt
This property specifies whether the impeller axial length ratio will be defined by the user.
Read Only No
IncidenceOption
This property specifies the method used to calculate the incidence at the impeller shroud. The incidence
may be either specified directly or calculated using the specified choke ratio.
Available options:
incidence
choke
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1254 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
IncLEhub
Read Only No
IncLErms
Read Only No
IncLEshr
Read Only No
IncShrUser
This property specifies the incidence at the impeller shroud. Note that this is only available when the
IncidenceOption is set to 'incidence'.
Read Only No
LEInclination
This property reports the leading edge angle of inclination in the meridional plane.
Read Only No
LEInclinationUser
This property specifies the inclination of the leading edge relative to a radial line in the meridional view.
Read Only No
Loading
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1255
TurboSystems
Read Only No
M5rms
This property reports the absolute Mach number at the impeller trailing edge.
Read Only No
MachU5
This property reports the blade Mach number at the impeller trailing edge (tip Mach number).
Read Only No
MassFlow
This property specifies the design point mass flow rate passing through the compressor stage.
Read Only No
MaterialNameSelection
This property specifies the name of the working fluid, as selected from the database. Note that this is
only available when the MaterialPropsOption is set to 'Database'.
Available options:
air
carbon_dioxide
hydrogen
methane
nitrogen
oxygen
parahydrogen
propylene
R123
R125
R134a
R141b
R142b
R245fa
water
template1 = GetTemplate(TemplateName="VistaCCD")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1256 of ANSYS, Inc. and its subsidiaries and affiliates.
vistaCCDProperties1 = bladeDesign1.GetVistaCCDBladeDesignProperties()
vistaCCDProperties1.MaterialPropsOption = "Database"
vistaCCDProperties1.MaterialNameSelection = "nitrogen"
Read Only No
MaterialPropsOption
This property specifies whether the working fluid properties are chosen from the materials database or
specified directly by the user.
Available options:
Database
User
Read Only No
MerVelGrad
This property specifies the gradient of the velocity profile from hub to shroud at the impeller leading
edge. The gradient is set using the ratio of the meridional velocity at the shroud leading edge radius
to that at the average leading edge radius.
Read Only No
MrelLEhub
This property reports the relative Mach number at the impeller leading edge hub location.
Read Only No
MrelLErms
This property reports the relative Mach number at the impeller leading edge meanline location.
Read Only No
MrelLEshr
This property reports the relative Mach number at the impeller leading edge shroud location.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1257
TurboSystems
MrmsLE
This property reports the absolute Mach number at the impeller leading edge meanline location.
Read Only No
Mu
Read Only No
MuUser
Read Only No
NMain
Read Only No
NormalToHubLE
This property specifies that the main impeller blade leading is normal to the hub curve
Read Only No
Ns
Read Only No
NSplit
This property specifies the number of impeller splitter vanes. Note that this MUST be a multiple of the
number of impeller main vanes.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1258 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Nu
Read Only No
NuUser
Read Only No
Omega
This property specifies the design point rotational speed of the impeller.
Read Only No
P05rms
This property reports the total pressure at the impeller trailing edge.
Read Only No
P5rms
This property reports the static pressure at the impeller trailing edge.
Read Only No
PIF
Read Only No
PIFOption
This property specifies whether the power input factor is calculated using a correlation, or specified by
the user.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1259
TurboSystems
Available options:
Correlation
User
Read Only No
PIFUser
This property specifies the user defined power input factor. Note that this is only available when the
PIFOption is set to 'User'.
Read Only No
Power
Read Only No
PressureRatio
This property specifies the design point total-to-total pressure ratio for the compressor stage.
Read Only No
PreswirlOption
This property specifies how the radial distribution of the preswirl angle is calculated.
Available options:
constant
free
forced
linear
Read Only No
RakeAngle
This property specifies the impeller rake angle (trailing edge lean angle).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1260 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Reb5
This property reports the Reynolds number based on the impeller tip width dimension.
Read Only No
ReCorrectOpt
This property specifies if the Reynolds number correction is to be made to the stage efficiency correlation.
Note that this is only available when the EfficiencyOption is set to 'Correlation'.
Read Only No
Red5
This property reports the Reynolds number based on the impeller tip diameter dimension.
Read Only No
RelVelRatio
This property specifies the ratio of the relative velocity at the trailing edge to that at the leading edge
shroud location.
Read Only No
RelVelRatioMod
This property reports the ratio of the rms relative velocity at the trailing edge to the shroud relative
velocity at the leading edge
Read Only No
RGas
This property reports the specific gas constant of the working fluid.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1261
TurboSystems
RUser
This property specifies the specific gas constant for the working fluid. Note that this is only available
when MaterialPropsOption is set to 'User'.
Read Only No
S5
This property reports the specific entropy at the impeller trailing edge.
Read Only No
ShrLELoc
This property specifies the main impeller blade leading edge location on the shroud
Read Only No
ShroudDiameterOption
This property specifies the method used to calculate the impeller shroud diameter at the leading edge.
'Diameter' allows the diameter to be directly specified. 'Angle' indicates that the diameter will be calcu-
lated from the shroud leading edge blade angle. 'Optimum' calculates the diameter such that the relative
Mach number at the shroud leading edge is minimised.
Available options:
Diameter
Angle
Optimum
Read Only No
SLE
This property reports the specific entropy at the impeller leading edge.
Read Only No
StackingOption
This property specifies the method used to calculate the leading edge blade angles. Using the radial
approach both hub and meanline leading edge blade angles are calculated from the shroud leading
edge blade angle. Using either tangential or sine based approaches, the hub leading edge blade angle
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1262 of ANSYS, Inc. and its subsidiaries and affiliates.
is user defined and the meanline leading edge blade angle is interpolated from the hub and shroud
blade angles.
Available options:
Radial
Tan
Sin
Read Only No
StagPressure
This property specifies the design point stagnation pressure at the inlet to the compressor stage.
Read Only No
StagTemp
This property specifies the design point stagnation temperature at the inlet to the compressor stage.
Read Only No
SurfaceFinish
This property specifies the surface finish of the impeller. The surface roughness has a secondary effect
on the calculated efficiency.
Available options:
Machined
Cast
Read Only No
SzrFlowCoeff
Read Only No
T05rms
This property reports the total temperature at the impeller trailing edge.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1263
TurboSystems
Read Only No
ThkHub
Read Only No
ThkShr
Read Only No
ThroatAreaLE
This property reports the throat area at the impeller leading edge.
Read Only No
TipCorrectOpt
This property specifies if the tip clearance and shroud correction is to be made to the stage efficiency
correlation. Note that this is only available when the EfficiencyOption is set to 'Correlation'.
Read Only No
U5
This property reports the blade speed at the impeller trailing edge (tip speed).
Read Only No
UserEfficiencyOption
This property specifies whether the user defined stage efficiency is isentropic or polytropic. Note that
this is only available when the EfficiencyOption is set to 'User'.
Available options:
Isentropic
Polytropic
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1264 of ANSYS, Inc. and its subsidiaries and affiliates.
Type EtaUserType (p. 1429)
Read Only No
V5rms
This property reports the absolute velocity at the impeller trailing edge.
Read Only No
ViscosityOption
This property specifies the method used to set the viscosity of the working fluid. The viscosity may be
calculated using Sutherland's law, specified as a constant dynamic viscosity or as a constant kinematic
viscosity. Note that this is only available when MaterialPropsOption is set to 'User'.
Available options:
Sutherland
Dynamic
Kinematic
Read Only No
ViscosityOptionR145
This property specifies the method used to set the kinematic viscosity of the working fluid. The kinematic
viscosity may either be calculated using Sutherland's law for Air, or defined as a constant value by the
user. Note that this is only available when MaterialPropsOption is set to 'User'.
Available options:
Sutherland
User
Read Only No
VmLEhub
This property reports the meridional velocity at the impeller leading edge hub location.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1265
TurboSystems
VmLErms
This property reports the meridional velocity at the impeller leading edge meanline location.
Read Only No
VmLEshr
This property reports the meridional velocity at the impeller leading edge shroud location.
Read Only No
VmRatioLE
This property reports the ratio of the shroud meridional velocity to the RMS meridional velocity at the
leading edge.
Read Only No
VrmsLE
This property reports the absolute velocity at the impeller leading edge meanline location.
Read Only No
VwLEhub
This property reports the tangential velocity at the impeller leading edge hub location.
Read Only No
VwLErms
This property reports the tangential velocity at the impeller leading edge meanline location.
Read Only No
VwLEshr
This property reports the tangential velocity at the impeller leading edge shroud location.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1266 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
VwRatioLE
This property reports the ratio of the shroud swirl velocity to the RMS swirl velocity at the leading edge.
Read Only No
VwRatioUser
This property specifies the ratio of the inlet tangential velocity at the shroud to that at the meanline.
Note that this property is only valid when the PreswirlOption is set to linear.
Read Only No
W5rms
This property reports the relative velocity at the impeller trailing edge.
Read Only No
Vista CCM
This container holds Analysis data for an instance of Vista CCM.
Methods
Edit
This command class launches the Vista popup GUI.
GetVistaCCMBladeDesignProperties
This query takes a container reference and returns the Data Entity which contains user settings and
properties for the VistaCCD Performance Map container.
Data Entities
VistaCCMBladeDesign
Setup represents a VistaCCM project definition.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1267
TurboSystems
Properties
Alpha3
Inlet angle
Read Only No
B5
Read Only No
BetaBlade5
Read Only No
BetaBladeLEhub
Read Only No
BetaBladeLEshr
Read Only No
ConditionsFromUpstream
Flag to choose whether to update operating conditions from upstream cell or not
Read Only No
D5
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1268 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DLEhub
Read Only No
DLEshr
Read Only No
EffPolyData
Read Only No
EtaPoly
Polytropic efficiency
Read Only No
GammaUser
Read Only No
GasModel
Gas model
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1269
TurboSystems
Read Only No
ImperialUnits
Read Only No
KDiff
Read Only No
KType
Read Only No
ListSpeed
Read Only No
Loading
Work factor
Read Only No
MachU5
Read Only No
MassFlow
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1270 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
MassFlowData
Read Only No
NMain
Read Only No
NSpeeds
Read Only No
NSplit
Read Only No
PIF
Read Only No
PresRatioData
Read Only No
PressureRatio
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1271
TurboSystems
Read Only No
RUser
Gas constant
Read Only No
SIunits
Read Only No
SpeedMax
Read Only No
SpeedMaxFixed
Read Only No
SpeedMin
Read Only No
SpeedMinFixed
Read Only No
StagPressure
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1272 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
StagPressureFixed
Read Only No
StagTemp
Read Only No
StagTempFixed
Read Only No
SzrFlowCoeff
Flow coefficient
Read Only No
ThkHub
Read Only No
ThkShr
Read Only No
ThroatArea
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1273
TurboSystems
Read Only No
TipMachInData
Read Only No
TipMachOutData
Read Only No
VistaCCMTitle
Editor Title
Read Only No
Vista CPD
This container holds Analysis data for an instance of Vista CPD.
Methods
CreateBladeDesign
This command class creates a new BladeGen model. An up-to-date BladeGen cell appears on the project
schematic containing the new model.
CreateGeometry
This command class creates a new BladeEditor model. An up-to-date Geometry cell appears on the
project schematic containing the new model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1274 of ANSYS, Inc. and its subsidiaries and affiliates.
CreateThroughflow
This command class creates a new throughflow system. The system, comprising Geometry, Setup,
Solution and Results cells, is created on the project schematic and is updated performing the throughflow
analysis automatically.
Optional Arguments
CreateVoluteMesh
This command class creates a new pump volute geometry and mesh. An up-to-date Mesh system appears
on the project schematic containing the new geometry and mesh cells.
Edit
This command class launches the Vista popup GUI.
GetVistaCPDBladeDesignProperties
This query takes a container reference and returns the Data Entity which contains user settings and
properties for the VistaCPD Blade Design container.
Import
This command imports Vista data into the Blade Design cell from an existing BladeGen file. If no appro-
priate Vista data is found in the specified BladeGen file, an error message is generated.
template1 = GetTemplate(TemplateName="VistaCPD")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
bladeDesign1.Import(FilePath="myfilepath/pump.bgd")
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1275
TurboSystems
Data Entities
VistaCPDBladeDesign
This data entity provides access to the properties which define the VistaCPD project. This includes both
the input and the results properties.
Properties
Alpha2
This property reports the absolute flow angle at the impeller trailing edge.
AlphaIn
This property specifies the absolute flow angle, measured with respect to the tangential direction, at
the leading edge of the pump impeller.
Read Only No
AreaDiff
AspectRatio
This property specifies the aspect ratio (height/width) of the rectangular volute cross section. This is
valid when VoluteStyleOpt is 'Rectangular'.
Read Only No
B2
This property reports the hub to shroud distance at the impeller trailing edge (tip width).
B3
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1276 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Beta1
This property reports the relative flow angle at the impeller leading edge meanline section.
Beta1Blade
This property reports the impeller leading edge blade angle at the meanline section.
Beta1BladeHub
This property reports the impeller leading edge blade angle at the hub section.
Beta1BladeHubUser
This property specifies the impeller leading edge blade angle at the hub, measured with respect to the
tangential direction. This is valid when the HubBeta1Opt is set to 'User'
Read Only No
Beta1BladeShr
This property reports the impeller leading edge blade angle at the shroud section.
Beta1BladeShrUser
This property specifies the impeller leading edge blade angle at the shroud, measured with respect to
the tangential direction. This is valid when the ShrBeta1Opt is set to 'User'
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1277
TurboSystems
Beta1BladeUser
This property specifies the impeller leading edge blade angle at the meanline, measured with respect
to the tangential direction. This is valid when the HubBeta1Opt is set to 'User'
Read Only No
Beta1Hub
This property reports the relative flow angle at the impeller leading edge hub section.
Beta1Shr
This property reports the relative flow angle at the impeller leading edge shroud section.
Beta2
This property reports the relative flow angle at the impeller trailing edge.
Beta2Blade
This property specifies the blade angle at the impeller trailing edge, measured with respect to the tan-
gential direction.
Read Only No
BMExportOption
This property specifies whether the impeller is to be exported as an isolated impeller or coupled to a
volute. The isolated impeller option provides for an extended exit diffuser to assist the analysis process.
If the impeller is coupled to the volute, the exit diffuser is short to match with the volute inlet.
Available options:
Isolated
Coupled
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1278 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
BMunitsOption
This property specifies the units used when creating a new BladeGen/BladeEditor model. Note that this
is independent of the units used in the VistaCPD popup GUI.
Available options:
mm
inches
Read Only No
C2
This property reports the absolute flow velocity at the impeller trailing edge.
Cm1
This property reports the meridional flow velocity at the impeller leading edge meanline section.
Cm1Hub
This property reports the meridional flow velocity at the impeller leading edge hub section.
Cm1Shr
This property reports the meridional flow velocity at the impeller leading edge shroud section.
Cu1
This property reports the tangential flow velocity at the impeller leading edge meanline section.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1279
TurboSystems
Cu1Hub
This property reports the tangential flow velocity at the impeller leading edge hub section.
Cu1Shr
This property reports the tangential flow velocity at the impeller leading edge shroud section.
Cu2
This property reports the tangential flow velocity at the impeller trailing edge.
Cus
This property reports the slip velocity at the impeller trailing edge. This is defined as the difference
between the theoretical 'no-slip' tangential flow velocity and the true tangential flow velocity.
D1
This property reports the diameter of the impeller leading edge at the meanline section.
D1Hub
This property reports the diameter of the impeller leading edge at the hub section.
D1Shr
This property reports the diameter of the impeller leading edge at the shroud section.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1280 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only Yes
D2
This property reports the diameter at the impeller trailing edge meanline section (tip diameter).
D2Opt
This property specifies the method used to set the impeller tip diameter. It may be calculated automat-
ically, from a specified head coefficient or the value may be user defined.
Available options:
Automatic
HeadCoeff
User
Read Only No
D2User
This property specifies the impeller tip diameter. This is valid when the D2Opt is set to 'User'.
Read Only No
DEye
This property reports the impeller shroud diameter at the eye of the impeller.
DEyeHub
This property reports the impeller hub diameter at the eye of the impeller.
DiamDiff
This property reports the hydraulic diameter of the volute diffuser exit.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1281
TurboSystems
DiamDiffUser
This property specifies the value of the volute diffuser exit diameter. This is valid when UserDiamDiff is
set to true.
Read Only No
DiffRatio
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DShaft
EfficiencyOption
With this set to 'Automatic' the efficiencies are calculated using empirical correlations. All other options
require the specification of three of the efficiencies.The remaining value is calculated from those specified.
For example, specifying 'Hydraulic' indicates that the hydraulic efficiency will be calculated and the
volumetric, mechanical and overall pump efficiencies must be specified.
Available options:
Automatic
Hydraulic
Volumetric
Mechanical
Pump
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1282 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
FlowCoeff
Head
This property specifies the design point head rise for the impeller.
Read Only No
HeadCoeff
HeadCoeffUser
This property specifies the head coefficient, used to calculate the impeller tip diameter. This is valid
when the D2Opt is set to 'HeadCoeff'.
Read Only No
HeightDiff
This property reports the volute diffuser exit height. In the case of a circular outlet, (elliptic volute cross
section), this is the same as the hydraulic diameter.
HubBeta1Opt
This property specifies the method used to set the impeller leading edge blade angles at the hub and
meanline sections. These blade angles may be calculated relative to the leading edge blade angle at
the shroud using either cosine or cotangent relationships, or they may be defined directly by the user.
Available options:
Cos
Cot
User
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1283
TurboSystems
Read Only No
HubInletDraft
This property specifies the impeller hub inlet draft angle. This is defined as the angle between the hub
and the horizontal line at the hub inlet.
Read Only No
HydEff
HydEffUser
This property specifies the impeller hydraulic efficiency. This is valid when the EfficiencyOption is set
to 'Volumetric', 'Mechanical' or 'Pump'.
Read Only No
Inc
This property reports the incidence at the impeller leading edge meanline section.
IncHub
This property reports the incidence at the impeller leading edge hub section.
IncShr
This property reports the incidence at the impeller leading edge shroud section.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1284 of ANSYS, Inc. and its subsidiaries and affiliates.
IncShrUser
This property specifies the angle of incidence for the impeller at the shroud. This is valid when the
ShrBeta1Opt is set to 'Incidence'.
Read Only No
Ks
LengthDiff
LengthDiffUser
This property specifies the value of the volute diffuser axial length. This is valid when UserLengthDiff
is set to true.
Read Only No
MechEff
MechEffUser
This property specifies the impeller mechanical efficiency. This is valid when the EfficiencyOption is set
to 'Hydraulic', 'Volumetric' or 'Pump'.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1285
TurboSystems
MerVelRatio
This property specifies the gradient of the velocity profile from hub to shroud at the impeller leading
edge. The gradient is set using the ratio of the meridional velocity at the shroud leading edge radius
to that at the average leading edge radius.
Read Only No
MinDiamFactor
This property specifies the shaft minimum diameter factor. This is a 'factor of safety' applied to the shaft
minimum diameter as calculated from the maximum allowable shear stress of the shaft.
Read Only No
NPSHr
This property reports the net positive suction head required (NPSHr) of the impeller.
Nq
This property reports the specific speed of the impeller using the European units system.
Ns
This property reports the specific speed of the impeller using the US units system.
Nss
This property reports the non-dimensional suction specific speed of the impeller.
NumVanes
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1286 of ANSYS, Inc. and its subsidiaries and affiliates.
Type int (p. 1442)
Read Only No
OmegaS
PowShaft
PumpEff
This property reports the overall efficiency of the impeller. This is the product of the hydraulic, volumetric
and mechanical efficiencies.
PumpEffUser
This property specifies the impeller overall efficiency. This is valid when the EfficiencyOption is set to
'Hydraulic', 'Volumetric' or 'Mechanical'.
Read Only No
R3
This property reports the volute base-circle radius. This is defined as the distance from the centreline
to the volute tongue.
Rake
This property reports the lean angle at the impeller trailing edge (rake angle). Note that although this
is also specified as an input property, the process to achieve the rake angle is iterative and may not
always be achievable. In this situation there will be a difference between this value and that specified
by the input property.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1287
TurboSystems
RakeUser
This property specifies the blade lean angle at the impeller trailing edge (rake angle)
Read Only No
Rho
Read Only No
RMajor
This property reports a list of the major radii of the elliptic volute cross sections. This is valid when Vo-
luteStyleOpt is 'Elliptic'.
RMinor
This property reports a list of the minor radii of the elliptic volute cross sections. This is valid when Vo-
luteStyleOpt is 'Elliptic'.
ShaftDiamRatio
This property specifies the shaft diameter ratio. This is defined as the ratio of the hub diameter to the
shaft diameter. It is used to determine the hub diameter from the shaft diameter and size of the impeller
fittings used to fix the impeller to the shaft.
Read Only No
ShrBeta1Opt
This property specifies how the impeller leadng edge blade angle at the shroud is set. With this option
set to 'Incidence' the blade angle is calculated from the specified incidence, otherwise the blade angle
is specified directly.
Available options:
Incidence
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1288 of ANSYS, Inc. and its subsidiaries and affiliates.
User
Read Only No
SlipRatio
This property reports the ratio of the slip velocity to the blade speed at the impeller trailing edge.
Speed
Read Only No
Theta2
This property reports the angle of inclination to the horizontal of the impeller trailing edge, when viewed
in the meridional plane.
ThetaCR
This property specifies the volute casing rotation angle. This is defined as the angle between the vertical
line and the tongue location when viewing the central section through the volute.
Read Only No
ThetaDiff
This is defined as the angle between the sloping sides of a circular based conic frustum, with the same
inlet area, exit area and axial length as the volute diffuser.
Thk
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1289
TurboSystems
ThkRatio
This property specifies the ratio of the impeller vane thickness to the tip diameter. It is used in order
to specify the impeller vane thickness in a non-dimensional manner.
Read Only No
TongueClear
This property reports the volute tongue clearance. This is defined as the volute base-circle radius minus
the impeller tip radius.
TongueThk
This property reports the thickness of the volute tongue ie. the tongue diameter at the cutwater.
U1
This property reports the blade speed at the impeller leading edge meanline section.
U1Hub
This property reports the blade speed at the impeller leading edge hub section.
U1Shr
This property reports the blade speed at the impeller leading edge shroud section.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1290 of ANSYS, Inc. and its subsidiaries and affiliates.
U2
This property reports the blade speed at the impeller trailing edge (tip speed).
UserDiamDiff
This property specifies that the volute diffuser exit diameter is to be defined by the user, rather than
calculated automatically.
Read Only No
UserLengthDiff
This property specifies that the volute diffuser axial length is to be defined by the user, rather than
calculated automatically.
Read Only No
VolA
This property reports a list of the volute cross sectional areas from cutwater to throat.
VolEff
VolEffUser
This property specifies the impeller volumetric efficiency. This is valid when the EfficiencyOption is set
to 'Hydraulic', 'Mechanical' or 'Pump'.
Read Only No
VolFlow
This property specifies the design point volume flow rate delivered by the pump.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1291
TurboSystems
Read Only No
VolHeight
This property reports a list of the height of the rectangular volute cross sections. This is valid when
VoluteStyleOpt is 'Rectangular'.
VolR
This property reports a list of the radii of the centroids of the volute cross sections.
VolRouter
This property reports a list of the outer radii of the volute cross sections.
VoluteStyleOpt
Available options:
Elliptic
Rectangular
Read Only No
VolWidth
This property reports a list of the width of the rectangular volute cross sections. This is valid when Vo-
luteStyleOpt is 'Rectangular'.
W1
This property reports the relative flow velocity at the impeller leading edge meanline section.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1292 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
W1Hub
This property reports the relative flow velocity at the impeller leading edge hub section.
W1Shr
This property reports the relative flow velocity at the impeller leading edge shroud section.
W2
This property reports the relative flow velocity at the impeller trailing edge.
Vista RTD
This container holds Analysis data for an instance of Vista RTD.
Methods
CreateBladeDesign
This command class creates a new BladeGen model. An up-to-date BladeGen cell appears on the project
schematic containing the new model.
CreateGeometry
This command class creates a new BladeEditor model. An up-to-date Geometry cell appears on the
project schematic containing the new model.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1293
TurboSystems
CreateThroughflow
This command class creates a new throughflow system. The system, comprising Geometry, Setup,
Solution and Results cells, is created on the project schematic and is updated performing the throughflow
analysis automatically.
Optional Arguments
Edit
This command class launches the Vista popup GUI.
GetVistaRTDBladeDesignProperties
This query takes a container reference and returns the Data Entity which contains user settings and
properties for the VistaRTD Blade Design container.
ImportBladeGen
This command imports Vista data into the Blade Design cell from an existing BladeGen file. If no appro-
priate Vista data is found in the specified BladeGen file, an error message is generated.
template1 = GetTemplate(TemplateName="VistaCPD")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
bladeDesign1.Import(FilePath="myfilepath/pump.bgd")
Required Arguments
Data Entities
VistaRTDBladeDesign
This data entity provides access to the properties which define the VistaRTD project. This includes both
the input and the results properties.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1294 of ANSYS, Inc. and its subsidiaries and affiliates.
Properties
AFR
This property specifies the air/fuel ratio of the working fluid. This is only available when using the AFR
option for GasProps.
Read Only No
Alpha2
This property reports the absolute flow angle at the impeller inlet.
Alpha2User
This property specifies the absolute flow angle at the impeller leading edge. Note that this is not
available when the InletOption is set to 'Calculated'.
Read Only No
Alpha3
This property reports the absolute flow angle at the impeller exit station.
Alpha3User
This property specifies the absolute flow angle at the impeller trailing edge.
Read Only No
Beta2
This property reports the relative flow angle at the impeller inlet.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1295
TurboSystems
Beta2User
This property specifies the relative flow angle at the impeller leading edge. Note that this is not available
when the InletOption is set to 'Calculated'.
Read Only No
Beta3
This property reports the meanline section relative flow angle at the impeller exit station.
Beta3hub
This property reports the hub section relative flow angle at the impeller exit station.
Beta3shroud
This property reports the shroud section relative flow angle at the impeller exit station.
Beta3User
This property specifies the relative flow angle at the impeller trailing edge.
Read Only No
BMunitsOption
This property specifies the units used when creating a new BladeGen/BladeEditor model. Note that this
is independent of the units used in the VistaRTD popup GUI.
Available options:
mm
cm
inches
ft
m
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1296 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
ClearanceOption
This property specifies impeller tip clearance is specified. 'Ratio' indicates that the tip clearance is specified
as a fraction of the tip width 'User' specifies that the clearance will be defined directly by the user.
Available options:
Ratio
User
Read Only No
ClearLoss
This property reports the proportion of energy loss attributed to the clearances between rotating and
stationary components. Note this is only available when using the 'Correlation' for the efficiency calcu-
lation method, EtaOpt.
ClearRatioUser
This property specifies the ratio of the impeller tip clearance to the tip width. Note that this is only
available when ClearanceOption is set to 'Ratio'.
Read Only No
ClearUser
This property specifies the value of the impeller tip clearance. Note that this is only available when
ClearanceOption is set to 'User'.
Read Only No
CorrelationOption
This property specifies the correlation used to calculate the stage efficiency. Note that this is only
available when the EtaOption is set to 'Correlation'.
Available options:
Suhrmann
Baines
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1297
TurboSystems
Read Only No
CpMean
This property reports the average specific heat capacity at constant pressure for the turbine stage.
CpUser
This property specifies the specific heat capacity at constant pressure, Cp, of the working fluid. This is
only available when using the Fixed option for GasProps.
Read Only No
D2
D3hub
D3shroud
DiameterRatio
This property reports the ratio of the impeller inlet diameter to the meanline exit diameter.
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1298 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Read Only No
EtaImpTS
EtaImpTT
EtaNozzle
This property specifies the value of the total-to-static nozzle efficiency. The term 'nozzle' here refers to
the geometry upstream of the impeller used to control the inlet flow angle. This may be either bladed
or unbladed, eg. a volute. A specified nozzle efficiency of 1.0 implies no pressure loss across the nozzle
and consequently the nozzle is neglected from the calculation.
Read Only No
EtaOption
This property specifies whether to use a correlation to automatically calculate the turbine stage efficiency,
or to use a user-defined efficiency.
Available options:
User
Correlation
template1 = GetTemplate(TemplateName="VistaRTD")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
vistaRTDProperties1 = bladeDesign1.GetVistaRTDBladeDesignProperties()
vistaRTDProperties1.EtaOption = "Correlation"
Read Only No
EtaStageTS
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1299
TurboSystems
EtaStageTT
EtaUser
This property specifies the value of the total-to-total turbine stage efficiency. Note that this entry is
only available when the EtaOption is set to 'User'.
Read Only No
ExitAngle
This property specifies the flow angle at the impeller exit. This will either be an absolute or relative
value depending on the 'ExitOption'.
Read Only No
ExitLoss
This property reports the proportion of energy loss attributed to the exhaust. Note this is only available
when using the 'Correlation' for the efficiency calculation method, EtaOpt.
ExitOption
Available options:
Absolute
Relative
Read Only No
ExpRatio
This property specifies the design point total-to-total expansion ratio, P01/P03, for the turbine stage.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1300 of ANSYS, Inc. and its subsidiaries and affiliates.
Type float (p. 1480)
Read Only No
ExpRatioTs
This property reports the total to static expansion ratio for the turbine stage (P01/P3).
FricLoss
This property reports the proportion of energy loss attributed to friction. Note this is only available
when using the 'Correlation' for the efficiency calculation method, EtaOpt.
GammaMean
This property reports the average ratio of specific heats (gamma) for the turbine stage.
GasProps
This property specifies the method used to calculate the properties of the working fluid.
Available options:
Air
AFR
Fixed
template1 = GetTemplate(TemplateName="VistaRTD")
system1 = template1.CreateSystem()
bladeDesign1 = system1.GetContainer(ComponentName="Blade Design")
vistaRTDProperties1 = bladeDesign1.GetVistaRTDBladeDesignProperties()
vistaRTDProperties1.GasProps = "AFR"
Read Only No
HubRatio
This property specifies the ratio of the impeller exit radius at the hub to the impeller inlet radius (tip
radius). This enables the hub exit radius to be controlled in a non-dimensional way.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1301
TurboSystems
Read Only No
ImpellerLength
This property reports the ratio of the impeller axial length to the impeller tip diameter.
ImpellerLengthOption
This property specifies whether the impeller length ratio is calculated automatically, or specified by the
user.
Available options:
Automatic
User
Read Only No
ImpellerLengthUser
This property specifies the ratio of the impeller axial length to the impeller tip diameter. This enables
the impeller axial length to be controlled in a non-dimensional way.
Read Only No
ImpellerLengthUserOpt
This property specifies whether the impeller axial length ratio will be defined by the user.
Read Only No
ImpellerNumber
Read Only No
ImpellerThickness
This property specifies the average vane thickesses at the impeller exit.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1302 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
IncLoss
This property reports the proportion of energy loss attributed to the incidence at the leading edge.
Note this is only available when using the 'Correlation' for the efficiency calculation method, EtaOpt.
InletAngle
OBSOLETE PROPERTY RETAINED FOR BACKWARDS COMPATIBILITY IN THE POST MIGRATION STEP
This property specifies the flow angle at the impeller inlet. This will either be specified as an absolute
or relative value depending on the 'InletOption'.
Read Only No
InletOption
Available options:
Absolute
Relative
Calculated. ****** OBSOLETE OPTION PLEASE USE ABSOLUTE OR RELATIVE ********
Read Only No
Loading
This property reports the basic loading for the turbine stage (delH/U^2).
LoadLoss
This property reports the proportion of energy loss attributed to loading. Note this is only available
when using the 'Correlation' for the efficiency calculation method, EtaOpt.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1303
TurboSystems
Mach2
This property reports the absolute Mach number at the impeller inlet.
Mach3rms
This property reports the meanline section absolute Mach number at the impeller exit station.
MachRel2
This property reports the relative Mach number at the impeller inlet.
MachRel3shroud
This property reports the shroud section relative Mach number at the impeller exit station.
MassFlow
This property specifies the design point mass flow rate passing through the turbine stage.
Read Only No
MrootToverP
This property reports the characteristic flow function for the design point (M x SQRT(T) / P).
NozChkRatio
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1304 of ANSYS, Inc. and its subsidiaries and affiliates.
NozExitDiameter
NozThtArea
NozVlessRatio
This property reports the ratio of the 'vaneless' nozzle area to the impeller inlet radius. Note that the
nozzle area used here neglects the vane thickness, hence the 'vaneless' prefix.
Ns
Omega
This property specifies the design point rotational speed of the impeller.
Read Only No
OvrChkRatio
This property reports the overall choke ratio (mass flow/choke flow) for the turbine stage.
P02
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1305
TurboSystems
P03
P2
P3
Power
This property reports the aerodynamic power generated by the turbine, neglecting mechanical losses.
Reaction
This property reports the degree of reaction for the turbine stage, (T2 - T3)/(T01 - T03).
RelVelRatShroud
This property reports the ratio of the impeller exit relative velocity at the shroud (W3shr) to the impeller
inlet relative velocity (W2).
RUser
This property specifies the specific gas constant, R, of the working fluid. This is only available when using
the Fixed option for GasProps.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1306 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
Read Only No
ShroudRatio
This property specifies the ratio of the impeller exit radius at the shroud to the impeller inlet radius (tip
radius). This enables the shroud exit radius to be controlled in a non-dimensional way.
Read Only No
SpanwiseDistributionOption
This property specifies the spanwise distribution used when exporting the impeller blade.
Available options:
General
Radial
Read Only No
SpeedRatio
This property specifies the blade speed ratio, U2/C0, of the impeller, where U2 is the impeller tip speed
and C0 is the spouting velocity. In this definition the spouting velocity is calculated from the total-to-
total isentropic temperature drop.
Read Only No
StagPressure
This property specifies the design point stagnation pressure, P01, at the inlet to the turbine stage. Note
that this is defined upstream of the nozzle guide vane ahead of the impeller.
Read Only No
StagTemp
This property specifies the design point stagnation temperature, T01, at the inlet to the turbine stage.
Note that this is defined upstream of the nozzle guide vane ahead of the impeller.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1307
TurboSystems
SurfaceFinish
This property specifies the surface finish of the impeller. The surface roughness has a secondary effect
on the calculated efficiency.
Available options:
Machined
Cast
Read Only No
T02
T03
T2
T3
TipWidth
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1308 of ANSYS, Inc. and its subsidiaries and affiliates.
TotalLoss
This property reports the sum of the friction, loading, clearance and exit losses. It is equal to one minus
the total-to-total stage efficiency. Note this is only available when using the 'Correlation' for the efficiency
calculation method, EtaOpt.
Total losses
U2
This property reports the blade speed at the impeller inlet (tip speed)
U3shroud
This property reports the shroud section blade speed (tip speed) at the impeller exit station.
V2
V3rms
This property reports the meanline section absolute velocity at the impeller exit station.
Vax3rms
This property reports the meanline section axial velocity at the impeller exit station.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1309
TurboSystems
VelRatio1
This property reports the flow coefficient at impeller exit. This is the ratio of the average axial velocity
at the impeller exit (Vax3) to the impeller tip speed (U2).
VelRatio2
This property reports the blade speed ratio, U2/C0, of the impeller, where U2 is the impeller tip speed
and C0 is the spouting velocity. In this definition the spouting velocity is calculated from the total-to-
static isentropic temperature drop.
Vr2
Vw2
This property reports the swirl (tangential) velocity at the impeller inlet
Vw3rms
This property reports the meanline section swirl velocity at the impeller exit station.
W2
W3shroud
This property reports the shroud section relative velocity at the impeller exit station.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1310 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Quantity (p. 1469)
ZeroBetaInlet
Specifies whether or not the relative flow angle at the impeller inlet is zero. Note that a zero inlet angle
is a 'special case' where the exit angles are calculated rather than specified.
Read Only No
Vista TF Setup
This container holds Setup data for an instance of Vista TF.
Methods
GetSetupEntity
This query is used to retrieve the Vista TF Setup data entity for the specified container.
ImportAeroTemplate
Imports throughflow aerodynamic data into the Vista TF Setup from an existing throughflow aero
template (.aert) file.
Required Arguments
ImportControlTemplate
Imports throughflow control data into the Vista TF Setup from an existing throughflow control template
(.cont) file.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1311
TurboSystems
ImportCorrelationsTemplate
Imports throughflow correlations data into the Vista TF Setup from an existing throughflow correlations
template (.cort) file.
Required Arguments
ImportCustomRealGas
Imports custom real gas data into the Vista TF Setup from a real gas file (.rgp)
Required Arguments
ImportGeometry
Imports throughflow geometry data into the Vista TF Setup from an existing throughflow geometry
(.geo) file.
Required Arguments
Data Entities
VistaTFSetup
This data entity represents a Vista TF project definition on a geometry.
Properties
Acentric
Read Only No
ConditionsFromUpstream
Flag to choose whether to update operating conditions from upstream cell or not
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1312 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
Read Only No
CpCoeff
Read Only No
CpGas
Specifies the gas specific heat at constant pressure when FluidOption = IdealGas.
Read Only No
CpMax
Read Only No
CpMin
Read Only No
CriticalPressure
Read Only No
CriticalTemp
Read Only No
CriticalVol
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1313
TurboSystems
Read Only No
CustomRealGasFilename
The filename for the specified custom real gas file. Only used where the custom real gas option is spe-
cified.
Read Only No
CwFluid
Read Only No
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
DynamicViscosity
Available options:
A value less than 1 [N s m^-2] (or equivalent value in other units) is interpreted as the dynamic
viscosity. Note that the value must be greater than 0.0000001 [N s m^-2].
A value of 0 causes Vista TF to calculate the dynamic viscosity from an inbuilt equation for
dynamic viscosity based on Sutherland's law and the Inlet Total Temperature. This works only
for an ideal gas.
A value greater than 1 [N s m^-2] (or equivalent value in other units) is interpreted as the
Reynolds number, in which case Vista TF calculates the dynamic viscosity using this Reynolds
number, the Reference Diameter, the Machine Rotational Speed, and the fluid density.
Read Only No
FlowOption
Available options:
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1314 of ANSYS, Inc. and its subsidiaries and affiliates.
MassFlow Specify the mass flow rate and the inlet total
pressure and total temperature conditions.
PressureRatio Specify the estimated mass flow rate and the
total to static pressure ratio on the mean
streamline.
PressureDifference Specify the estimated mass flow rate and the
total to static pressure difference on the mean
streamline.
Read Only No
FluidOption
Available options:
Read Only No
GammaGas
Read Only No
InitialCmUref
Specifies the initial guess for the meridional velocity divided by a characteristic velocity, where the latter
is half the Reference Diameter multiplied by the Machine Rotational Speed. For more information, see
the description for cm_start in Specification of the Control Data File (*.con) in the Vista TF Reference
Guide.
Read Only No
InletPt
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1315
TurboSystems
InletSwirlAngle
Specifies the inlet swirl angle, which is from the axial direction and positive in the direction of rotation.
Read Only No
InletTt
Read Only No
MachineTypeOption
Specifies the type of machine that will be analyzed. This property specifies which template files are
used and which report is used for the results. This property is only available if the geometry data is
imported rather than transferred from BladeEditor.
Available options:
Pump
AxialCompressor
CentrifugalCompressor
Fan
AxialTurbine
RadialTurbine
HydraulicTurbine
Unknown
Other (Obsolete use Unknown)
Read Only No
MassFlow
Specifies the mass flow rate when FlowOption = MassFlow or the estimated mass flow rate when Flow-
Option = PressureRatio or PressureDifference.
Read Only No
MaxIterations
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1316 of ANSYS, Inc. and its subsidiaries and affiliates.
NumBladeRows
Specifies the number of blade rows solved in the analysis. This property is only available if the geometry
data is imported rather than transferred from BladeEditor, and it is only used by the report template
for the Results.
Read Only No
NumStreamlines
Read Only No
PolytropicEfficiency
Specifies the small scale polytropic efficiency for the machine, and is used to calculate the losses.
Read Only No
PressureDifference
Specifies the total to static pressure difference on the mean streamline when FlowOption = PressureDif-
ference.
Read Only No
PressureRatio
Specifies the total to static pressure ratio on the mean streamline when FlowOption = PressureRatio.
Read Only No
RealGasOption
Read Only No
RefDiameter
Specifies the reference diameter for the definition of the flow coefficient.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1317
TurboSystems
Read Only No
RefDiameterOption
Specifies whether to have Vista TF calculate the reference diameter automatically or to use a user defined
value.
Available options:
Read Only No
RGas
Read Only No
RhoFluid
Read Only No
RotationalDirection
Available options:
Read Only No
RotationalSpeed
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1318 of ANSYS, Inc. and its subsidiaries and affiliates.
Read Only No
Vista TF Solution
This container holds Solution data for an instance of Vista TF.
Data Entities
SolutionOptionsDataEntity
This data entity represents the Vista TF solution options for a project definition.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
ExpressionPrefix
Specifies the name that CFD-Post will prepend all Vista TF system
This field will be populated either on the first solve of this container, or during the duplicate operation,
where it will be copied over from the duplicated container.
Read Only No
VistaTFSolution
This data entity has no user modifiable properties.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1319
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1320 of ANSYS, Inc. and its subsidiaries and affiliates.
Units
Units
This container holds the project Unit Systems and unit settings.
Data Entities
UnitSystem
Holds the definition of a unit system within the project.
Properties
DisplayText
The general property that defines the user-visible name of an entity. This property is defined for all data
entities but is used only in those entities that present a label in the user interface.
Read Only No
IsDefault
Read Only No
IsProjectUnitSystem
Read Only No
UnitSystemName
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1321
Units
Methods
Export
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1322 of ANSYS, Inc. and its subsidiaries and affiliates.
Namespaced Commands
AQWA
This namespace holds top-level commands and queries related to AQWA.
EditModel
Opens the AQWA editor to allow modification of AQWA Model data.
Required Arguments
EditSetup
Opens the AQWA editor to allow modification of AQWA Setup data or viewing of the AQWA Results.
Required Arguments
EditSolution
Opens the AQWA editor to allow modification of AQWA Solution data.
Required Arguments
ChemkinCommon
No details are provided for this entry.
CreateApplicationInputParameter
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1323
Namespaced Commands
Required Arguments
CreateApplicationOutputParameter
No details are provided for this entry.
Required Arguments
CreateInputParameter
No details are provided for this entry.
Required Arguments
CreateOutputParameter
No details are provided for this entry.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1324 of ANSYS, Inc. and its subsidiaries and affiliates.
DeleteApplicationInputParameter
No details are provided for this entry.
Required Arguments
DeleteApplicationOutputParameter
No details are provided for this entry.
Required Arguments
DeleteDesignPointParameter
Delete one input parameter from the given Container.
Required Arguments
ImportProject
Import a project into Chemkin
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1325
Namespaced Commands
JournalOperation
No details are provided for this entry.
Required Arguments
RebaseProject
Update the project path in Chemkin
Required Arguments
SaveProject
Update the project path in Chemkin
Required Arguments
SolveCommand
Update the project path in Chemkin
Required Arguments
ValidateProject
Validate the project
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1326 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Customization
This namespace holds top-level commands and queries related to ACT Customization in AIM
GetCustomTemplateState
No details are provided for this entry.
Required Arguments
EngData
This namespace holds top-level commands and queries related to Engineering Data.
CreateLibrary
Creates a new Engineering Data library.
Required Arguments
Optional Arguments
OpenLibrary
Opens a library of engineering information so that it can be viewed and if permissions allow, edited.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1327
Namespaced Commands
Required Arguments
Example
This code shows how to open a library from the provided samples.
EngineeringData
This namespace holds top-level commands and queries related to Engineering Data
GetFieldVariablesQuery
Queries Engineering Data for those field variables which can be created on a PropertyData
Required Arguments
DataReturn The data information to return for each field variable. The string can be seen in the
journal by looking at the Qualifiers and CustomData when creating a field variable in
the UI
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1328 of ANSYS, Inc. and its subsidiaries and affiliates.
Extensions
This namespace holds top-level commands and queries related to ACT.
InstallExtension
This command install an extension identified by its filename.
If this extension already exists, the user can force to install the extension by setting the variable "For-
ceInstall" to true.
Required Arguments
Optional Arguments
ForceInstall Indicates whether the extension will be installed even if this extension already exists.
Example
To install an extension:
Extensions.InstallExtension(ExtensionFileName=r"c:\my_extensions_repository\my_extension.wbex")
Extensions.InstallExtension(ExtensionFileName=r"c:\my_extensions_repository\my_extension.wbex",ForceInstall
LoadExtension
This command load an installed extension.
Required Arguments
Optional Arguments
Format Format argument containing the format of the extension (Scripted or Binary).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1329
Namespaced Commands
Example
To load an extension:
Extensions.LoadExtension(Id="7FD4DE83-39D0-4252-859B-2393C67F8EC8")
Extensions.LoadExtension(Id="7FD4DE83-39D0-4252-859B-2393C67F8EC8", Version="1.0")
Extensions.LoadExtension(Id="7FD4DE83-39D0-4252-859B-2393C67F8EC8", Version="1.0", Format="Binary")
UninstallExtension
This command uninstall an extension.
Required Arguments
Optional Arguments
Format Format argument containing the format of the extension (Scripted or Binary).
Example
To uninstall an extension:
Extensions.UninstallExtension(ExtensionFileName=r"c:\my_extensions_repository\my_extension.wbex")
UnloadExtension
This command unload a loaded extension.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1330 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Optional Arguments
Format Format argument containing the format of the extension (Scripted or Binary).
Example
To unload an extension:
Extensions.UnloadExtension(Id="7FD4DE83-39D0-4252-859B-2393C67F8EC8")
Extensions.UnloadExtension(Id="7FD4DE83-39D0-4252-859B-2393C67F8EC8", Version="1.0")
Extensions.UnloadExtension(Id="7FD4DE83-39D0-4252-859B-2393C67F8EC8", Version="1.0", Format="Binary")
Fluent
This namespace holds top-level commands and queries related to Fluent.
CfxStartPolling
Starts polling during solution monitoring
FluentStartPolling
Starts polling during solution monitoring
ForteCommon
This namespace holds common top-level commands and queries related to Forte
ImportMesh
Import a Mesh into the setup component for Forte
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1331
Namespaced Commands
ImportProject
Import a project into Forte
Required Arguments
JournalOperation
No details are provided for this entry.
Required Arguments
MonitorRun
Open the Forte monitor application
Required Arguments
RebaseProject
Update the project path in Forte
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1332 of ANSYS, Inc. and its subsidiaries and affiliates.
ReplayJournal
Play a journal file in Forte
Required Arguments
SendCommand
No details are provided for this entry.
Required Arguments
Graphics
This namespace holds top-level commands and queries related to Graphics.
GetAxisContinuous
A query to return an AxisContinuous data reference.
Required Arguments
GetAxisDiscrete
A query to return an AxisDiscrete data reference.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1333
Namespaced Commands
Required Arguments
GetChartXY
A query to return a ChartXY data reference.
Required Arguments
GetChartXYZ
A query to return an ChartXYZ data reference.
Required Arguments
GetCorrelationMatrix
A query to return a CorrelationMatrix data reference.
Required Arguments
GetLegend
A query to return a Legend data reference.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1334 of ANSYS, Inc. and its subsidiaries and affiliates.
Return A reference to the Legend data entity.
Required Arguments
GetMultiAxisChart
A query to return a MultiAxisChart data reference.
Required Arguments
GetPieChart
A query to return a PieChart data reference.
Required Arguments
GetRenderStyle
A query to return a RenderStyle data reference.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1335
Namespaced Commands
GetVariable
A query to return a Variable data reference.
Required Arguments
GetVariableXY
A query to return a VariableXY data reference.
Required Arguments
GetVariableXYZ
A query to return a VariableXYZ data reference.
Required Arguments
IcePak
This namespace holds top-level commands and queries related to IcePak
IcepakStartPolling
Starts polling during solution monitoring
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1336 of ANSYS, Inc. and its subsidiaries and affiliates.
Mechanical
This namespace holds top-level commands and queries related to Mechanical.
ImportLegacyDatabase
Imports a legacy database given the filepath
Required Arguments
Meshing
This namespace holds top-level commands and queries related to Meshing.
ImportLegacyDatabase
Imports legacy Meshing editor files or CFX mesh files to the Meshing editor from an existing .cmdb file.
Required Arguments
MultiphysicsCoupling
This namespace holds top-level commands and queries related to System Coupling.
ExportSystemCouplingSetup
No details are provided for this entry.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1337
Namespaced Commands
Parameters
This namespace holds top-level commands and queries related to Parameters, Design Points and
DesignXploration.
ApproveAllRomGeneratedData
Approve all ROM data contained in ROM or DX addin.
ClearDesignPointsCache
Clears the Design Points Cache for Design Exploration features. DesignXplorer is using an internal cache
of Design Points to reduce the number of Design Point update operations. This cache is available accross
all of the design exploration systems of a project. This command clears all the data contained in the
cache.
Example
ClearDesignPointsCache()
CreateDesignPoint
A command to create a new design point that contains all the parameters, but with their values set to
null.
The design point can be created initially as a "exported" design point, which will allow the files and
associated databases to be reloaded at a later time to view the results of the design point update.
Optional Arguments
Exported Indicates that the newly created design point will be exported.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1338 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
Retained Indicates that the newly created design point will be retained.
Example
CreateParameter
Creates a parameter, optionally associated with a data entity property. The expression and visible name
for the parameters can be optionally specified.
Optional Arguments
Entity The data model entity that holds the property to be parameterized.
PropertyName The name of the data model property which the parameter is associated with.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1339
Namespaced Commands
Example
The following two examples illustrate input and output parameter creation
outpParam1 = Parameters.CreateParameter(Entity=myEntity,
PropertyName="Value",
IsOutput=True,
IsDirectOutput=True,
Expression=None,
DisplayText="My Output Parameter")
exprParam1 = Parameters.CreateParameter(Entity=None,
PropertyName=None,
IsOutput=False,
IsDirectOutput=False,
Expression="cos(1)",
DisplayText="My Input Expression Parameter")
exprParam2 = Parameters.CreateParameter(Entity=None,
PropertyName=None,
IsOutput=True,
IsDirectOutput=False,
Expression="sin(P1)",
DisplayText="My Output Expression Parameter")
CreateParameterSummaryChart
Creates a multi-axis parallel coordinate chart based on the parameters supplied to the command.
chart1 = Parameters.CreateParameterSummaryChart(Parameters=[])
-or-
parameter1 = Parameters.GetParameter(Name="P1")
parameter2 = Parameters.GetParameter(Name="P2")
parameter3 = Parameters.GetParameter(Name="P3")
chart1 = Parameters.CreateParameterSummaryChart(Parameters=[parameter1, parameter2, parameter3])
Required Arguments
CreateParameterVsParameterChart
Creates a 2-dimensional (x,y) chart that can be used to compare two parameters.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1340 of ANSYS, Inc. and its subsidiaries and affiliates.
Return A data reference that represents the chart that is created.
Optional Arguments
XAxisBottom A data reference for the parameter that represents the bottom x-axis.
XAxisTop A data reference for the parameter that represents the top x-axis.
YAxisLeft A data reference for the parameter that represents the left y-axis.
YAxisRight A data reference for the parameter that represents the right y-axis.
Example
parameter1 = Parameters.GetParameter(Name="P1")
parameter2 = Parameters.GetParameter(Name="P2")
chart1 = Parameters.CreateParameterVsParameterChart(XAxisBottom=parameter1, YAxisLeft=parameter2)
ExportAllDesignPointsData
Export the parameter values for up-to-date parameters for all the design points to a csv file.
Required Arguments
Optional Arguments
DesignPoints The set of design points to be exported in the same file. If this parameter is not
given, all the design points are exported.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1341
Namespaced Commands
Example
The following example shows how the user can export up-to-date parameter values of all the design
points of the project.
Parameters.ExportAllDesignPointsData(FileName="designPoints.csv")
ExportLink
Export the link to design set to a csv file.
Required Arguments
Optional Arguments
Example
The following example shows how the user can export the dictionary of linked point.
Parameters.ExportLink(FileName="Link.csv")
GetAllDesignPoints
Returns a set of all design points in the project.
GetAllSortedDesignPoints
Returns a set of all design points, sorted by their update order in ascending, in the project.
Return A data reference set containing all the sorted design points.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1342 of ANSYS, Inc. and its subsidiaries and affiliates.
GetAllDesignPointsWithFiles
Returns a set of all design points in the project that have files under their design point directories.
Return A data reference set containing all the design points that have files
under their design point directories.
GetAllExportedDesignPoints
Retrieves a set of all exported design points.
Optional Arguments
IncludingBaseDesignPoint A flag to determine whether the query to also return the base design
point, which is always retained.
GetAllParameters
Returns a set of all parameters in the project.
GetAllRetainedDesignPoints
Retrieves a set of all retained design points.
Optional Arguments
IncludingBaseDesignPoint A flag to determine whether the query to also return the base design
point, which is always retained.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1343
Namespaced Commands
GetAllRetainedDesignPointsWithValidData
Retrieves a set of all retained design points with valid data
Optional Arguments
IncludingBaseDesignPoint A flag to determine whether the query to also return the base design
point, which is always retained.
GetDesignPoint
Returns a design point based on the name of the design point.
Required Arguments
GetNamedExpression
A query to return a reference for a named expression given a name and a scope
Required Arguments
Optional Arguments
Scope The scope in which the named expression is located. Default is global scope.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1344 of ANSYS, Inc. and its subsidiaries and affiliates.
GetParameter
A query to return a reference for a parameter given a name and a scope
Required Arguments
Optional Arguments
Scope The scope in which the parameter is located. If this parameter is omitted or is null then the
returned parameter will be global.
GetParameterSummaryChart
A query to return a reference for a parameter summary chart by name.
Required Arguments
GetParameterVsParameterChart
A query to return a reference for a parameter vs. parameter chart by name.
Required Arguments
GetScope
Returns a data reference to a named scope
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1345
Namespaced Commands
Required Arguments
IsParameterInDesignPointUpToDate
Checks whether a parameter is up to date in a design point.
Required Arguments
IsParameterUpToDate
Indicates whether a parameter is up to date in a design point.
Required Arguments
Parameter Parameter
Optional Arguments
OptimizeUpdateOrder
Optimizes Update Order of Design Points to minimize the number of modifications between two con-
secutives Design Points
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1346 of ANSYS, Inc. and its subsidiaries and affiliates.
RemoveUnusedRomSnapshots
Remove all the ROM snapshots that are not used by DX and not in any up to date point.
Required Arguments
SetParameter
Sets the expression of the specified parameter in the base design point.
Required Arguments
SetUpdateOrderByRow
Sets a value for the update order property of all design points using a sorting method.
Optional Arguments
Project
This namespace holds top-level commands and queries related to the Project, File and Units.
AbandonBackgroundTasks
No details are provided for this entry.
AbandonTopLevelBackgroundDesignPointUpdate
No details are provided for this entry.
AddPropertyTable
This command is used to allow the expression of a property to reference data in the named table. This
is a reference and not a copy, and so if the table is used in the expression, and a change is made on
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1347
Namespaced Commands
the referenced table and the change is in the data being referenced the value of the property will be
modified. The command creates table functions in the context of this expression which can be used
with constants, field variables, or another named expression. If the property does not support an expres-
sion an error will occur.
Required Arguments
Dependents A List of the column index(es) to use from the Table which correspond to the de-
pendent variable(s) of the Property. The indexes can be an Integer index or the String
name of the column.
Independents A List of the column index(es) to use from the Table for use in the expression and
correspond to the independent variables of the Property. The indexes can be an In-
teger index or the String name of the column.
Index An integer which uniquely identifies the Table for use in the expression of the
Property. In the expression this table can be accessed via tableIndex(args). The table
with an index of one can be accessed in the expression as table(args) or table1(args).
Parent The DataReference of the object which has the Property that the Table should be
added to.
Property The String which provides the path of the property on the Parent.
Optional Arguments
Bounds An enum which describes what will occur when the index is outside of the bounds
of the table. The valid enum values are; Constant, Fit, Zero, and Error. The default
is Error.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1348 of ANSYS, Inc. and its subsidiaries and affiliates.
Interpolation An enum of the type of interpolation to use when accessing data from the table
at a given index. The valid enum values are; None, Linear, Cubic Spline. The default
is Linear.
Example
AddSourceToComponentInSystem
No details are provided for this entry.
Required Arguments
AddTableColumn
AddColumn will add a column at the specified index to the table.
Return The Integer which corresponds to the index of the column which
was newly added to the table.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1349
Namespaced Commands
Required Arguments
Name The String used to uniquely identify the column (case-sensitive) in this table. If the value is
not unique an error will occur.
Optional Arguments
Data A List of Strings which specifies the data for this column. The String must be
a valid Quantity string in the form "value [units]".
If the size of the list is smaller than the current number of rows the data will
be initialized to an undefined value. If the size of the List is greater than the
current number of rows then an error will occur.
Index The Integer index of the location for the newly added column. An index of 0
(zero) will add to the left-most side of the table. The default is to add the
column to the right-most side of the table.
PhysicalQuantity The String for the physical quantity (e.g. Density, Pressure, etc.) used to verify
the data has the correct units.
Example
# NameSpace is the Addin namespace in use (e.g. Study, EngData, etc.) which may have its specific CreateTa
# drParent is the DataReference of an object that has been previously created
table1 = NameSpace.CreateTable(Parent=drParent, Columns=[])
table1.AddRow()
table1.AddRow()
table1.AddRow()
table1.AddColumn("Displacement", "Length", Data=["0 [m]",".001 [m]"])
table1.AddColumn("Temperature","Temperature", Index=0)
AddTableRow
AddRow will add a row at the specified index to the table.
Return The Integer which corresponds to the index of the row which was
newly added to the table.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1350 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
Optional Arguments
Data A List of Strings which specifies the data for this row. The String must be a valid Quantity
string in the form "value [units]".
Index The Integer index of the location for the newly added row. An index of 0 (zero) will add to
the top of the table. The default is to add the row to the end of the table.
Example
# NameSpace is the Addin namespace in use (e.g. Study, EngData, etc.) which may have its specific CreateTa
# drParent is the DataReference of an object that has been previously created
table1 = NameSpace.CreateTable(Parent=drParent, Columns=[("Temperature","Temperature"),("Displacement","Len
table1.AddRow(Data=["100 [C]","1.0 [m]"])
table1.AddRow()
table1.AddRow(Data=["300 [C]",".06 [m]"])
table1.AddRow(Index=0, Data=["50 [C]",".001 [m]"])
Archive
Creates a project archive based on current project files and contents. The project must be saved before
an archive can be created.
Required Arguments
Optional Arguments
FailIfMissingFiles Set to true to force failure if there are any files to repair.
IncludeExternalImportedFiles Whether to include files imported to the project from external loc-
ations.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1351
Namespaced Commands
Example
This example creates a project archive from the currently loaded project. The full file path is specified
and the argument will include items from the user_files folder, include results/solution files, and
exclude external files imported into the project.
Archive(FilePath=r"C:\Users\AnsUser\simpleStructural.zip",
IncludeUserFiles=True,
IncludeSkippedFiles=True,
IncludeExternalImportedFiles=False,
FailIfFilesNeedRepair=False)
CleanSystem
No details are provided for this entry.
Required Arguments
ClearMessagesBySource
Clears all messages that have no Source from the message store.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1352 of ANSYS, Inc. and its subsidiaries and affiliates.
ClearMessages
Clears all messages from the message store.
CopyFile
Copies a file to a target directory. Either the SourceFile argument or the SourceFilePath argument must
be specified.
Required Arguments
Optional Arguments
SourceFile A reference to the file to be copied. A file reference can be obtained from com-
mands and queries like RegisterFileCommand and GetRegisteredFileQuery.
Example
This example illustrates a path-based file copy procedure. The specified file will be copied to the
specified destination directory path. The destination file will not be registered and the return value
will be null.
CopyFile(SourceFilePath=r"C:\Users\anyuser\myTextFile.txt",
DestinationDirectoryPath=r"C:\Users\anyuser\newfolder",
Overwrite=True)
This second example illustrates a reference-based file copy procedure. The specified file will be
copied to the specified destination directory path. The destination file will also be registered and
the new reference returned.
file1 = GetRegisteredFile(FilePath=r"C:\path_to_file\file.txt")
file2 = CopyFile(SourceFile=file1,
DestinationDirectoryPath=r"C:\Users\anyuser\newfolder",
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1353
Namespaced Commands
Overwrite=True)
CopySystems
No details are provided for this entry.
Required Arguments
CreateCustomUnitSystem
Creates a custom unit system based on predefined unit system (e.g., MKS, US Customary) or other custom
unit sytem already defined.
Required Arguments
BaseUnitSystemName The internal name of the unit system that is the basis for the newly
created system.
Example
myUnitSystem = CreateCustomUnitSystem(UnitSystemName="MyUnitSystem",
UnitSystemDisplayName="My Custom Unit System",
BaseUnitSystemName="SI")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1354 of ANSYS, Inc. and its subsidiaries and affiliates.
CreateTemplateFromProject
No details are provided for this entry.
Required Arguments
CreateUnitSystem
Creates the UnitSystem data entity for the named system.
Required Arguments
DeleteFile
Deletes the specified file. Either the File argument or the FilePath argument must be specified.
Optional Arguments
BackUp Specifies whether to back up the file before deletion. This optional argument's
default value is true.
DeleteIfShared Specifies whether a registered file should be deleted even if it is still in use. This
optional argument's default value is true. If this argument's value is false, an ex-
ception will be thrown if a shared file is encountered. To avoid the exception, set
ErrorIfShared to false.
ErrorIfShared Specifies whether to throw an exception when trying to delete a shared file if
DeleteIfShared is set to false.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1355
Namespaced Commands
File A reference to the file to be deleted. A file reference can be obtained from com-
mands and queries like RegisterFileCommand and GetRegisteredFileQuery.
Example
The following example illustrates a simple file deletion; file is not deleteed if it is registered.
DeleteFile(FilePath=r"C:\Users\anyuser\path-to-file.extension")
DeleteFile(FilePath=r"C:\Users\anyuser\path-to-file.extension", DeleteIfShared=True)
The next example illustrates a deletion of a registered file via a file reference. The file will be deleted
if even if it is still in use. Note that the file will be backed up.
fileRef = GetRegisteredFile(FilePath=r"C:\Users\anyuser\path-to-file.extension")
DeleteFile(File=fileRef, DeleteIfShared=True,
BackUp=True)
The final example illustrates a deletion of a registered file via a file reference without a forced deletion.
If the file is shared, an error will not occur, and the file reference count will be decremented.
fileRef = GetRegisteredFile(FilePath=r"C:\Users\anyuser\path-to-file.extension")
DeleteFile(File=fileRef, ErrorIfShared=False)
DeleteSystems
No details are provided for this entry.
Required Arguments
DeleteTableColumn
DeleteColumn will delete a column at the specified index from the table.
Required Arguments
Index An Integer index or the String name of the column (case-sensitive) to remove from the table.
The first column has an index of 0 (zero).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1356 of ANSYS, Inc. and its subsidiaries and affiliates.
Type Object (p. 1456)
Example
# NameSpace is the Addin namespace in use (e.g. Study, EngData, etc.) which may have its specific CreateTa
# drParent is the DataReference of an object that has been previously created
table1 = NameSpace.CreateTable(Parent=drParent, Columns=[("Temperature","Temperature"),("Displacement","Len
table1.AddRow(Data=["100 [C]","1.0 [m]"])
table1.AddRow(Data=["200 [C]",".02 [m]"])
table1.AddRow(Data=["300 [C]",".06 [m]"])
table1.DeleteColumn(Index='Displacement')
DeleteTableRow
DeleteRow will delete a row at the specified index from the table.
Required Arguments
Index The Integer index of the row to remove from the table. The row indexes for the table begin
at 0 (zero).
Example
# NameSpace is the Addin namespace in use (e.g. Study, EngData, etc.) which may have its specific CreateTa
# drParent is the DataReference of an object that has been previously created
table1 = NameSpace.CreateTable(Parent=drParent, Columns=[("Temperature","Temperature"),("Displacement","Len
table1.AddRow(Data=["100 [C]","1.0 [m]"])
table1.AddRow(Data=["200 [C]",".02 [m]"])
table1.AddRow(Data=["300 [C]",".06 [m]"])
table1.DeleteRow(Index=2)
DeleteTabularDataRow
Delete a row from a tabular data sheet.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1357
Namespaced Commands
Optional Arguments
SheetQualifiers SheetQualifiers is used to pass in the qualifiers to select between multiple sheets
witht the same name. This is a dictionary of the Qualifier and its Value.
Example
The following example illustrates the deletion of a row from a tabular data sheet.
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Delete the first row in the Density property
#
matlProp1 = matl1.GetProperty(Name="Density")
DeleteTabularDataRow(matlProp1, Index = 0)
#
# Delete the first row in the Coefficient of Thermal Expansion property with
# optional SheeetName and SheetQualifiers
#
matlProp2 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
DeleteTabularDataRow(matlProp2,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Index = 0)
DeleteUnitSystem
Deletes the named unit system.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1358 of ANSYS, Inc. and its subsidiaries and affiliates.
ExportReport
Writes out project report containing both framework- and addin-supplied content. The report output
is in XML format. Or if the file path extension is html, the XML will be converted to html output file.
Required Arguments
FilePath The full destination file path for the reporting. If the extension is .xml, the report will be
produced in XML format. If the extension is .html, the report will be poduced in XML and
then translated into HTML format.
GetAbsoluteUserPathName
Gets the absolute user path name for the given relative path name, based on the current setting of the
user path root. See also GetUserPathRoot and SetUserPathRoot.
Required Arguments
Example
This example uses the SetUserPathRoot and GetAbsoluteUserPathName to read a project from two
different user directories.
SetUserPathRoot(DirectoryPath = "C:/Users/myUser1/Projects")
Open(FilePath=GetAbsoluteUserPathName("proj1.wbpj")) # Read project from first location
SetUserPathRoot(UserPathRoot = "C:/Users/myUser2/Projects")
Open(FilePath=GetAbsoluteUserPathName("proj1.wbpj")) # Read project from second location
GetAllFiles
Gets the list of all files that have been registered with the project (even if external to the project directory)
or exist within the project files directory.
GetAllSystems
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1359
Namespaced Commands
GetMiscellaneousSettings
No details are provided for this entry.
GetComponentTemplate
No details are provided for this entry.
Required Arguments
GetCurrentRegisteredFiles
Gets the files registered with the project.
GetDesignPointUpdateSettings
No details are provided for this entry.
GetFileReference
Gets the File Reference to a registered file based upon the file reference's name. Throws an Invalid
Operation Exception if a matching File Reference is not found.
Return The data reference of the file whose name matches the supplied
parameter.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1360 of ANSYS, Inc. and its subsidiaries and affiliates.
Required Arguments
GetFilesForDirectory
Gets the set of data references to registered files within a directory.
Required Arguments
GetFileType
Returns a reference to a FileType data entity, given the data entity name of the FileType object.
Required Arguments
GetFrameworkBuildVersion
Get the current framework build version.
GetFrameworkVersion
Get the currently executing framework version.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1361
Namespaced Commands
GetLicenseNames
No details are provided for this entry.
GetMaxProjectPathLength
Gets the max project path length created in WorkBench based on the project directory and project
name.
Required Arguments
GetMessages
Returns DataReferences for all stored messages, ordered by message publication date/time with most
recent messages first.
GetNeededLicenses
No details are provided for this entry.
GetPersistedProjectVersion
Given the path to a WB project, return the last-saved-in version. Note: The command will return '00' if
a project is not supplied and the current session project has not been saved.
Return The Project's persisted version (e.g, 120, 121, 130, 140, 145, ...).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1362 of ANSYS, Inc. and its subsidiaries and affiliates.
Optional Arguments
GetProjectDirectory
Gets the full path to the current project directory.
GetProjectFile
Gets the full path of the current project file (*.wbpj).
GetProjectTemplate
No details are provided for this entry.
Required Arguments
GetProjectUnitSystem
Gets the current unit system for the project.
GetPropertyExpression
Gets the expression defining a data entity property's value.
Return Returns the expression that currently defines the property's value.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1363
Namespaced Commands
Required Arguments
GetQuantityUnitForUnitSystem
Gets the unit for a quantity in the specified unit system.
Required Arguments
GetQuantityUnitsForUnitSystem
Gets the units for all quantities in the specified unit system.
Required Arguments
GetRegisteredFile
Gets the File Reference to a registered file based upon the file's path.
Return The data reference of the file whose location points to the specified
path. Null if no data reference is found.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1364 of ANSYS, Inc. and its subsidiaries and affiliates.
Type string (p. 1485)
GetRegisteredFilesForDirectory
Gets list of File References for a directory path.
Return The list of data reference of files whose location root is DirectoryP-
ath. Empty list if no data reference is found.
Required Arguments
GetRsmQueues
Query to return Rsm queue names from available configured queues when Rsm is running using the
new architecture
Return List of Rsm queues names, or null if configured queues are not
available
GetSchematicSettings
No details are provided for this entry.
GetScriptVersion
returns the software version that the current script that is being executed is compliant with
Return the software version that the current script that is being executed
is compliant with
GetSystem
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1365
Namespaced Commands
Required Arguments
GetTableData
GetData will return the data in a table.
Return A List of Strings or a List of List of Strings for the requested range.
Required Arguments
Optional Arguments
ColumnRange A Tuple of the column starting index and ending index to access the data. The default
is (0, maximumColumns - 1). A single index may be used also to return a single column.
The first column has an index of 0 (zero).
RowRange A Tuple of the row starting index and ending index to access the data. The default is
(0, maximumRows - 1). A single index may be used also to return a single row. The
first row has an index of 0 (zero).
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1366 of ANSYS, Inc. and its subsidiaries and affiliates.
GetTabularData
Returns the tabular data associated with the data entity.
Required Arguments
Optional Arguments
AsDictionary If set to true, the data will be returned as a dictionary where the keys are variable
names and the values are the data for each variable. If set to false, the data will
be returned in scalar or list format without the variable names.
ColumnMajor If set to true, the data will be returned in column-major order. If set to false, the
data will be returned in row-major order.
EndIndex The end index for requesting a subset of the data (zero-based).
SheetName Specifies the sheet name when the data contains multiple sheets.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
StartIndex The start index for requesting a subset of the data (zero-based).
Default Value 0
Variables Names of the variables for which data is requested (string or list of strings).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1367
Namespaced Commands
Example
In this example, all data is requested for the given tabular data entity.
tabData1.GetData()
tabData1.GetData(ColumnMajor=False)
tabData1.GetData(AsDictionary=True)
In this example, data for variables Density and Temperature is requested in dictionary format.
GetTemplate
No details are provided for this entry.
Required Arguments
Optional Arguments
GetUnitsDisplaySettings
Gets the value of units display settings ("DisplayValuesAsDefined" or "DisplayValuesInProjectUnits").
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1368 of ANSYS, Inc. and its subsidiaries and affiliates.
GetUnitSystem
Gets a reference to the UnitSystem entity of the given internal name.
Required Arguments
GetUnitSystemsNames
Gets the internal names of all currently defined unit systems (Predefined and Custom Unit Systems).
GetUserFilesDirectory
Gets the current user_files directory.
GetUserPathRoot
Gets the current user path root.
ImportFile
Imports a file into the project. The result of the import varies, dependent upon the file type's defined
import behavior. Usually a corresponding system is created in the Project Schematic. Sometimes, the
file is simply added to the Files pane. To be imported, a file's type must be registered and the Import-
FileCommandName property must be non-null. Use FileTypeRepository.RegisterFileTypeTemplate or
FileTypeTemplateRecord.ImportFileCommandName to specify the command to be invoked when im-
porting a file of a given type.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1369
Namespaced Commands
Optional Arguments
FileType The reference to the type of the file to import. If not specified, the type will be inferred
from the file's extension.
ImportJournalVariables
Imports any variables defined in the currently-recorded journal file into the scripting environment so
they can be accessed in the command window.
ImportProjectInternal
Importing a project into the current project. There are several restrictions / limitations to this
Required Arguments
ImportUnitSystem
Imports a unit system from a Units .xml file.
Required Arguments
Optional Arguments
IsProjectUpToDate
No details are provided for this entry.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1370 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
MergeRsmProject
Merging multiple project tasks solved from RSM design point updates into the current project. This
command should *NOT* be used to merge any un-related projects. Solved projects may be either inter-
mediate or final results.
Required Arguments
MergingProjects The dictionary contains full file path of base project of the RSM project as key,
and a dictionary of the full file path to the updated RSM project and its design
points to be merged into the current project as value. The file paths can be
either standard wbpz file or partial wppz file or wbpj file. If the project is a
standard wbpz or partial wppz archive, it will be unpacked to a sub-directory
(whose name is the same as archive file name) under the same directory as the
wbpz directory first before merging.
Type Dictionary (p. 1422)<string (p. 1485), Dictionary (p. 1422)<string (p. 1485),
List (p. 1447)<DataReference (p. 1418)>>>
Optional Arguments
KeepFilesInRsmProject Determines whether we should keep the project files from the (un-
archived) RSM project after it is merged into the current project. Note
that keeping the RSM project will significant slow down the project file
merging performance and will require more disk space. If this option is
false, it is up to the caller to backup the original project first. Also note
that if the ProjectFilePath is a *.wbpz file, it will not be affected.
Overwrite If the ProjectFilePath is an archive file (*.wbpz), and if the same unpacked
project already exists on the same directory, this flag determines
whether we should overwrite it.
Example
The following example illustrates how this command may be used to merge all Design Points from
RSM-solved projects into the current project. Existing Rsm Project files are retained. Any existing
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1371
Namespaced Commands
archive with the same name in the destination project will be overwritted. The project will be first
saved using a revertible save.
MoveFile
Moves a file to a new directory. Either the File argument or the FilePath argument must be specified.
Required Arguments
Optional Arguments
BackUp Specifies whether to back up the file before the move. This optional argument's default
value is true.
File A reference to the file to be moved. A file reference can be obtained from commands and
queries like RegisterFileCommand and GetRegisteredFileQuery.
Example
This example illustrates a path-based file move procedure. The specified file will be moved to the
specified destination directory path.
MoveFile(FilePath=r"C:\Users\anyuser\myTextFile.txt",
NewDirectoryPath=r"C:\Users\anyuser\newfolder")
This second example illustrates a reference-based file move procedure. The specified file will be
moved to the specified destination directory path.
file1 = GetRegisteredFile(FilePath=r"C:\path_to_file\file.txt")
MoveFile(SourceFile=file1,
NewDirectoryPath=r"C:\Users\anyuser\newfolder")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1372 of ANSYS, Inc. and its subsidiaries and affiliates.
This final example also illustrates a reference-based file move procedure. The specified file will be
moved to the specified destination directory path. The file will not be backed up prior to the move.
file1 = GetRegisteredFile(FilePath=r"C:\path_to_file\file.txt")
MoveFile(SourceFile=file1,
NewDirectoryPath=r"C:\Users\anyuser\newfolder",
Backup=False)
Open
Opens a Workbench project from the specified .wbpj file.
Required Arguments
Refresh
No details are provided for this entry.
RegisterFile
Registers the specified file with the project. FilePath argument must be specified.
Return Holds the reference to the registered file as the output value.
Optional Arguments
FileType The reference to the type of the file to register. If not specified, the type will be inferred
from the file's extension.
Example
This example illustrates a path-based file registration procedure. The specified file will be registered
and the resulting file reference will be returned.
file1 = RegisterFile(FilePath=r"C:\Users\anyuser\myTextFile.txt")
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1373
Namespaced Commands
This second example illustrates a file type based file registration procedure. The specified file will
be registered with the corresponding (supplied) file type and the resulting file reference will be re-
turned.
fileType1 = GetFileType(Name="MyFileType")
file1 = RegisterFile(FilePath=r"C:\Users\anyuser\myFile.abc",
FileType=fileType1)
RemovePropertyTable
Remove a table reference from a property to prevent its use in an expression. If the property does not
support an expression an error will occur.
Required Arguments
Index The integer which uniquely identifies the Table for use in the expression of the Property.
Parent The DataReference of the object which has the Property that the Table should be removed
from.
Property The String which provides the path of the property on the Parent.
Example
RenameFile
Renames a file. Either the File argument or the FilePath argument must be specified.
Required Arguments
New- The new file name, excluding the directory path. To change the directory, see MoveFileCom-
Name mand.
Optional Arguments
BackUp Specifies whether to back up the file before renaming it. This optional argument's default
value is true.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1374 of ANSYS, Inc. and its subsidiaries and affiliates.
Type bool (p. 1406)
File A reference to the file to be renamed. A file reference can be obtained from commands
and queries like RegisterFileCommand and GetRegisteredFileQuery.
Example
This example illustrates a path-based file rename procedure. The specified file will be renamed with
the specified new name.
RenameFile(FilePath=r"C:\Users\anyuser\myTextFile.txt",
NewName="myTextFileRENAMED.txt")
This second example illustrates a reference-based file rename procedure. The specified file reference
will be renamed with the specified new name.
file1 = GetRegisteredFile(FilePath=r"C:\path_to_file\file.txt")
RenameFile(File=file1,
NewName="fileRENAMED.txt")
This final example also illustrates a reference-based file rename procedure. The specified file will be
renamed with the specified new name. The file will not be backed up prior to the move.
file1 = GetRegisteredFile(FilePath=r"C:\path_to_file\file.txt")
RenameFile(File=file1,
NewName="fileRENAMED.txt",
Backup=False)
RenameUnitSystem
Renames a unit system.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1375
Namespaced Commands
Reset
Resets Workbench to an empty project. Any unsaved changes in the current project are lost.
Resolve
A command used to resolve the data object to make it consistent with the rest of the data model
Required Arguments
ResumeBackgroundDesignPointUpdate
No details are provided for this entry.
Optional Arguments
ResumeDesignPointUpdates
No details are provided for this entry.
RunScript
Executes a Workbench script file from the specified location.
Required Arguments
Save
Saves the current project to disk.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1376 of ANSYS, Inc. and its subsidiaries and affiliates.
SetDesignPointUpdateOption
No details are provided for this entry.
Required Arguments
SetProjectUnitSystem
Sets the unit system for the current project.
Return A reference to the UnitSystem entity that is now the project unit
system.
Required Arguments
UnitSystemName The internal name of the unit system to be used in the project.
SetQuantityUnitForUnitSystem
Sets the unit for a Quantity in the specified unit system. Changing Base or Common units will change
derived units if appropriate. Note: Quantity unit for a predefined unit system cannot be changed. Note:
Only consistent units (SI or US Customary) are allowed.
Return A dictionary of the Quantity names and new units for all resulting
quantity changes. This will be more than just the target quantity if
a base unit is changed.
Required Arguments
Example
The following example illustrates the setting of a quantity unit in a given unit system.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1377
Namespaced Commands
changedUnits = SetQuantityUnitForUnitSystem(UnitSystemName="myUnitSystem",
QuantityName="Temperature",
Unit="C")
SetScriptVersion
Sets the command API version used when executing a script.
Required Arguments
Version The command API version required to run the script. This string can either a 2 or 3 part
version string.
SetTableData
SetData will overwrite the data in a table beginning at the specified location.
Required Arguments
Column An Integer index or the String name of the column (case-sensitive) to begin setting data.
The first column has an index of 0 (zero).
Data A String or List of Strings which specifies the data to set at the given row and column of the
table. The String must be a valid Quantity string in the form "value [units]". If a List is used
see the DataOrder argument for behavior.
Row The Integer index of the row of the table to begin setting data. The first row has an index
of 0 (zero).
Table The DataReference of the table which will have data changed.
Optional Arguments
DataOrder An enum of Row or Column which indicates if the Data is entered in a row-major or
column-major order. The default is Row.
When the DataOrder is Row the data is set beginning at the specified position and con-
tinues in the row. If the operation for the List of data would exceed the number of
columns an error will occur.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1378 of ANSYS, Inc. and its subsidiaries and affiliates.
When the DataOrder is Column the data is set beginning at the specified position and
continues in the column. If the operation for the List of data would exceed the number
of rows an error will occur.
Example
# NameSpace is the Addin namespace in use (e.g. Study, EngData, etc.) which may have its specific CreateTa
# drParent is the DataReference of an object that has been previously created
table1 = NameSpace.CreateTable(Parent=drParent, Columns=[("Temperature","Temperature"),("Displacement","Len
table1.AddRow(Data=["100 [C]","1.0 [m]"])
table1.AddRow(Data=["200 [C]",".02 [m]"])
table1.AddRow(Data=["300 [C]",".06 [m]"])
tableData = ["100 [C]","0.0 [m]"]
table1.SetData(Row=0, Column=0, Data=tableData)
SetTabularData
Set tabular data associated with the data entity.
Required Arguments
Optional Arguments
Data Sets the data using a dictionary form. The keys are the variable names and the
values are the data. The use of this argument is mutually exclusive with "Values"
and "Variables".
Type Dictionary (p. 1422)<string (p. 1485), List (p. 1447)<Object (p. 1456)>>
Index Specifies the starting location used to set the data (zero-based). A value of -1
indicates that the data should be appended to the existing data.
Default Value 0
SheetName Specifies the sheet name when the data contains multiple sheets.
SheetQualifiers Used to pass in the qualifiers to select between multiple sheets with the same
name. This is a dictionary of qualifiers and values.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1379
Namespaced Commands
Values List of data values set in conjunction with the "Variables" parameter. This para-
meter and the "Data" parameter are mutually exclusive.
Variables Names of the variables for which data is being set. This parameter and and the
"Data" parameter are mutually exclusive.
Example
#
# Create a new Engineering Data System and access Structural Steel
#
template1 = GetTemplate(TemplateName="EngData")
system1 = template1.CreateSystem()
engineeringData1 = system1.GetContainer(ComponentName="Engineering Data")
matl1 = engineeringData1.GetMaterial(Name="Structural Steel")
#
# Change the value of a simple single-valued property
#
matlProp1 = matl1.GetProperty(Name="Density")
SetTabularData(matlProp1,
Variables="Density",
Values="8500 [kg m^-3]")
#
# Set Temperature-dependent data for Elasticity based
# on lists of variables and values.
matlProp2 = matl1.GetProperty(Name="Elasticity")
temperature = ["400 [K]", "600 [K]", "800 [K]"]
E = ["2e5 [MPa]", "1.9e5 [MPa]", "1.6e5 [MPa]"]
SetTabularData(matlProp2,
Variables = ["Temperature","Young's Modulus"],
Values = [temperature, E])
#
# Change the Temperature for the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Temperature",
Values = "625 [K]")
#
# Set a list for Poisson's Ratio starting at the second table entry.
#
SetTabularData(matlProp2,
Index = 1,
Variables = "Poisson's Ratio",
Values = [0.3, 0.3])
#
# Set Temperature-dependent property data for the Coefficient of Thermal Expansion
# using a dictionary. The dictionary key is the Variable name,
# followed by the list of values for the variable.
#
matlProp3 = matl1.GetProperty(Name="Coefficient of Thermal Expansion")
newData = {"Temperature": ["200 [F]","400 [F]","600 [F]","800 [F]","1000 [F]"],
"Coefficient of Thermal Expansion" : ["6.3e-6 [F^-1]", "7.0e-6 [F^-1]",
"7.46e-6 [F^-1]", "7.8e-6 [F^-1]",
"8.04e-6 [F^-1]"]}
SetTabularData(matlProp3,
SheetName="Coefficient of Thermal Expansion",
SheetQualifiers={"Definition Method": "Secant", "Behavior": "Isotropic"},
Data = newData)
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1380 of ANSYS, Inc. and its subsidiaries and affiliates.
SetTabularDataQualifier
Changes the values of a specifiec qualifier in a data table.
Required Arguments
Optional Arguments
SheetName The name of the tabular data sheet that contains the qualifier.
VariableName The name of the Variable that contains the qualifier to be changed.
VariableQualifiers VariableQualifiers can used to pass in the qualifiers to select between mul-
tiple variables witht the same name. This is a dictionary of the Qualifier and
its Value.
Example
The following example changes the 'Derive From' setting within an Isotropic Elasticity material
property to be "Bulk Modulus and Poisson's Ratio".
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1381
Namespaced Commands
SetUnitsDisplaySettings
Sets units display settings.
Required Arguments
DisplaySettings The new value to be used for Unit display settings. Allowed values are:
DisplayValuesAsDefined
DisplayValuesInProjectUnits
SetUserPathRoot
Sets the current user path root. The root path facilitates portability of session journals by allowing rel-
ative rather than absolute paths to be recorded. During command journal replay, paths are reconstructed
using the active user path root setting.
Required Arguments
Unarchive
Restores a project from an archive to the specified location.
Required Arguments
Optional Arguments
ProjectPath The path to which the archived project will be uncompressed. If not specified, it will
be extracted to a directory under "ProjectTemporaryFilesFolder" set by user preference.
If the "ProjectTemporaryFilesFolder" is not set, it will be extracted to a directory under
system temp directory.
Example
This example illustrates an unarchive procedure. The specified archive will be un-archived to the
specified project file path. If the project file path already exists, it will be overwritten since Over-
write=True.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1382 of ANSYS, Inc. and its subsidiaries and affiliates.
Unarchive(ArchivePath=r"C:\Users\anyuser\myProjectArchive.wbpz",
ProjectFilePath=r"C:\Users\anyuser\myProject.wbpj",
Overwrite=True)
UpdateAllDesignPoints
No details are provided for this entry.
Optional Arguments
Example
Update
No details are provided for this entry.
Optional Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1383
Namespaced Commands
UpdateDesignPointsInSteps
No details are provided for this entry.
Required Arguments
UpdateSystems
No details are provided for this entry.
Required Arguments
Sherlock
No details are provided for this entry.
TransferToMechanical
Create a Mechanical System based off the component analysis type
Required Arguments
SherlockCommon
No details are provided for this entry.
ImportJournal
Import a journal file
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1384 of ANSYS, Inc. and its subsidiaries and affiliates.
JournalFilePath Path to the project file
Open3DViewer
Opens the Sherlock 3D Viewer on a particular board and analysis in the project
Required Arguments
Example
Open2DViewer
Import a journal file
Required Arguments
SaveProject
Update the project path in Sherlock
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1385
Namespaced Commands
Study
This namespace holds top-level commands and queries related to Study
CreatePredefinedGroup
Create a new pre-defined task group based on the given task group name.
Required Arguments
System The system where the task group component should be created.
CreateTask
Create a task, given the name for the task type.
Required Arguments
Optional Arguments
Input Optional, the task component which should be an upstream source for the created component.
Output Optional, the task component which should be downstream of the created component.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1386 of ANSYS, Inc. and its subsidiaries and affiliates.
Example
This example details how to create a Modeling task and a Physics Defintion task where the Modeling
task is an input to the Physics Definition task.
system1 = GetSystem(Name="Study")
geometryModelingComponent1 = Study.CreateTask(
Type="Geometry Modeling",
System=system1)
physicsDefinitionComponent1 = Study.CreateTask(
Type="Physics Definition",
System=system1,
Input=geometryModelingComponent1)
CreateGroup
Create a new task group based on the given task group name.+
Required Arguments
EvaluateResults
Evaluates the a group of Results to update their outputs based on the current solution
Required Arguments
GetAllEngineeringDataInProject
Find all engineering data objects in the project.
GetAllLeafTasksInProject
Returns all leaf tasks in the project.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1387
Namespaced Commands
GetAllObjectsOfType
Returns all the objects of a given type for the study
Required Arguments
GetAllRootTasksInProject
Returns all root tasks in the project.
GetAllTaskObjectsOfType
For a given task, returns all the objects of a given type
Required Arguments
GetAllTasksInProject
Returns all tasks in the project.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1388 of ANSYS, Inc. and its subsidiaries and affiliates.
GetTaskObjectForTask
Return the task object for a given task.
Required Arguments
GetCurrentModelForExtension
Command to be invoked from within a callback in order to get the current model in use for the extension
The command SetCurrentModelForExtension must be invoked in order to set the model
GetInputMesh
If available for a task, return the input mesh; otherwise null.
Required Arguments
GetInputModel
If available for a task, return the input model; otherwise null.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1389
Namespaced Commands
GetObjectOfTypeAndName
Returns all the objects of a given type and name for the study. Include the "@" prefix if searching by
display text
Required Arguments
Name The name of the object. Use @ prefix if searching by display text
GetOutputMesh
If available for a task, return the output mesh; otherwise null.
Required Arguments
GetOutputModel
If available for a task, return the output model; otherwise null.
Required Arguments
GetReferences
Returns a list of reference strings of the specified model components.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1390 of ANSYS, Inc. and its subsidiaries and affiliates.
Type List (p. 1447)<string (p. 1485)>
Required Arguments
GetReferenceString
Returns a reference string for a user object. This is a special case query, for those objects that contain
references, not stored in LocationSets. For now, works on Locator objects only, and is to be used to
retrieve the surface area of bounded surfaces: Sphere, Torus, and CappingSurface only.
Required Arguments
ObjectReference The DataReference for the specified object that is assumed to be Analytic.
GetTasksForTaskGroup
Returns the tasks for a given task group
Required Arguments
GetTaskUserObjectBelongsTo
Returns a data reference to a Task that the provided UserObject maps to. May return null.
Required Arguments
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1391
Namespaced Commands
InitializeGuidedSimulations
Initializes data when executing Guided Simulations.
InsertPredefinedGroup
Inserts a new task group based on the given task group name.
Required Arguments
Input The Task or TaskGroup DataReference which should be upstream of the created component.
Output The Task or TaskGroup DataReference which should be downstream of the created component.
Example
This example will create a connection between two tasks and then insert a Physics Task Group
between the two
system1 = GetSystem(Name="Study")
solvePhysicsComponent1 = Study.CreateTask(
Type="Solve Physics",
System=system1)
resultsEvaluationComponent1 = Study.CreateTask(
Type="Results Evaluation",
System=system1,
Input=solvePhysicsComponent1)
physicsSolutionGroup1 = Study.InsertPredefinedGroup(
Type="Physics Solution",
System=system1,
Input=solvePhysicsComponent1,
Output=resultsEvaluationComponent1)
InsertTask
Create a task, given the name for the task type.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1392 of ANSYS, Inc. and its subsidiaries and affiliates.
Type DataReference (p. 1418)
Required Arguments
Input The Task or TaskGroup DataReference which should be an upstream source for the created
component.
Output The Task or TaskGroup DataReference which should be downstream of the created component.
Example
This example will create two Tasks and insert a third Tasks between the two
system1 = GetSystem(Name="Study")
importComponent1 = Study.CreateTask(
Type="Import",
System=system1)
physicsDefinitionComponent1 = Study.CreateTask(
Type="Physics Definition",
System=system1,
Input=importComponent1)
meshingComponent1 = Study.InsertTask(
Type="Meshing",
System=system1,
Input=importComponent1,
Output=physicsDefinitionComponent1)
RemovePropertyTables
Removes all property tables from an expression property.
Required Arguments
Parent The DataReference of the object that has the Propety parameter which tables will be re-
moved from.
Property The String which provides the path of the property on the Parent.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1393
Namespaced Commands
StudyUI
This namespace holds top-level User Interface based commands and queries related to Study
SetSelectionTo
Action invoked from a script in order to force visibility of model based upon a given user object.
Required Arguments
HideBodies
Action invoked from a script to a hide one or more bodies
Required Arguments
Bodies A list of the ids of bodies to be hidden. For example ["BODY.1", "BODY.2"]
HideFaces
Action invoked from a scrip to a hide one or more faces
Required Arguments
Faces A list of the ids of the faces to be hidden. For example ["FACE.1", "FACE.2"]
SaveImage
Action invoked from a script to save an image to a file.
Required Arguments
Optional Arguments
Size The resolution of the image - Supported values are "640x480", "800x600", "1024x768", "1280x720",
"1280x1024", "1400x1120", "1600x1400", "1920x1080", "2048x1536", "3840x2160"
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1394 of ANSYS, Inc. and its subsidiaries and affiliates.
SetConvergenceDisplayMessage
Action invoked from a script in order to control the display of convergence messages
Required Arguments
SetSelectionFilter
Action invoked from within a script in order to set the selection filter.
Required Arguments
Filter A string representing the type of filter to be set. Valid values are "Body", "Face", "Edge"
ShowAll
Action invoked from a scrip to reset visibility for all entities
Turbo
This namespace holds top-level commands and queries related to Turbo Systems
CreateDesignPoints
This command class creates multiple new design points and returns a list of those design points
Required Arguments
Optional Arguments
Exported Indicates that the newly created design points will be exported.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1395
Namespaced Commands
Retained Indicates that the newly created design points will be retained.
Example
CreateDP
This command class creates a new design point, ensuring the Parameter Manager GUI is updated correctly
Optional Arguments
Exported Indicates that the newly created design point will be exported.
Retained Indicates that the newly created design point will be retained.
DeleteDP
This command class deletes the specified design point, ensuring the Parameter Manager GUI is updated
correctly
Required Arguments
SetParameterInDP
This command class updates the parameter manager with the design point defined by the Performance
Map.
The following code uses SetParameterInDP to set the parameter values for mass flow rate (P1) and percentage sp
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1396 of ANSYS, Inc. and its subsidiaries and affiliates.
designPoint1 = Parameters.GetDesignPoint(Name="1")
paramMassFlowRate = Parameters.GetParameter(Name="P1")
Turbo.SetParameterInDP(
DesignPoint=designPoint1,
Parameter=paramMassFlowRate,
Expression="2 [kg s^-1]")
paramPercentSpeed = Parameters.GetParameter(Name="P2")
Turbo.SetParameterInDP(
DesignPoint=designPoint1,
Parameter=paramPercentSpeed,
Expression="90")
Required Arguments
Example
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1397
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1398 of ANSYS, Inc. and its subsidiaries and affiliates.
Data Types
Data Types
A breakdown of the types represented in this document
ActionMode
Enumeration with the available ROM action modes.
Possible Values
None No action.
Production Production mode, when a snapshot file is
generated each time a design point is up-
dated.
Consumption Consumption mode, when a ROM project is
used to evaluate the results.
AdaptKrigOutType
Enumeration for the Output Variable Combinations type when refining for the Kriging algorithm.
Possible Values
AK_MAXOUT Maximum Output
AK_ALLOUT All Outputs
AK_SUMOUT Sum of Outputs
AdaptMeshingFreqType
No details are provided for this entry.
Possible Values
auto
user
Aggressive
Used to specify whether mesh may deviate from geometry as a result of wrapper surface improvement.
The default value is MeetTarget.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1399
Data Types
Possible Values
MeetTarget Modify the geometry as needed to meet
quality target.
MaintainGeometry Compromise targets to maintain geometry.
AlgorithmType
Available contact detection algorithm types.
Possible Values
Unknown
ProximityBased
TrajectoryBased
AllowedContinuousValues
Enumeration of the possible continuous input parameter types.
Possible Values
Any Any
ManufacturableValues Manufacturable Values
SnapToGrid SnapToGrid
AnalysisType
3D/2D import option
Possible Values
AnalysisType_3D Import all 3D objects
AnalysisType_2D Import only 2D objects (The model must be
in the x-y plane.)
AnalysisType
Defines the type of approach used for fatigue analysis i.e. Stress life or Strain life
Possible Values
StressLife
StrainLife
APAMAdvancedSizeFunction
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1400 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
ProgramControlled
Curvature
Proximity
ProximityCurvature
Fixed
APAMProximitySizeFunctionSources
Used to specify the source type to be used for size function calculation when Advanced Size Function
is Proximity or Curvature and proximity. The default value is Faces.
Possible Values
Faces
Edges
FacesAndEdges
ApplicationMethod
Possible options for the applying heat generation
Possible Values
TotalHeat
PerUnitVolume
Unknown
ApplicationMethod
Possible options for the applied force
Possible Values
TotalForce
ForcePerUnitArea
ForcePerUnitLength
AssociationType
Construction strategy.
Possible Values
GLOBAL One ROM for all the regions of a field.
LOCAL One ROM per region of a field.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1401
Data Types
AutoTimeSteppingDefinedBy
Define Auto Time Stepping by Time or Substeps as available in MAPDL solver.
Possible Values
Substeps
Time
AxesRangeModes
Enumeration of the Automatic Range modes for output parameters.
Possible Values
OutputParameterMinMax The range of the output parameter axis is de-
termined from the minimum and maximum
of the parameter (min-max search of DPs min-
max)
ChartData The range of the output parameter axis is de-
termined by the min and max of the chart's
data.
AxialDirectionDefinedBy
This enum is used for axial direction to be defined by either geometry selection or reference frame.
Possible Values
GeometrySelection
ReferenceFrame
Axis
The specification of allowed chart axes.
Possible Values
None
X_Axis
Y_Axis
Z_Axis
AxisDefineBy
Options for defining an axis
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1402 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
Direction
Point
AxisType
Options specifying which axis to define
Possible Values
XAxis
YAxis
ZAxis
BeamSectionOffsetType
Available section offset types for beams.
Possible Values
Centroid
ShearCenter
Origin
UserDefined
BeamSectionType
Available section types for beams.
Possible Values
Unknown
Circular
Rectangular
Quadrilateral
TubeShaped
ChannelShaped
ZShaped
LShaped
IShaped
TShaped
HatShaped
HollowRectanglar
ArbitraryShaped
MeshCrossSection
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1403
Data Types
BiasMethod
Used to specify the bias option. Currently, this is always SmoothTransition.
Possible Values
SmoothTransition
BiasType
Used to specify the option for bias type. The default value is Constant.
Possible Values
Right
Left
CenterIn
CenterOut
Constant
BilinearIsotropicHardeningDependents
The Bilinear Isotropic Hardening dependents.
BladeLoftType
Enumeration of the possible blade lofting directions.
Possible Values
Streamwise
Spanwise
BladeType
Blade type for export to BladeGen
Possible Values
IGV IGV
Rotor Rotor
OGV OGV
BladeType
Blade type for export to BladeGen
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1404 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
IGV IGV
Rotor Rotor
OGV OGV
BMunitsType
BladeGen/BladeEditor units type
Possible Values
m Create blade model in metres
cm Create blade model in cm
mm Create blade model in mm
inches Create blade model in inches
ft Create blade model in feet
BMunitsType
BladeGen/BladeEditor units type
Possible Values
mm Create blade model in mm
inches Create blade model in inches
BodyGroupingType
Type of geometry that is being attached.
Possible Values
MaterialNumber
MaterialNumberAndThickness
NoGrouping
BodyGroupingType
Type of geometry that is being attached.
Possible Values
MaterialNumber
MaterialNumberAndThickness
NoGrouping
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1405
Data Types
bool
This type represents a Boolean value. Valid values are 'True' or 'False'.
BoundaryLayerAlgorithm
Used to specify if pre or post boundary layer algorithm should be used by the mesher. The default value
is Pre.
Possible Values
Post
Pre
BoundaryLayerOption
Used to specify the way heights of the boundary layers are determined. The default value is
SmoothTransition.
Possible Values
TotalThickness Creates constant boundary layers using the
values of Number of Layers and Growth Rate.
FirstLayerThickness Creates constant bounadry layers using values
of First Layer Height, Maximum Layers and
Growth Rate.
SmoothTransition Mesher ensures smooth rate of volume change
using local tetrahedral element size.
FirstAspectRatio Creates boundary layers using values of First
Aspect Ratio, Maximum Layers and Growth
Rate.
LastAspectRatio Creates constant boundary layers using values
of First Layer Height, Maximum Layers and
Aspect Ratio.
BoxCushionType
Box cushion type options.
Possible Values
Uniform Uniform cushion around box.
Nonuniform Non-Uniform cushion around box.
CADImportParameterType
Types of parameters to be imported from CAD True and False ARE NOT enum values to be used, but
there to help support the open of old databases.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1406 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
CADImportParameterType_None Do NOT import parameters
CADImportParameterType_Independent Import editable parameters -- default value
(like old true value)
CADImportParameterType_All Import all paramters that match the filter, both
independent and dependent (read-only)
CalculationFrequency
CalculationFrequency specifies the frequency to write the specified solution results of OutputType
Possible Values
AllTimePoints
LastTimePoint
EquallySpacedTimePoints
SpecifiedRecurrenceRate
Never
CalculationType
The available analysis types for an analysis.
Possible Values
Unknown Indicates analysis was never set
None Indicates analysis was set then cleared
Static Computation of the system that is time inde-
pendent.
TimeDependent Computation of the system that is time de-
pendent.
Modal Computation of the dynamic response of a
system under excitation
FrequencyResponse Frequency domain analysis of a system
Optimization Topology optimization analysis
EigenvalueBuckling Eigenvalue buckling
All All domains.
CandidatesColoringMethods
Enumeration of the Coloring methods used for Candidates chart.
Possible Values
ColoringPerPointType The color is used to distinguish the different
types of candidate points (Starting Points,
Candidate Points, etc).
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1407
Data Types
CappingSurfaceConstructionMethod
Options for choosing selection method for capping surface.
Possible Values
CappingSurfaceFacesConstraint Construct capping surface by capping all
laminar loops of selected faces.
CappingSurfaceEdgesConstraint Construct capping surface by capping all loops
of selected edges.
CappingSurfaceLoopsConstraint Construct capping surface by capping all
specified loops.
CappingSurfaceVerticesConstraint Construct capping surface by capping the loop
formed by selected Vertices.
CasePrecision
Precision of FLUENT Session.
Possible Values
Single
Double
CCDTemplateType
Enumeration for the Template Type for CCD algorithm.
Possible Values
CCD_STANDARD_TEMPLATE Standard
CCD_ENHANCED_TEMPLATE Enhanced
CentralCompositeDesignType
Enumeration of the available design types for the Central Composite Design algorithm.
Possible Values
CCDTYPE_FACE_CENT Face-Centered
CCDTYPE_ROT Rotatable
CCDTYPE_VIF_OPT VIF-Optimality
CCDTYPE_G_OPT G-Optimality
CCDTYPE_AUTO Auto Defined
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1408 of ANSYS, Inc. and its subsidiaries and affiliates.
ChartAxes
The possible chart axes.
Possible Values
XAxis X axis
YAxis Y axis
ZAxis Z axis
XTopAxis Secondary X axis drawn at the top of the
chart.
YRightAxis Secondary Y axis drawn at the right of the
chart.
SweepAxis An axis used to sweep over an additional
parameter.
ChartColoringMethods
Enumeration of the Coloring methods used for Tradeoff and Samples charts.
Possible Values
ColoringPerFront A different color for each Pareto fronts (several
samples have the same color).
ColoringPerSample A different color for each sample.
ChartStyle
Allowed styles of a multi-axis chart.
Possible Values
PCP Parallel Coordinate Plot
Spider Spider Plot
ChartType
Enumeration for the chart type.
Possible Values
ChartUnknown Unknown
ChartResponse Response
ChartTradeoff Tradeoff
ChartSamples Samples
ChartDistributions Distributions
ChartCorrelation Correlation
ChartSpiderResponses Spider
ChartLocalSensitivity Local Sensitivity
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1409
Data Types
ChartSensitivities Sensitivities
ChartStatistics Statistics
ChartCorrelationScatter Correlation Scatter
ChartDesignPointsParallel Parameters Parallel
ChartDesignPointsCurves Design Points vs. Parameters
ChartDetermination Determination Matrix
ChartPredictedvsObserved Predicted vs. Observed
ChartDeterminationHistogram Determination Histogram
ChartConvergence Convergence
ChartLocalSensitivityCurves Local Sensitivity Curves
ChartCustom Custom Chart
ChartCandidates Candidates
ChartHistory History
ChartConvergenceCriteria History
ChartParameterRelationship History
ChartPredictionErrorScatterPlot Prediction Errors
ClearanceType
inpeller clearance type
Possible Values
Ratio tip clearance specified as a ratio
User tip clearance specified directly
ClearanceType
Enumeration of the tip clearance specification options.
Possible Values
None
RelativeLayer
AbsoluteLayer
ClearMessagesOption
Options when deleting messages.
Possible Values
KeepMessagesIfSourceMatched Do not delete message if its source matches
the specified one.
ClearMessagesIfSourceMatched Delete message if its source matches the
specified one.
ClearMessagesIfSourceNotMatched Delete message if its source does not match
the specified one.
IgnoreSource Do not check source attribute.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1410 of ANSYS, Inc. and its subsidiaries and affiliates.
CollisionAvoidance
Used to specify the strategy to be used for avoiding collisions between inflated surface meshes. The
default value is StairStepping.
Possible Values
None No check for layer collisions.
LayerCompression Boundary layers are compressed in collision
areas.
StairStepping Prism layers are stair stepped to avoid collision
and maintain the gap defined by gap factor.
Color
This type represents a 32-bit Red/Green/Blue/Alpha color.
When working with Workbench Scripting, a color is represented as a four entry string in the form "R G
B A", where each entry is in the range 0-255. Alpha (A) is optional and will be set to 255 (opaque) if not
supplied. For example:
ColorDistributionOption
Supported color distributions.
Possible Values
Linear
Logarithmic
ColorSpaceSetting
Options for color space.
Possible Values
Linear
sRGB
ComparePartsOnUpdateMethod
Compare parts on update options
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1411
Data Types
Possible Values
ComparePartsMethod_None Do NOT compare parts on update -- default
value
ComparePartsMethod_Associatively Compare parts using associative mechanism,
if geometry interface is non-associative expect
failures in compare
ComparePartsMethod_NonAssociatively Compare parts using entity comparisons based
on index of second model to original attach
ComparePartsTolerance
Compare parts on update tolerance options
Possible Values
ComparePartsTolerance_Loose A greater loosening of the default tolerance
ComparePartsTolerance_Normal Looser tolerance than default to allow some
wiggle room for slight deviations
ComparePartsTolerance_Tight Default, existing behavior
ComponentConfigType
List of available component configurations
Possible Values
ImpellerMainOnly impeller (main blade only)
ImpellerOneSplitter impeller (main blade + 1 splitter)
ImpellerTwoSplitters impeller (main blade + 2 splitters)
ComputationType
No details are provided for this entry.
Possible Values
Auto
User
Off
ConductanceControlType
Switch to use program controlled conductance value or enter value.
Possible Values
ProgramControlled
Manual
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1412 of ANSYS, Inc. and its subsidiaries and affiliates.
ConductivityThresholdType
No details are provided for this entry.
Possible Values
auto
user
ConnectionEndBehavior
Possible options for connection end behavior
Possible Values
kProgramControlled
kDeformable
kRigid
kCoupled
ConstraintHandlingType
Enumeration of the Constraint Handling types.
Possible Values
AsGoals Relaxed constraint.
AsHardConstraints Strict constraint.
ConstraintType
This enum is used to indicate how the member size is defined
Possible Values
ProgramControlled
Manual
ConstraintType
Enumeration of the possible optimization constraint types.
Possible Values
CT_NoPreference No constraint defined.
CT_NearTarget Equals target.
CT_LessThanTarget Less than target.
CT_GreaterThanTarget Greater than target.
CT_InsideBounds Inside bounds.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1413
Data Types
ConstructionAlgorithm
Options for choosing construction algorithm for capping surface.
Possible Values
Delaunay Construct capping surface by using delaunay
triangulation.
FillHole Construct capping surface by using hole filling
algorithms.
ConvexHull Construct capping surface by using convex
hull approach.
Automatic Construct capping surface by choosing appro-
priate construction algorithm.
ConstructionType
Construction type
Possible Values
FIXED_NB_MODE Fixed number of modes
FIXED_ACCURACY Fixed error
ContactConstraintType
Possible options for contact constraint type.
Possible Values
ProgramControlled
TargetNormalUncoupleUtoROT
TargetNormalCoupleUtoROT
InsidePinballCoupleUtoROT
ContactDetectionPoint
Possible options for contact detection point.
Possible Values
ProgramControlled
DetectOnGaussPoint
DetectNodalNormalFromContact
DetectNodalNormalToTarget
DetectNodalProjectedNormalFromContact
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1414 of ANSYS, Inc. and its subsidiaries and affiliates.
ContactPairOutputYesNo
Activate Contact Pair Output in MAPDL solution.
Possible Values
kNo
kYes
ContactPhysicsToTransfer
Method for selecting the physics type: Program controlled or Manual.
Possible Values
AllRelevant
Specified
ContactType
Type of contact for eg. Bonded, Frictional, Frictionless, etc.
Possible Values
Bonded
NoSeparation
Frictionless
Rough
Frictional
ConvergenceOption
No details are provided for this entry.
Possible Values
NumericalResiduals
AutoHalt
UserHalt
CoordinateInputMethod
Options for definining vectors
Possible Values
Entry
Location
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1415
Data Types
CoordinateSystemType
Enumeration to specify the coordinate system type for imported data.
Possible Values
Cartesian
Cylindrical
CoreLossComputationType
No details are provided for this entry.
Possible Values
Auto
User
Off
CorrelationAutoStopType
Enumeration of the correlation Auto Stop types.
Possible Values
ExecuteAllSimulations Execute all Simulations.
EnableAutoStop Enable Auto Stop: execute Simulations iterat-
ively until the process converges or the max-
imum number of simulation specified is
reached.
CoupledAnalysisType
The valid coupling types
Possible Values
Undefined This is internal option used to cache the user
selection of analysis type. It cannot be spe-
cified by the user.
General Define the coupling by time steps
Transient Define the coupling by time intervals
Harmonic Define the coupling by frequency intervals.
The harmonic coupled analysis is not currently
supported.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1416 of ANSYS, Inc. and its subsidiaries and affiliates.
CreateIntersectingEdgesForOverlappingBodies
Used to specify whether intersecting edges should be created for overlapping bodies. The default value
is No.
Possible Values
Yes
No
CreationMode
Allows clients of a generator to tag objects as created automatically by the program or created manually
by the user in a consistent manner.
Possible Values
Automatic
Manual
CurrentSpecificationMethod
No details are provided for this entry.
Possible Values
TotalCurrent
CurrentPerUnitArea
Unknown
CurrentTypes
No details are provided for this entry.
Possible Values
CrossSection
SourceReturn
MultipleTerminals
DampedSolverType
An enumeration for damped modal solver types as available from MAPDL solver.
Possible Values
ProgramControlled
FullDamped
ReducedDamped
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1417
Data Types
DataContainerReference
A reference to a data container, similar to a DataReference referring to an entity.
DataObject
Implements the virtual data model concepts for native C# code.
DataOrder
An enum of Row or Column which indicates if the Data is entered in a row-major or column-major order.
The default is Row.
Possible Values
Column Column-major
Row Row-major
DataReference
A Data Reference holds and manages a reference to a data entity in the Workbench data model.
DataReferenceSet
This type contains an ordered set of DataReferences. No modifications can be made to the contents.
DataTypeEnumeration
This enumeration represents all of the tensor types supported by the MPC variable.
Possible Values
AType An unknown type
Scalar A scalar
VectorXY A vector in x and y components
VectorYZ A vector in y and z components
VectorXZ A vector in x and z components
VectorXYZ A vector in x, y, and z components
VectorRA A vector in r and a components
VectorAZ A vector in a and z components
VectorRZ A vector in r and z components
VectorRAZ A vector in r, a, and z components
VectorRI A vector in r and i components
VectorIA A vector in i and a components
VectorRIA A vector in r, i, and a components
Tensor2XYZ A 2D tensor
Tensor4XYZ A 4D Tensor
SymTensor2XYZ A 2D symmetric tensor
SymTensor4XYZ A 4D symmetric tensor
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1418 of ANSYS, Inc. and its subsidiaries and affiliates.
AntisymTensor2XYZ An anti-symmetric tensor
DateTime
This type represents a date and time. The default format for printing a DateTime object is "DD/MM/YYYY
HH:MM:SS AMPM". Additional properties which can be examined on a DateTime object to extract extra
detail include Year, Month, Day, Hour, Minute, Second and Date.
DefineBy
Defines the S-N curve data source
Possible Values
ultStrength
SNCurve
Material
DefineBy
This enum is used to set how tolerance is specified. It can be program controlled or user can manual
set the property value.
Possible Values
ProgramControlled
UserDefined
DefinitionState
State of the definition
Possible Values
Complete Fully defined
Incomplete Data are missing
Empty Empty definition
ConnectionFailed Connection with DCS has failed
Failed Post Operation has failed
DeformationScaling
How much to deform the Results display
Possible Values
None
Actual
FiftyPercent
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1419
Data Types
OneHundredPercent
TwoHundredPercent
FiveHundredPercent
FiveHundrenPercent
Custom
DelimiterType
Enumeration to specify the type of delimiter in imported data.
Possible Values
Comma
Semicolon
Space
Tab
UserDefined
DerivationType
The enum values for the Derivation property to use for the IsotropicElasticity values.
Possible Values
Unknown
YoungsModulusPoissonsRatio
ShearModulusPoissonsRatio
BulkModulusPoissonsRatio
YoungsModulusShearModulus
YoungsModulusBulkModulus
BulkModulusShearModulus
DerivativeApproximationType
Enumeration for the derivative approximation type.
Possible Values
DA_CentralDifference Central Difference
DA_ForwardDifference Forward Difference
DesignPointParameter
No details are provided for this entry.
DesignPointRetainedOrExportedUpdate
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1420 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
Parameters
FullProject
DesignPointState
Indicates a design point parameter's current state.
Possible Values
NeverSolvedAndFailed Parameter has never been successfully up-
dated and the last update failed.
NeverSolved Parameter has never been updated.
Failed Parameter was previously UpToDate but last
update failed.
OutOfDate Parameter was previously UpToDate or Failed
but has become out of date by either design
point input value changes or a non-parametric
change within in the project.
Interrupted Parameter is updated but the update was in-
terrupted
UpToDate Parameter is successfully updated.
DesignPointUpdateOrder
No details are provided for this entry.
Possible Values
UpdateFromCurrentDesignPoint
UpdateDesignPointsInOrder
DesignTypes
Possible design goals for a topology optimization analysis
Possible Values
Strength
NaturalFrequency
DeterminationCoefficientChartModes
Enumeration of the Determination Coefficient chart modes.
Possible Values
Linear Display linear determination coefficients.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1421
Data Types
Dictionary<Key, Value>
This type represents a data dictionary, where a Key is used to access an associated Value. When used
in scripting, a dictionary is created or printed using the form
myDict = {key1:value1, key2:value2, ...}
Python functionality can be used to examine dictionary keys, test for key existence and perform other
useful operations on dictionaries.
SolverCommandMode = Foreground
DisplayText = Solution Source
InitializationOption = CurrentSolutionData
LoadMResOptions = LastConfigOnly
ResultsFile = None
>>> myProps={"SolverCommandMode":"Background","InitializationOption":"InitialConditions"}
>>> cfxSolutionProperties1.SetEntityProperties(Properties=myProps)
# The above is equivalent to:
# cfxSolutionProperties1.InitializationOption ="InitialConditions"
# cfxSolutionProperties1.SolverCommandMode="Background"
DiffuserType
diffuser type
Possible Values
Vaned vaned diffuser
Vaneless vaneless diffuser
DimensionsType
Enumeration to specify the dimensionality of imported data.
Possible Values
Dimension2D
Dimension3D
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1422 of ANSYS, Inc. and its subsidiaries and affiliates.
DirectionType
This enum is used to indicate the direction of the selected axis
Possible Values
AlongAxis
OppositeToAxis
BothDirection
DirectionType
Identifiers for direction type.
Possible Values
NoMagnetization
Cartesian
Cylindrical
Spherical
DirectionType
The direction the streamline is moving, relative to inlets and outlets
Possible Values
Backward
Forward
Both
DisplacementType
Possible options for displacement.
Possible Values
Unknown
TranslationAndRotation
TranslationOnly
RotationOnly
DisplayLevelType
Level of Display of Log File
Possible Values
Low Low
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1423
Data Types
Medium Medium
High High
DistributedMassType
No details are provided for this entry.
Possible Values
TotalMass
MassPerUnitArea
DistributionType
Enumeration of the possible parameter distribution types.
Possible Values
Uniform Uniform
Triangular Triangular
Gauss Normal
TruncGauss Truncated Normal
LogNorm Lognormal
Exponential Exponential
Beta Beta
Weibull Weibull
DoF
No details are provided for this entry.
Possible Values
None
X
Y
Z
All
DOFBehavior
This enum is used to set the translational and/or rotational degree of freedom as fixed or free.
Possible Values
Fixed
Free
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1424 of ANSYS, Inc. and its subsidiaries and affiliates.
DotStyles
Styles of dot symbols. Default is none
Possible Values
None
Ellipse
Rect
Diamond
Hexagon
Triangle
DTriangle
UTriangle
LTriangle
RTriangle
Cross
XCross
Star
Default
double
This type represents a double-precision floating point number.
DpUpdateOptions
No details are provided for this entry.
DurationType
The methods used to specify duration
Possible Values
NumberOfSteps The coupling will end at a given number of
steps
EndTime The coupling will end at a given time
EdgeEdgeTreatment
No details are provided for this entry.
Possible Values
Both
ParallelOnly
PerpendicularOnly
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1425
Data Types
EdgeSizingMethod
Used to specify if the edge sizing should be based on the element size or on the number of divisions.
Possible Values
ElementSize
EdgeDivisions
EffType
Impeller efficiency type
Possible Values
Automatic Efficiencies calculated from correlations
Hydraulic Hydraulic efficiency calculated. Volumetric,
mechanical and overall pump efficiencies user
defined.
Volumetric Volumetric efficiency calculated. Hydraulic,
mechanical and overall pump efficiencies user
defined.
Mechanical Mechanical efficiency calculated. Hydraulic,
volumetric and overall pump efficiencies user
defined.
Pump Overall pump efficiency calculated. Hydraulic,
volumetric and mechanical efficiencies user
defined.
ElasticityType
No details are provided for this entry.
Possible Values
IsotropicElasticity
OrthotropicElasticity
NeoHookeanHyperElasticity
ElementMidsideNodes
Used to define whether elements are created with or without midside nodes. The default value is
UseEngineeringIntent.
Possible Values
UseEngineeringIntent Determine whether midside nodes are kept
or dropped based on the Engineering Intent.
Dropped Elements are created without midside nodes.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1426 of ANSYS, Inc. and its subsidiaries and affiliates.
Kept Elements are created with midside nodes.
ElementShape
Used to specify the mesh element shape for the bodies associated with this control.
Possible Values
Automatic
Tetrahedrons
Hexahedrons
EndBehavior
Possible options for connection end behavior
Possible Values
ProgramControlled
HeatFluxDistributed
Isothermal
Coupled
EngineeringDataType
Supported types of engineering data.
Possible Values
Unknown
Material
Load
BeamSection
Mixture
EngineeringIntent
Used to define the kind of physics that is being studied in this simulation process (used in part-based
Meshing).
Possible Values
Unknown Intent of this process is not yet known due to
insufficient information in connected Physics
task(s).
StructuralOrThermalOrElectricConduction Intent of this process is a structural, electric
conduction and/or thermal simulation.
FluidFlow Intent of this process is a fluid flow, or a fluid-
solid heat conduction simulation.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1427
Data Types
ENMeanStressTheory
Defines how mean stress effects are handled for Strain life fatigue
Possible Values
NoneEN
Morrow
SWT
EntityType
Available expression entity types
Possible Values
Node
Face
Element
Edge
EquationSolverType
Equation Solver Types as available from MAPDL solver.
Possible Values
ProgramControlled
Direct
Iterative
Unsymmetric
Supernode
Subspace
EtaCorrelType
Efficiency correlation type
Possible Values
Suhrmann Suhrmann's correlation
Baines Baines' correlation
EtaCorrelType
Efficiency correlation type
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1428 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
CaseyRobinson Casey-Robinson correlation
CaseyMarty Casey-Marty correlation
Rodgers Rodgers correlation
EtaImpType
impeller isentropic efficiency type
Possible Values
LinkToStage linked to stage efficiency
User user specified efficiency
EtaType
Stage efficiency type
Possible Values
User User defined efficiency
Correlation Efficiency calculated from correlation
EtaType
Stage efficiency type
Possible Values
User User defined efficiency
Correlation Efficiency calculated from correlation
EtaUserType
User specified stage efficiency type
Possible Values
Isentropic user-specified isentropic efficiency
Polytropic user-specified polytropic efficiency
ExcelConnectionState
Enumeration for the Excel Connection states
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1429
Data Types
Possible Values
NotConnected The connection with Excel is not established
ConnectionAlive The connection is alive
ConnectionLost The connection has been lost
ExecutionControlConflictOptions
Options for handling execution control conflicts on Edit
Possible Values
Default
UseSetupExecutionControl
UseSetupExecutionControlAlways
UseSolutionExecutionControl
UseSolutionExecutionControlAlways
ExecutionControlSource
Enumeration for the execution control conflict resolution.
Possible Values
IssueWarning
UseExecutionControlFromSetup
UseExecutionControlFromSolution
ExitAngleType
Exit angle type
Possible Values
Absolute Absolute exit angle
Relative Relative exit angle
Expression<Type>
The Expression type is used to hold an expression that returns a result of a given type or a result in a
homogenous vector of the given type.
ExpressionType
Specifies the possible types of parameter expression.
Possible Values
Undefined An undefined(null) expression.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1430 of ANSYS, Inc. and its subsidiaries and affiliates.
Constant An expression without dependency on other
parameter.
Derived An expression with dependency on other
parameters.
ExtrapolationTypes
No details are provided for this entry.
Possible Values
INSIDE_SAMPLING_BOUNDS
INSIDE_DEFINED_BOUNDS
EXTRAPOLATE
FaceEdgePreference
Preference for face to edge contact detection.
Possible Values
FaceAndEdgeOfDifferentParts
EdgesOfSolidBodies
EdgesOfSurfaceBodies
All
FaceFacePreference
Preference for face to face contact detection.
Possible Values
FacesOfDifferentParts
All
FatigueUnitType
Defines the life units used to display fatigue life results
Possible Values
Cycles
Blocks
Seconds
Minutes
Hours
Days
Months
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1431
Data Types
FillStyles
Style of any filled region. The default is None.
Possible Values
None
Solid
Dense
Medium
Sparse
Horizontal
Vertical
Cross
BDiagonal
FDiagonal
CrossDiagonal
Gradient
Default
FittingType
Enumeration for the Response Surface type.
Possible Values
FITTINGTYPE_SRS Standard Response Surface - Full second order
Polynomials
FITTINGTYPE_KRIGING Kriging
FITTINGTYPE_MARS Non Parametric Regression
FITTINGTYPE_NN Neural Network
FITTINGTYPE_SPARSEGRID Sparse Grid
FITTINGTYPE_GRS Genetic Aggregation
FixFirstLayer
Used to specify whether the heights or ratios of the first boundary layer will be modified to avoid collision.
The default value is No.
Possible Values
Yes
No
FlowSpecification
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1432 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
In
Out
FlowType
Enumeration of the flow boundary condition options.
Possible Values
MassFlow
PressureRatio
PressureDifference
FluentBoundary
No details are provided for this entry.
FluidType
Enumeration of the types of available fluids.
Possible Values
IdealGas
RealGas
Liquid
ForceType
No details are provided for this entry.
Possible Values
DC
AC
ForceTypes
No details are provided for this entry.
Possible Values
Virtual
Lorentz
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1433
Data Types
FormatType
Enumeration to specify the format type for imported data.
Possible Values
UserDefined
Delimited
Cdb
Axdt
Tgz
Anf
Brd
Mcm
Sip
Bool
Cond
Edb
FormulationType
Set the contact formulation to be used by the solver for a particular contact pair.
Possible Values
ProgramControlled
MultiPointConstraint
PurePenalty
NormalLagrange
AugmentedLagrange
FreqSpecChoices
No details are provided for this entry.
Possible Values
SingleValue
Range
Tabular
GARefinementOutType
Enumeration for the Output Variable Combinations type when refining for the GARS algorithm.
Possible Values
GA_MAXOUT Maximum Output
GA_ALLOUT All Outputs
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1434 of ANSYS, Inc. and its subsidiaries and affiliates.
GARefinementStatusType
Enumeration for the convergence status for the GARS algorithm.
Possible Values
CS_UNKNOWN Unknown
CS_NOTCONVERGED Not Converged
CS_MAXPTS Maximum Number of Points Reached
CS_STOPPED Stopped by the User
CS_CONVERGED Converged
GasModelType
gas model type
Possible Values
Ideal ideal gas model
Real real gas model
GasPropType
Gas properties type
Possible Values
Air Gas props - Air
AFR Gas props - Air/fuel ratio
Fixed Gas props - Fixed
GeneralSettings
This is a class meant to provide an abstraction over different kinds of advanced result settings, such as
Fatigue Settings.
GeometryAttachType
Type of geometry that is being attached.
Possible Values
ThreeDimensional
TwoDimensional
Unknown
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1435
Data Types
GeometryAttachType
Type of geometry that is being attached.
Possible Values
ThreeDimensional
TwoDimensional
Unknown
GeometryStyleType
Geometry export style type
Possible Values
Interactive Create interactive geometry
Parametric Create parametric geometry
GoalType
Enumeration of the possible optimization objective types.
Possible Values
GT_NoPreference No objective defined.
GT_MaximumPossible Maximize.
GT_MinimumPossible Minimize.
GT_SeekTarget Seek target.
GPUAccelerator
Enumeration for the graphics acceleration library to be used by the Mechanical APDL editor.
Possible Values
None
NVIDIA
GravityDefinition
GravityDefinition defines the three components of gravity and the reference frame it is relative to.
GroundedLocation
Possible locations to be grounded in a spring
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1436 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
None
Location1
Location2
GrowthRateType
Determines height of boundary layers for given initial height and height ratio. The default value is
Geometric.
Possible Values
Exponential Height of boundary layer determined exponen-
tially.
Geometric Height of boundary layer determined geomet-
rically.
Linear Height of boundary layer determined linearly.
HubLEBetaType
Hub and Mean LE blade angle option
Possible Values
Cot Hub/Mean LE blade angle calculated using
cotangent (rel to Shroud LE beta)
Cos Hub/Mean LE blade angle calculated using
cosine (rel to Shroud LE beta)
User User defined hub and mean LE blade angles
ICCombustionSimulationType
Type of IC Engine Combustion simulation type.
Possible Values
ICSector 0 for sector
ICFullEngineFullCycle 1 for full engine full cycle
ICFullEngineClosedValves 2 for full engine IVC to EVO
ICIVCandEVOoption
IVC and EVO options
Possible Values
ICLiftCurv 0 lift curv profile
ICIVCandEVO 1 for IVC EVO option
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1437
Data Types
ICSimulationType
Type of IC Engine Simulation.
Possible Values
ICSimulationColdFlow 0 for Cold Flow Simulation
ICSimulationPortFLow 1 for Port Flow Simulation
ICSimulationCombustion 2 for Combustion Flow Simulation
ImpellerExportType
Impeller export type
Possible Values
Coupled Coupled to volute
Isolated Isolated impeller
ImpellerLengthType
impeller length ratio type
Possible Values
Automatic automatic
User user specified
ImpellerType
List of available impeller types
Possible Values
Unshrouded unshrouded impeller
Shrouded shrouded impeller
ImportAnalysis
No details are provided for this entry.
Possible Values
NaturalFreq
HarmonicVibe
Ictanalysis
MechanicalShock
RandomVibe
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1438 of ANSYS, Inc. and its subsidiaries and affiliates.
ImportanceLevel
Enumeration of the importance levels which can be associated with an optimization objective or con-
straint.
Possible Values
GI_MediumImportant Default
GI_LowImportant Lower
GI_HighImportant Higher
ImportFacetQuality
Preference for imported facet Quality
Possible Values
PlugInFacetQuality_VeryCoarse Very Coarse
PlugInFacetQuality_Coarse Coarse -
PlugInFacetQuality_Normal Normal -
PlugInFacetQuality_Fine Fine
PlugInFacetQuality_VeryFine Very Fine -
PlugInFacetQuality_Source Source -
ImportParameterType
Defines the compare parts on update option during geometry import.
Possible Values
None
Independent
All
ImportStitchPreference
Stitch Import Preference
Possible Values
kStitchPreference_None Do NOT stitch surfaces on import
kStitchPreference_ProgramTolerance Stitch surfaces, but allow the program to de-
termine the tolerance for the stitching
kStitchPreference_UserTolerance Stitch surfaces, execute the stitching using
the user's specified tolerance value
ImportStitchType
Defines the stitching option type during geometry import.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1439
Data Types
Possible Values
None
ProgramDefined
UserDefined
ImportWeightclass
Preference for imported weightclass, could be used for identifying weightclasses of imported parts
Possible Values
ImportWeightclass_Heavyweight Heavyweight - all geometry and topology
ImportWeightclass_Middleweight Middleweight - facet only faces
ImportWeightclass_Lightweight Lightweight - each body consists of a single
facetted face
ImportWeightclass_Featherweight Featherweight - parts are created along with
the tree hierarchy, but no topology
IncidenceType
Incidence type
Possible Values
incidence specified incidence
choke specified choke
InitialContactTreatment
An enumeration for initial contact treatment.
Possible Values
ProgramControlled
IgnoreInitialCondition
AutoCorrectInitialCondition
InitialInterfaceTreatmentType
Possible types for initial interface of a contact pair is treated.
Possible Values
Unknown
AdjustToTouch
OffsetWithRamping
OffsetWithoutRamping
ProgramControlled
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1440 of ANSYS, Inc. and its subsidiaries and affiliates.
InitializationMethods
Initilization Methods
Possible Values
ProgramControlled
SolverControlled
ProvideInitialSolution
InitializationOption
Enumeration for the Solution update initialization options.
Possible Values
Automatic
CachedSolutionData
CurrentSolutionData
InitialConditions
InitializationType
The initialization settings
Possible Values
ProgramControlled Program Controlled
StartTime Start Time
RestartStepTime Restart Step and Time
InletAngleType
Inlet angle type
Possible Values
Absolute Absolute inlet angle
Relative Relative inlet angle
Calculated OBSOLETE OPTION. RETAINED IN R16.0 FOR
PURELY FOR BACKWARDS COMPATIBILITY
Calculated from nozzle area
InletType
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1441
Data Types
Possible Values
NormalSpeed
Swirl
Pressure
MassFlow
int
This type represents an Integer number.
long
This type represents a long (64-bit) Integer number.
IntegrationOptions
No details are provided for this entry.
Possible Values
ProgramControlled
PreIntegrated
Mesh
IntegrationType
IntegrationType of elements used by solvers such as Full or Reduced.
Possible Values
Unknown
ProgramControlled
Full
Reduced
InterfaceBehavior
InterfaceBehavior is an abstraction over all kinds of interface behaviors such as JointBehavior, BeamBe-
havior, LinkBehavior, SpringBehavior and ContactBehavior.
InterfaceBehaviorCreation
It allows you to create one connection behavior and share it or create separate ones for each one of
searched interfaces.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1442 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
Shared
Individual
InterfaceDetectionTypes
Possible interface detection types for auto contact generation.
Possible Values
FaceToFace
FaceToEdge
EdgeToEdge
InterfaceToleranceSpecification
It allows to let either program decides the tolerance value for you or you choose to input your own
tolerance value
Possible Values
Automatic
Manual
InterfaceType
Type of inerfaces to be generated. Select from Contact, Joint and Mesh Interface.
Possible Values
None
Contact
Joint
MeshInterface
InterpolationType
The enum values for the Interpolation property to use for the AlternatingStress property charting
Possible Values
Unknown
Linear
SemiLog
LogLog
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1443
Data Types
IsotropicElasticityDependents
Used when IsotropicElasticity is constant for all independent variables (e.g. Temperature).
IsovalueMethod
Specifies how to obtain the isovalues for the isosurface
Possible Values
Manual
Automatic
IterationKey
Possible options for defining equilibrium iterations key for non-linear solution in MAPDL solver
Possible Values
Unchanged
ProgramControlled
ForceToOne
ManuallySpecified
JobRunMode
The job running modes
Possible Values
Foreground Forground mode.
Background Background mode.
RemoteSolveManager Submitted to Remote Solve Manager to run
the job.
JointFormulation
JointFormulation types used by Mapdl Fixed Joint Connection Behavior
Possible Values
ProgramControlled
RigidLink
RigidBeam
Weld
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1444 of ANSYS, Inc. and its subsidiaries and affiliates.
JointReductionMethod
JointReductionMethod is an enumeration used by Mapdl Fixed Joint Connection Behavior formulations
Possible Values
ProgramControlled
DirectEliminationMethod
LagrangeMultiplierMethod
JointTrimOptimization
JointTrimOptimization is an enumeration used by Joint to trim elements for face-face joints
Possible Values
ProgramControlled
Off
JointType
This is a collection of all available joint types.
Possible Values
Unknown
Fixed
Hinge
Translational
Slot
Cylindrical
Universal
Spherical
Planar
General
Bushing
PointOnCurve
KernelVariationType
Enumeration of the Kernel Variation types.
Possible Values
VARIABLE Variable
CONSTANT Constant
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1445
Data Types
LegendColoring
Types of allowed legend coloring.
Possible Values
Banded
Smooth
LevelDisplayType
Enumeration for the level of display type.
Possible Values
LD_Off Off
LD_Final Final
LD_FinalWithDetails Final with details
LD_Iterative Iterative
LD_IterativeWithDetails Iterative with details
LinearCorrelationType
Enumeration of the Correlation types.
Possible Values
Spearman Spearman
Pearson Pearson
LineModelType
No details are provided for this entry.
Possible Values
Unknown
Beam
Truss
Spring
Cable
ThermalFluid
Pipe
LineStyles
Styles of lines that can be displayed. The default is Solid.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1446 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
None
Solid
Dense
Medium
Sparse
DashShort
DashMedium
DashLong
DashDot
DashDotDot
DashDashDot
Gradient
Default
List<Type>
This type represents an unordered list of values.
LoadingType
Defines the type of applied constant amplitude loading based on the loading ratio
Possible Values
FullyReversed
Zero
Ratio
LocalElementMidsideNodes
Used to specify if the elements created for the bodies associated with this control should have midside
nodes or not. The default value is UseGlobalSettings.
Possible Values
UseGlobalSettings
Dropped
Kept
LocationSet
An immutable class representing a set of locations
A Location is a key value pair of a model reference string and Point3DUnited (coordinate of the hit
point on the model).
The order of the locations is maintained for the lifetime of the object.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1447
Data Types
LossType
No details are provided for this entry.
Possible Values
TotalLoss
MachineSpecification
List of computers to be used for a parallel FLUENT session. The list can be specified directly, or a hosts
file containing the list can be specified.
For more details on how to specify the machines to be used for a parallel FLUENT session, please refer
to the FLUENT User's Guide.
Possible Values
MachineList
FileName
MachineType
Setup Entity enum definition for machine type
Possible Values
Pump Pump
AxialCompressor Axial Compressor
CentrifugalCompressor Centrifugal Compressor
Fan Fan
AxialTurbine Axial Turbine
RadialTurbine Radial Turbine
HydraulicTurbine Hydraulic Turbine
Unknown Undefined machine type
Other Obsolete option, use 'Unknown' instead.
Material
The material object holds all information that defines the behavior for a specific material.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1448 of ANSYS, Inc. and its subsidiaries and affiliates.
MaterialAssignment
Assigns a Material to a specified Location.
MaterialNamesList
Database materials list Note that this is currently a fixed list which must correspond to the vistaFluids.xml
database
Possible Values
Air Air
CarbonDioxide Carbon dioxide
Hydrogen Hydrogen
Methane Methane
Nitrogen Nitrogen
Oxygen Oxygen
Parahydrogen Parahydrogen
Propylene Propylene
R123 R123
R125 R125
R134a R134a
R141b R141b
R142b R142b
R245fa R245fa
Water Water
MaterialPropsType
material properties type
Possible Values
Database select material from database
User user specified material properties
MatrixType
No details are provided for this entry.
Possible Values
ReIm
RL
Induct
FluxLinkage
ICCoefficient
Resistance
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1449
Data Types
MaximumPassDefinition
No details are provided for this entry.
Possible Values
ProgramControlled
UserDefined
MeanStressTheory
Defines how mean stress effects are handled for Stress life fatigue
Possible Values
None
Goodman
Soderberg
Gerber
MeshBasedDefeaturing
Used to specify the type of automatic defeaturing for dirty geometries. The default value is Automatic-
allyDetermined.
Possible Values
AutomaticallyDetermined Automatically removes features smaller than
or equal to the calculated default tolerance
value on dirty geometry.
UserDefined Automatically removes features smaller than
or equal to the user defined defeaturing toler-
ance value on dirty geometry.
Off No defeaturing done on dirty geometry.
MeshFileType
MeshFileType is used to identify the format of the mesh data file. This is usually the same as the applic-
ation that generated the data file.
Possible Values
CFX
ICEM_CFD
FLUENT
POLYFLOW
Unknown
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1450 of ANSYS, Inc. and its subsidiaries and affiliates.
MeshMetric
Used to specify the metric type based on which mesh quality is evaluated. The default value is None.
Possible Values
None No mesh metric type is selected.
ElementQuality A composite quality metric is computed ran-
ging between 0 and 1.
AspectRatio Aspect ratio is calculated based only on corner
nodes of elements.
JacobianRatio Jacobian ratio is computed for all elements
except those with no midside nodes or per-
fectly centered midside nodes.
WarpingFactor Warping factor is computed for quadrilateral
shell elements and quadrilateral faces of
bricks, wedges and pyramids.
ParallelDeviation Parallel deviation is computed ignoring mid-
side nodes and based on unit vectors along
each element size.
MaximumCornerAngle Maximum corner angles are computed
between adjacent edges and high corner
angles can degrade element performance.
Skewness Skewness is one primary quality measure that
determines how close to ideal (that is, equilat-
eral or equiangular) a face or cell is.
OrthogonalQuality Orthogonal quality is computed using face
normal vectors and ranges from 0 to 1.
MeshReading
Indicates the type of restart.
Possible Values
Direct In this mode, one loads directly the mesh (no
conversion).
Convert In this mode, one converts the *.poly or fluent
*.msh into a polyflow *msh file
MeshRestartMode
Indicates the type of mesh import we want : - no initialization from upstream system - select a mesh
in a list of mesh files coming from an upstream polyflow system
Possible Values
NoUpstreamMeshFile in this mode, no mesh file is selected from the
upstream polyflow system.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1451
Data Types
MessageCategory
The valid message categories.
Possible Values
None
ConditionallyUpToDate
MessageType
The valid message types.
Possible Values
Information An informational message for the user.
Warning A warning message for the user.
Error An error message for the user.
Fatal A fatal message for the user. On receiving a
message of this type, the framework will show
the message to the user, and then exit imme-
diately, without giving any chance to save
their work or shut down running processes.
Problems Problem messages (WARNING + ERROR +
FATAL).
Debug A debug message.
Progress A progress message for the user.
News A news update for the user.
AttentionRequired A message that requires user action to address
Standard All non-debug and non-progress messages.
Method
The method used to create the Single Value Result
Possible Values
FunctionCalculatorMethod
UserDefinedExpressionMethod
Metric
Used to specify the measure to be used for improving the mesh quality. The default value is Skewness.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1452 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
Skewness
SizeChange
AspectRatio
MetricErrorScatterType
Enumeration of the metric types supported.
Possible Values
ErrNrmInf
RelErrNrm2
MidSideNodes
Options for mid side nodes to determine the element order either linear or quadratic.
Possible Values
ProgramControlled
Dropped
Kept
MirrorTransformOptionsForMeshing
Class containing all mirror transformation options for Model Assembly workflows in Meshing
MirrorTransformOptionsForSimulation
Class containing all mirror transformation options for Model Assembly workflows in Mechanical
MixedImportPref
Mixed import preference option for mixed dimension parts
Possible Values
MixedImport_None If mixed dimension part, import None
MixedImport_Solids If mixed dimension part, import Solids only
MixedImport_Surfaces If mixed dimension part, import Surfaces only
MixedImport_Lines If mixed dimension part, import Lines only
MixedImport_SolidsAndSurfaces If mixed dimension part, import Solids and
Surfaces only
MixedImport_SolidsAndLines If mixed dimension part, import Solids and
Surfaces only
MixedImport_SurfacesAndLines If mixed dimension part, import Surfaces and
Lines only
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1453
Data Types
MixedResolutionType
Defines the mixed resolution option during geometry import.
Possible Values
None
Solid
Sheet
Wire
Point
SolidSheet
SolidWire
SolidPoint
SheetWire
SheetPoint
WirePoint
SheetWirePoint
SolidWirePoint
SolidSheetPoint
SolidSheetWire
All
MonitorChartType
MonitorChartType enum: Residual or UserDefined
Possible Values
Residual
UserDefined
MPIType
Enumeration for the MPI library to be used by the Mechanical APDL solver.
Possible Values
Undefined
IntelMPI
MSMPI
OpenMPI
MpiTypeValue
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1454 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
Ibmmpi
Intel
MResOptions
Enumeration for the load options for Multi-configuration Results.
Possible Values
AllConfigsSingleCase
AllConfigsSeparateCases
LastConfigOnly
MultiAxisType
Defines the stress component type
Possible Values
S_X_TYPE
S_Y_TYPE
S_Z_TYPE
S_XY_TYPE
S_YZ_TYPE
S_XZ_TYPE
S_VON_MISES_TYPE
S_SIGNED_VON_MISES_TYPE
S_MAX_SHEAR_TYPE
S_MAX_PRINCIPAL_TYPE
S_ABS_MAX_PRINCIPAL_TYPE
S_CRITICAL_PLANE_TYPE
NegativeBucklingLoadMultiplier
This is used for allowing negative load multiplier for eigenvalue buckling analysis.
Possible Values
ProgramControlled
No
Yes
NeoHookeanHyperElasticityDependents
Neo-Hookean Hyperelasticity dependents.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1455
Data Types
NewtonRaphsonOption
Possible ways of using Newton-Raphson method.
Possible Values
kAuto
kFull
kModified
kInitial
kUnsymmetrical
NodeAndElementRenumberingMethodType
Enumartion of of the renumbering system
Possible Values
None
Offset
Automatic
NumSampType
Enumeration to specify for the samples type for OSFD algorithm.
Possible Values
SFD_CCD CCD samples
SFD_LINEAR Linear model samples
SFD_PUREQUAD Pure quadratic model samples
SFD_CROSSQUAD Full quadratic model samples
SFD_USER User-defined samples
NuUserType
kinematic viscosity calculation type (obsolete)
Possible Values
Sutherland calculate viscosity from Sutherland's Law (us-
ing coeffs for air)
User user specified kinematic viscosity
Object
This type can represent any generic object. It is used when any type is a valid value.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1456 of ANSYS, Inc. and its subsidiaries and affiliates.
ObjectRenamingTypeInMechanical
Controls how objects in Mechanical will be named for models assembled from multiple upstream sources
Possible Values
Off
BasedOnCellId
BasedOnSystemName
BasedOnUserInput
ObjectRenamingTypeInMeshing
Controls how objects in Meshing will be named for models assembled from multiple upstream sources
Possible Values
Off
BasedOnCellId
BasedOnSystemName
BasedOnUserInput
OnOffSwitch
This is used for activating or deactivating a setting.
Possible Values
kOn
kOff
OpeningPositionMethod
Enumeration of the inlet/outlet placement options.
Possible Values
Manual
AdjacentBlade
OptimalSpaceFillingType
Enumeration of the available design types for the Optimal Space Filling algorithm.
Possible Values
SFDTYPE_MDIST Max-Min Distance
SFDTYPE_CL2 Centered L2
SFDTYPE_MAXENT Maximum entropy
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1457
Data Types
OptimizationMethodSelection
Enumeration of the available optimization method selections.
Possible Values
OMS_Auto Automated selection - Optimization Method
and its settings are controlled automatically
by DesignXplorer
OMS_Manual Manual - Optimization Method and its settings
are defined by the User
OptimizationSolverType
Possible selection for optimization solver type
Possible Values
ProgramControlled
SequentialConvexProgramming
OptimalityCriteria
OrientationDefineBy
No details are provided for this entry.
Possible Values
ReferenceFrame
Geometry
OrientationStyle
Allowed orientation of a legend. Default is Vertical
Possible Values
Vertical
Horizontal
Default
OrthotropicElasticityDependents
The Orthotropic Elasticity dependents.
OutletType
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1458 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
Pressure
MassFlow
NormalSpeed
Output<Type>
The Output type is used in select instances where a method returns additional information in a method
argument as well as the method return. These output arguments are typically optional, and a output
variable must be declared before it is used. Once assignment has been made to an output variable, the
return value can be evaluated by using the Get() method on the variable.
The following example shows the declaration and use of an output argument.
OutputFrequencyType
The entitry stores the options to specify frequency of writing result files
Possible Values
None No intermediate result files
EveryStep Every Coupling Step
StepInterval At defined interval
OutputSource
Source of the output values, indicating the method used to obtain them.
Possible Values
UserEdited The output values are edited by the user.
Simulation The output values are obtained by a real sim-
ulation.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1459
Data Types
OutputType
OutputType for OutputSpecification such as Deformation, Stress or Strain
Possible Values
None
All
Basic
NodalDofSolution
NodalReactionLoads
NodalVelocity
NodalAcceleration
ElementSolution
ElementNodalLoads
ElementNodalStresses
ElementElasticStrains
ElementThermalStrains
ElementPlasticStrains
ElementCreepStrains
ElementDiffusionStrains
ElementNodalGradients
ElementNodalFluxes
IntegrationPointLocations
StateVariables
ElementMiscellaneousData
ElementEnergies
ParameterizedEntityPropertiesCollection
A ReadOnlyDictionary for parameterized properties. The keys are the data references to the entities that
hold the properties, the values are the list (one or more) of the parameterized properties.
ParameterNature
Enumeration of the possible nature of a parameter.
Possible Values
NatureContinuous Continuous
NatureUsability Obsolete. Instead of defining a usability para-
meter, define a continuous parameter with
the UseManufacturableValues set to True.
NatureDiscrete Discrete
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1460 of ANSYS, Inc. and its subsidiaries and affiliates.
ParameterRelationshipType
Enumeration of the possible parameter relationship types.
Possible Values
PRT_LessThanOrEqualTo Less Than or Equal To
PRT_GreaterThanOrEqualTo Greater Than or Equal To
ParameterUsage
Specifies the possible ways a parameter can be used or set within the data model.
Possible Values
Input A parameter whose value will be used by the
data model.
ExpressionOutput An output parameter whose value is based
on an expression. The parameter cannot be
associated directly with the data model.
DirectOutput A parameter whose value will be provided
directly by the data model. The parameter
expression has to be undefined(null).
ParameterValueType
Type of a parameter value.
Possible Values
ActualValue The actual value of the parameter.
VariationToReference The variation of the parameter with respect
to the current reference point, as a decimal
number.
PartialDesignPointUpdate
No details are provided for this entry.
Possible Values
None
Geometry
ParticleTrackColorOption
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1461
Data Types
Possible Values
None
Time
TimeStep
Position
TrackId
Velocity
Diameter
Temperature
ParticleTrackDisplayStyle
No details are provided for this entry.
Possible Values
Lines
LinesAndSymbols
Symbols
ParticleTrackShapeDef
No details are provided for this entry.
Possible Values
Wire
Tube
ParticleTrackStyle
No details are provided for this entry.
Possible Values
Continuous
Segments
PeriodicSurfType
Enumeration of the periodic surface options.
Possible Values
OnePiece
ThreePieces
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1462 of ANSYS, Inc. and its subsidiaries and affiliates.
PersistablePosition
No details are provided for this entry.
PersistableStateMessageLevel
No details are provided for this entry.
Possible Values
Error
Warning
Information
Verbose
PhysicsRegion
Specifies the type and location of the fundamental physics in the simulation.
PhysicsType
The available physics types for an analysis.
Possible Values
Unknown Indicates physics type was never set
None Indicates physics type was set and then
cleared
Structural A mechanical analysis determines the displace-
ments, stresses, strains, and forces in struc-
tures or components caused by loads that do
not induce significant inertia and damping
effects. Steady loading and response condi-
tions are assumed; that is, the loads and the
structure's response are assumed to vary
slowly with respect to time.
ElectricConduction An electric analysis supports Steady-State
Electric Conduction.
Fluid A fluid flow analysis that simulates fluid
passing through or around an object.
Thermal You can use a thermal analysis to determine
temperatures, thermal gradients, heat flow
rates, and heat fluxes in an object that are
caused by thermal loads.
Extrusion Simulation of molten polymers for extrusion
(in the laminar regime). The fluid can be
modeled by a generalized newtonian law or
by a viscoelastic law. Generally, it involves
some deformation (needing remeshing) of the
flow domain.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1463
Data Types
PIFType
power input factor type
Possible Values
Correlation correlation
User user specified
Plane
The analytic definition of a flat plane where the Z axis is the normal direction.
PlaneConstructionMethod
Option for defining the plane construction method
Possible Values
OriginAndOrientation
FromPlane
FromReferenceFrame
PlaneOption
Options for selecting a Reference Frame plane.
Possible Values
XY
YZ
ZX
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1464 of ANSYS, Inc. and its subsidiaries and affiliates.
PlasticityType
Identifiers specifying plasticity types.
Possible Values
None
BilinearIsotropicHardening
Point
Point represented by local coordinates relative to a reference frame.
PointCalculationMethod
Options for calculating a point from geometry selection
Possible Values
Centroid
HitPoint
PorosityMediaMaterial
No details are provided for this entry.
Possible Values
Default
Specified
PorosityType
No details are provided for this entry.
Possible Values
Isotropic
Directional
PositionType
No details are provided for this entry.
Possible Values
Default
Left
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1465
Data Types
Right
Above
Below
PostReportNamesType
CFD Post reports
Possible Values
None
AxialCompressorReport
AxialCompressorRotorReport
CentrifugalCompressorReport
CentrifugalCompressorBladeRowReport
CentrifugalCompressorRotorReport
TurbineReport
TurbineRotorReport
FanNoiseReport
FanReport
GenericReport
HydraulicTurbineReport
HydraulicTurbineRotorReport
PumpReport
PumpImpellerReport
StatorReport
TurbineStatorReport
Custom
PredictionErrorScatterType
Enumeration of the scatter types.
Possible Values
MetricErrorvsSnapshot Metric Error vs Snapshots
CDFError Empirical Cumulative Distribution of Error on
Snapshots
PredictorKey
Possible options to activate predictor for non-linear solution in MAPDL solver.
Possible Values
Unchanged
ProgramControlled
Off
OnAfterFirstSubstep
OnForAllSubsteps
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1466 of ANSYS, Inc. and its subsidiaries and affiliates.
PreferenceType
Possible options for detecting contacts -- between bodies, or between bodies of different parts or all
Possible Values
BetweenBodies
BetweenBodiesOfDifferentParts
All
PreswirlType
Preswirl type
Possible Values
constant Constant inlet angle
free Free vortex
forced Solid body rotation
linear Linear variation of Vw
PreswirlType
Preswirl type
Possible Values
constant Constant inlet angle
free Free vortex
forced Solid body rotation
PretensionDefineBy
This enum is used to set how bolt pretension is defined. It can be defined by axial foce, adjustment,
lLock, open or increment.
Possible Values
kUnknown
kAxialForce
kAdjustment
kLock
kOpen
kIncrement
kTorque
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1467
Data Types
PretensionModelAs
This enum is used to set how many bolts should be created if location is set to multiple volumes : One
for all selected volumes or one per selected volume.
Possible Values
Unknown
OneBoltForAllLocations
OneBoltPerLocation
PrimitiveBoxCreationMethod
Box creation method options.
Possible Values
ByEntitySelection Box can be created by enclosing single or
multiple entities.
ByCoordinate Box can be created by specifying diagonal
coordinates.
PriorityType
Options for override priority.
Possible Values
FaceOverride
EdgeOverride
All
ProcessDistributionOption
No details are provided for this entry.
Possible Values
LocalComputer
MultipleComputers
ProcessorUnit
Various Processore Unit options available for Microsoft Scheduler
Possible Values
Core
Socket
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1468 of ANSYS, Inc. and its subsidiaries and affiliates.
Node
ProgramControlType
Possible values of the underlying property in the current load step
Possible Values
Unchanged
ProgramControlled
On
Off
ProjectHandler
Handle a project file (and optional associated files). This class handles the lifecycle of the file, the instan-
ciation of the ROM API project object and the calls to this object for ROM evaluation.
ProjectionStrategy
Projection strategy for traitement of multi-field and/or multi-component fields
Possible Values
STATE_VECTOR_PROJECTION Same projection coefficient for all physics
MULTI_FIELD_PROJECTION Dedicated projection coefficient for each
physics
MIXTE_PROJECTION Dedicated projection coefficient for each
physics and same projection for all component
of a field of vector
ProximitySizeFunctionSources
Used to specify the source type to be used for size function calculation when Advanced Size Function
is Proximity or Curvature and proximity. The default value is Faces.
Possible Values
Faces
Edges
FacesAndEdges
Quantity
This class represents a physical quantity that can be measured. It holds a double value and a string that
specifies the value's unit of measurement. The Value and Unit can be accessed individually as properties
on this type, and a Quantity can be converted to new units.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1469
Data Types
Mathematical operations can also be performed on Quantities, and these operations calculate and enforce
dimensional consistency between units. Note that most mathematical operations return results in
computational units for the current unit system, but this is not guaranteed, and may change in the future
for performance or other reasons. If you need to ensure that results are in a particular unit, you should
always apply a conversion to the final result of the calculation.
RadiationSpecification
No details are provided for this entry.
Possible Values
None
DiscreteOrdinates
MonteCarlo
RadiusDefineBy
No details are provided for this entry.
Possible Values
ProgramControlled
Manual
RampingType
Enum providing ramping options.
Possible Values
None No ramping.
Linear Linear profile ramping.
ReadOnlyDictionary<Key, Value>
This type represents a read-only data dictionary, where a Key is used to access an associated Value.
When used in scripting, a dictionary is created or printed using the form
myDict = {key1:value1, key2:value2, ...}
Python functionality can be used to examine dictionary keys, test for key existence and perform other
useful operations on dictionaries; however, the contents may not be manipulated unless the dictionary
or its contents are cloned into a regular dictionary.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1470 of ANSYS, Inc. and its subsidiaries and affiliates.
RealGas
Enumeration of the available real gas materials
Possible Values
Air
CarbonDioxide
Hydrogen
Methane
Nitrogen
Oxygen
Parahydrogen
Propylene
R123
R125
R134a
R141b
R142b
R245fa
Water
Custom
ReductionType
ReductionType enum specifies the objective options for the optimization process
Possible Values
Mass
Volume
RefDiameterType
Enumeration of the reference diameter options.
Possible Values
Automatic
User
ReferenceFrame
Frame of reference for modeling and simulation data.
ReferenceFrameDefinitionType
Options for reference frame definition types
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1471
Data Types
Possible Values
OriginAndOrientation
CoincidentWithParent
Transform
ReferenceTopologyType
Defines the topology type for a given reference.
Possible Values
RTT_NoTopology
RTT_Vertex
RTT_Edge
RTT_Face
RTT_Body
RTT_Part
RTT_Assembly
RTT_ConfigurationComponent
RTT_Invalid
ReferenceValueSpecification
Options for specifying convergence reference value: Program controlled or Manual
Possible Values
ProgramControlled
Manual
RegionBehavior
Used to specify the meshing region behavior. Currently, the only possible value is Wrap.
Possible Values
Wrap Simplifies unclean geometry before sewing.
RelativeToType
Options for selecting a which reference frame to define relative to
Possible Values
Local
Parent
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1472 of ANSYS, Inc. and its subsidiaries and affiliates.
ResponseChartModes
Enumeration of the available Response chart modes.
Possible Values
Curve2D 2D response chart where an output parameter
is plotted versus an input parameter.
Surface3D 3D response chart where an output parameter
is plotted versus two input parameters.
Slices2D 2D response chart where an output parameter
is plotted versus two input parameters, on the
X axis and the other varying over several
curves.
ResponseSurfaceRefinementType
Enumeration for the Refinement type.
Possible Values
REFINEMENT_NONE None
REFINEMENT_AUTO Automated
REFINEMENT_MANUAL Manual
ResultReference
No details are provided for this entry.
Possible Values
Relative
Absolute
ResultType
No details are provided for this entry.
Possible Values
Displacement
Velocity
Acceleration
ReverseEdgeLoopOrientation
Options for choosing loop orientation. Required only if construction algorithm is convex hull.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1473
Data Types
Possible Values
No Construct capping surface by using default
loop orientation.
Yes Construct capping surface by reversing loop
orientation.
RigidTransformOptionsForMeshing
Class containing all rigid transformation options for Model Assembly workflows in Meshing
RigidTransformOptionsForSimulation
Class containing all rigid transformation options for Model Assembly workflows in Mechanical
RomEngine
Engine powering the ROM
Possible Values
DEMO Demo mode building ROMs suitable for test-
ing the workflow.
SVD_GA Build ROMs based SVD with genetic aggrega-
tion response surface
RotationalDOFBehavior
This enum is used to set the rotational degree of freedom as fixed all, free all, free about x, free about
y or free about z.
Possible Values
FixedAll
FreeAll
FreeAboutX
FreeAboutY
FreeAboutZ
RotationType
Enumeration of the machine rotational direction options.
Possible Values
RightHanded
LeftHanded
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1474 of ANSYS, Inc. and its subsidiaries and affiliates.
RoughnessType
surface roughness type
Possible Values
Machined machined surface finish
Cast cast surface finish
RshSpecification
Client used to connect to the nodes in a cluster of LINUX machines.
Possible Values
SSH
Other
RSH
RsmQueueDetails
A class to define Rsm Queue details for adding them to UI
RunTimeIndex
Enumeration of the available run time indexes.
Possible Values
RTI_1
RTI_2
RTI_3
RTI_4
RTI_5
RTI_6
RTI_7
RTI_8
RTI_9
SampleGenType
Enumeration for the Sampling type.
Possible Values
SAMPLE_GEN_LHS LHS
SAMPLE_GEN_WLHS WLHS
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1475
Data Types
SamplesChartModes
Enumeration of the available Samples chart modes.
Possible Values
Candidates Draw the samples and highlight the optimiza-
tion candidates.
ParetoFront Draw the samples using colors that represent
their Pareto front.
SamplingType
Enumeration of the correlation Sampling types.
Possible Values
Auto Automated - Samples generation is controlled
automatically by DesignXplorer.
Custom Custom - Samples are defined by the User.
Scale
Enum to define the scale of the axis.
Possible Values
Linear
CommonLog
NaturalLog
Scale
Enum to define the scale of the axis.
Possible Values
Linear Linear scale
CommonLog Common or log base 10 scale
NaturalLog Natural log scale
ScaleFactor
No details are provided for this entry.
Possible Values
One
Two
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1476 of ANSYS, Inc. and its subsidiaries and affiliates.
Three
UserDefined
SchedulerSpecification
Various Job Schedulers available on Unix/Linux.
Possible Values
LSF
SGE
PBSPro
SearchDirectionMethod
Possible options for detection direction method.
Possible Values
ProgramControlled
Manual
SearchPosition
A filter that can be applied to the SearchString used by GetAllObjects query.
Possible Values
Exact
Contains
StartsWith
EndsWith
SectionOffsetType
Thickness distribution type of surface bodies.
Possible Values
midSurface
OneSide
userDefined
SeedPointDistributionType
Allowable values for seed point sampling.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1477
Data Types
Possible Values
UniformSample
GridSample
Mesh
SeedPointMeshDistributionType
Allowable values for how mesh is evaluated when sampling seed points.
Possible Values
EveryNthElement
EveryNthVertex
SensitivityChartModes
Sensitivity chart modes.
Possible Values
BarChart 2D Bar chart
PieChart 2D Pie chart
SeparationSurfaceNormal
This enum is used to set how separation surface and tolerance is specified. It can be program controlled
or user can manual set the property value.
Possible Values
X
Y
Z
SeparationSurfaceSpecification
This enum is used to set how separation surface and tolerance is specified. It can be program controlled
or user can manual set the property value.
Possible Values
ReferenceFrame
GeometrySelection
Unknown
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1478 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup
Entity which manages the setup of the ROM feature. This DataObject must be held by a solver addin
container. The solver addin container will then be used as an identifier for the solver addin system.
ShapeChecking
Used to define the shape checking algorithm to be used by the mesher. The default value is UseEngin-
eeringIntent.
Possible Values
UseEngineeringIntent Determine which algorithm to use based on
the Engineering Intent.
StandardMechanical Specifies the standard mechanical shape
checking algorithm for structural simulations.
AggressiveMechanical Specifies the aggressive mechanical shape
checking algorithm for structural simulations.
CFD Specifies the CFD shape checking algorithm
for flow simulations.
None Disable shape checking.
ShrLEBetaType
Shroud LE blade angle option
Possible Values
Incidence Shroud LE blade angle calculated from spe-
cified incidence
User User defined shroud LE blade angle
ShroudDiameterType
shroud diameter type
Possible Values
Diameter user specified shroud inlet diameter
Angle user specified shroud vane inlet angle
Optimum optimised shroud inlet diameter (minimum
Mrel)
SimulationTopOptAction
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1479
Data Types
Possible Values
KExportInitialPmdbAndFinalStl
KExportInitialPmdbAndFinalObj
SimulationType
Enumeration of the simulation types of a parameter.
Possible Values
DesignVariable Design variable
UncertaintyVariable Uncertainty variable
float
This type represents a single-precision floating point number.
SixSigmaTableTypes
Enumeration of the Probability Table types.
Possible Values
ProbabilityTable Quantile-percentile
InverseProbabilityTable Percentile-quantile
SizingBehavior
Used to specify whether size control settings can be changed by the mesher (Soft) or not (Hard).
Possible Values
Soft
Hard
SlipSpecification
No details are provided for this entry.
Possible Values
NoSlip
FreeSlip
SmallSlidingSetting
Possible options for small sliding to occur in bonded or no separation contacts.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1480 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
ProgramControlled
On
Off
Smoothing
Used to specify the level of smoothing iterations to be performed. The default value is Medium.
Possible Values
Low
Medium
High
SnapshotCacheHandler
Handle a single snapshot cache file. This class ensure the correct registration and deregistration of the
snapshot cache files and expose push/pull methods with Workbench objects.
SolutionProgression
SolutionProgression is a class that specifes convergence, stabilization of solution etc, the typical attributes
for monitoring and controlling a solution.
SolutionStep
Solution Step
SolutionUpdateOption
System Coupling Solution Update option
Possible Values
Foreground Foreground update
SolverRestartMode
Indicates the type of restart.
Possible Values
NoRestartFile In this mode, no restart file is used to initialize
time scheme and fields.
SingleResultFile In this mode, a result file is used to initialize
fields.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1481
Data Types
SourceInformation
Information about the original source of the Engineering Data.
SourceSelectionType
Options for source selection types
Possible Values
BrowseSource
ActiveCADAttach
SpanwiseDistributionType
Spanwise distribution type
Possible Values
General Blade exported using general spanwise distri-
bution
Radial Blade exported using radial spanwise distribu-
tion
SpringBehaviorType
No details are provided for this entry.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1482 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
OneDSpring
ThreeDSpring
SpringPreloadType
Possible pre-loading types for a spring connection
Possible Values
None
Load
Length
Torque
Rotation
SpringType
Possible types for a spring connection
Possible Values
Longitudinal
Torsional
StabilizationKey
Possible options for stabilization key
Possible Values
Off
ConstantEnergyDissipation
ReducedEnergyDissipation
ConstantDampingFactor
ReducedDampingFactor
StackingType
stacking type
Possible Values
Radial Radial stacking
Tan Beta calculated from tangent
Sin Beta calculated from sin
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1483
Data Types
StateOfMatter
Identifiers specifying states of matter.
Possible Values
Unknown
None
Solid
Liquid
Gas
Plasma
Status
The current calculation status of the Excel file.
Possible Values
UpToDate The output parameters are up to date.
OutOfDate The values of the input parameters are modi-
fied and the values of the output parameters
are not recalculated yet.
ErrorsWhenCalculating Errors ocurred during the calculation in Excel.
StepSizeType
The method used to determine the size of integration steps in streamline creation.
Possible Values
Automatic
Fixed
StraightSidedElements
Used to force mesher to create elements with straight edges. The default value is No.
Possible Values
Yes
No
StreamlineColorOption
Allowable values for how a streamline is colored.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1484 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
None
Time
StreamLineDisplayStyle
Allowable values for how a streamline is displayed.
Possible Values
Lines
LinesAndSymbols
Symbols
StreamLineShapeDef
Allowable values for the shape of the streamline
Possible Values
Wire
Ribbon
Tube
StreamLineStyle
Allowable values for the style of the streamline
Possible Values
Continuous
Segments
StressType
StressType is an enum for the stress types
Possible Values
EquivalentStress
StressIntensity
MaximumShearStress
string
This type represents a String value.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1485
Data Types
SubStepOption
Possible settings for sub step options
Possible Values
No
Yes
IfNotConverged
Substepping
Define Substepping options such as specified range, fixed number or program controlled as available
in MAPDL solver.
Possible Values
Unchanged
ProgramControlled
SpecifiedRange
FixedNumber
SupportFileFormatType
Enumeration for any supporting files
Possible Values
Info
SupportType
Possible types of support
Possible Values
Unknown
Fixed
Frictionless
UserSpecified
SurfaceMonitorChainingOperation
No details are provided for this entry.
Possible Values
And
Or
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1486 of ANSYS, Inc. and its subsidiaries and affiliates.
SurfaceMonitorOperation
No details are provided for this entry.
Possible Values
Monitor
Halt
SurfaceMonitorVariable
No details are provided for this entry.
Possible Values
TotalPressure
StaticPressure
MassFlowRate
NormalSpeed
Temperature
DragX
DragY
DragZ
HeatFlux
MinTotalPressure
MaxTotalPressure
MinStaticPressure
MaxStaticPressure
MinNormalSpeed
MaxNormalSpeed
MinTemperature
MaxTemperature
VolumeFlowRate
HeatFlow
XVelocity
YVelocity
ZVelocity
SweepTypes
No details are provided for this entry.
Possible Values
LinearStep
LogScale
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1487
Data Types
SymbolLengthOptions
The allowable values for the control of vector length display.
Possible Values
BasedOnMagnitude
Constant
SymbolShape
The symbol shape used for the associated result
Possible Values
SymbolShape1DArrowHead
SymbolShape1DArrow
SymbolShape2DArrowHead
SymbolShape2DArrow
SymbolShape3DArrowHead
SymbolShape3DArrow
SymbolShape3DCrossHair
SymbolShape3DCube
SymbolShape3DSphere
SystemPropertyDictionary
No details are provided for this entry.
TableInterpolation
An enum of the type of interpolation to use when accessing data from the table at a given index. The
valid enum values are; None, Linear, Cubic Spline.
Possible Values
None No interpolation is done.
Linear A linear interpolation will be used to compute
the return value.
TableInterpolationBeyondBounds
An enum which describes what will occur when the index is outside of the bounds of the table. The
valid enum values are; Constant, Fit, Zero, and Error.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1488 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
Constant his option will cause the value returned to be
the data at the index nearest to the requested
index.
Fit This option will ignore the bounds of the table
and use the Interpolation algorithm to fit the
data and then compute the value at the re-
quested index.
Zero This option will cause the value returned to
be zero if the index is outside of the bounds
of the table.
Error If the data cannot be determined from the
given index (outside of the bounds) then an
error will occur.
TableType
No details are provided for this entry.
Possible Values
Matrix
LossData
Force
Terminal
No details are provided for this entry.
TessellationRefinement
Used to specify value to be used for tessellation refinement. The default value is AutomaticallyDetermined.
Possible Values
AutomaticallyDetermined Sets tessellation refinement to 10% of the
value of Min Size/Proximity Min Size.
UserDefined Sets tessellation refinement to user defined
value.
Off Tessellation refinement is not performed.
ThermalWallSpecification
No details are provided for this entry.
Possible Values
Insulated
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1489
Data Types
HeatFlux
HeatFlow
Temperature
Convection
Radiation
Mixed
TimeOption
No details are provided for this entry.
Possible Values
EndTime
UserDefined
TipDiamType
Impeller tip diameter option
Possible Values
Automatic D2 calculated automatically (from stability
factor)
HeadCoeff D2 calculated from head coefficient
User D2 user defined
TopologyType
All of the possible values for topology.
Possible Values
Point A topological point
Curve A topological curve
Surface A topological surface
Volume A topological volume
TorqueDirections
No details are provided for this entry.
Possible Values
Positive
Negative
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1490 of ANSYS, Inc. and its subsidiaries and affiliates.
TorqueTypes
No details are provided for this entry.
Possible Values
Virtual
Lorentz
TrackerMethod
The method used to create the Single Value Result
Possible Values
Undefined
Function
UserDefinedExpression
TradeoffChartModes
Enumeration of the available Tradeoff chart modes.
Possible Values
Curve2D 2D tradeoff chart where a parameter is plotted
versus another parameter.
Surface3D 3D tradeoff chart where a parameter is plotted
versus two other parameters.
TranscriptType
The allowable types of output in a Transcript monitor.
Possible Values
SolverOutput
PhysicsCouplingDiagnostic
SelectFile
TransferAtType
Enum providing options of when to Transfer Data.
Possible Values
StartOfStep Transfer data at start of step.
StartOfIteration Transfer data at start of iteration.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1491
Data Types
TransferDataFromNewComponentSpec
No details are provided for this entry.
TransferDataToNewComponentSpec
No details are provided for this entry.
TransferType
Transfer type from ACP
Possible Values
Shell
Solid
None
Transform4x4
Represents a combined rotation and translation matrix Rotation matrix is the first 3 rows and columns
in row-major order Translation matrix is the 4th column
TransformationType
Enumeration of the available transformation types applicable to a parameter.
Possible Values
TransTypeNone No transformation
TransTypeBox Box-Cox
TransTypeYeo Yeo-Johnson
TransformType
Transform type for assembly
Possible Values
RotationAndTranslation
Mirroring
TransformType
Transform type for assembly
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1492 of ANSYS, Inc. and its subsidiaries and affiliates.
Possible Values
RotationAndTranslation
Mirroring
TransformType
Transform type for assembly
Possible Values
RotationAndTranslation
Mirroring
TranslationalDOFBehavior
This enum is used to set the translational degree of freedom as fixed or free.
Possible Values
Fixed
Free
TriangleSurfaceMesher
Used to specify the surface meshing algorithm to be used by patch conforming mesher. The default
value is ProgramControlled.
Possible Values
ProgramControlled Mesher determines usage of Delaunay or Ad-
vancing Front algorithm.
AdvancingFront Mesher uses Advancing Front algorithm but
can switch to Delaunay if problems occur.
TrimType
Trim Type to control trimming such as keeping it on, off or Program Controllled.
Possible Values
ProgramControlled
On
Off
TripletType
An enumeration to describe the type of Triptlet that is used in Coordinate systems, Reference frames,
and Vector objects.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1493
Data Types
Possible Values
Cartesian
Cylindrical
Spherical
TurbulenceSpecification
No details are provided for this entry.
Possible Values
Laminar
SpalartAllmaras
KEpsilonStandard
KEpsilonRealizable
KOmegaStandard
KOmegaSst
TypeOfInitialSampling
Enumeration for the Initial Sampling Type.
Possible Values
E_Screening Screening
E_OSF Optimal Space-Filling
E_ConstrainedSampling Constrained Sampling
uint
This type represents an unsigned integer number. Negative values are invalid.
UniversalVectorDefineBy
Options for defining the vector
Possible Values
Components
MagnitudeAndDirection
UpdatableEntityState
Types of state an updatable entity can have.
Possible Values
Unknown entity state can not be defined.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1494 of ANSYS, Inc. and its subsidiaries and affiliates.
OutOfDate entity is out of date.
UpToDate entity is up to date.
Error last update of the entity gave an error.
OutOfDateWithError entity is out of date and last update of the
entity gave an error.
UpToDateWithError entity is up of date and last update of the
entity gave an error.
RefreshRequired entity needs a refresh.
UpdateContinuation
No details are provided for this entry.
Possible Values
None
TargetOnly
All
UpdateErrorBehavior
No details are provided for this entry.
Possible Values
Stop
SkipDesignPoint
Continue
UpdateStiffnessControlType
Possible options to update the stifness in a contact analysis.
Possible Values
ProgramControlled
EachEquilibriumIteration
EachEquilibriumIterationAggressive
Never
EachEquilibriumIterationNominal
EachEquilibriumIterationExponential
UseAdvancedLocalSizeFunction
Used to specify which advanced size function option should be used by the mesher.
Possible Values
ProgramControlled
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1495
Data Types
ProximityCurvature
Curvature
Proximity
Fixed
UseAdvancedSizeFunction
Used to specify which advanced size function option should be used by the mesher.
Possible Values
Adaptive
ProximityCurvature
Curvature
Proximity
Fixed
UseAllProcessors
Used to specify the usage of all available processors for parallel part-based meshing. The default value
is Yes.
Possible Values
Yes Automatically detects and utilizes all available
processors for meshing parts of an assembly
in parallel.
No Manually specify the limit to the number of
processors that can be utilized for parallel
part-based meshing.
UsePostSmoothing
Used to specify whether post boundary smoothing will be performed. The default value is Yes.
Possible Values
Yes
No
ValueDefineBy
This propertry decides whether it should use program controlled value or a manually entered factor or
value.
Possible Values
Unknown
kProgramControlled
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1496 of ANSYS, Inc. and its subsidiaries and affiliates.
kPhysicalValue
kFactor
kAutoDetectValue
VariableConversionOption
Enumeration to specify the conversion of data
Possible Values
NoConversion
AverageSharedNodes
AverageNodesToElement
AverageNodesToFace
DistributeElementToNodesEqually
DistributeFaceToNodesEqually
AverageCornerToMidsideNodes
VariableExposure
Level of exposure for variables in the CDI
Possible Values
Standard Default
Expert Expert
VariableRangeOption
The variable range options
Possible Values
Local
UserSpecified
VariableStyle
Styles that can be used to display the variable. Default is Line
Possible Values
None
Line
Spline
Step
Bar
Default
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1497
Data Types
VectorCalculationMethod
Options for calculating a vector from geometry selection
Possible Values
Automatic
HitPointNormal
WeightedAverageNormal
HitPointTangent
NearestVertexTangent
WeightedAverageTangent
CenterAxis
TwoVertices
VectorDefineBy
This enum is a collection of methods by which a vector can be defined : Directional Components,
Magnitude and direction or normal to a surface.
Possible Values
Components
MagnitudeAndDirection
NormalToSurface
VectorType
Motion vector types used in mechanics.
Possible Values
Unknown
Displacement
Velocity
Acceleration
Rotation
AngularVelocity
AngularAcceleration
ViscosityType
viscosity type
Possible Values
Sutherland Viscosity calculated using Sutherland's Law (2
coefficient method)
Dynamic User-specified dynamic viscosity
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1498 of ANSYS, Inc. and its subsidiaries and affiliates.
Kinematic User specified kinematic viscosity
VolumeDataInput
This class defines input parameters used for Rapid Results Exploration(RRE).
VoluteType
Volute style option
Possible Values
Elliptic Elliptic/circular cross sections
Rectangular Rectangular cross sections
WallMotionSpecification
No details are provided for this entry.
Possible Values
Stationary
Rotating
WeightingType
Available expression weight types
Possible Values
Simple
Length
Area
Volume
Mass
WrapMethod
Used to specify the wrapping method to be used for the meshing region. The default value is ShrinkWrap.
Possible Values
ShrinkWrap
CutWrap
XAxisQuantity
Enum for quantity used for X-axis.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1499
Data Types
Possible Values
Iteration
FlowTime
TimeStep
YesOrNo
This is used for activating or deactivating a setting.
Possible Values
kYes
kNo
YN
This is enum for yes/no option
Possible Values
ICYes
ICNo
Zoning
Used to specify the option to be used for zoning. The default value is Body.
Possible Values
Part Creates a single zone for each part.
Body Creates a separate zone for each body.
Face Creates a separate zone for each face.
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1500 of ANSYS, Inc. and its subsidiaries and affiliates.
journaling, 6
Index Customization Namespace, 1327
A D
ACP Setup data container, 41 data container
ACP.Addin:ResultsContainer data container, 39 scripting definition, 9, 13
ANSYS Workbench journaling data container reference
overview, 1 scripting definition, 10
ANSYS Workbench scripting Data Containers
examples, 16 ACP Setup, 41
APDL example, 27 ACP.Addin:ResultsContainer, 39
data-integrated application, 27 Ansys.InjectionMoldingData.Addin.Addin:SetupCon-
embedded script, 27 tainer, 43
file management, 21 Ansys.Sherlock.Addin:Model, 45
material properties, 24 Ansys.Sherlock.Addin:Result, 47
project updates, 17 Ansys.Sherlock.Addin:Setup, 49
tabular data, 24 AQWA Model, 51
updating from Excel, 31 AQWA Results, 53
file path handling, 15 AQWA Setup, 55
object-based, 13 AQWA Solution, 57
overview, 1 AUTODYN Analysis, 59
path handling, 15 AUTODYN Setup, 59
units, 14 CFD Results, 63
using, 13 CFX Setup, 67
Ansys.InjectionMoldingData.Addin.Addin:SetupContain- CFX Solution, 70
er data container, 43 DX Direct Optimization, 79
Ansys.Sherlock.Addin:Model data container, 45 DX Evaluation Container, 130
Ansys.Sherlock.Addin:Result data container, 47 DX GDO Design of Experiment, 208
Ansys.Sherlock.Addin:Setup data container, 49 DX GDO Response Surface, 238
APDL script scripting examples, 27 DX Parameters Correlation, 279
AQWA Model data container, 51 DX ROM Builder, 302
AQWA Namespace, 1323 DX Six Sigma Analysis, 319
AQWA Results data container, 53 Engineering Data, 337
AQWA Setup data container, 55 Engineering Data Curve Fit, 379
AQWA Solution data container, 57 Engineering Data Favorite Items, 383
argument Engineering Data Favorite Library, 408
scripting definition, 11 External Connection, 441
AUTODYN Analysis data container, 59 External Data, 443
AUTODYN Setup data container, 59 External Model Setup, 461
FLUENT Setup, 475
C FLUENT Solution, 490
CFD Results data container, 63 FLUENT TGridData, 508
CFX Setup data container, 67 Forte Solution, 511
CFX Solution data container, 70 Geometry, 513
ChemkinCommon Namespace, 1323 Graphics, 525
command window ICE, 543
journaling, 2 ICE Setup, 545
navigation, 3 ICEM CFD, 549
component IcePak Setup, 551
scripting definition, 9 IcePak Solution, 554
console window LOST AND FOUND, 557
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1501
Index
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1502 of ANSYS, Inc. and its subsidiaries and affiliates.
K O
keyboard shortcuts object
command window, 3 scripting definition, 10
L P
LOST AND FOUND data container, 557 Parameters data container, 661
Parameters Namespace, 1338
M path handling
Material Designer data container, 589 ANSYS Workbench scripting, 15
material properties scripting examples, 24 absolute/relative paths, 16
Mechanical APDL data container, 593 slashes, 15
Mechanical Enhanced Model data container, 601 Playing a journal, 6
Mechanical Model data container, 602 Playing a script, 6
Mechanical Namespace, 1337 Polyflow Setup data container, 673
Mechanical Results data container, 617 Polyflow Solution data container, 677
Mechanical Setup data container, 623 preferences
Mechanical Solution data container, 627 journaling, 2
Mesh data container, 639 project
Meshing Namespace, 1337 scripting definition, 9
method Project data container, 683
scripting definition, 10 Project File Types data container, 698
Microsoft Office Excel Analysis data container, 651 Project Files data container, 699
MultiphysicsCoupling Namespace, 1337 Project Messages data container, 703
Project Namespace, 1347
N Project updates scripting examples, 17
namespaced command property
scripting definition, 11 scripting definition, 10
Namespaced Commands, 1323 Python, 5
Namespaces
AQWA, 1323 Q
ChemkinCommon, 1323 query
Customization, 1327 scripting definition, 11
EngData, 1327
EngineeringData, 1328 R
Extensions, 1329 recording a journal, 2
Fluent, 1331
ForteCommon, 1331 S
Graphics, 1333 scripting
IcePak, 1336 definition, 5
Mechanical, 1337 argument, 11
Meshing, 1337 component, 9
MultiphysicsCoupling, 1337 data container, 9
Parameters, 1338 data container reference, 10
Project, 1347 data entity, 9
Sherlock, 1384 method, 10
SherlockCommon, 1384 namespaced command, 11
Study, 1386 object, 10
StudyUI, 1394 project, 9
Turbo, 1395 property, 10
query, 11
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1503
Index
T
tabular data scripting examples, 24
templates
scripting definition, 11
Turbo Geometry data container, 1131
Turbo Mesh data container, 1137
Turbo Namespace, 1395
Turbo Performance Map data container, 1142
Turbo Setup data container, 1145
U
units
ANSYS Workbench scripting, 14
Units data container, 1321
updating from Excel scripting examples, 31
using ANSYS Workbench scripting, 13
using the command window
journaling, 2
navigation, 3
V
Vista AFD Analysis data container, 1198
Vista AFD Design data container, 1214
Release 2021 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1504 of ANSYS, Inc. and its subsidiaries and affiliates.