FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

surfaceTransformPoints.C File Reference

Transform (scale/rotate) a surface. More...


Detailed Description

Transform (scale/rotate) a surface.

Like transformPoints but then for surfaces. The rollPitchYaw option takes three angles (degrees):

  • roll (rotation about x) followed by
  • pitch (rotation about y) followed by
  • yaw (rotation about z)

The yawPitchRoll does yaw followed by pitch followed by roll.

Usage
  • surfaceTransformPoints [OPTIONS] <Foam surface file> <surface output file>
Parameters:
\<Foamsurface file>
Todo:
Detailed description of argument.
Parameters:
\<surfaceoutput file>
Todo:
Detailed description of argument.
Parameters:
-translate<vector>
Translation vector.
-rollPitchYaw<(roll pitch yaw)>
Rotation angles.
-yawPitchRoll<(yaw pitch roll)>
Rotation angles.
-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.
-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 surfaceTransformPoints.C.

#include "src/triSurface/triSurface/triSurface.H"
#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/IFstream.H"
#include "src/OpenFOAM/meshes/boundBox/boundBox.H"
#include "src/OpenFOAM/fields/Fields/transformField/transformField.H"
#include "src/OpenFOAM/primitives/Pair/Pair.H"
#include "src/OpenFOAM/primitives/quaternion/quaternion.H"
Include dependency graph for surfaceTransformPoints.C:

Go to the source code of this file.