Go to the documentation of this file.
102 class objectRegistry;
152 bool fixedLocations_;
156 word interpolationScheme_;
159 bool includeOutOfBounds_;
203 void clearFieldGroups();
206 label classifyFields();
209 virtual void findElements(
const fvMesh&
mesh);
245 void operator=(
const probes&) =
delete;
262 const bool loadFromFiles =
false,
268 virtual ~
probes() =
default;
276 return fieldSelection_;
280 virtual const pointField& probeLocations()
const
286 virtual const point& probe(
const label i)
const
288 return operator[](i);
301 virtual bool execute();
304 virtual bool write();
310 virtual void movePoints(
const polyMesh&);
virtual const wordRes & fieldNames() const
Return names of fields to probe.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
fieldGroup< sphericalTensor > sphericalTensorFields_
fieldGroup< symmTensor > symmTensorFields_
labelList patchIDList_
Patch IDs on which the new probes are located.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
fieldGroup< tensor > tensorFields_
fieldGroup< scalar > scalarFields_
Categorized scalar/vector/tensor vol fields.
A class for managing temporary objects.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
bool read(const char *buf, int32_t &val)
Same as readInt32.
Base class for function objects, adding functionality to read/write state information (data required ...
bool loadFromFiles_
Load fields from files (not from objectRegistry)
wordRes fieldSelection_
Names of fields to probe.
fieldGroup< vector > surfaceVectorFields_
Class used for grouping field types.
Mesh consisting of general polyhedral cells.
fieldGroup< sphericalTensor > surfaceSphericalTensorFields_
const fvMesh & mesh_
Const reference to fvMesh.
HashPtrTable< OFstream > probeFilePtrs_
Current open files.
bool includeOutOfBounds_
Include probes that were not found.
labelList faceList_
Faces to be probed.
const labelList & elements() const
Cells to be probed (obtained from the locations)
labelList elementList_
Cells to be probed (obtained from the locations)
Set of locations to sample.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
pointField oldPoints_
Original probes location (only used for patchProbes)
fieldGroup()
Construct null.
const wordRes fieldNames(propsDict.getOrDefault< wordRes >("fields", wordRes()))
fieldGroup< symmTensor > surfaceSymmTensorFields_
Mesh data needed to do the Finite Volume discretisation.
fieldGroup< vector > vectorFields_
readUpdateState
Enumeration defining the state of the mesh after a read update.
fieldGroup< scalar > surfaceScalarFields_
Categorized scalar/vector/tensor surf fields.
virtual const point & probe(const label i) const
Return location for probe i.
fieldGroup< tensor > surfaceTensorFields_
virtual const pointField & probeLocations() const
Return locations to probe.
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
A List of wordRe with additional matching capabilities.
Reads fields from the time directories and adds them to the mesh database for further post-processing...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows by prod...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate.
Minimal example by using system/controlDict.functions: