Skip to main content

Rocky PrePost scripting 2025 R1

RACFDCoupling

Last update: 17.07.2025

class RACFDCoupling

Rocky PrePost Scripting wrapper to configure the CFD coupling mode in a project.

This wrapper can be accessed directly via the project’s RAStudy:

cfd_coupling = study.GetCFDCoupling()
cfd_coupling.SetupFluentTwoWay('fluent.cas')
two_way_process = cfd_coupling.GetCouplingProcess()

Methods:

Name Description
GetAirFlow() Deprecated: Use GetOneWayLBM instead.
GetCouplingMode() * rtype:
unicode
GetCouplingProcess() * return:
GetOneWayLBM() Get the PrePost Scripting wrapper for 1-Way LBM properties.
SetupAirFlow() Deprecated: Use SetupOneWayLBM instead.
SetupCFDConstantOneWayCouplingProcess() Deprecated: Use SetupOneWayConstant instead.
SetupConstantOneWay() Deprecated: Use SetupOneWayConstant instead.
SetupFluentOneWaySteadyState(f2r_filename) Deprecated: Use SetupOneWayFluent instead.
SetupFluentTwoWay(cas_filename) Deprecated: Use SetupTwoWayFluent instead.
SetupFluentTwoWaySemiResolved(cas_filename) Configure the project to use Fluent Two-Way Semi Resolved.
SetupNoCoupling() Configure the project to use no CFD coupling.
SetupOneWayConstant() Configure the project to use 1-Way Constant.
SetupOneWayFluent(f2r_filename) Configure the project to use 1-Way Fluent.
SetupOneWayFluentSteadyState(f2r_filename) Deprecated: Use SetupOneWayFluent instead.
SetupOneWayLBM() Configure the project to use 1-Way LBM.
SetupTwoWayFluent(cas_filename) Configure the project to use 2-Way Fluent.

GetAirFlow()

Deprecated: Use GetOneWayLBM instead.

GetCouplingMode()

  • Return type: unicode
  • Returns: The current coupling mode

GetCouplingProcess()

  • Returns: The configured coupling process

GetOneWayLBM()

Get the PrePost Scripting wrapper for 1-Way LBM properties.

Returns None if the current CFD coupling mode isn’t Air Flow.

SetupAirFlow()

Deprecated: Use SetupOneWayLBM instead.

SetupCFDConstantOneWayCouplingProcess()

Deprecated: Use SetupOneWayConstant instead.

SetupConstantOneWay()

Deprecated: Use SetupOneWayConstant instead.

SetupFluentOneWaySteadyState(f2r_filename)

Deprecated: Use SetupOneWayFluent instead.

SetupFluentTwoWay(cas_filename)

Deprecated: Use SetupTwoWayFluent instead.

SetupFluentTwoWaySemiResolved(cas_filename: str)

Configure the project to use Fluent Two-Way Semi Resolved.

  • Parameters: cas_filename – The filename describing the Fluent simulation

SetupNoCoupling()

Configure the project to use no CFD coupling.

SetupOneWayConstant()

Configure the project to use 1-Way Constant.

SetupOneWayFluent(f2r_filename)

Configure the project to use 1-Way Fluent.

  • Parameters: f2r_filename – str The exported file name describing the Fluent simulation

SetupOneWayFluentSteadyState(f2r_filename)

Deprecated: Use SetupOneWayFluent instead.

SetupOneWayLBM()

Configure the project to use 1-Way LBM.

SetupTwoWayFluent(cas_filename)

Configure the project to use 2-Way Fluent.

  • Parameters: cas_filename – str The Fluent file name describing the Fluent simulation

Connect with Ansys