Go to the documentation of this file.
41 if (Pstream::master())
43 unsigned int w = IOstream::defaultPrecision() + 7;
44 OFstream& probeStream = *probeFilePtrs_[vField.name()];
48 << vField.time().timeToUserTime(vField.time().value());
52 probeStream <<
' ' <<
setw(
w) << values[probeI];
67 if (Pstream::master())
69 unsigned int w = IOstream::defaultPrecision() + 7;
70 OFstream& probeStream = *probeFilePtrs_[sField.name()];
74 << sField.time().timeToUserTime(sField.time().value());
78 probeStream <<
' ' <<
setw(
w) << values[probeI];
102 mesh_.time().timeName(),
114 objectRegistry::const_iterator iter = mesh_.find(
fields[fieldI]);
118 iter != objectRegistry::end()
154 mesh_.time().timeName(),
166 objectRegistry::const_iterator iter = mesh_.find(
fields[fieldI]);
170 iter != objectRegistry::end()
211 label faceI = faceList_[probeI];
222 Pstream::listCombineScatter(values);
262 label faceI = faceList_[probeI];
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;mesh.setFluxRequired(p_rgh.name());multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Comparison operator for probes class.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Class used for grouping field types.
const fvMesh & mesh_
Const reference to fvMesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< Field< Type > > sample(const GeometricField< Type, fvPatchField, volMesh > &) const
Sample a volume field at all locations.
Istream and Ostream manipulators taking arguments.
Omanip< int > setw(const int i)
void sampleAndWriteSurfaceFields(const fieldGroup< Type > &)
Sample and write all the surface fields of the given type.
static void listCombineGather(const List< commsStruct > &comms, List< T > &Value, const CombineOp &cop, const int tag, const label comm)
Traits class for primitives.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
static void listCombineScatter(const List< commsStruct > &comms, List< T > &Value, const int tag, const label comm)
Scatter data. Reverse of combineGather.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
void sampleAndWrite(const GeometricField< Type, fvPatchField, volMesh > &)
Sample and write a particular volume field.
Generic GeometricField class.