pw:: CaeExporter

The CaeExporter IO mode type.  If you do not require fine-grained control over the CAE export process, use the pw::Application.export action.

Derives From

pw::Object pw::Mode pw::IOMode

Notes

To create a mode of this type, use the pw::Application.begin command with the mode CaeExport specified, like this:

set exporter [pw::Application begin CaeExport $entities]
Summary
The CaeExporter IO mode type.
This action gets a list of the file types that can export all of the entities of this mode.
This action adds entities to the uninitialized mode.
This action adds all mode appropriate entities from all frameworks to the uninitialized mode.
This action verifies the IO mode attributes and the entities of the mode that should be exported.
This action checks if there is data that will be written out when the write action is used.
This action writes the file by converting pw::GridEntity objects into the format required for the exported data.
Code example showing a minimal usage of a CaeExport mode.
Code example showing usage of all features of a pw::CaeExport mode.
Attributes supported by the ACUSIM/AcuSolve CaeExport mode.
Attributes supported by the ADPAC CaeExport mode.
Attributes supported by the ANSYS CFX CaeExport mode.
Attributes supported by the CFDShip-Iowa CaeExport mode.
Attributes supported by the CFL3D CaeExport mode.
Attributes supported by the CGNS CaeExport mode.
Attributes supported by the CMSoft-Aero CaeExport mode.
Attributes supported by the CNSFV CaeExport mode.
Attributes supported by the Cart3D CaeExport mode.
Attributes supported by the Cobalt CaeExport mode.
Attributes supported by the DTNS CaeExport mode.
Attributes supported by the Edge CaeExport mode.
Attributes supported by the FALCON v3 CaeExport mode.
Attributes supported by the FANS CaeExport mode.
Attributes supported by the FDNS/UNIC CaeExport mode.
Attributes supported by the FrontFlow CaeExport mode.
Attributes supported by the GASP CaeExport mode.
Attributes supported by the Gmsh CaeExport mode.
Attributes supported by the Gridgen Generic CaeExport mode.
Attributes supported by the INCA v2 CaeExport mode.
Attributes supported by the Kestrel CaeExport mode.
Attributes supported by the LAURA CaeExport mode.
Attributes supported by the NASA/FUN3D CaeExport mode.
Attributes supported by the NPARC CaeExport mode.
Attributes supported by the NSAERO CaeExport mode.
Attributes supported by the NSU3D CaeExport mode.
Attributes supported by the OVERFLOW CaeExport mode.
Attributes supported by the SC/Tetra CaeExport mode.
Attributes supported by the STAR-CCM+ CaeExport mode.
Attributes supported by the SU2 CaeExport mode.
Attributes supported by the ShipIR CaeExport mode.
Attributes supported by the Suggar++ Flex CaeExport mode.
Attributes supported by the TACOMA CaeExport mode.
Attributes supported by the TASCflow CaeExport mode.
Attributes supported by the TEAM CaeExport mode.
Attributes supported by the Tecplot CaeExport mode.
Attributes supported by the UGRID CaeExport mode.
Attributes supported by the WIND (structured) CaeExport mode.
Attributes supported by the WIND (unstructured) CaeExport mode.
Solvers that support the BoundaryConditionsOnly attribute.
Solvers that support the ExportDonorInformation attribute.
Solvers that support the ExportParentElements attribute.
Solvers that support the FileByteOrder attribute.
Solvers that support the FileFormat attribute.
Solvers that support the FilePrecision attribute.
Solvers that support the GridExportMeshLink attribute.
Solvers that support the GridExportMeshLinkDatabaseFileName attribute.
Solvers that support the GridExportMeshLinkDatabaseFileType attribute.
Solvers that support the GridExportMeshLinkFileName attribute.
Solvers that support the GridExportMeshLinkFileType attribute.
Solvers that support the GridStructuredAsUnstructured attribute.
Solvers that support the TecplotFileFormat attribute.
Solvers that support the UnstructuredInterface attribute.

Instance Actions

getFileTypes

$io getFileTypes

This action gets a list of the file types that can export all of the entities of this mode.

Parameters

This action has no parameters.

Returns

This action returns a list containing file type names that can be used in the <initialize> command.

addEntities

$io addEntities ?-path path? entities

This action adds entities to the uninitialized mode.

Parameters

-path pathThis optional parameter specifies the framework path in which all the entities reside.  The default value is the active framework.
-allSpecifies that all available entities should be added to the mode.  If path is provided, all the entities that reside in that framework are added.  This is the default.
entitiesThe list of entities, for the specified path, to be added to the mode.

Returns

This action returns nothing.

Example

Code

# Where,
# fw - a Framework entity
# fwPath - the path to fw

$io addEntities -path $fwPath [pw::Grid getAll -framework $fw]

addAllEntities

$io addAllEntities

This action adds all mode appropriate entities from all frameworks to the uninitialized mode.

Parameters

This action has no parameters.

Returns

The number of entities added to the mode.  If the mode already contains entities, the duplicate entities will be silently skipped.

Note

This action can only be called after create, but before initialize.

verify

$io verify

This action verifies the IO mode attributes and the entities of the mode that should be exported.

Parameters

This action has no parameters.

Returns

This action returns a boolean of true if verified, false if not.

Note

This action must be called after initialize, but before write.

Possible Errors

AttributeIsInvalid, UnsupportedEntityDetected, Unknown

canWrite

$io canWrite

This action checks if there is data that will be written out when the write action is used.

Parameters

This action has no parameters.

Returns

This action returns a boolean of true if write will export data, false if not.

write

$io write

This action writes the file by converting pw::GridEntity objects into the format required for the exported data.

Parameters

This action has no parameters.

Returns

This action returns a boolean of true if written, false if not.  A Tcl error is thrown on failure if -strict was specified for <initialize>.

Note

This action must be called after initialize and verify.

Possible Errors

AttributeIsInvalid, UnsupportedEntityDetected, Unknown

Glyph Code Examples

Minimal CaeExport

Code example showing a minimal usage of a CaeExport mode.

Example

Code

package require PWI_Glyph 3.18


# This sample assumes:
#
# * A grid file is loaded and is ready for CAE export.
# * The solver is set to CGNS.
# * $ents is the list of blocks to export
#
# This CaeExport mode code is equivalent to:
#
# pw::Application export -precision Double $ents "C:\test.cgns"
#


# Create the CaeExport mode
set status abort
set caex [pw::Application begin CaeExport $ents]
if { $caex && [$caex initialize "C:\test.cgns"] } {
$caex setAttribute FilePrecision Double
if { [$caex verify] && [$caex canWrite] && [$caex write] } {
set status end
}
}
# abort/end the mode
$caex $status

Output

Full-featured CaeExport

Code example showing usage of all features of a pw::CaeExport mode.

Example

Code

package require PWI_Glyph 3.18.3


# This sample assumes:
# * A grid file is loaded and is ready for CAE export.


# Capture the folder in which this script is located and append the
# "export" subfolder.
set scriptDir [file normalize [file dirname [info script]]]
set exportDir [file join $scriptDir export]
# create directory if it does not exist
file mkdir $exportDir

puts "Current solver: [set curSolver [pw::Application getCAESolver]]"

set validExts [pw::Application getCAESolverAttribute FileExtensions]
puts "Valid file extensions: '$validExts'"
# Capture first file extension. Use it below to build filename.
set defExt [lindex $validExts 0]

# Select entities appropriate for dimension.
if { 3 == [pw::Application getCAESolverDimension] } {
set ents [pw::Entity sort [pw::Grid getAll -type pw::Block]]
} else {
set ents [pw::Entity sort [pw::Grid getAll -type pw::Domain]]
}
puts "Export entities:"
foreach ent $ents {
puts " [$ent getName] ($ent)"
}

# Create the CaeExport mode
set caex [pw::Application begin CaeExport $ents]
puts "Mode $caex is of type [list [$caex getType]]"

# Build an export destination suitable for the current solver. Use
# the script folder as the root output location.
set destType [pw::Application getCAESolverAttribute FileDestination]
switch $destType {
Filename { set dest [file join $exportDir "sample.$defExt"] }
Basename { set dest [file join $exportDir "samplebase"] }
Folder { set dest $exportDir }
default { return -code error "Unexpected FileDestination value" }
}
puts "Exporting to $destType: '$dest'"

# Initialize the CaeExport mode
set status abort ;# assume export failure
if { ![$caex initialize $dest] } {
puts {$caex initialize failed!}
} else {
set dashes [string repeat - 50]
# Query CaeExport mode for each attribute definition and value
puts "\$caex getAttributeCount = '[set attrCnt [$caex getAttributeCount]]'"
if { 0 != $attrCnt } {
set attrNames [$caex getAttributeNames]

set fmt { %-30.30s | %-7.7s | %s}
puts "Basic attribute definitions:"
puts [format $fmt Name Type Description]
puts [format $fmt $dashes $dashes $dashes]
foreach attrName $attrNames {
set attrDefn [$caex getAttributeDefinition $attrName]
lassign $attrDefn defnName defnType defnDesc
puts [format $fmt $defnName $defnType $defnDesc]
}

set fmt { %-30.30s | %-6.6s | %6.6s | %-12.12s | %-32.32s | %s}
puts "Extended attribute definitions:"
puts [format $fmt Name Type Access Default Range Description]
puts [format $fmt $dashes $dashes $dashes $dashes $dashes $dashes]
foreach attrName $attrNames {
set attrDefn [$caex getAttributeDefinition -extended $attrName]
#Mode GridStructuredAsUnstructured Bool RW {Treat structured blocks as unstructured flag} true {}
lassign $attrDefn defnGroup defnName defnType defnAccess defnDesc defnDefault defnRange
puts [format $fmt $defnName $defnType $defnAccess $defnDefault $defnRange $defnDesc]
}
}

# If the CaeExport mode supports it, set the FileUnits attribute
if { ![catch {$caex setAttribute FileUnits Inches}] } {
puts "setAttribute FileUnits Inches"
}

# If the CaeExport mode supports it, set the FilePrecision attribute
if { ![catch {$caex setAttribute FilePrecision Double}] } {
puts "setAttribute FilePrecision Double"
}

if { ![$caex verify] } {
puts {$caex verify failed!}
} elseif { ![$caex canWrite] } {
puts {$caex canWrite failed!}
} elseif { ![$caex write] } {
puts {$caex write failed!}
} elseif { 0 != [llength [set feCnts [$caex getForeignEntityCounts]]] } {
# print entity counts reported by the exporter
set fmt { %-22.22s | %6.6s |}
puts "Number of grid entities exported:"
puts [format $fmt {Entity Type} Count]
puts [format $fmt $dashes $dashes]
dict for {key val} $feCnts {
puts [format $fmt $key $val]
}
set status end ;# all is okay now
}
}
# Display any errors/warnings
set errCnt [$caex getErrorCount]
for {set ndx 1} {$ndx <= $errCnt} {incr ndx} {
puts "[$caex getErrorCode $ndx]: '[$caex getErrorInformation $ndx]'"
}
# abort/end the CaeExport mode
$caex $status

Output

Current solver: CGNS
Valid file extensions: 'cgns'
Export entities:
blk-miny-1 (::pw::BlockStructured_2)
blk-maxy-1 (::pw::BlockUnstructured_2)
Mode ::pw::CaeExporter_1 is of type pw::CaeExporter
Exporting to Filename: 'C:/cae-export/export/sample.cgns'
$caex getAttributeCount = '11'
Basic attribute definitions:
Name | Type | Description
------------------------------ | ------- | --------------------------------------------------
GridStructuredAsUnstructured | boolean | Treat structured blocks as unstructured flag
HybridInterface | string | Set the type of hybrid interface used by CGNS
UnstructuredInterface | string | Set the type of unstructured-to-unstrctured interface used by CGNS
ExportParentElements | boolean | Include Parent Elements in export flag
ExportDonorInformation | boolean | Include Donor Information in export flag
FilePrecision | string | Floating-point precision
GridExportMeshLink | boolean | Export mesh link files for the grid
GridExportMeshLinkFileName | string | The Mesh Link file name.
GridExportMeshLinkFileType | string | The Mesh Link file type.
GridExportMeshLinkDatabaseFile | string | The Mesh Link database file name.
GridExportMeshLinkDatabaseFile | string | The Mesh Link database file type.
Extended attribute definitions:
Name | Type | Access | Default | Range | Description
------------------------------ | ------ | ------ | ------------ | -------------------------------- | --------------------------------------------------
GridStructuredAsUnstructured | Bool | RW | true | | Treat structured blocks as unstructured flag
HybridInterface | Enum | RW | FaceToFace | FaceToFace|NodeToNode|CellToCell | Set the type of hybrid interface used by CGNS
UnstructuredInterface | Enum | RW | FaceToFace | FaceToFace|NodeToNode|CellToCell | Set the type of unstructured-to-unstrctured interface used by CGNS
ExportParentElements | Bool | RW | false | | Include Parent Elements in export flag
ExportDonorInformation | Bool | RW | true | | Include Donor Information in export flag
FilePrecision | Enum | RW | Single | Single|Double | Floating-point precision
GridExportMeshLink | Bool | RW | false | | Export mesh link files for the grid
GridExportMeshLinkFileName | String | RW | | | The Mesh Link file name.
GridExportMeshLinkFileType | Enum | RW | Uncompressed | Uncompressed | The Mesh Link file type.
GridExportMeshLinkDatabaseFile | String | RW | | | The Mesh Link database file name.
GridExportMeshLinkDatabaseFile | Enum | RW | NMB-Binary | NMB-Binary|NMB-ASCII | The Mesh Link database file type.
setAttribute FilePrecision Double
Number of grid entities exported:
Entity Type | Count |
---------------------- | ------ |
HexElements | 27 |
PyramidElements | 57 |
QuadElements | 111 |
TetElements | 429 |
TriElements | 2 |
Unstructured 3-D Zones | 2 |

CaeExport Mode Attributes

ACUSIM/ AcuSolve

Attributes supported by the ACUSIM/AcuSolve CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

ADPAC

Attributes supported by the ADPAC CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

ANSYS CFX

Attributes supported by the ANSYS CFX CaeExport mode.

Attributes

FileFormatFile format.  It is a Read/Write string value with range < ASCII | Binary >.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

CFDShip-Iowa

Attributes supported by the CFDShip-Iowa CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

CFL3D

Attributes supported by the CFL3D CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

CGNS

Attributes supported by the CGNS CaeExport mode.

Attributes

ExportDonorInformationInclude Donor Information in export flag.  It is a Read/Write boolean value with default true.
ExportParentElementsInclude Parent Elements in export flag.  It is a Read/Write boolean value with default false.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.
GridExportMeshLinkExport mesh link files for the grid.  It is a Read/Write boolean value with default false.
GridExportMeshLinkDatabaseFileNameThe Mesh Link database file name.  It is a Read/Write string value.
GridExportMeshLinkDatabaseFileTypeThe Mesh Link database file type.  It is a Read/Write string value with range < NMB-Binary | NMB-ASCII >.
GridExportMeshLinkFileNameThe Mesh Link file name.  It is a Read/Write string value.
GridExportMeshLinkFileTypeThe Mesh Link file type.  It is a Read/Write string value with range < Uncompressed >.
GridStructuredAsUnstructuredTreat structured blocks as unstructured flag.  It is a Read/Write boolean value with default true.
UnstructuredInterfaceSet the type of unstructured-to-unstrctured interface used by CGNS.  It is a Read/Write string value with range < FaceToFace | NodeToNode | CellToCell >.

CMSoft-Aero

Attributes supported by the CMSoft-Aero CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

CNSFV

Attributes supported by the CNSFV CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

Cart3D

Attributes supported by the Cart3D CaeExport mode.

Attributes

FileByteOrderFile byte order.  It is a Read/Write string value with range < Native | Swap | LittleEndian | BigEndian >.
FileFormatFile format.  It is a Read/Write string value with range < ASCII | Unformatted >.

Cobalt

Attributes supported by the Cobalt CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FileFormatFile format.  It is a Read/Write string value with range < ASCII | Unformatted >.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

DTNS

Attributes supported by the DTNS CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

Edge

Attributes supported by the Edge CaeExport mode.

Attributes

FileFormatFile format.  It is a Read/Write string value with range < Binary | Unformatted >.

FALCON v3

Attributes supported by the FALCON v3 CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

FANS

Attributes supported by the FANS CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

FDNS/ UNIC

Attributes supported by the FDNS/UNIC CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

FrontFlow

Attributes supported by the FrontFlow CaeExport mode.

Attributes

FileFormatFile format.  It is a Read/Write string value with range < ASCII | Binary >.

GASP

Attributes supported by the GASP CaeExport mode.

Attributes

ExportDonorInformationInclude Donor Information in export flag.  It is a Read/Write boolean value with default true.
ExportParentElementsInclude Parent Elements in export flag.  It is a Read/Write boolean value with default false.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.
GridStructuredAsUnstructuredTreat structured blocks as unstructured flag.  It is a Read/Write boolean value with default true.
UnstructuredInterfaceSet the type of unstructured-to-unstrctured interface used by CGNS.  It is a Read/Write string value with range < FaceToFace | NodeToNode | CellToCell >.

Gmsh

Attributes supported by the Gmsh CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

Gridgen Generic

Attributes supported by the Gridgen Generic CaeExport mode.

Attributes

FileFormatFile format.  It is a Read/Write string value with range < ASCII | Binary | Unformatted >.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

INCA v2

Attributes supported by the INCA v2 CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FileFormatFile format.  It is a Read/Write string value with range < ASCII | Unformatted >.

Kestrel

Attributes supported by the Kestrel CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.
GridExportMeshLinkExport mesh link files for the grid.  It is a Read/Write boolean value with default false.
GridExportMeshLinkDatabaseFileNameThe Mesh Link database file name.  It is a Read/Write string value.
GridExportMeshLinkDatabaseFileTypeThe Mesh Link database file type.  It is a Read/Write string value with range < NMB-Binary | NMB-ASCII >.
GridExportMeshLinkFileNameThe Mesh Link file name.  It is a Read/Write string value.
GridExportMeshLinkFileTypeThe Mesh Link file type.  It is a Read/Write string value with range < Uncompressed >.

LAURA

Attributes supported by the LAURA CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FileByteOrderFile byte order.  It is a Read/Write string value with range < Native | Swap | LittleEndian | BigEndian >.

NASA/ FUN3D

Attributes supported by the NASA/FUN3D CaeExport mode.

Attributes

GridExportMeshLinkExport mesh link files for the grid.  It is a Read/Write boolean value with default false.
GridExportMeshLinkDatabaseFileNameThe Mesh Link database file name.  It is a Read/Write string value.
GridExportMeshLinkDatabaseFileTypeThe Mesh Link database file type.  It is a Read/Write string value with range < NMB-Binary | NMB-ASCII >.
GridExportMeshLinkFileNameThe Mesh Link file name.  It is a Read/Write string value.
GridExportMeshLinkFileTypeThe Mesh Link file type.  It is a Read/Write string value with range < Uncompressed >.

NPARC

Attributes supported by the NPARC CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FileByteOrderFile byte order.  It is a Read/Write string value with range < Native | Swap | LittleEndian | BigEndian >.
FileFormatFile format.  It is a Read/Write string value with range < ASCII | Binary | Unformatted >.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

NSAERO

Attributes supported by the NSAERO CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

NSU3D

Attributes supported by the NSU3D CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FileFormatFile format.  It is a Read/Write string value with range < ASCII | Binary | Unformatted >.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

OVERFLOW

Attributes supported by the OVERFLOW CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

SC/ Tetra

Attributes supported by the SC/Tetra CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

STAR-CCM+

Attributes supported by the STAR-CCM+ CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

SU2

Attributes supported by the SU2 CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

ShipIR

Attributes supported by the ShipIR CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

Suggar++ Flex

Attributes supported by the Suggar++ Flex CaeExport mode.

Attributes

FileFormatFile format.  It is a Read/Write string value with range < ASCII | Binary | Unformatted >.

TACOMA

Attributes supported by the TACOMA CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

TASCflow

Attributes supported by the TASCflow CaeExport mode.

Attributes

FileFormatFile format.  It is a Read/Write string value with range < ASCII | Unformatted >.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

TEAM

Attributes supported by the TEAM CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.

Tecplot

Attributes supported by the Tecplot CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.
TecplotFileFormatSet the Tecplot binary output file format.  It is a Read/Write string value with range < PLT | SZPLT >.

UGRID

Attributes supported by the UGRID CaeExport mode.

Attributes

BoundaryConditionsOnlyOnly process boundary conditions flag.  It is a Read/Write boolean value with default false.
FileByteOrderFile byte order.  It is a Read/Write string value with range < Native | Swap | LittleEndian | BigEndian >.
FileFormatFile format.  It is a Read/Write string value with range < ASCII | Binary | Unformatted >.
FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

WIND (structured)

Attributes supported by the WIND (structured) CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

WIND (unstructured)

Attributes supported by the WIND (unstructured) CaeExport mode.

Attributes

FilePrecisionFloating-point precision.  It is a Read/Write string value with range < Single | Double >.

Attribute Solvers

BoundaryConditionsOnly

Solvers that support the BoundaryConditionsOnly attribute.

Solvers

ADPAC, CFDShip-Iowa, CFL3D, CNSFV, Cobalt, DTNS, FALCON v3, FANS, FDNS/UNIC, INCA v2, LAURA, NPARC, NSAERO, NSU3D, OVERFLOW, TACOMA, TEAM, UGRID

ExportDonorInformation

Solvers that support the ExportDonorInformation attribute.

Solvers

CGNS, GASP

ExportParentElements

Solvers that support the ExportParentElements attribute.

Solvers

CGNS, GASP

FileByteOrder

Solvers that support the FileByteOrder attribute.

Solvers

Cart3D, LAURA, NPARC, UGRID

FileFormat

Solvers that support the FileFormat attribute.

Solvers

ANSYS CFX, Cart3D, Cobalt, Edge, FrontFlow, Gridgen Generic, INCA v2, NPARC, NSU3D, Suggar++ Flex, TASCflow, UGRID

GridExportMeshLink

Solvers that support the GridExportMeshLink attribute.

Solvers

CGNS, Kestrel, NASA/FUN3D

GridExportMeshLinkDatabaseFileName

Solvers that support the GridExportMeshLinkDatabaseFileName attribute.

Solvers

CGNS, Kestrel, NASA/FUN3D

GridExportMeshLinkDatabaseFileType

Solvers that support the GridExportMeshLinkDatabaseFileType attribute.

Solvers

CGNS, Kestrel, NASA/FUN3D

GridExportMeshLinkFileName

Solvers that support the GridExportMeshLinkFileName attribute.

Solvers

CGNS, Kestrel, NASA/FUN3D

GridExportMeshLinkFileType

Solvers that support the GridExportMeshLinkFileType attribute.

Solvers

CGNS, Kestrel, NASA/FUN3D

GridStructuredAsUnstructured

Solvers that support the GridStructuredAsUnstructured attribute.

Solvers

CGNS, GASP

TecplotFileFormat

Solvers that support the TecplotFileFormat attribute.

Solvers

Tecplot

UnstructuredInterface

Solvers that support the UnstructuredInterface attribute.

Solvers

CGNS, GASP

$io getFileTypes
This action gets a list of the file types that can export all of the entities of this mode.
$io addEntities ?-path path? entities
This action adds entities to the uninitialized mode.
$io addAllEntities
This action adds all mode appropriate entities from all frameworks to the uninitialized mode.
$io verify
This action verifies the IO mode attributes and the entities of the mode that should be exported.
$io canWrite
This action checks if there is data that will be written out when the write action is used.
$io write
This action writes the file by converting pw::GridEntity objects into the format required for the exported data.
Base type for all grid entities
pw::Application export ?-format file_format? ?-precision fp_precision? ?-noOverwrite? ?-output data_type? ents filename
This action exports CAE data in a format specific to the currently selected analysis software.
Base type for all glyph types
The mode base type
The base IO mode type
pw::Application begin ?-mode_specific_flags? mode ?entities?
This action begins a mode in the application.
A boolean is represented as a 0 or 1, with 0 being false and 1 being true.
A string is an array of characters.
Attributes supported by the ADPAC CaeExport mode.
Attributes supported by the CFDShip-Iowa CaeExport mode.
Attributes supported by the CFL3D CaeExport mode.
Attributes supported by the CNSFV CaeExport mode.
Attributes supported by the Cobalt CaeExport mode.
Attributes supported by the DTNS CaeExport mode.
Attributes supported by the FALCON v3 CaeExport mode.
Attributes supported by the FANS CaeExport mode.
Attributes supported by the FDNS/UNIC CaeExport mode.
Attributes supported by the INCA v2 CaeExport mode.
Attributes supported by the LAURA CaeExport mode.
Attributes supported by the NPARC CaeExport mode.
Attributes supported by the NSAERO CaeExport mode.
Attributes supported by the NSU3D CaeExport mode.
Attributes supported by the OVERFLOW CaeExport mode.
Attributes supported by the TACOMA CaeExport mode.
Attributes supported by the TEAM CaeExport mode.
Attributes supported by the UGRID CaeExport mode.
Attributes supported by the CGNS CaeExport mode.
Attributes supported by the GASP CaeExport mode.
Attributes supported by the Cart3D CaeExport mode.
Attributes supported by the ANSYS CFX CaeExport mode.
Attributes supported by the Edge CaeExport mode.
Attributes supported by the FrontFlow CaeExport mode.
Attributes supported by the Gridgen Generic CaeExport mode.
Attributes supported by the Suggar++ Flex CaeExport mode.
Attributes supported by the TASCflow CaeExport mode.
Attributes supported by the ACUSIM/AcuSolve CaeExport mode.
Attributes supported by the CMSoft-Aero CaeExport mode.
Attributes supported by the Gmsh CaeExport mode.
Attributes supported by the Kestrel CaeExport mode.
Attributes supported by the SC/Tetra CaeExport mode.
Attributes supported by the STAR-CCM+ CaeExport mode.
Attributes supported by the SU2 CaeExport mode.
Attributes supported by the ShipIR CaeExport mode.
Attributes supported by the Tecplot CaeExport mode.
Attributes supported by the WIND (structured) CaeExport mode.
Attributes supported by the WIND (unstructured) CaeExport mode.
Attributes supported by the NASA/FUN3D CaeExport mode.