35 const DimensionedField<vector, volMesh>& iF
38 fixedGradientFvPatchVectorField(p, iF),
39 traction_(p.size(),
Zero),
51 const DimensionedField<vector, volMesh>& iF,
52 const dictionary& dict
55 fixedGradientFvPatchVectorField(p, iF),
56 traction_(
"traction", dict, p.size()),
57 pressure_(Function1<scalar>::
New(
"pressure", dict))
69 const DimensionedField<vector, volMesh>& iF,
70 const fvPatchFieldMapper& mapper
73 fixedGradientFvPatchVectorField(tdpvf, p, iF, mapper),
74 traction_(mapper(tdpvf.traction_)),
75 pressure_(tdpvf.pressure_, false)
83 const DimensionedField<vector, volMesh>& iF
86 fixedGradientFvPatchVectorField(tdpvf, iF),
87 traction_(tdpvf.traction_),
88 pressure_(tdpvf.pressure_, false)
96 const fvPatchFieldMapper& m
99 fixedGradientFvPatchVectorField::autoMap(m);
100 m(traction_, traction_);
110 fixedGradientFvPatchVectorField::rmap(ptf, addr);
113 refCast<const tractionDisplacementFvPatchVectorField>(ptf);
115 traction_.rmap(dmptf.traction_, addr);
126 this->
updateCoeffs(pressure_->value(this->db().time().timeOutputValue()));
fvPatchField< vector > fvPatchVectorField
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void write(Ostream &) const
Write.
tractionDisplacementFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
List< label > labelList
A List of labels.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual void operator=(const UList< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)