Skip to main content

Rocky PrePost scripting 2026 R1

RAFluentSemiResolvedCoupling

Last update: 23.02.2026

class RAFluentSemiResolvedCoupling

PrePost Scripting wrapper class for the Fluent Two-Way Semi Resolved coupling mode

Methods:

Name Description
GetCouplingFilesKept() Get the value of "Coupling Files Kept".
GetFluentAdditionalArgs() Get the value of "Fluent Additional Args".
GetFluentExecutionMode() Get "Fluent Execution Mode" as a string.
GetFluentOutputFrequencyMultiplier() Get the value of "Fluent Output Frequency Multiplier".
GetFluentReleases() Get a list of available Fluent releases.
GetFluentSolverProcesses() Get the value of "Fluent Solver Processes".
GetFluentVersion() Get the value of "Version".
GetUseDatInitialization() Get the value of "Use Dat Initialization".
GetValidFluentExecutionModeValues() Get a list of all possible values for "Fluent Execution Mode".
SetCouplingFilesKept(value) Set the value of "Coupling Files Kept".
SetFluentAdditionalArgs(value) Set the value of "Fluent Additional Args".
SetFluentExecutionMode(value) Set the value of "Fluent Execution Mode".
SetFluentOutputFrequencyMultiplier(value) Set the value of "Fluent Output Frequency Multiplier".
SetFluentSolverProcesses(value) Set the value of "Fluent Solver Processes".
SetFluentVersion(fluent_version) Set the Ansys Fluent version to be used in CFD coupling (deprecated).
SetPartIdIfValid() Set the process' part id (unused for now)
SetUseDatInitialization(value) Set the value of "Use Dat Initialization".
SetupStoreFiles(cas_filename[, case_config]) Copies CAS file to Rocky's project folder and update Fluent info

GetCouplingFilesKept()

Get the value of “Coupling Files Kept”.

GetFluentAdditionalArgs()

Get the value of “Fluent Additional Args”.

GetFluentExecutionMode()

Get “Fluent Execution Mode” as a string.

  • Returns: The returned value will be one of [‘serial’, ‘local_parallel’, ‘distributed_parallel’].

GetFluentOutputFrequencyMultiplier()

Get the value of “Fluent Output Frequency Multiplier”.

GetFluentReleases()

Get a list of available Fluent releases.

  • Return type: list(unicode)
  • Returns: The list of available Fluent releases

GetFluentSolverProcesses()

Get the value of “Fluent Solver Processes”.

GetFluentVersion()

Get the value of “Version”.

  • Return type: str

GetUseDatInitialization()

Get the value of “Use Dat Initialization”.

GetValidFluentExecutionModeValues()

Get a list of all possible values for “Fluent Execution Mode”.

  • Returns: The returned list is [‘serial’, ‘local_parallel’, ‘distributed_parallel’].

SetCouplingFilesKept(value: str | int)

Set the value of “Coupling Files Kept”.

  • Parameters: value – The value to set. This value can be an expression with input variables or int type.

SetFluentAdditionalArgs(value: str)

Set the value of “Fluent Additional Args”.

  • Parameters: value – The value to set.

SetFluentExecutionMode(value: str)

Set the value of “Fluent Execution Mode”.

  • Parameters: value – The value to set. Must be one of [‘serial’, ‘local_parallel’, ‘distributed_parallel’].
  • Raises: RockyApiError – If value is not a valid “Fluent Execution Mode” option.

SetFluentOutputFrequencyMultiplier(value: str | int)

Set the value of “Fluent Output Frequency Multiplier”.

  • Parameters: value – The value to set. This value can be an expression with input variables or int type.

SetFluentSolverProcesses(value: str | int)

Set the value of “Fluent Solver Processes”.

  • Parameters: value – The value to set. This value can be an expression with input variables or int type.

SetFluentVersion(fluent_version: str)

Set the Ansys Fluent version to be used in CFD coupling (deprecated).

Currently, it’s not possible to change the version of Ansys Fluent used for CFD coupling. This method is being kept for backward compatibility (and also because there’s a chance of this feature to be brought back in future version).

SetPartIdIfValid()

Set the process’ part id (unused for now)

SetUseDatInitialization(value: bool)

Set the value of “Use Dat Initialization”.

  • Parameters: value – The value to set.

SetupStoreFiles(cas_filename: str, case_config: FluentCaseConfig | None = None)

Copies CAS file to Rocky’s project folder and update Fluent info

Connect with Ansys