DetachedEddySimulation#

class DetachedEddySimulation[source]#

Bases: Flow360BaseModel

DetachedEddySimulation class is used for running hybrid RANS-LES simulations It is supported for both SpalartAllmaras and kOmegaSST turbulence models, with and without AmplificationFactorTransport transition model enabled.”

Example

>>> fl.SpalartAllmaras(
...     hybrid_model = DetachedEddySimulation(shielding_function = 'ZDES', grid_size_for_LES = 'maxEdgeLength')
... )

Attributes

shielding_function: Literal['DDES', 'ZDES']#

Specifies the type of shielding used for the detached eddy simulation. The allowed inputs are DDES (Delayed Detached Eddy Simulation proposed by Spalart 2006) and ZDES (proposed by Deck and Renard 2020).

Default:

'DDES'

grid_size_for_LES: Literal['maxEdgeLength', 'meanEdgeLength', 'shearLayerAdapted']#

Specifies the length used for the computation of LES length scale. The allowed inputs are maxEdgeLength, meanEdgeLength and shearLayerAdapted.

Default:

'maxEdgeLength'

Additional Constructors

classmethod from_file(filename)#

Load a Flow360BaseModel from a .json file.

Parameters:

filename (str)

Return type:

Flow360BaseModel

Methods

help(methods=False)#

Print fields and methods of a Flow360BaseModel using rich.

Parameters:

methods (bool)

Return type:

None

to_file(filename, **kwargs)#

Export Flow360BaseModel instance to a .json file.

Parameters:
Return type:

None