83 #ifndef temperatureCoupledBase_H 84 #define temperatureCoupledBase_H 101 class temperatureCoupledBase
155 const KMethodType method = KMethodType::mtFluidThermo
165 const word& alphaAniName
213 const fvPatchFieldMapper&
219 const fvPatchField<scalar>&,
const fvPatch & patch_
Underlying patch.
const word alphaName_
Name of thermal diffusivity.
word KMethod() const
Method to obtain K.
const word kappaName_
Name of thermal conductivity field (if looked up from database)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
autoPtr< PatchFunction1< scalar > > alphaFunction1_
Function1 for alpha.
KMethodType
Type of supplied Kappa.
virtual tmp< scalarField > kappa(const scalarField &Tp) const
Given patch temperature calculate corresponding K field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< scalarField > alpha(const scalarField &Tp) const
Given patch temperature calculate corresponding alphaEff field.
virtual void rmap(const fvPatchField< scalar > &, const labelList &)=0
Reverse map the given fvPatchField onto this fvPatchField.
virtual ~temperatureCoupledBase()=default
Destructor.
virtual void autoMap(const fvPatchFieldMapper &)=0
Map (and resize as needed) from self given a mapping object.
void write(Ostream &os) const
Write.
autoPtr< PatchFunction1< scalar > > kappaFunction1_
Function1 for kappa.
const word & alphaName() const noexcept
Name of thermal diffusivity field.
A class for handling words, derived from Foam::string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
temperatureCoupledBase(const fvPatch &patch, const KMethodType method=KMethodType::mtFluidThermo)
Default construct from patch, using fluidThermo (default) or specified method.
const word alphaAniName_
Name of the non-isotropic alpha (for directional solidThermo)
OBJstream os(runTime.globalPath()/outputName)
const KMethodType method_
How to get K.
Common functions used in temperature coupled boundaries.
const word & kappaName() const noexcept
Name of thermal conductivity field.
const std::string patch
OpenFOAM patch number as a std::string.
static const Enum< KMethodType > KMethodTypeNames_
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
List< label > labelList
A List of labels.