Go to the documentation of this file.
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))
74 this->patchType() =
dict.getOrDefault<
word>(
"patchType", word::null);
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_)
189 fixedValue_.writeEntry(
"fixedValue",
os);
193 os.writeEntry(
"writeValue",
"true");
194 this->writeEntry(
"value",
os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
virtual void autoMap(const fvPatchFieldMapper &m)
Map (and resize as needed) from self given a mapping object.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
fixedNormalSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition sets the patch-normal component to the field (vector or tensor) to the patch-...
OBJstream os(runTime.globalPath()/outputName)
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
PtrList< volScalarField > & Y
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
commsTypes
Types of communications.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
const std::string patch
OpenFOAM patch number as a std::string.
A traits class, which is primarily used for primitives.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void rmap(const fvPatchField< Type > &ptf, const labelList &addr)
Reverse map the given fvPatchField onto this fvPatchField.
static const Identity< scalar > I
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.