66 #ifndef Foam_partialSlipFvPatchField_H 67 #define Foam_partialSlipFvPatchField_H 81 class partialSlipFvPatchField
83 public transformFvPatchField<Type>
86 typedef transformFvPatchField<Type> parent_bctype;
92 Field<Type> refValue_;
167 virtual bool assignable()
const {
return false; }
177 virtual const Field<Type>&
refValue()
const 184 return valueFraction_;
189 return valueFraction_;
235 virtual void operator-=(
const fvPatchField<Type>&) {}
236 virtual void operator*=(
const fvPatchField<scalar>&) {}
237 virtual void operator/=(
const fvPatchField<scalar>&) {}
239 virtual void operator+=(
const Field<Type>&) {}
240 virtual void operator-=(
const Field<Type>&) {}
242 virtual void operator*=(
const Field<scalar>&) {}
243 virtual void operator/=(
const Field<scalar>&) {}
virtual void operator*=(const fvPatchField< scalar > &)
This boundary condition provides a partial slip condition. The amount of slip is controlled by a user...
virtual tmp< fvPatchField< Type > > clone() const
Return a clone.
virtual void operator-=(const fvPatchField< Type > &)
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
partialSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual scalarField & valueFraction()
virtual Field< Type > & refValue()
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
TypeName("partialSlip")
Runtime type information.
virtual bool assignable() const
False: this patch field is not altered by assignment.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void operator=(const UList< Type > &)
A class for managing temporary objects.
"buffered" : (MPI_Bsend, MPI_Recv)
virtual void operator+=(const fvPatchField< Type > &)
virtual void operator/=(const fvPatchField< scalar > &)
virtual void write(Ostream &) const
Write.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field.