32 Foam::MRFslipFvPatchVectorField::MRFslipFvPatchVectorField
35 const DimensionedField<vector, volMesh>& iF,
36 const dictionary&
dict
39 fixedValueFvPatchVectorField(
p, iF,
dict, false),
56 Foam::MRFslipFvPatchVectorField::MRFslipFvPatchVectorField
58 const MRFslipFvPatchVectorField& pvf,
60 const DimensionedField<vector, volMesh>& iF,
61 const fvPatchFieldMapper& mapper
64 fixedValueFvPatchVectorField(pvf,
p, iF, mapper),
69 Foam::MRFslipFvPatchVectorField::MRFslipFvPatchVectorField
71 const MRFslipFvPatchVectorField& pvf,
72 const DimensionedField<vector, volMesh>& iF
75 fixedValueFvPatchVectorField(pvf, iF),
82 void Foam::MRFslipFvPatchVectorField::updateCoeffs()
89 tmp<vectorField> nHat(patch().nf());
92 vectorField::operator=(patchInternalField());
98 vectorField::operator=((*
this +
transform(
I - 2*
sqr(nHat), *
this))/2);
103 fixedValueFvPatchVectorField::updateCoeffs();
122 MRFslipFvPatchVectorField
Macros for easy insertion into run-time selection tables.
void size(const label)
Override size to be inconsistent with allocated storage.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
friend Ostream & operator(Ostream &, const fvPatchField< Type > &)
virtual void operator=(const UList< Type > &)
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static const Identity< scalar > I
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionSet transform(const dimensionSet &)
Field< vector > vectorField
Specialisation of Field<T> for vector.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)