humidityTemperatureCoupledMixedFvPatchScalarField Class Reference
Inheritance diagram for humidityTemperatureCoupledMixedFvPatchScalarField:
[legend]
Collaboration diagram for humidityTemperatureCoupledMixedFvPatchScalarField:
[legend]

Public Types

enum  massTransferMode { mtConstantMass, mtCondensation, mtEvaporation, mtCondensationAndEvaporation }
 Modes of mass transfer. More...
 
- Public Types inherited from temperatureCoupledBase
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< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 humidityTemperatureCoupledMixedFvPatchScalarField (const humidityTemperatureCoupledMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (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...
 
- Public Member Functions inherited from temperatureCoupledBase
 temperatureCoupledBase (const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName, const word &alphaName)
 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...
 
virtual ~temperatureCoupledBase ()=default
 Destructor. More...
 
word KMethod () const
 Method to obtain K. More...
 
const wordkappaName () const
 Name of thermal conductivity field. More...
 
const wordalphaName () const
 Name of thermal diffusivity field. More...
 
virtual tmp< scalarFieldkappa (const scalarField &Tp) const
 Given patch temperature calculate corresponding K field. More...
 
virtual tmp< scalarFieldalpha (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 fvPatchpatch_
 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...
 
const word alphaName_
 Name of thermal diffusivity. More...
 
- Static Protected Attributes inherited from temperatureCoupledBase
static const Enum< KMethodTypeKMethodTypeNames_
 

Detailed Description

Member Enumeration Documentation

◆ massTransferMode

Modes of mass transfer.

Enumerator
mtConstantMass 
mtCondensation 
mtEvaporation 
mtCondensationAndEvaporation 

Definition at line 202 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ humidityTemperatureCoupledMixedFvPatchScalarField() [1/4]

Construct from patch and internal field.

Definition at line 127 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

◆ humidityTemperatureCoupledMixedFvPatchScalarField() [2/4]

humidityTemperatureCoupledMixedFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 208 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, dictionary::found(), liquidProperties::New(), Foam::nl, fvPatchField< scalar >::operator=(), p, Foam::foamVersion::patch, dictionary::readEntry(), and dictionary::subDict().

Here is the call graph for this function:

◆ humidityTemperatureCoupledMixedFvPatchScalarField() [3/4]

Construct by mapping given.

turbulentTemperatureCoupledBaffleMixedFvPatchScalarField onto a new patch

Definition at line 172 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

◆ humidityTemperatureCoupledMixedFvPatchScalarField() [4/4]

Construct as copy setting internal field reference.

Definition at line 332 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "humidityTemperatureCoupledMixed"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 336 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

◆ clone() [2/2]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 356 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

Map (and resize as needed) from self given a mapping object.

Definition at line 367 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

◆ rmap()

void rmap ( const fvPatchScalarField ptf,
const labelList addr 
)
virtual

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 387 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

◆ myKDelta()

const scalarField myKDelta ( ) const
inline

Return myKDelta.

Definition at line 390 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

◆ mpCpTp()

const scalarField mpCpTp ( ) const
inline

Return mpCpTp.

Definition at line 396 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().

Here is the caller graph for this function:

◆ dmHfg()

const scalarField dmHfg ( ) const
inline

Return dmHfg.

Definition at line 402 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

Referenced by humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().

Here is the caller graph for this function:

◆ updateCoeffs()

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 728 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

References token::TAB, Foam::vtk::write(), temperatureCoupledBase::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

The documentation for this class was generated from the following files: