FLUENT Solution

FLUENT Solution
This container holds Solution data for an instance of FLUENT.

Methods

Continue

Continue solving from current solution. This command should only be used when the Solution component is either Interrupted or Up-to-Date.


CopyLauncherSettings

Copies the FLUENT Launcher Settings from one FLUENT Setup or Solution container to another FLUENT Setup or Solution container.


Edit

Opens the FLUENT editor to allow modification of FLUENT data.

This command will open the editor only if one is not already open on this system. If this system’s editor is already open and in interactive mode, then it will be raised to the front.


Exit

Exits the FLUENT editor.

If no editor is open on the component in question, this command will have no effect.


GenerateFluentReportContent

Generate the report fluent solution container.

Required Arguments

Container    Container reference
    Type     DataContainerReference

GetComponentSettingsForRsmDpUpdate

This query is used to obtain the ComponentSettingsForRsmDpUpdate object for Journaling and Scripting


GetConvergenceChart

Returns the convergence chart of a given name in a container.

Return     The convergence chart that matches the specified name.
    Type     DataReference

Required Arguments

Name    The name of the convergence chart.
    Type     string

GetConvergenceCharts

Returns the collection of convergence charts in a container. If no convergence charts are in the container, the collection is empty.

Return     Collection of the convergence charts in the container.
    Type     DataReferenceSet

GetFluentLauncherSettings

Returns the Data Entity which contains the Setup container's settings for the FLUENT Launcher.


GetFluentSolutionProperties

Returns the Data Entity which manages settings and data for the FLUENT Solution component.


GetSolutionSettings

This query is used to obtain the component solve settings object for Journaling and Scripting


ImportInitialData

Imports an existing FLUENT .dat file as initial conditions for the FLUENT editor.

Discards the currently available Solution Data (and all stored previous solution points).


MarkUpdateRequired

Accepts an interrupted Solution as Update Required.

As a result of this command, the Solution will be marked Update Required.


MarkUpToDate

Accepts an interrupted Solution as Up-to-Date.

The specified Solution component should be in Interrupted state. As a result of this command, the Solution will be marked Up-to-date.


SendCommand

Execute a scheme, FLUENT GUI, or FLUENT TUI command(s) in the currently open FLUENT session. FLUENT GUI commands cannot be run if the currently open FLUENT session is running in no GUI mode.

If the FLUENT editor is not open, it will throw an error message suggesting to start editor first.

Example

The following code shows how to execute the commands in a FLUENT journal file:

    >> setup1.SendCommand(Command="/file/read-journal \"E:\\WB Projects\\Fluent Case-Data Files\elbow.jou\" " )


Data Entities

AxisContinuous

Data entity for Scenegraph axis.

Properties

AutomaticRange

Boolean var for Automatic Range

Type     bool
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
QuantityName

Name of the quantity being plotted at this axis

Type     XAxisQuantity
Read Only    No
RangeMaximum

Max value of quantity at this axis

Type     double
Read Only    No
RangeMinimum

Min value of quantity at this axis

Type     double
Read Only    No
Scale

Scale of this axis

Type     Scale
Read Only    No
Title

Title of the axis

Type     string
Read Only    No

ChartVariable

Entity representing a variable in Convergence Chart

Properties

Color

Color of the curve represnting this variable entity.

Type     Color
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
LineWidth

Line width of the curve represnting this variable entity.

Type     float
Read Only    No
QuantityName

The variable quantity to display.

Type     string
Read Only    No
SymbolSize

Symbol size of the points on the curve.

Type     uint
Read Only    No

Methods

DeleteChartVariable

Deletes a specified chart variable.


ChartVariableData

Entity representing a variable in Convergence Chart

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
VariableDimension

Dimentions in string format

Type     string
Read Only    No
VariableIndex

A integer: variable index of given MonitorChartType

Type     int
Read Only    No
VariableType

MonitorChartType: Residual or UserDefined, an enum

Type     MonitorChartType
Read Only    No

ComponentSolveSettingsForAddin

This class contains the solve settings for Addin solution components to use

Properties

ConfiguredQueue

A configured queue used for new RSM architecture

Type     string
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
EnablePolling

whether enable polling during remote solve

Type     bool
Read Only    No
ExecutionMode

execution mode

Type     string
Read Only    No
NumberOfProcesses

number of processes for parallel solve

Type     int
Read Only    No
PollingInterval

polling internal during remote solve

Type     Quantity
Read Only    No
RsmJobName

RSM job name

Type     string
Read Only    No
RsmQueueDetails

Configured queue details

Type     RsmQueueDetails
Read Only    No
UpdateOption

Update mode

Type     JobRunMode
Read Only    No

ConvergenceChart

Entity to store a convergence chart information.

Properties

AxisX

Associated X Axis

Type     DataReference
Read Only    No
AxisY

Associated Y Axis

Type     DataReference
Read Only    No
ChartType

MonitorChartType: Residual or UserDefined

Type     MonitorChartType
Read Only    No
Variables

Collection of variables to be plotted.

Type     DataReferenceSet
Read Only    No
XAxis

Label for the x-axis/Horizontal Axis.

Type     string
Read Only    No

Methods

GetAxis

Returns the axis for a specified convergence chart

Return     The axis
    Type     DataReference

Required Arguments

Name    Name of the Axis
    Type     string
GetChartVariable

Returns the chart variable of a given name from a convergence chart

Return     The chart variable that matches the specified name.
    Type     DataReference

Required Arguments

Name    The name of the chart variable.
    Type     string
GetChartVariables

Returns the collection of chart variables for a given convergence chart

Return     A collection of the variables in the chart.
    Type     DataReferenceSet

FluentLauncherSettings

Allows you to specify FLUENT Launcher settings for Fluent Setup/Solution cells.

Properties

CachePassword

Specify whether or not you want to save the HP-MPI password for later use.

Type     bool
Read Only    No
ClusterHeadNode

Specify the name of the compute cluster head node.

This property is only available on Windows.

Type    string
Read Only    No
ClusterJobTemplate

A custom submission policy created by an IT administrator to define the job parameters for an application and employed by the cluster users to submit jobs. Relevant for Microsoft Job Scheduler.

Type     string
Read Only    No
ClusterNodeGroup

Used to set specific node group(s) on which to run the job. Relevant for Microsoft Job Scheduler.

Type     string
Read Only    No
ClusterProcessorUnit

Select the unit type (node/socket/core) on which the job would be running. Relevant for Microsoft Job Scheduler.

Type     ProcessorUnit
Read Only    No
ConvertUNCPath

Specify whether or not to convert a local path to a UNC path if any matching shared directory is found.

Type     bool
Read Only    No
CreateJobSubmissionXML

Specify whether or not to create the job submission XML file.

This property is only available on Windows.

Type    bool
Read Only    No
DisplayMesh

Specify whether or not to show the mesh after the mesh file or the case/data file has been read into FLUENT.

Type     bool
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
EmbedGraphicsWindows

Specify whether or not to embed the graphics windows in the FLUENT application window, or to have the graphics windows free-standing.

Type     bool
Read Only    No
EnvPath

Specify the list of environment variables to set before starting FLUENT.

Type     Dictionary<string, string>
Read Only    No
Initialization

Specify which initialization method to use.

Type     InitializationMethods
Read Only    No
InitSolutionDataFile

Spepcify the solution data file to be used for initializing the solution.

Type     string
Read Only    No
Interconnect

Specify the interconnect that you wish to use for parallel calculations

(e.g., ethernet, infiniband, etc.).

Type    string
Read Only    No
JobScheduler

Use available Resource Manager (LSF, SGE, PBSPro) to launch FLUENT job

This property is only available when using compute nodes on Linux.

Type    SchedulerSpecification
Read Only    No
JobSubmissionXmlFile

Specify the name of the job submission XML file.

This property is only available on Windows.

Type    string
Read Only    No
LoadACTStartPage

Specify whether or not to show ACt Start Page.

Type     bool
Read Only    No
LSFCheckpointPeriod

Specify the interval of automatic checkpointing for LSF.

This property is only available when using compute nodes on Linux.

Type    int
Read Only    No
LSFQueue

Specify the name of the LSF queue.

This property is only available when using compute nodes on Linux.

Type    string
Read Only    No
LSFUseAutomaticCheckpointing

Specify whether or not you want to use automatic checkpointing with LSF. The specific interval for checkpointing is determined by the LSFCheckpointPeriod property.

This property is only available when using compute nodes on Linux.

Type    bool
Read Only    No
MachineFileName

Specify the name of the file that contains a list of machine names to run the parallel job.

Type     string
Read Only    No
MachineList

Specify a list of machine names to run the parallel job.

Type     string
Read Only    No
MachineSpec

Specify a list of machine names, or a file that contains machine names.

Type     MachineSpecification
Read Only    No
MpiType

Specify the MPI type that you wish to use for the parallel calculations

(e.g., ibmmpi, intel, etc.).

Type    string
Read Only    No
NumberOfProcessors

Specify the number of processors you wish to use for the parallel calculations (e.g., 2, 4, etc.).

Type     int
Read Only    No
NumberOfProcessorsMeshing

Specify the number of processors you wish to use for the meshing parallel calculations (e.g., 2, 4, etc.).

Type     int
Read Only    No
Precision

Specify whether to use the single-precision or the double-precision solver.

Type     CasePrecision
Read Only    No
PrePostOnly

Specify whether or not you want to run FLUENT in PrePost mode, which only allows you to set up or postprocess a problem (i.e., no calculations can be performed)

Type     bool
Read Only    No
RemoteFluentRootPath

Specify the root path of the remote FLUENT Linux installation.

This property is only available on Windows.

Type    string
Read Only    No
RemoteHostName

Specify the name of the head machine on the remote Linux cluster.

This property is only available on Windows.

Type    string
Read Only    No
RemoteRshCommand

Specify the command to connect to the remote node (the default is SSH).

This property is only available on Windows.

Type    RshSpecification
Read Only    No
RemoteRshOtherCommand

Specify the custom SSH spawn command used to connect to the remote Linux machine.

This property is only available on Windows.

Type    string
Read Only    No
RemoteRunOnLinux

Specify whether or not you want to run your FLUENT simulation on 64-bit Linux machines.

This property is only available on Windows.

Type    bool
Read Only    No
RemoteUseHost

Specify whether or not to use the remote cluster head node that FLUENT will connect to for spawning (e.g., via rsh or ssh).

Use the RemoteHostName property to specify the name of the remote cluster head node.

This property is only available on Windows.

Type    bool
Read Only    No
RemoteUseWorkingDirectory

Specify whether or not to use a working directory for remote Linux nodes.

Use the RemoteWorkingDirectory property to specify the name of the working directory.

This property is only available on Windows.

Type    bool
Read Only    No
RemoteWorkingDirectory

Specify the name of the working directory for remote Linux nodes.

This property is only available on Windows.

Type    string
Read Only    No
RunParallel

Specify whether or not you want to run the parallel version of FLUENT.

Type     bool
Read Only    No
SetupCompilationEnvironment

Specify whether or not you want to define settings for compiling user-defined functions (UDFs) with FLUENT.

This property is only available on Windows.

Type    bool
Read Only    No
SGEPE

Specify the SGE parallel environment where you want to submit your FLUENT jobs.

This property is only available when using compute nodes on Linux.

Type    string
Read Only    No
SGEQMaster

Specify the name of the Qmaster host.

This property is only available when using compute nodes on Linux.

Type    string
Read Only    No
SGEQueue

Specify the name of the queue where you want to submit your FLUENT jobs.

This property is only available when using compute nodes on Linux.

Type    string
Read Only    No
SGESettings

Specify SGE Settings to be used

This property is only available when using compute nodes on Linux.

Type    string
Read Only    No
SGEUseSettings

Specify whether or not to use the specified SGE Settings.

Use the SGESettings property to specify the SGE Settings.

This property is only available when using compute nodes on Linux.

Type    bool
Read Only    No
ShowLauncher

Specify whether or not to show FLUENT Launcher when FLUENT starts.

Type     bool
Read Only    No
SLURMAccount

Specify the name of the SLURM Account.

This property is only available when using compute nodes on Linux.

Type    string
Read Only    No
SLURMPartition

Specify the name of the SLURM Partition.

This property is only available when using compute nodes on Linux.

Type    string
Read Only    No
SLURMSubmissionHost

Specify the name of the SLURM Submission host.

This property is only available when using compute nodes on Linux.

Type    string
Read Only    No
StartWhenResourcesAvailable

Specify whether or not to start the FLUENT job when resources are available.

This property is only available on Windows.

Type    bool
Read Only    No
UDFPath

Specify the path to the UDF compilation script (available when SetupCompilationEnvironment is TRUE).

This property is only available on Windows.

Type    string
Read Only    No
UseJobScheduler

Specify whether or not to use a job scheduler to run FLUENT jobs.

Type     bool
Read Only    No
UseLSFCheckpoint

Specify whether or not to use LSF checkpointing.

This property is only available when using compute nodes on Linux.

Type    bool
Read Only    No
UseLSFQueue

Specify whether or not to use the LSF queue.

This property is only available when using compute nodes on Linux.

Type    bool
Read Only    No
UseSharedMemory

Specify whether or not to use shared memory on the local machine or to use distributed memory on a cluster.

Type     bool
Read Only    No
UseUpstreamLauncherSettings

Specify whether or not the current system's Solution cell should use FLUENT Launcher's property settings from the current system's Setup cell.

Type     bool
Read Only    No
WorkbenchColorScheme

Specify whether or not to use the Workbench color scheme in the graphics window, or the classic black background color.

Type     bool
Read Only    No

FluentSolutionProperties

Entity that manages settings and data for the FLUENT Solution component.

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
EnableDataInterpolation

It allows to generate the interpolation file at the end of calculation. It can be used as inial data for next calculation even if inout mesh data has changed.

Type     bool
Read Only    No
EnableSolutionMonitoring

It allows to generate the solution monitoring data which can be viewed using commands at Solution cell.

Type     bool
Read Only    No
GeneratePlotImages

It allows to generate the solution monitoring plot images.

Type     bool
Read Only    No
GeneratePostProcessingImages

It allows to generate the image files at the end of calculation for fluent post processing objects.

Type     bool
Read Only    No