Go to the documentation of this file.
65 #ifndef partialSlipFvPatchField_H
66 #define partialSlipFvPatchField_H
80 class partialSlipFvPatchField
82 public transformFvPatchField<Type>
85 typedef transformFvPatchField<Type> parent_bctype;
91 Field<Type> refValue_;
189 return valueFraction_;
194 return valueFraction_;
239 virtual void operator+=(
const fvPatchField<Type>&) {}
240 virtual void operator-=(
const fvPatchField<Type>&) {}
241 virtual void operator*=(
const fvPatchField<scalar>&) {}
242 virtual void operator/=(
const fvPatchField<scalar>&) {}
244 virtual void operator+=(
const Field<Type>&) {}
245 virtual void operator-=(
const Field<Type>&) {}
247 virtual void operator*=(
const Field<scalar>&) {}
248 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
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...