Public Types | |
enum | massTransferMode { mtConstantMass, mtCondensation, mtEvaporation, mtCondensationAndEvaporation } |
Modes of mass transfer. More... | |
Public Types inherited from temperatureCoupledBase | |
enum | KMethodType { mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup, mtFunction } |
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... | |
humidityTemperatureCoupledMixedFvPatchScalarField (const humidityTemperatureCoupledMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchField< scalar > > | clone () const |
Return a clone. More... | |
virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Clone with an 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... | |
Public Member Functions inherited from temperatureCoupledBase | |
temperatureCoupledBase (const fvPatch &patch, const KMethodType method=KMethodType::mtFluidThermo) | |
Default construct from patch, using fluidThermo (default) or specified method. More... | |
temperatureCoupledBase (const fvPatch &patch, const KMethodType method, const word &kappaName, const word &alphaName, const word &alphaAniName) | |
Construct from patch, method type and field names. 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... | |
temperatureCoupledBase (const temperatureCoupledBase &base) | |
Copy construct. More... | |
virtual | ~temperatureCoupledBase ()=default |
Destructor. More... | |
word | KMethod () const |
Method to obtain K. More... | |
const word & | kappaName () const noexcept |
Name of thermal conductivity field. More... | |
const word & | alphaName () const noexcept |
Name of thermal diffusivity field. More... | |
virtual tmp< scalarField > | kappa (const scalarField &Tp) const |
Given patch temperature calculate corresponding K field. More... | |
virtual tmp< scalarField > | alpha (const scalarField &Tp) const |
Given patch temperature calculate corresponding alphaEff field. More... | |
void | write (Ostream &os) const |
Write. More... | |
Additional Inherited Members | |
Protected Attributes inherited from temperatureCoupledBase | |
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 | alphaName_ |
Name of thermal diffusivity. More... | |
const word | alphaAniName_ |
Name of the non-isotropic alpha (for directional solidThermo) More... | |
autoPtr< PatchFunction1< scalar > > | kappaFunction1_ |
Function1 for kappa. More... | |
autoPtr< PatchFunction1< scalar > > | alphaFunction1_ |
Function1 for alpha. More... | |
Static Protected Attributes inherited from temperatureCoupledBase | |
static const Enum< KMethodType > | KMethodTypeNames_ |
Definition at line 199 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
enum massTransferMode |
Modes of mass transfer.
Enumerator | |
---|---|
mtConstantMass | |
mtCondensation | |
mtEvaporation | |
mtCondensationAndEvaporation |
Definition at line 211 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
humidityTemperatureCoupledMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 123 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 201 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, dictionary::found(), IOobjectOption::MUST_READ, IOobject::name(), liquidProperties::New(), Foam::nl, p, Foam::foamVersion::patch, dictionary::readEntry(), dictionary::readIfPresent(), UList< T >::size(), and dictionary::subDict().
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 163 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
humidityTemperatureCoupledMixedFvPatchScalarField | ( | const humidityTemperatureCoupledMixedFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 328 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
TypeName | ( | "humidityTemperatureCoupledMixed" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 425 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 434 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Implements temperatureCoupledBase.
Definition at line 365 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References temperatureCoupledBase::autoMap().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Implements temperatureCoupledBase.
Definition at line 386 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References temperatureCoupledBase::rmap().
|
inline |
Return myKDelta.
Definition at line 467 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
|
inline |
Return mpCpTp.
Definition at line 475 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
|
inline |
Return dmHfg.
Definition at line 483 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 413 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References Foam::constant::atomic::alpha, Foam::constant::physicoChemical::b, boundary, Foam::constant::universal::c, Foam::cp(), Foam::ensightOutput::debug, fvPatch::deltaCoeffs(), TimeState::deltaTValue(), mappedPatchBase::distribute(), Foam::endl(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), fixedGradientFvPatchField< Type >::gradient(), Foam::gSum(), patchIdentifier::index(), Foam::Info, Foam::constant::electromagnetic::kappa, Foam::log(), fvPatch::lookupPatchField(), Foam::mag(), Foam::max(), mesh, Foam::min(), fvPatch::name(), fvMesh::name(), IOobject::name(), Foam::nl, Foam::foamVersion::patch, fvPatchField< Type >::patchInternalField(), pp(), Foam::Re(), Foam::refCast(), rhof(), mappedPatchBase::sampleMesh(), mappedPatchBase::samplePolyPatch(), UList< T >::size(), Foam::T(), fvMesh::time(), Uf, and Foam::Zero.
|
virtual |
Write.
Definition at line 756 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.
References os(), token::TAB, temperatureCoupledBase::write(), mixedFvPatchField< Type >::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().