Skip to content

adam_turbulence_object ​

ADAM, the [turbulence] section: algebraic subgrid-scale model of a realm (issue #119, T1).

sgs_model = none | vreman | wale | sigma (default none; any other value is fatal), sgs_constant (default 0.07 Vreman, 0.5 WALE, 1.35 Sigma; > 0), prandtl_t (default 0.9; > 0). The app owns the object (a realm component), the field and the selection of the kernel of the model: adam_turbulence_kernels (CPU), adam_fnl_turbulence_kernels (FNL).

Source: src/lib/common/adam_turbulence_object.F90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
SGS_NONEinteger(kind=I4P)parameterNo model.
SGS_VREMAN_MODELinteger(kind=I4P)parameterVreman (2004).
SGS_WALE_MODELinteger(kind=I4P)parameterWALE (Nicoud & Ducros 1999).
SGS_SIGMA_MODELinteger(kind=I4P)parameterSigma (Nicoud et al. 2011).
INI_SECTION_NAMEcharacter(len=10)parameterInput section.

Derived Types ​

turbulence_object ​

Subgrid-scale model parameters.

Components ​

NameTypeAttributesDescription
modelinteger(kind=I4P)Model id.
constantreal(kind=R8P)Model constant.
prandtl_treal(kind=R8P)Turbulent Prandtl number.
is_activelogicalA model is on.

Type-Bound Procedures ​

NameAttributesDescription
descriptionpass(self)Return pretty-printed object description.
load_from_filepass(self)Load the section.

Subroutines ​

load_from_file ​

Load the section: without it, or with sgs_model = none, no model.

fortran
subroutine load_from_file(self, file_parameters)

Arguments

NameTypeIntentAttributesDescription
selfclass(turbulence_object)inoutTurbulence.
file_parameterstype(file_ini)inSimulation parameters ini file handler.

Call graph

Functions ​

description ​

Return a pretty-formatted object description.

Returns: character(len=:)

fortran
function description(self) result(desc)

Arguments

NameTypeIntentAttributesDescription
selfclass(turbulence_object)inTurbulence.

Call graph