33 namespace functionObjects
40 fieldCoordinateSystemTransform,
59 coordSys_(mesh_, dict.
subDict(
"coordinateSystem"))
64 <<
" Applying transformation from global Cartesian to local " 65 << coordSys_ <<
nl <<
endl;
84 return fieldName +
":Transformed";
95 dict.
lookup(
"fields") >> fieldSet_;
105 transform<scalar>(fieldSet_[fieldi]);
106 transform<vector>(fieldSet_[fieldi]);
107 transform<sphericalTensor>(fieldSet_[fieldi]);
108 transform<symmTensor>(fieldSet_[fieldi]);
109 transform<tensor>(fieldSet_[fieldi]);
120 writeObject(transformFieldName(fieldSet_[fieldi]));
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
virtual bool read(const dictionary &)
Read optional controls.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
#define Log
Report write to Foam::Info if the local log switch is true.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
addToRunTimeSelectionTable(functionObject, add, dictionary)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.