pw:: GridImporterThe GridImporter IO mode type Derives Frompw::Object pw::Mode pw::IOMode NotesTo create a mode of this type, use the pw::Application.begin command with the mode GridImport specified, like this: set importer [pw::Application begin GridImport]
Summary | The GridImporter IO mode type | | | | This action gets a list of the file types that are supported for grid entity import, with certain file types excluded based on the current CAE and dimension. | | This action verifies the IO mode attributes and tries to read the file that is being imported. | | This action checks if there is data that will be converted when the read action is used. | | This action converts the data read in by creating pw::GridEntity objects based on the imported data. | | | | Attributes supported by the ANSYS CFX GridImport mode. | | Attributes supported by the ANSYS Fluent GridImport mode. | | Attributes supported by the Asset GridImport mode. | | Attributes supported by the CFD++ GridImport mode. | | Attributes supported by the CGNS GridImport mode. | | Attributes supported by the CRAFT Tech/CRUNCH CFD GridImport mode. | | Attributes supported by the FVUNS GridImport mode. | | Attributes supported by the FVUNS30 GridImport mode. | | Attributes supported by the Gmsh GridImport mode. | | Attributes supported by the GridPro GridImport mode. | | Attributes supported by the MFEM GridImport mode. | | Attributes supported by the NASA/FUN3D GridImport mode. | | Attributes supported by the Nastran GridImport mode. | | Attributes supported by the Network GridImport mode. | | Attributes supported by the Network3D GridImport mode. | | Attributes supported by the OpenFOAM GridImport mode. | | Attributes supported by the PLOT3D GridImport mode. | | Attributes supported by the Patran GridImport mode. | | Attributes supported by the STL GridImport mode. | | Attributes supported by the SU2 GridImport mode. | | Attributes supported by the Segment GridImport mode. | | Attributes supported by the UCD GridImport mode. | | Attributes supported by the UGRID GridImport mode. | | Attributes supported by the VRML GridImport mode. | | Attributes supported by the Xpatch GridImport mode. | | | | FileTypes that support the DomainSplitAngle attribute. | | FileTypes that support the DomainSplitMultipleEdges attribute. | | FileTypes that support the EntityIgnoreIfNameUsed attribute. | | FileTypes that support the FileByteOrder attribute. | | FileTypes that support the FileFormat attribute. | | FileTypes that support the FilePrecision attribute. | | FileTypes that support the GridBlockDimension attribute. | | FileTypes that support the GridBlockStyle attribute. | | FileTypes that support the GridImportConditionData attribute. | | FileTypes that support the IblankStyle attribute. |
getFileTypesThis action gets a list of the file types that are supported for grid entity import, with certain file types excluded based on the current CAE and dimension. ParametersThis action has no parameters. ReturnsThis action returns a list containing file type names that can be used in the <initialize> command.
readThis action verifies the IO mode attributes and tries to read the file that is being imported. ParametersThis action has no parameters. ReturnsThis action returns a boolean of true if read, false if not. A Tcl error is thrown on failure if -strict was specified for <initialize>. NoteThis action must be called after initialize, but before convert. Possible ErrorsAttributeIsInvalid, CannotOpenFile, CannotAccessFile, FormatIsInvalid, DuplicateNameDetected, MissingReferencesDetected, UnsupportedEntityDetected, UnsupportedByCAEDetected, Unknown, InconsistentDimensionDetected
canConvertThis action checks if there is data that will be converted when the read action is used. ParametersThis action has no parameters. ReturnsThis action returns a boolean of true if convert will convert data, false if not.
convertThis action converts the data read in by creating pw::GridEntity objects based on the imported data. ParametersThis action has no parameters. ReturnsThis action returns a boolean of true if read, false if not. A Tcl error is thrown on failure if -strict was specified for <initialize>. NoteThis action must be called after initialize and read. Possible ErrorsCannotConvertEntity, Unknown
GridImport Mode Attributes
ANSYS CFXAttributes supported by the ANSYS CFX GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
ANSYS FluentAttributes supported by the ANSYS Fluent GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
AssetAttributes supported by the Asset GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
CFD++Attributes supported by the CFD++ GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
CGNSAttributes supported by the CGNS GridImport mode. AttributesGridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. | EntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
CRAFT Tech/ CRUNCH CFDAttributes supported by the CRAFT Tech/CRUNCH CFD GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
FVUNSAttributes supported by the FVUNS GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
FVUNS30Attributes supported by the FVUNS30 GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
GmshAttributes supported by the Gmsh GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
GridProAttributes supported by the GridPro GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. |
MFEMAttributes supported by the MFEM GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
NASA/ FUN3DAttributes supported by the NASA/FUN3D GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
NastranAttributes supported by the Nastran GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
NetworkAttributes supported by the Network GridImport mode. AttributesFileFormat | File format. It is a Read/Write string value with range < ASCII | Binary | Unformatted >. | FileByteOrder | File byte order. It is a Read/Write string value with range < Native | Swap | LittleEndian | BigEndian >. | FilePrecision | Floating-point precision. It is a Read/Write string value with range < Single | Double >. | EntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. |
Network3DAttributes supported by the Network3D GridImport mode. AttributesFileFormat | File format. It is a Read/Write string value with range < ASCII | Binary | Unformatted >. | FileByteOrder | File byte order. It is a Read/Write string value with range < Native | Swap | LittleEndian | BigEndian >. | FilePrecision | Floating-point precision. It is a Read/Write string value with range < Single | Double >. | EntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. |
OpenFOAMAttributes supported by the OpenFOAM GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
PLOT3DAttributes supported by the PLOT3D GridImport mode. AttributesFileFormat | File format. It is a Read/Write string value with range < ASCII | Binary | Unformatted >. | FileByteOrder | File byte order. It is a Read/Write string value with range < Native | Swap | LittleEndian | BigEndian >. | FilePrecision | Floating-point precision. It is a Read/Write string value with range < Single | Double >. | IblankStyle | Iblank array type. It is a Read/Write string value with range < None | PointBased >. | GridBlockStyle | The grid IO block style. It is a Read/Write string value with range < Single | Multiple >. | GridBlockDimension | The grid IO dimensionality. It is a Read/Write string value with range < 1 | 2 | 3 >. | EntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. |
PatranAttributes supported by the Patran GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
STLAttributes supported by the STL GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
SU2Attributes supported by the SU2 GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
SegmentAttributes supported by the Segment GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. |
UCDAttributes supported by the UCD GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
UGRIDAttributes supported by the UGRID GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. | GridImportConditionData | Import grid condition data if available. It is a Read/Write boolean value with default false. |
VRMLAttributes supported by the VRML GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
XpatchAttributes supported by the Xpatch GridImport mode. AttributesEntityIgnoreIfNameUsed | Ignore entities with existing names. It is a Read/Write boolean value with default false. | DomainSplitAngle | Split domains at this angle. It is a Read/Write float value with default 0. | DomainSplitMultipleEdges | Split domains that have multiple edges. It is a Read/Write boolean value with default false. |
DomainSplitAngleFileTypes that support the DomainSplitAngle attribute. FileTypesANSYS CFX, ANSYS Fluent, Asset, CFD++, CGNS, CRAFT Tech/CRUNCH CFD, FVUNS, FVUNS30, Gmsh, MFEM, NASA/FUN3D, Nastran, OpenFOAM, Patran, STL, SU2, UCD, UGRID, VRML, Xpatch
DomainSplitMultipleEdgesFileTypes that support the DomainSplitMultipleEdges attribute. FileTypesANSYS CFX, ANSYS Fluent, Asset, CFD++, CGNS, CRAFT Tech/CRUNCH CFD, FVUNS, FVUNS30, Gmsh, MFEM, NASA/FUN3D, Nastran, OpenFOAM, Patran, STL, SU2, UCD, UGRID, VRML, Xpatch
EntityIgnoreIfNameUsedFileTypes that support the EntityIgnoreIfNameUsed attribute. FileTypesANSYS CFX, ANSYS Fluent, Asset, CFD++, CGNS, CRAFT Tech/CRUNCH CFD, FVUNS, FVUNS30, Gmsh, GridPro, MFEM, NASA/FUN3D, Nastran, Network, Network3D, OpenFOAM, PLOT3D, Patran, STL, SU2, Segment, UCD, UGRID, VRML, Xpatch
GridBlockDimensionFileTypes that support the GridBlockDimension attribute. FileTypesPLOT3D
GridBlockStyleFileTypes that support the GridBlockStyle attribute. FileTypesPLOT3D
GridImportConditionDataFileTypes that support the GridImportConditionData attribute. FileTypesANSYS CFX, ANSYS Fluent, CFD++, CGNS, CRAFT Tech/CRUNCH CFD, Gmsh, MFEM, NASA/FUN3D, OpenFOAM, SU2, UGRID
IblankStyleFileTypes that support the IblankStyle attribute. FileTypesPLOT3D
|