Mesh
This container holds Mesh data for an instance of the Meshing application.
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
To edit the mesh component with default optional parameter values:
mesh.Edit()
Or by specifying optional parameter values:
mesh.Edit(Interactive=True )
Exits the Meshing editor.
Optional Arguments
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
Exports an ASM Journal (.wbjn) and supporting files for the model component.
Required Arguments
Exports a PartManager database (.pmdb) file for the geometry in the model component.
Required Arguments
Exports a .acmo file for the mesh in the model component.
Required Arguments
Returns the data reference to the container's MechanicalMeshFile data entity.
Return
A reference to the requested MechanicalMeshFile data entity.
Returns the data reference to the container's MechanicalModel data entity.
Return
A reference to the requested MechanicalModel data entity.
Returns the data reference to the container's MechanicalSystemType data entity.
Return
A reference to the requested MechanicalSystemType data entity.
Query to return the data reference to the meshing import options
Return
The Data Entity containing settings for this component.
Required Arguments
Query to return the data reference to the meshing properties
Return
The Data Entity containing settings for this component.
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
To import a data file into the mesh component with default optional parameter values:
mesh.Import(FilePath=r"C:\temp\data.cfx", MeshType="CFX")
Import a mesh data file from a repository location. 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
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 performance.
Required Arguments
Optional Arguments
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);" )
Class used to expose general properties for the mesh assembly workflow
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
Name objects in Meshing based on selected option
The data entity that contains the identifiers which maintain a relationship between the Mesh data contain and the objects in the Meshing editor tree.
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
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.
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.
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.
The string which represents the current analysis type setting - this value will always be "Any".
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
The boolean which represents the IC Engine mesh setup options.
The string is a hyper link which opens the IC Engine mesh setting dialog.
The string which represents current physics type setting - the value can be "Any" or "CFD".
The quantity represent the reference mesh size for IC Engine mesh settings.
The string which represents the current solver setting - the value can be "Any", "FLUENT", "CFX", or "POLYFLOW".
Import options for model assembly available on the downstream model
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
By default this value is 0, specifies how many additional copies of the upstream mesh are needed
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
Rigid Transformations for the Source Geometry
Contains properties to control mesh generation in Meshing application
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.