Go to the documentation of this file.
74 #ifndef nearWallFields_H
75 #define nearWallFields_H
105 const objectRegistry&
obr_;
201 const bool loadFromFiles =
false
230 virtual void write();
Switch log_
Switch to send output to Info as well as to file.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
nearWallFields(const nearWallFields &)
Disallow default bitwise copy construct.
A class for handling words, derived from string.
List< Tuple2< word, word > > fieldSet_
Fields to process.
PtrList< volTensorField > vtf_
labelListList cellToWalls_
From cell to seed patch faces.
List< List< point > > cellToSamples_
From cell to tracked end point.
Mesh consisting of general polyhedral cells.
autoPtr< mapDistribute > getPatchDataMapPtr_
Map from cell based data back to patch based data.
void createFields(PtrList< GeometricField< Type, fvPatchField, volMesh > > &) const
Registry of regIOobjects.
PtrList< volSymmTensorField > vSymmtf_
const objectRegistry & obr_
void sampleFields(PtrList< GeometricField< Type, fvPatchField, volMesh > > &) const
labelHashSet patchSet_
Patches to sample.
Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate w...
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
word name_
Name of this set of nearWallFields object.
A list of keyword definitions, which are a keyword followed by any number of values (e....
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
virtual ~nearWallFields()
Destructor.
virtual const word & name() const
Return name of the nearWallFields object.
An STL-conforming hash table.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
This function object samples near-patch volume fields.
PtrList< volVectorField > vvf_
HashTable< word > fieldMap_
From original field to sampled result.
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
scalar distance_
Distance away from wall.
virtual void write()
Write.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
TypeName("nearWallFields")
Runtime type information.
HashTable< word > reverseFieldMap_
From resulting back to original field.
PtrList< volSphericalTensorField > vSpheretf_
void sampleBoundaryField(const interpolationCellPoint< Type > &interpolator, GeometricField< Type, fvPatchField, volMesh > &fld) const
Override boundary fields with sampled values.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.
Generic GeometricField class.
void operator=(const nearWallFields &)
Disallow default bitwise assignment.
virtual void read(const dictionary &)
Read the field min/max data.
bool active_
on/off switch
void calcAddressing()
Calculate addressing from cells back to patch faces.
virtual void execute()
Execute, currently does nothing.
PtrList< volScalarField > vsf_