42 fixedValue_(
p.size(), Zero),
57 fixedValue_(ptf.fixedValue_, mapper),
58 writeValue_(ptf.writeValue_)
71 fixedValue_(
"fixedValue",
dict,
p.size()),
72 writeValue_(
dict.getOrDefault(
"writeValue", false))
86 fixedValue_(ptf.fixedValue_),
87 writeValue_(ptf.writeValue_)
99 fixedValue_(ptf.fixedValue_),
100 writeValue_(ptf.writeValue_)
112 parent_bctype::autoMap(m);
113 fixedValue_.autoMap(m);
124 parent_bctype::rmap(ptf, addr);
127 refCast<const fixedNormalSlipFvPatchField<Type>>(ptf);
129 fixedValue_.rmap(dmptf.fixedValue_, addr);
142 (nHat*(nHat & fixedValue_) +
transform(
I -
sqr(nHat), pif)) - pif
143 )*this->patch().deltaCoeffs();
153 if (!this->updated())
155 this->updateCoeffs();
162 nHat*(nHat & fixedValue_)
166 this->parent_bctype::evaluate();
188 this->parent_bctype::write(
os);
189 fixedValue_.writeEntry(
"fixedValue",
os);
194 this->writeEntry(
"value",
os);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
void evaluate()
Evaluate boundary conditions.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void size(const label n)
Older name for setAddressableSize.
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
This boundary condition sets the patch-normal component to the field (vector or tensor) to the patch-...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual void rmap(const fvPatchField< Type > &ptf, const labelList &addr)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void autoMap(const fvPatchFieldMapper &m)
Map (and resize as needed) from self given a mapping object.
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const word & patchType() const
Optional patch type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A traits class, which is primarily used for primitives.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
static const word null
An empty word.
OBJstream os(runTime.globalPath()/outputName)
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static const Identity< scalar > I
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)