Finite Element Modeler

Finite Element Modeler
This container holds data for an instance of the Finite Element Modeler.

Methods

AddMeshFile

This command adds a Mesh File to the input meshes collection of the specified Container. Note that we allow the User to import the same file multiple times. Finally, note that the default Unit System will be the one of the Assembly Mesh.

Return     The newly added Input Mesh.
    Type     DataReference

Required Arguments

FilePath    The input mesh file path.
    Type     string
ModelType    The format of the input mesh file.
    Type     ModelType

Edit

This command will launch the FE Modeler Editor (if not already running) and will either import the list of input meshes or open the currently existing database. Note that the Editor can be run in either Interactive mode or Batch mode.

Optional Arguments

Interactive    An optional boolean (True by default) which indicates if the Editor must be launched in Interactive mode (with a GUI so that the User can interact with it). If False, the Editor is run in Batch mode.
    Type     bool
    Default Value    True

Exit

The Exit command will close the potentially opened Editor associated with the Container argument.


GetFEMInputMesh

Returns the reference of one of the container's InputMesh data entity. Note that you will retrieve one of its specialized classes: FEMUpstreamInputMesh or FEMUserInputMesh

Return     The reference of the InputMesh data entity
    Type     DataReference

Required Arguments

Name    Name of the input mesh
    Type     string

GetFEMMesh

Returns the reference of the container's FEMMesh data entity.

Return     The reference of the FEMMesh data entity
    Type     DataReference

Required Arguments

Name    Name of the entity
    Type     string

GetFEMModel

Returns the reference of the container's FEMModel data entity.

Return     The reference of the FEMModel data entity
    Type     DataReference

Required Arguments

Name    Name of the entity
    Type     string

GetFEMSetup

Returns the reference of the container's FEMSetup data entity.

Return     The reference of the FEMSetup data entity
    Type     DataReference

Required Arguments

Name    Name of the entity
    Type     string

GetGeometry

Returns the reference of the container's FEMGeometry data entity.

Return     The reference of the FEMGeometry data entity
    Type     DataReference

Required Arguments

Name    Name of the entity
    Type     string

SendCommand

The SendCommand command will execute the script contents, specified in Command, in the FE Modeler Editor associated with the specified Container. Note that if the associated FE Modeler Editor is not running when this command is issued, it will be launched and eventually closed at the end of the command. This command requires the Editor (if already up and running) not to be busy.

Required Arguments

Command    Command argument containing the command.
    Type     string

Data Entities

FEMInputMesh

This object represents an input mesh for the FE Model. This input mesh can either be a Mesh File added by the User or data coming from an upstream container through a connection. In the first case, the object will be of type 'UserInputMeshObject' ; in the other case, the object will be of type 'UpstreamInputMeshObject'. Many useful properties can be retrieved from this input mesh object.

Properties

BodyGrouping

The body grouping property of the input mesh (when importing it from a file). This entity is displayed as a Property for the User to modify.

Type     BodyGrouping
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.

Type     string
Read Only    No
FileFormat

The format of the mesh file. Even if the input type is an upstream connection, there is an associated transfer file.

Type     ModelType
Read Only    Yes
FileReference

The file reference of the mesh file. Even if the input type is an upstream connection, there is an associated tranfer file.

Type     DataReference
Read Only    Yes
IDHandling

The ID Handling property of the input mesh. This entity is displayed as a Property for the User to modify.

Type     IDHandling
Read Only    No
UnitSystem

The Unit System of the input mesh (when importing it from a file). This entity is displayed as a Property for the User to modify.

Type     String[]
Read Only    No

Methods

Delete

This method removes an existing input mesh from an FE Modeler Model component.

SwitchInputOrder

This method switches the displayed order of two input meshes in the collection of an FE Modeler Model component.

Required Arguments

OtherInputFile    The reference of the second input mesh to switch
    Type     DataReference

FEMMesh

This output object is used for transferring the mesh associated with the generated Faceted representation of the Geometry. The mesh data will be stored in an ACMO-formatted file whose reference can be retrieved using the 'ACMOFile' public property. Note that this mesh can be morphed if a Parametric study has been performed in the FE Modeler Editor.

Properties

ACMOFile

The reference of the ACMO file representing the Associated Mesh of the Faceted Geometry.

Type     DataReference
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.

Type     string
Read Only    No

FEMModel

This object represents the Assembly Mesh as well as the main storage location for some internal data for 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.

Type     string
Read Only    No
GeometryImportAnalysisType

Analysis Type preference. Import 3D objects or 2D objects (objects must be in the x-y plane)

Type     GeometryAnalysisType
Read Only    No
InputMeshes

The list of all input meshes for the current model.

Type     List<DataReference>
Read Only    Yes
UnitSystem

The Unit System name of the Assembly Mesh. This entity is displayed as a Property for the User to modify.

Type     String[]
Read Only    No

FEMSetup

This output object is used for transferring various generated data: The Faceted representation of the Geometry will be stored in an 'fedb' file whose reference can be retrieved using the 'FEModelerFile' public property. The ANSYS Input file for the ANSYS solver will be stored in an 'inp' file whose reference can be retrieved using the 'ANSYSInputFile' public property. The NURBS representation of the geometry will be stored in an 'x_t' file whose reference can be retrieved using the 'ParasolidFile' public property. The Materials used in the mesh will be stored in an XML file whose reference can be retrieved using the 'FiniteElementModelMaterials' public property.

Properties

ANSYSInputFile

The reference of the 'inp' file representing the ANSYS input for the solver.

Type     DataReference
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.

Type     string
Read Only    No
FEModelerFile

The reference of the 'fedb' file representing the Faceted Geometry.

Type     DataReference
Read Only    Yes
FiniteElementModelMaterials

The reference of the 'xml' file representing the Materials of the mesh.

Type     DataReference
Read Only    Yes
ParasolidFile

The reference of the 'x_t' file representing the NURBS Geometry.

Type     DataReference
Read Only    Yes

FEMUpstreamInputMesh

An input mesh object representing an upstream connection

Properties

BodyGrouping

The body grouping property of the input mesh (when importing it from a file). This entity is displayed as a Property for the User to modify.

Type     BodyGrouping
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.

Type     string
Read Only    No
FileFormat

The format of the mesh file. Even if the input type is an upstream connection, there is an associated transfer file.

Type     ModelType
Read Only    Yes
FileReference

The file reference of the mesh file. Even if the input type is an upstream connection, there is an associated tranfer file.

Type     DataReference
Read Only    Yes
IDHandling

The ID Handling property of the input mesh. This entity is displayed as a Property for the User to modify.

Type     IDHandling
Read Only    No
UnitSystem

The Unit System of the input mesh (when importing it from a file). This entity is displayed as a Property for the User to modify.

Type     String[]
Read Only    No

FEMUserInputMesh

An input mesh object rpresenting a Mesh File added by the User.

Properties

BodyGrouping

The body grouping property of the input mesh (when importing it from a file). This entity is displayed as a Property for the User to modify.

Type     BodyGrouping
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.

Type     string
Read Only    No
FileFormat

The format of the mesh file. Even if the input type is an upstream connection, there is an associated transfer file.

Type     ModelType
Read Only    Yes
FileReference

The file reference of the mesh file. Even if the input type is an upstream connection, there is an associated tranfer file.

Type     DataReference
Read Only    Yes
IDHandling

The ID Handling property of the input mesh. This entity is displayed as a Property for the User to modify.

Type     IDHandling
Read Only    No
UnitSystem

The Unit System of the input mesh (when importing it from a file). This entity is displayed as a Property for the User to modify.

Type     String[]
Read Only    No

Geometry

This entity represents the transfer of the Faceted representation of the Geometry, as well as its associated Mesh, to a downstream system. This object is basically a wrapper for the MeshObject and SetupObject data entities.

Properties

ACMOFile

The reference of the ACMO file representing the associated Mesh of the Faceted Geometry. This file is ACMO-formatted.

Type     DataReference
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.

Type     string
Read Only    No
FacetedGeometry

The reference of the Geometry file representing the associated Mesh of the Faceted Geometry. This file is a .fedb format.

Type     DataReference
Read Only    Yes


Release 18.2 - © ANSYS, Inc. All rights reserved.