Go to the documentation of this file.
39 os <<
"# Values: magSf T qDot htc" <<
endl;
80 if (
dict.found(
"refValue"))
93 if (
dict.found(
"value"))
106 this->refValue() = *
this;
108 this->valueFraction() = 1.0;
148 const label patchI = patch().index();
164 static word thermoName(
"thermophysicalProperties");
166 if (db().foundObject<cmpTurbModelType>(turbName))
168 const cmpTurbModelType& turbModel =
169 db().lookupObject<cmpTurbModelType>(turbName);
175 qDot = turbModel.alphaEff(patchI)*hep.
snGrad();
177 else if (db().foundObject<
basicThermo>(thermoName))
183 qDot =
thermo.alpha().boundaryField()[patchI]*hep.snGrad();
188 <<
"Condition requires either compressible turbulence and/or "
199 const scalarField htc(qDot/(Tp - Tc + ROOTVSMALL));
231 >> this->refValue()[faceI]
232 >> this->refGrad()[faceI]
233 >> this->valueFraction()[faceI];
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
static word groupName(Name name, const word &group)
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
rDeltaT dimensionedInternalField()
static const word propertiesName
Default name of the turbulence properties dictionary.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Abstract base-class for fluid and solid thermodynamic properties.
const char *const group
Group name for atomic constants.
Ostream & endl(Ostream &os)
Add newline and flush stream.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
ISstream & getLine(string &)
Raw, low-level getline into a string function.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual ~externalCoupledTemperatureMixedFvPatchScalarField()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
virtual void writeData(Ostream &) const
Write data.
Input from memory buffer stream.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
externalCoupledTemperatureMixedFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Traits class for primitives.
volScalarField scalarField(fieldObject, mesh)
Foam::fvPatchFieldMapper.
virtual void writeHeader(Ostream &) const
Write header.
This boundary condition provides a temperatue interface to an external application....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void readData(Istream &)
Read data.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...