Go to the documentation of this file.
62 #ifndef partialSlipFvPatchField_H
63 #define partialSlipFvPatchField_H
77 class partialSlipFvPatchField
79 public transformFvPatchField<Type>
84 Field<Type> refValue_;
198 return valueFraction_;
203 return valueFraction_;
232 virtual void operator+=(
const fvPatchField<Type>&) {}
233 virtual void operator-=(
const fvPatchField<Type>&) {}
234 virtual void operator*=(
const fvPatchField<scalar>&) {}
235 virtual void operator/=(
const fvPatchField<scalar>&) {}
237 virtual void operator+=(
const Field<Type>&) {}
238 virtual void operator-=(
const Field<Type>&) {}
240 virtual void operator*=(
const Field<scalar>&) {}
241 virtual void operator/=(
const Field<scalar>&) {}
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual const scalarField & valueFraction() const
virtual void operator=(const Type &)
virtual void operator-=(const Type &)
A class for managing temporary objects.
virtual void operator*=(const scalar)
virtual void operator-=(const fvPatchField< Type > &)
partialSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void operator/=(const fvPatchField< scalar > &)
virtual Field< Type > & refValue()
virtual void operator-=(const Field< Type > &)
virtual void operator=(const UList< Type > &)
virtual void operator*=(const fvPatchField< scalar > &)
virtual void operator+=(const Field< Type > &)
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
virtual scalarField & valueFraction()
Generic templated field type.
virtual void operator/=(const scalar)
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
TypeName("partialSlip")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void operator+=(const Type &)
virtual void operator+=(const fvPatchField< Type > &)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
commsTypes
Types of communications.
virtual void operator=(const fvPatchField< Type > &)
virtual void operator/=(const Field< scalar > &)
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Foam::fvPatchFieldMapper.
This boundary condition provides a partial slip condition. The amount of slip is controlled by a user...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual const Field< Type > & refValue() const
virtual bool assignable() const
Return false: this patch field is not altered by assignment.
virtual void operator*=(const Field< scalar > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...