    

 ## On this page

  

 

 # RACFDCoupling

 Last update: 17.07.2025 

<a id="generated.RACFDCoupling"></a>

### *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`](RAStudy.md#generated.RAStudy):

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

```

**Methods:**

NameDescription[`GetAirFlow`](#generated.RACFDCoupling.GetAirFlow)()Deprecated: Use GetOneWayLBM instead.[`GetCouplingMode`](#generated.RACFDCoupling.GetCouplingMode)()\* **rtype:**  
 unicode[`GetCouplingProcess`](#generated.RACFDCoupling.GetCouplingProcess)()\* **return:**[`GetOneWayLBM`](#generated.RACFDCoupling.GetOneWayLBM)()Get the PrePost Scripting wrapper for 1-Way LBM properties.[`SetupAirFlow`](#generated.RACFDCoupling.SetupAirFlow)()Deprecated: Use SetupOneWayLBM instead.[`SetupCFDConstantOneWayCouplingProcess`](#generated.RACFDCoupling.SetupCFDConstantOneWayCouplingProcess)()Deprecated: Use SetupOneWayConstant instead.[`SetupConstantOneWay`](#generated.RACFDCoupling.SetupConstantOneWay)()Deprecated: Use SetupOneWayConstant instead.[`SetupFluentOneWaySteadyState`](#generated.RACFDCoupling.SetupFluentOneWaySteadyState)(f2r\_filename)Deprecated: Use SetupOneWayFluent instead.[`SetupFluentTwoWay`](#generated.RACFDCoupling.SetupFluentTwoWay)(cas\_filename)Deprecated: Use SetupTwoWayFluent instead.[`SetupFluentTwoWaySemiResolved`](#generated.RACFDCoupling.SetupFluentTwoWaySemiResolved)(cas\_filename)Configure the project to use Fluent Two-Way Semi Resolved.[`SetupNoCoupling`](#generated.RACFDCoupling.SetupNoCoupling)()Configure the project to use no CFD coupling.[`SetupOneWayConstant`](#generated.RACFDCoupling.SetupOneWayConstant)()Configure the project to use 1-Way Constant.[`SetupOneWayFluent`](#generated.RACFDCoupling.SetupOneWayFluent)(f2r\_filename)Configure the project to use 1-Way Fluent.[`SetupOneWayFluentSteadyState`](#generated.RACFDCoupling.SetupOneWayFluentSteadyState)(f2r\_filename)Deprecated: Use SetupOneWayFluent instead.[`SetupOneWayLBM`](#generated.RACFDCoupling.SetupOneWayLBM)()Configure the project to use 1-Way LBM.[`SetupTwoWayFluent`](#generated.RACFDCoupling.SetupTwoWayFluent)(cas\_filename)Configure the project to use 2-Way Fluent.<a id="generated.RACFDCoupling.GetAirFlow"></a>

#### GetAirFlow()

Deprecated: Use GetOneWayLBM instead.

<a id="generated.RACFDCoupling.GetCouplingMode"></a>

#### GetCouplingMode()

- **Return type:**unicode
- **Returns:**The current coupling mode

<a id="generated.RACFDCoupling.GetCouplingProcess"></a>

#### GetCouplingProcess()

- **Returns:**The configured coupling process

<a id="generated.RACFDCoupling.GetOneWayLBM"></a>

#### GetOneWayLBM()

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

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

- **Return type:**[RAAirFlow](RAAirFlow.md#generated.RAAirFlow)

<a id="generated.RACFDCoupling.SetupAirFlow"></a>

#### SetupAirFlow()

Deprecated: Use SetupOneWayLBM instead.

<a id="generated.RACFDCoupling.SetupCFDConstantOneWayCouplingProcess"></a>

#### SetupCFDConstantOneWayCouplingProcess()

Deprecated: Use SetupOneWayConstant instead.

<a id="generated.RACFDCoupling.SetupConstantOneWay"></a>

#### SetupConstantOneWay()

Deprecated: Use SetupOneWayConstant instead.

<a id="generated.RACFDCoupling.SetupFluentOneWaySteadyState"></a>

#### SetupFluentOneWaySteadyState(f2r\_filename)

Deprecated: Use SetupOneWayFluent instead.

<a id="generated.RACFDCoupling.SetupFluentTwoWay"></a>

#### SetupFluentTwoWay(cas\_filename)

Deprecated: Use SetupTwoWayFluent instead.

<a id="generated.RACFDCoupling.SetupFluentTwoWaySemiResolved"></a>

#### SetupFluentTwoWaySemiResolved(cas\_filename: str)

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

- **Parameters:****cas\_filename** – The filename describing the Fluent simulation

<a id="generated.RACFDCoupling.SetupNoCoupling"></a>

#### SetupNoCoupling()

Configure the project to use no CFD coupling.

<a id="generated.RACFDCoupling.SetupOneWayConstant"></a>

#### SetupOneWayConstant()

Configure the project to use 1-Way Constant.

<a id="generated.RACFDCoupling.SetupOneWayFluent"></a>

#### SetupOneWayFluent(f2r\_filename)

Configure the project to use 1-Way Fluent.

- **Parameters:****f2r\_filename** – str The exported file name describing the Fluent simulation

<a id="generated.RACFDCoupling.SetupOneWayFluentSteadyState"></a>

#### SetupOneWayFluentSteadyState(f2r\_filename)

Deprecated: Use SetupOneWayFluent instead.

<a id="generated.RACFDCoupling.SetupOneWayLBM"></a>

#### SetupOneWayLBM()

Configure the project to use 1-Way LBM.

<a id="generated.RACFDCoupling.SetupTwoWayFluent"></a>

#### SetupTwoWayFluent(cas\_filename)

Configure the project to use 2-Way Fluent.

- **Parameters:****cas\_filename** – str The Fluent file name describing the Fluent simulation