Public Types | |
enum | massTransferMode { mtConstantMass, mtCondensation, mtEvaporation, mtCondensationAndEvaporation } |
Modes of mass transfer. More... | |
![]() | |
enum | KMethodType { mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup } |
Type of supplied Kappa. More... | |
Public Member Functions | |
TypeName ("humidityTemperatureCoupledMixed") | |
Runtime type information. More... | |
humidityTemperatureCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
humidityTemperatureCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
humidityTemperatureCoupledMixedFvPatchScalarField (const humidityTemperatureCoupledMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
humidityTemperatureCoupledMixedFvPatchScalarField (const humidityTemperatureCoupledMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const fvPatchScalarField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. More... | |
const scalarField | myKDelta () const |
Return myKDelta. More... | |
const scalarField | mpCpTp () const |
Return mpCpTp. More... | |
const scalarField | dmHfg () const |
Return dmHfg. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
![]() | |
temperatureCoupledBase (const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName) | |
Construct from patch and K name. More... | |
temperatureCoupledBase (const fvPatch &patch, const dictionary &dict) | |
Construct from patch and dictionary. More... | |
temperatureCoupledBase (const fvPatch &patch, const temperatureCoupledBase &base) | |
Construct from patch and temperatureCoupledBase. More... | |
word | KMethod () const |
Method to obtain K. More... | |
const word & | kappaName () const |
Name of thermal conductivity field. More... | |
tmp< scalarField > | kappa (const scalarField &Tp) const |
Given patch temperature calculate corresponding K field. More... | |
void | write (Ostream &) const |
Write. More... | |
Private Member Functions | |
scalar | Sh (const scalar Re, const scalar Sc) const |
Calculation of Sh. More... | |
scalar | htcCondensation (const scalar TSat, const scalar Re) const |
Calculation of htc from the condensed surface. More... | |
volScalarField & | thicknessField (const word &, const fvMesh &) |
Lookup (or create) thickness field for output. More... | |
Private Attributes | |
massTransferMode | mode_ |
Operating mode. More... | |
const word | pName_ |
Name of the pressure field. More... | |
const word | UName_ |
Name of the velocity field. More... | |
const word | rhoName_ |
Name of the density field. More... | |
const word | muName_ |
Name of the dynamic viscosity field. More... | |
const word | TnbrName_ |
Name of temperature field on the neighbour region. More... | |
const word | QrNbrName_ |
Name of the radiative heat flux in the neighbout region. More... | |
const word | QrName_ |
Name of the radiative heat flux field. More... | |
const word | specieName_ |
Name of the species on which the mass transfered (default H2O) More... | |
autoPtr< liquidProperties > | liquid_ |
Liquid properties. More... | |
dictionary | liquidDict_ |
Liquid dictionary. More... | |
scalarField | mass_ |
Mass accumulated on faces. More... | |
scalar | Tvap_ |
Vaporization temperature. More... | |
scalarField | myKDelta_ |
Cache myDelta. More... | |
scalarField | dmHfg_ |
Phase change energy. More... | |
scalarField | mpCpTp_ |
Thermal inertia. More... | |
scalar | Mcomp_ |
Average molecular weight for the carrier mixture in the gas phase. More... | |
scalar | L_ |
Characteristic length scale. More... | |
bool | fluid_ |
Fluid side. More... | |
scalarField | cp_ |
Cp field for inert mode. More... | |
scalarField | thickness_ |
Thickness field for inert mode. More... | |
scalarField | rho_ |
Density field for inert mode. More... | |
Static Private Attributes | |
static const NamedEnum< massTransferMode, 4 > | massModeTypeNames_ |
Additional Inherited Members | |
![]() | |
const fvPatch & | patch_ |
Underlying patch. More... | |
const KMethodType | method_ |
How to get K. More... | |
const word | kappaName_ |
Name of thermal conductivity field (if looked up from database) More... | |
const word | alphaAniName_ |
Name of the non-Isotropic alpha (default: Anialpha) More... | |
![]() | |
static const NamedEnum< KMethodType, 4 > | KMethodTypeNames_ |
Definition at line 180 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
enum massTransferMode |
Modes of mass transfer.
Enumerator | |
---|---|
mtConstantMass | |
mtCondensation | |
mtEvaporation | |
mtCondensationAndEvaporation |
Definition at line 190 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
humidityTemperatureCoupledMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 139 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
humidityTemperatureCoupledMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 213 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References dict, dimensionedInternalField(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, Foam::compressible::New(), Foam::nl, p, readScalar, and scalarField().
humidityTemperatureCoupledMixedFvPatchScalarField | ( | const humidityTemperatureCoupledMixedFvPatchScalarField & | psf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField onto a new patch
Definition at line 177 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
humidityTemperatureCoupledMixedFvPatchScalarField | ( | const humidityTemperatureCoupledMixedFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 338 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
|
private |
Calculation of Sh.
Definition at line 64 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References Foam::cbrt(), Foam::pow(), Foam::Re(), and Foam::sqrt().
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Calculation of htc from the condensed surface.
Definition at line 82 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Lookup (or create) thickness field for output.
Definition at line 100 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References Foam::dimLength, mesh, and tmp::ptr().
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
TypeName | ( | "humidityTemperatureCoupledMixed" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 324 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 344 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
|
virtual |
Map (and resize as needed) from self given a mapping object.
Definition at line 373 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 393 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References humidityTemperatureCoupledMixedFvPatchScalarField::cp_, humidityTemperatureCoupledMixedFvPatchScalarField::dmHfg_, humidityTemperatureCoupledMixedFvPatchScalarField::mass_, humidityTemperatureCoupledMixedFvPatchScalarField::mpCpTp_, humidityTemperatureCoupledMixedFvPatchScalarField::myKDelta_, humidityTemperatureCoupledMixedFvPatchScalarField::rho_, and humidityTemperatureCoupledMixedFvPatchScalarField::thickness_.
|
inline |
Return myKDelta.
Definition at line 378 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
References humidityTemperatureCoupledMixedFvPatchScalarField::myKDelta_.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
inline |
Return mpCpTp.
Definition at line 384 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
References humidityTemperatureCoupledMixedFvPatchScalarField::mpCpTp_.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
inline |
Return dmHfg.
Definition at line 390 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
References humidityTemperatureCoupledMixedFvPatchScalarField::dmHfg_.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 419 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References Foam::constant::atomic::alpha, Foam::constant::physicoChemical::b, GeometricField::boundaryField(), Foam::constant::universal::c, Foam::cp(), humidityTemperatureCoupledMixedFvPatchScalarField::cp_, fvPatch::deltaCoeffs(), dimensionedInternalField(), mappedPatchBase::distribute(), humidityTemperatureCoupledMixedFvPatchScalarField::dmHfg(), humidityTemperatureCoupledMixedFvPatchScalarField::dmHfg_, Foam::endl(), humidityTemperatureCoupledMixedFvPatchScalarField::fluid_, forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), fixedGradientFvPatchField< Type >::gradient(), Foam::gSum(), humidityTemperatureCoupledMixedFvPatchScalarField::htcCondensation(), patchIdentifier::index(), Foam::Info, temperatureCoupledBase::kappa(), humidityTemperatureCoupledMixedFvPatchScalarField::L_, humidityTemperatureCoupledMixedFvPatchScalarField::liquid_, Foam::log(), fvPatch::lookupPatchField(), Foam::mag(), humidityTemperatureCoupledMixedFvPatchScalarField::mass_, Foam::max(), humidityTemperatureCoupledMixedFvPatchScalarField::Mcomp_, mesh, Foam::min(), humidityTemperatureCoupledMixedFvPatchScalarField::mode_, humidityTemperatureCoupledMixedFvPatchScalarField::mpCpTp(), humidityTemperatureCoupledMixedFvPatchScalarField::mpCpTp_, humidityTemperatureCoupledMixedFvPatchScalarField::mtCondensation, humidityTemperatureCoupledMixedFvPatchScalarField::mtCondensationAndEvaporation, humidityTemperatureCoupledMixedFvPatchScalarField::mtConstantMass, humidityTemperatureCoupledMixedFvPatchScalarField::mtEvaporation, humidityTemperatureCoupledMixedFvPatchScalarField::muName_, humidityTemperatureCoupledMixedFvPatchScalarField::myKDelta(), humidityTemperatureCoupledMixedFvPatchScalarField::myKDelta_, fvPatch::name(), IOobject::name(), Foam::nl, fvPatchField< Type >::patchInternalField(), humidityTemperatureCoupledMixedFvPatchScalarField::pName_, pSat, Qr(), humidityTemperatureCoupledMixedFvPatchScalarField::QrName_, humidityTemperatureCoupledMixedFvPatchScalarField::QrNbrName_, Foam::Re(), Foam::refCast(), RH(), humidityTemperatureCoupledMixedFvPatchScalarField::rho_, rhof(), humidityTemperatureCoupledMixedFvPatchScalarField::rhoName_, mappedPatchBase::sampleMesh(), mappedPatchBase::samplePolyPatch(), humidityTemperatureCoupledMixedFvPatchScalarField::Sh(), humidityTemperatureCoupledMixedFvPatchScalarField::specieName_, humidityTemperatureCoupledMixedFvPatchScalarField::thickness_, humidityTemperatureCoupledMixedFvPatchScalarField::thicknessField(), humidityTemperatureCoupledMixedFvPatchScalarField::TnbrName_, humidityTemperatureCoupledMixedFvPatchScalarField::Tvap_, Uf, and humidityTemperatureCoupledMixedFvPatchScalarField::UName_.
|
virtual |
Write.
Definition at line 734 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, token::TAB, write(), temperatureCoupledBase::write(), and Ostream::writeKeyword().
|
staticprivate |
Definition at line 203 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
|
private |
Operating mode.
Definition at line 206 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the pressure field.
Definition at line 212 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the velocity field.
Definition at line 215 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the density field.
Definition at line 218 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the dynamic viscosity field.
Definition at line 221 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of temperature field on the neighbour region.
Definition at line 224 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the radiative heat flux in the neighbout region.
Definition at line 227 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the radiative heat flux field.
Definition at line 230 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the species on which the mass transfered (default H2O)
Definition at line 233 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Liquid properties.
Definition at line 237 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Liquid dictionary.
Definition at line 240 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
|
private |
Mass accumulated on faces.
Definition at line 243 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::rmap(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Vaporization temperature.
Definition at line 246 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Cache myDelta.
Definition at line 249 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::myKDelta(), humidityTemperatureCoupledMixedFvPatchScalarField::rmap(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Phase change energy.
Definition at line 252 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::dmHfg(), humidityTemperatureCoupledMixedFvPatchScalarField::rmap(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Thermal inertia.
Definition at line 255 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::mpCpTp(), humidityTemperatureCoupledMixedFvPatchScalarField::rmap(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Average molecular weight for the carrier mixture in the gas phase.
Definition at line 258 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Characteristic length scale.
Definition at line 261 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Fluid side.
Definition at line 264 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Cp field for inert mode.
Definition at line 267 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::rmap(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Thickness field for inert mode.
Definition at line 270 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::rmap(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Density field for inert mode.
Definition at line 273 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::rmap(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.