*cfdoutput

Writes a CFD output deck.

Syntax

*cfdoutput output_file format solver use_existing existing_file string_array number_of_strings

Type

HyperMesh Tcl Modify

Description

This command writes a CFD output deck.

Inputs

output_file
The full name and path of the output file.
format
The format of the output file. Valid values are ASCII and BINARY.
solver
The solver to export for. Valid values are FLUENT and SC-TETRA.
use_existing
A flag that indicates whether to use an existing solver deck's information during export.
  • 0 - Do not use an existing deck.
  • 1 - Use an existing deck. existing_file must be specified.
existing_file
The full name and path of the existing solver deck file. This is ignored, if use_existing is 0.
string_array
The ID of the string array that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.

Examples

To export the displayed entities to a Fluent ASCII file, using an existing solver deck:
*createstringarray 1 "Model_Dimension: mm"
*cfdoutput C:/temp/fluent.out ASCII FLUENT 1 C:/temp/fluent_existing.out 1 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}