Go to the documentation of this file.
35 namespace incompressible
47 mixedFvPatchScalarField(
p, iF),
48 TnbrName_(
"undefined-Tnbr")
50 this->refValue() = 0.0;
51 this->refGrad() = 0.0;
52 this->valueFraction() = 1.0;
65 mixedFvPatchScalarField(ptf,
p, iF, mapper),
78 mixedFvPatchScalarField(
p, iF),
79 TnbrName_(
dict.lookup(
"Tnbr"))
81 if (!isA<mappedPatchBase>(this->patch().patch()))
84 <<
"' not type '" << mappedPatchBase::typeName <<
"'"
85 <<
"\n for patch " <<
p.name()
93 if (
dict.found(
"refValue"))
105 valueFraction() = 1.0;
117 mixedFvPatchScalarField(wtcsf, iF),
138 refCast<const mappedPatchBase>(patch().patch());
142 refCast<const fvMesh>(nbrMesh).boundary()[samplePatchI];
181 this->refValue() = nbrIntFld();
182 this->refGrad() = 0.0;
183 this->valueFraction() = nbrKDelta()/(nbrKDelta());
202 mixedFvPatchScalarField::updateCoeffs();
206 Info<< patch().boundaryMesh().mesh().name() <<
':'
207 << patch().name() <<
':'
209 << nbrMesh.
name() <<
':'
210 << nbrPatch.
name() <<
':'
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void operator=(const UList< Type > &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const word TnbrName_
Name of field on the neighbour region.
A class for managing temporary objects.
rDeltaT dimensionedInternalField()
const polyPatch & samplePolyPatch() const
Get the patch on the region.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
Mesh consisting of general polyhedral cells.
const word & name() const
Return name.
const polyMesh & sampleMesh() const
Get the region mesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const word & name() const
Return name.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
turbulentBoundaryCoupledFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
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.
To & refCast(From &r)
Reference type cast template function.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static int & msgType()
Message tag of standard messages.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
const GeometricField::PatchFieldType & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
virtual void write(Ostream &) const
Write.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label index() const
Return the index of this patch in the boundaryMesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
makePatchTypeField(fvPatchScalarField, turbulentBoundaryCoupledFvPatchScalarField)