Transforms the mesh points in the polyMesh directory according to the translate, rotate and scale options. More...
Transforms the mesh points in the polyMesh directory according to the translate, rotate and scale options.
-translate vector Translates the points by the given vector,
-rotate (vector vector) Rotates the points from the first vector to the second,
or -yawPitchRoll (yawdegrees pitchdegrees rolldegrees) or -rollPitchYaw (rolldegrees pitchdegrees yawdegrees)
-scale vector Scales the points by the given vector.
The any or all of the three options may be specified and are processed in the above order.
With -rotateFields (in combination with -rotate/yawPitchRoll/rollPitchYaw) it will also read & transform vector & tensor fields.
-translate | <vector> Translate by given vector. |
-rotateFields | Also rotate vector/tensor fields. |
-rotate | <(vector vector)> Rotate from first to second direction. |
-scale | <vector (sx sy sz)> Scaling factors in x, y and z direction. |
-case | <dir> Case directory. |
-parallel | Run in parallel. |
-help | Display help message. |
-doc | Display Doxygen API documentation page for this application. |
-srcDoc | Display Doxygen source documentation page for this application. |
Definition in file transformPoints.C.
#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/finiteVolume/fvMesh/fvMesh.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
#include "src/finiteVolume/fields/surfaceFields/surfaceFields.H"
#include "src/OpenFOAM/fields/ReadFields/ReadFields.H"
#include "src/OpenFOAM/fields/GeometricFields/pointFields/pointFields.H"
#include "src/OpenFOAM/fields/Fields/transformField/transformField.H"
#include "src/OpenFOAM/fields/GeometricFields/transformGeometricField/transformGeometricField.H"
#include "src/OpenFOAM/db/IOstreams/StringStreams/IStringStream.H"
#include "src/OpenFOAM/include/createNamedMesh.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
Go to the source code of this file.