38 os <<
"# Values: magSf value qDot htc" <<
endl;
108 <<
": writing data to " << os.
name()
121 thermophysicalTransportModel::typeName,
128 if (
db().foundObject<thermophysicalTransportModel>(ttmName))
139 else if (
db().foundObject<basicThermo>(thermoName))
150 <<
"Condition requires either compressible turbulence and/or " 161 const scalarField htc(qDot/(Tp - Tc + rootVSmall));
const char *const group
Group name for atomic constants.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fluidReactionThermo & thermo
Base-class for fluid and solid thermodynamic properties.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const scalarField & magSf() const
Return face area magnitudes.
label index() const
Return the index of this patch in the fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual const fluidThermo & thermo() const =0
Access function to incompressible transport model.
virtual ~externalCoupledTemperatureMixedFvPatchScalarField()
Destructor.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
commsTypes
Types of communications.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void write(Ostream &) const
Write.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
externalCoupledTemperatureMixedFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
static bool master(const label communicator=0)
Am I the master process.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
static int & msgType()
Message tag of standard messages.
virtual const volScalarField & alpha() const =0
Thermal diffusivity for enthalpy of mixture [kg/m/s].
const fileName & name() const
Return the name of the stream.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
Foam::fvPatchFieldMapper.
virtual void flush()
Flush stream.
const fvPatch & patch() const
Return patch.
This boundary condition provides a temperature interface to an external application. Values are transferred as plain text files, where OpenFOAM data is written as:
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static const word dictName
Name of the thermophysical properties dictionary.
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
virtual void writeHeader(OFstream &os) const
Write header to transfer file.
virtual void transferData(OFstream &os) const
Transfer data for external source.
Abstract base class for thermophysical transport models (RAS, LES and laminar).
void setSize(const label)
Reset size of List.
static bool & parRun()
Is this a parallel run?
static label nProcs(const label communicator=0)
Number of processes in parallel run.
virtual tmp< volScalarField > alphaEff() const =0
Effective thermal turbulent diffusivity of mixture [kg/m/s].
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const objectRegistry & db() const
Return local objectRegistry.
virtual const word & name() const
Return name.
bool log() const
Return the log flag.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
static void gatherList(const List< commsStruct > &comms, List< T > &Values, const int tag, const label comm)
Gather data but keep individual values separate.
label size() const
Return the number of elements in the UList.
virtual void write(Ostream &) const
Write.
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.