40 os <<
"# Values: magSf value qDot htc" <<
endl;
120 <<
": writing data to " << os.
name()
142 if (
db().foundObject<cmpTurbModelType>(turbName))
144 const cmpTurbModelType& turbModel =
151 qDot = turbModel.alphaEff(patchi)*hep.
snGrad();
153 else if (
db().foundObject<basicThermo>(thermoName))
164 <<
"Condition requires either compressible turbulence and/or " 175 const scalarField htc(qDot/(Tp - Tc + ROOTVSMALL));
const fvPatch & patch() const
Return patch.
const char *const group
Group name for atomic constants.
const scalarField & magSf() const
Return face area magnitudes.
#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.
Abstract base-class for fluid and solid thermodynamic properties.
errorManipArg< error, int > exit(error &err, const int errNo=1)
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 tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
virtual ~externalCoupledTemperatureMixedFvPatchScalarField()
Destructor.
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...
const word dictName() const
Return the local dictionary name (final part of scoped name)
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
const word & name() const
Return name.
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...
static int & msgType()
Message tag of standard messages.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
bool log() const
Return the log flag.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
virtual void transferData(OFstream &os) const
Transfer data for external source.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
Foam::fvPatchFieldMapper.
virtual void flush()
Flush stream.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
This boundary condition provides a temperature interface to an external application. Values are transferred as plain text files, where OpenFOAM data is written as:
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label size() const
Return the number of elements in the UList.
const objectRegistry & db() const
Return local objectRegistry.
label index() const
Return the index of this patch in the fvBoundaryMesh.
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 void write(Ostream &) const
Write.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
virtual const volScalarField & alpha() const
Thermal diffusivity for enthalpy of mixture [kg/m/s].
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void writeHeader(OFstream &os) const
Write header to transfer file.
static void gatherList(const List< commsStruct > &comms, List< T > &Values, const int tag, const label comm)
Gather data but keep individual values separate.
const fileName & name() const
Return the name of the stream.
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.
virtual void write(Ostream &) const
Write.