43 template<
class GeometricField>
56 Info<<
" Rotating " << fieldIter()->name() <<
endl;
67 int main(
int argc,
char *argv[])
116 runTime.setTime(
timeDirs[timeI], timeI);
118 Info<<
"Time = " << runTime.userTimeName() <<
endl;
123 RotateFields<volVectorField>(mesh,
objects,
T);
124 RotateFields<volSphericalTensorField>(mesh,
objects,
T);
125 RotateFields<volSymmTensorField>(mesh,
objects,
T);
126 RotateFields<volTensorField>(mesh,
objects,
T);
128 RotateFields<surfaceVectorField>(mesh,
objects,
T);
129 RotateFields<surfaceSphericalTensorField>(mesh,
objects,
T);
130 RotateFields<surfaceSymmTensorField>(mesh,
objects,
T);
131 RotateFields<surfaceTensorField>(mesh,
objects,
T);
#define forAll(list, i)
Loop across all elements in list.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
static const char *const typeName
Generic GeometricField class.
A primitive field of type <Type> with automated input and output.
List of IOobjects with searching and retrieving facilities.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static unsigned int defaultPrecision()
Return the default precision.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
T argRead(const label index) const
Read a value from the argument at index.
Mesh data needed to do the Finite Volume discretisation.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
int main(int argc, char *argv[])
static instantList timeDirs
Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
dimensioned< tensor > dimensionedTensor
Dimensioned tensor obtained from generic dimensioned type.
tensor rotationTensor(const vector &n1, const vector &n2)
Rotational transformation tensor from unit vector n1 to n2.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionSet transform(const dimensionSet &)
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Foam::argList args(argc, argv)