Go to the documentation of this file.
83 #ifndef temperatureCoupledBase_H
84 #define temperatureCoupledBase_H
101 class temperatureCoupledBase
154 const word& calculationMethod,
208 const fvPatchFieldMapper&
214 const fvPatchField<scalar>&,
virtual ~temperatureCoupledBase()=default
Destructor.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
const word alphaAniName_
Name of the non-Isotropic alpha (default: Anialpha)
A class for managing temporary objects.
autoPtr< PatchFunction1< scalar > > kappaFunction1_
Function1 for kappa.
Common functions used in temperature coupled boundaries.
static const Enum< KMethodType > KMethodTypeNames_
autoPtr< PatchFunction1< scalar > > alphaFunction1_
Function1 for alpha.
virtual void autoMap(const fvPatchFieldMapper &)=0
Map (and resize as needed) from self given a mapping object.
const KMethodType method_
How to get K.
KMethodType
Type of supplied Kappa.
const fvPatch & patch_
Underlying patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< scalarField > alpha(const scalarField &Tp) const
Given patch temperature calculate corresponding alphaEff field.
const word & kappaName() const
Name of thermal conductivity field.
word KMethod() const
Method to obtain K.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
const word alphaName_
Name of thermal diffusivity.
virtual void rmap(const fvPatchField< scalar > &, const labelList &)=0
Reverse map the given fvPatchField onto this fvPatchField.
const word kappaName_
Name of thermal conductivity field (if looked up from database)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & alphaName() const
Name of thermal diffusivity field.
const std::string patch
OpenFOAM patch number as a std::string.
virtual tmp< scalarField > kappa(const scalarField &Tp) const
Given patch temperature calculate corresponding K field.
Foam::fvPatchFieldMapper.
void write(Ostream &os) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
temperatureCoupledBase(const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName, const word &alphaName)
Construct from patch and K name.