Go to the documentation of this file.
39 STARCDCoordinateRotation,
45 STARCDCoordinateRotation,
91 return NullObjectRef<tensorField>();
110 return (R_ & st & Rtr_);
136 fld[i] = transformPrincipal(R_, st[i]);
147 return transformPrincipal(R_, st);
204 const vector& rotZrotXrotY,
232 calcTransform(rotZ, rotX, rotY, inDegrees);
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
tensor Rtr_
Global-to-Local transformation tensor.
virtual const tensorField & Tr() const
Return transformation tensor field.
virtual tmp< vectorField > transform(const vectorField &st) const
Transform vectorField using transformation tensor field.
A coordinateRotation defined by the STAR-CD convention.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
dimensionedScalar sin(const dimensionedScalar &ds)
Tensor< scalar > tensor
Tensor of scalars.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const Cmpt & component(const direction) const
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
Registry of regIOobjects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
void calcTransform(const scalar rotZ, const scalar rotX, const scalar rotY, const bool inDegrees=true)
Calculate transformation tensor.
Pre-declare SubField and related Field type.
virtual void write(Ostream &) const
Write.
virtual tmp< tensorField > transformTensor(const tensorField &st) const
Transform tensor field using transformation tensorField.
static const sphericalTensor I(1)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
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))
tensor R_
Local-to-Global transformation tensor.
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component,...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
STARCDCoordinateRotation()
Construct null.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< symmTensorField > transformVector(const vectorField &st) const
Transform vectorField using transformation tensorField and return.
static const SphericalTensor I
virtual tmp< vectorField > invTransform(const vectorField &st) const
Inverse transform vectorField using transformation tensor field.
dimensionedScalar cos(const dimensionedScalar &ds)