Templated abstract base class for laminar thermophysical transport models. More...
Public Types | |
typedef BasicThermophysicalTransportModel::alphaField | alphaField |
typedef BasicThermophysicalTransportModel::momentumTransportModel | momentumTransportModel |
typedef BasicThermophysicalTransportModel::thermoModel | thermoModel |
Public Member Functions | |
TypeName ("laminar") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, laminarThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo)) | |
laminarThermophysicalTransportModel (const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo) | |
Construct from components. More... | |
laminarThermophysicalTransportModel (const laminarThermophysicalTransportModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~laminarThermophysicalTransportModel () |
Destructor. More... | |
virtual bool | read () |
Read model coefficients if they have changed. More... | |
virtual const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
virtual tmp< volScalarField > | kappaEff () const |
Effective thermal turbulent diffusivity for temperature. More... | |
virtual tmp< scalarField > | kappaEff (const label patchi) const |
Effective thermal turbulent diffusivity for temperature. More... | |
virtual tmp< volScalarField > | alphaEff () const |
Effective thermal turbulent diffusivity of mixture [kg/m/s]. More... | |
virtual tmp< scalarField > | alphaEff (const label patchi) const |
Effective thermal turbulent diffusivity of mixture. More... | |
virtual tmp< volScalarField > | DEff (const volScalarField &Yi) const |
Effective mass diffusivity for a given specie mass-fraction [kg/m/s]. More... | |
virtual tmp< scalarField > | DEff (const volScalarField &Yi, const label patchi) const |
Effective mass diffusivity for a given specie mass-fraction. More... | |
virtual void | correct () |
Correct the laminar transport. More... | |
void | operator= (const laminarThermophysicalTransportModel &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< laminarThermophysicalTransportModel > | New (const momentumTransportModel &momentumTransport, const thermoModel &thermo) |
Return a reference to the selected laminar model. More... | |
Protected Member Functions | |
virtual void | printCoeffs (const word &type) |
Print model coefficients. More... | |
Protected Attributes | |
dictionary | laminarDict_ |
laminar coefficients dictionary More... | |
Switch | printCoeffs_ |
Flag to print the model coeffs at run-time. More... | |
dictionary | coeffDict_ |
Model coefficients dictionary. More... | |
Templated abstract base class for laminar thermophysical transport models.
Definition at line 49 of file laminarThermophysicalTransportModel.H.
typedef BasicThermophysicalTransportModel::alphaField alphaField |
Definition at line 77 of file laminarThermophysicalTransportModel.H.
typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel |
Definition at line 80 of file laminarThermophysicalTransportModel.H.
typedef BasicThermophysicalTransportModel::thermoModel thermoModel |
Definition at line 83 of file laminarThermophysicalTransportModel.H.
laminarThermophysicalTransportModel | ( | const word & | type, |
const momentumTransportModel & | momentumTransport, | ||
const thermoModel & | thermo | ||
) |
Construct from components.
Definition at line 53 of file laminarThermophysicalTransportModel.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), Foam::compressible::New(), Foam::nl, dictionary::subDict(), and thermo.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 133 of file laminarThermophysicalTransportModel.H.
References laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::read().
|
protectedvirtual |
Print model coefficients.
Definition at line 36 of file laminarThermophysicalTransportModel.C.
References Foam::endl(), and Foam::Info.
TypeName | ( | "laminar" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
laminarThermophysicalTransportModel< BasicThermophysicalTransportModel > | , | ||
dictionary | , | ||
(const momentumTransportModel &momentumTransport, const thermoModel &thermo) | , | ||
(momentumTransport, thermo) | |||
) |
|
static |
Return a reference to the selected laminar model.
|
virtual |
Read model coefficients if they have changed.
Reimplemented in Fourier< BasicThermophysicalTransportModel >.
Definition at line 149 of file laminarThermophysicalTransportModel.C.
References Foam::blockMeshTools::read(), and Foam::type().
Referenced by laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::~laminarThermophysicalTransportModel().
|
inlinevirtual |
Const access to the coefficients dictionary.
Reimplemented in Fourier< BasicThermophysicalTransportModel >.
Definition at line 143 of file laminarThermophysicalTransportModel.H.
References laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict_, Foam::constant::electromagnetic::kappa, laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::kappaEff(), GeometricField< scalar, fvPatchField, volMesh >::New(), patchi, and thermo.
|
inlinevirtual |
Effective thermal turbulent diffusivity for temperature.
of mixture [W/m/K]
Definition at line 150 of file laminarThermophysicalTransportModel.H.
Referenced by laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict().
|
inlinevirtual |
Effective thermal turbulent diffusivity for temperature.
of mixture for patch [W/m/K]
Definition at line 161 of file laminarThermophysicalTransportModel.H.
|
inlinevirtual |
Effective thermal turbulent diffusivity of mixture [kg/m/s].
Definition at line 167 of file laminarThermophysicalTransportModel.H.
References GeometricField< scalar, fvPatchField, volMesh >::New(), and thermo.
Referenced by laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::DEff().
|
inlinevirtual |
Effective thermal turbulent diffusivity of mixture.
for patch [kg/m/s]
Definition at line 178 of file laminarThermophysicalTransportModel.H.
|
inlinevirtual |
Effective mass diffusivity for a given specie mass-fraction [kg/m/s].
Definition at line 184 of file laminarThermophysicalTransportModel.H.
References laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::alphaEff(), and GeometricField< scalar, fvPatchField, volMesh >::New().
|
inlinevirtual |
Effective mass diffusivity for a given specie mass-fraction.
for patch [kg/m/s]
Definition at line 196 of file laminarThermophysicalTransportModel.H.
References laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::alphaEff(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::correct(), and laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::operator=().
|
virtual |
Correct the laminar transport.
Reimplemented in Fourier< BasicThermophysicalTransportModel >.
Definition at line 170 of file laminarThermophysicalTransportModel.C.
References correct.
Referenced by laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::DEff().
|
delete |
Disallow default bitwise assignment.
Referenced by laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::DEff().
|
protected |
laminar coefficients dictionary
Definition at line 59 of file laminarThermophysicalTransportModel.H.
|
protected |
Flag to print the model coeffs at run-time.
Definition at line 62 of file laminarThermophysicalTransportModel.H.
|
protected |
Model coefficients dictionary.
Definition at line 65 of file laminarThermophysicalTransportModel.H.
Referenced by laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict().