77 #ifndef functionObjects_nearWallFields_H
78 #define functionObjects_nearWallFields_H
89 namespace functionObjects
98 public fvMeshFunctionObject
206 virtual bool write();
Generic GeometricField class.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return the name of this functionObject.
Samples near-patch volume fields.
void sampleFields(PtrList< VolField< Type >> &) const
scalar distance_
Distance away from wall.
HashTable< word > reverseFieldMap_
From resulting back to original field.
void createFields(PtrList< VolField< Type >> &) const
virtual wordList fields() const
Return the list of fields required.
PtrList< volScalarField > vsf_
List< Tuple2< word, word > > fieldSet_
Fields to process.
virtual ~nearWallFields()
Destructor.
List< List< point > > cellToSamples_
From cell to tracked end point.
labelListList cellToWalls_
From cell to seed patch faces.
void calcAddressing()
Calculate addressing from cells back to patch faces.
void sampleBoundaryField(const interpolationCellPoint< Type > &interpolator, VolField< Type > &fld) const
Override boundary fields with sampled values.
PtrList< volTensorField > vtf_
TypeName("nearWallFields")
Runtime type information.
labelHashSet patchSet_
Patches to sample.
PtrList< volSymmTensorField > vSymmtf_
nearWallFields(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
PtrList< volVectorField > vvf_
autoPtr< distributionMap > getPatchDataMapPtr_
Map from cell based data back to patch based data.
virtual bool execute()
Calculate the near-wall fields.
PtrList< volSphericalTensorField > vSpheretf_
void operator=(const nearWallFields &)=delete
Disallow default bitwise assignment.
virtual bool write()
Write the near-wall fields.
virtual bool read(const dictionary &)
Read the controls.
HashTable< word > fieldMap_
From original field to sampled result.
Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate w...
A class for handling words, derived from string.
gmvFile<< "tracers "<< particles.size()<< nl;{ pointField positions(particles.size());label particlei=0;forAllConstIter(Cloud< passiveParticle >, particles, iter) { positions[particlei++]=iter().position(mesh);} for(i=0;i< pTraits< point >::nComponents;i++) { forAll(positions, particlei) { gmvFile<< component(positions[particlei], i)<< ' ';} gmvFile<< nl;}}forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.