177 #ifndef Foam_turbulentDigitalFilterInletFvPatchField_H 178 #define Foam_turbulentDigitalFilterInletFvPatchField_H 195 class turbulentDigitalFilterInletFvPatchField
197 public fixedValueFvPatchField<Type>
202 typedef typename std::conditional
204 std::is_same<Type, scalar>::value,
213 mutable autoPtr<AMIPatchToPatchInterpolation> AMIPtr_;
216 autoPtr<PatchFunction1<Type>> meanPtr_;
219 autoPtr<PatchFunction1<TypeR>> Rptr_;
228 turbulence::IntegralScaleBox<Type> L_;
234 vector calcPatchNormal()
const;
237 void initialisePatch();
240 void mapL(Field<Type>&
fld);
330 virtual void autoMap(
const fvPatchFieldMapper& m);
335 const fvPatchField<Type>& ptf,
349 virtual void write(Ostream&)
const;
virtual void write(Ostream &) const
Write boundary condition settings.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
Generic templated field type.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
TypeName("turbulentDigitalFilterInlet")
Runtime type information.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void rmap(const fvPatchField< Type > &ptf, const labelList &addr)
Reverse map the given fvPatchField onto this fvPatchField.
Digital-filter based boundary condition for vector- and scalar-based quantities (e.g. U or T) to generate synthetic turbulence-alike time-series from input turbulence statistics for LES and DES turbulent flow computations.
Field< vector > vectorField
Specialisation of Field<T> for vector.
List< label > labelList
A List of labels.
A class for managing temporary objects.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual tmp< fvPatchField< Type > > clone() const
Return a clone.
turbulentDigitalFilterInletFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void autoMap(const fvPatchFieldMapper &m)
Map (and resize as needed) from self given a mapping object.