Loading...
Searching...
No Matches
humidityTemperatureCoupledMixedFvPatchScalarField Class Reference

#include <humidityTemperatureCoupledMixedFvPatchScalarField.H>

Inheritance diagram for humidityTemperatureCoupledMixedFvPatchScalarField:
Collaboration diagram for humidityTemperatureCoupledMixedFvPatchScalarField:

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.
 humidityTemperatureCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 humidityTemperatureCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 humidityTemperatureCoupledMixedFvPatchScalarField (const humidityTemperatureCoupledMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 humidityTemperatureCoupledMixedFvPatchScalarField (const humidityTemperatureCoupledMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone.
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Clone with an internal field reference.
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
const scalarField myKDelta () const
 Return myKDelta.
const scalarField mpCpTp () const
 Return mpCpTp.
const scalarField dmHfg () const
 Return dmHfg.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.
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.
 temperatureCoupledBase (const fvPatch &patch, const KMethodType method, const word &kappaName, const word &alphaName, const word &alphaAniName)
 Construct from patch, method type and field names.
 temperatureCoupledBase (const fvPatch &patch, const dictionary &dict)
 Construct from patch and dictionary.
 temperatureCoupledBase (const fvPatch &patch, const temperatureCoupledBase &base)
 Construct from patch and temperatureCoupledBase.
 temperatureCoupledBase (const temperatureCoupledBase &base)
 Copy construct.
virtual ~temperatureCoupledBase ()=default
 Destructor.
word KMethod () const
 Method to obtain K.
const wordkappaName () const noexcept
 Name of thermal conductivity field.
const wordalphaName () const noexcept
 Name of thermal diffusivity field.
virtual void rmap (const fvPatchField< scalar > &, const labelList &)=0
 Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< scalarFieldkappa (const scalarField &Tp) const
 Given patch temperature calculate corresponding K field.
virtual tmp< scalarFieldalpha (const scalarField &Tp) const
 Given patch temperature calculate corresponding alphaEff field.
void write (Ostream &os) const
 Write.

Additional Inherited Members

Protected Attributes inherited from temperatureCoupledBase
const fvPatchpatch_
 Underlying patch.
const KMethodType method_
 How to get K.
const word kappaName_
 Name of thermal conductivity field (if looked up from database).
const word alphaName_
 Name of thermal diffusivity.
const word alphaAniName_
 Name of the non-isotropic alpha (for directional solidThermo).
autoPtr< PatchFunction1< scalar > > kappaFunction1_
 Function1 for kappa.
autoPtr< PatchFunction1< scalar > > alphaFunction1_
 Function1 for alpha.
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 211 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ humidityTemperatureCoupledMixedFvPatchScalarField() [1/4]

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

Construct from patch and internal field.

Definition at line 121 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

References mtConstantMass, temperatureCoupledBase::mtFluidThermo, p, temperatureCoupledBase::temperatureCoupledBase(), and Foam::Zero.

Referenced by humidityTemperatureCoupledMixedFvPatchScalarField(), humidityTemperatureCoupledMixedFvPatchScalarField(), rmap(), TypeName(), and updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ humidityTemperatureCoupledMixedFvPatchScalarField() [2/4]

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

◆ humidityTemperatureCoupledMixedFvPatchScalarField() [3/4]

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 161 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

References clone(), humidityTemperatureCoupledMixedFvPatchScalarField(), p, and temperatureCoupledBase::temperatureCoupledBase().

Here is the call graph for this function:

◆ humidityTemperatureCoupledMixedFvPatchScalarField() [4/4]

humidityTemperatureCoupledMixedFvPatchScalarField ( const humidityTemperatureCoupledMixedFvPatchScalarField & psf,
const DimensionedField< scalar, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 326 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

References clone(), humidityTemperatureCoupledMixedFvPatchScalarField(), and temperatureCoupledBase::temperatureCoupledBase().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "humidityTemperatureCoupledMixed" )

Runtime type information.

References humidityTemperatureCoupledMixedFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 425 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Referenced by humidityTemperatureCoupledMixedFvPatchScalarField(), and humidityTemperatureCoupledMixedFvPatchScalarField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 433 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ autoMap()

void autoMap ( const fvPatchFieldMapper & m)
virtual

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

Implements temperatureCoupledBase.

Definition at line 364 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

References temperatureCoupledBase::autoMap().

Here is the call graph for this function:

◆ rmap()

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

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 385 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

References humidityTemperatureCoupledMixedFvPatchScalarField(), Foam::refCast(), and temperatureCoupledBase::rmap().

Here is the call graph for this function:

◆ myKDelta()

const scalarField myKDelta ( ) const
inline

Return myKDelta.

Definition at line 467 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

◆ mpCpTp()

const scalarField mpCpTp ( ) const
inline

Return mpCpTp.

Definition at line 475 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

◆ dmHfg()

const scalarField dmHfg ( ) const
inline

Return dmHfg.

Definition at line 483 of file humidityTemperatureCoupledMixedFvPatchScalarField.H.

Referenced by updateCoeffs().

Here is the caller graph for this function:

◆ updateCoeffs()

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 757 of file humidityTemperatureCoupledMixedFvPatchScalarField.C.

References mtConstantMass, os(), token::TAB, mixedFvPatchField< Type >::write(), and temperatureCoupledBase::write().

Here is the call graph for this function:

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