Go to the documentation of this file.
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.timeName() <<
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);
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
#define forAll(list, i)
Loop across all elements in list.
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
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionSet transform(const dimensionSet &)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
int main(int argc, char *argv[])
Mesh data needed to do the Finite Volume discretisation.
IOobjectList lookupClass(const word &className) const
Return the list for all IOobjects of a given class.
List of IOobjects with searching and retrieving facilities.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
static instantList timeDirs
static unsigned int defaultPrecision()
Return the default precision.
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
T argRead(const label index) const
Read a value from the argument at index.
tensor rotationTensor(const vector &n1, const vector &n2)
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
Generic GeometricField class.
Foam::argList args(argc, argv)
dimensioned< tensor > dimensionedTensor
Dimensioned tensor obtained from generic dimensioned type.