This boundary condition provides a wall constraint on the kinematic turbulent thermal conductivity (i.e. alphat
) for atmospheric boundary layer modelling. It assumes a logarithmic distribution of the potential temperature within the first cell.
More...
Protected Member Functions | |
virtual void | checkType () |
Protected Attributes | |
const scalar | Cmu_ |
const scalar | kappa_ |
autoPtr< Function1< scalar > > | Pr_ |
autoPtr< PatchFunction1< scalar > > | Prt_ |
autoPtr< PatchFunction1< scalar > > | z0_ |
Static Protected Attributes | |
static scalar | tolerance_ = 0.01 |
static label | maxIters_ = 10 |
This boundary condition provides a wall constraint on the kinematic turbulent thermal conductivity (i.e. alphat
) for atmospheric boundary layer modelling. It assumes a logarithmic distribution of the potential temperature within the first cell.
alphat | Kinematic turbulent thermal conductivity [m2/s]
<patchName> { // Mandatory entries (unmodifiable) type atmAlphatkWallFunction; // Mandatory entries (runtime modifiable) Pr 0.90; Prt uniform 0.85; z0 uniform 0.001; // Optional entries (unmodifiable) Cmu 0.09; kappa 0.41; // Optional (inherited) entries ... }
where the entries mean:
Property | Description | Type | Reqd | Dflt |
---|---|---|---|---|
type | Type name: atmAlphatkWallFunction | word | yes | - |
Pr | Molecular Prandtl number | Function1<scalar> | yes | - |
Prt | Turbulent Prandtl number | PatchFunction1<scalar> | yes | - |
z0 | Surface roughness length [m] | PatchFunction1<scalar> | yes | - |
Cmu | Empirical model constant | scalar | no | 0.09 |
kappa | von Kármán constant | scalar | no | 0.41 |
The inherited entries are elaborated in:
Definition at line 145 of file atmAlphatkWallFunctionFvPatchScalarField.H.
atmAlphatkWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 61 of file atmAlphatkWallFunctionFvPatchScalarField.C.
Referenced by atmAlphatkWallFunctionFvPatchScalarField::clone().
atmAlphatkWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 99 of file atmAlphatkWallFunctionFvPatchScalarField.C.
atmAlphatkWallFunctionFvPatchScalarField | ( | const atmAlphatkWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 79 of file atmAlphatkWallFunctionFvPatchScalarField.C.
Definition at line 134 of file atmAlphatkWallFunctionFvPatchScalarField.C.
atmAlphatkWallFunctionFvPatchScalarField | ( | const atmAlphatkWallFunctionFvPatchScalarField & | wfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 151 of file atmAlphatkWallFunctionFvPatchScalarField.C.
|
protectedvirtual |
Definition at line 43 of file atmAlphatkWallFunctionFvPatchScalarField.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::foamVersion::patch.
TypeName | ( | "atmAlphatkWallFunction" | ) |
|
inlinevirtual |
Definition at line 222 of file atmAlphatkWallFunctionFvPatchScalarField.H.
References atmAlphatkWallFunctionFvPatchScalarField::atmAlphatkWallFunctionFvPatchScalarField().
|
inlinevirtual |
Definition at line 239 of file atmAlphatkWallFunctionFvPatchScalarField.H.
References atmAlphatkWallFunctionFvPatchScalarField::atmAlphatkWallFunctionFvPatchScalarField().
|
virtual |
Definition at line 169 of file atmAlphatkWallFunctionFvPatchScalarField.C.
References atmAlphatkWallFunctionFvPatchScalarField::Cmu_, Foam::constant::electromagnetic::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::constant::atomic::group, IOobject::groupName(), k, atmAlphatkWallFunctionFvPatchScalarField::kappa_, Foam::log(), Foam::max(), Foam::foamVersion::patch, Foam::pow025(), Pr(), atmAlphatkWallFunctionFvPatchScalarField::Pr_, turbulenceModel::propertiesName, Prt(), atmAlphatkWallFunctionFvPatchScalarField::Prt_, Foam::sqrt(), fvPatchField< Type >::updateCoeffs(), y, and atmAlphatkWallFunctionFvPatchScalarField::z0_.
|
virtual |
Definition at line 254 of file atmAlphatkWallFunctionFvPatchScalarField.C.
|
virtual |
Definition at line 265 of file atmAlphatkWallFunctionFvPatchScalarField.C.
References atmAlphatkWallFunctionFvPatchScalarField::Prt_, and atmAlphatkWallFunctionFvPatchScalarField::z0_.
|
virtual |
Definition at line 280 of file atmAlphatkWallFunctionFvPatchScalarField.C.
References atmAlphatkWallFunctionFvPatchScalarField::Cmu_, atmAlphatkWallFunctionFvPatchScalarField::kappa_, os(), atmAlphatkWallFunctionFvPatchScalarField::Pr_, atmAlphatkWallFunctionFvPatchScalarField::Prt_, fvPatchField::write(), and atmAlphatkWallFunctionFvPatchScalarField::z0_.
|
protected |
Definition at line 154 of file atmAlphatkWallFunctionFvPatchScalarField.H.
Referenced by atmAlphatkWallFunctionFvPatchScalarField::updateCoeffs(), and atmAlphatkWallFunctionFvPatchScalarField::write().
|
protected |
Definition at line 157 of file atmAlphatkWallFunctionFvPatchScalarField.H.
Referenced by atmAlphatkWallFunctionFvPatchScalarField::updateCoeffs(), and atmAlphatkWallFunctionFvPatchScalarField::write().
Definition at line 160 of file atmAlphatkWallFunctionFvPatchScalarField.H.
Referenced by atmAlphatkWallFunctionFvPatchScalarField::updateCoeffs(), and atmAlphatkWallFunctionFvPatchScalarField::write().
|
protected |
Definition at line 163 of file atmAlphatkWallFunctionFvPatchScalarField.H.
Referenced by atmAlphatkWallFunctionFvPatchScalarField::rmap(), atmAlphatkWallFunctionFvPatchScalarField::updateCoeffs(), and atmAlphatkWallFunctionFvPatchScalarField::write().
|
protected |
Definition at line 166 of file atmAlphatkWallFunctionFvPatchScalarField.H.
Referenced by atmAlphatkWallFunctionFvPatchScalarField::rmap(), atmAlphatkWallFunctionFvPatchScalarField::updateCoeffs(), and atmAlphatkWallFunctionFvPatchScalarField::write().
|
staticprotected |
Definition at line 171 of file atmAlphatkWallFunctionFvPatchScalarField.H.
|
staticprotected |
Definition at line 172 of file atmAlphatkWallFunctionFvPatchScalarField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.