transformPoints(1)

www.openfoam.com, OpenFOAM-v2112

transformPoints [OPTIONS]

Description

Transform (translate / rotate / scale) mesh points.
Note: roll=rotate about x, pitch=rotate about y, yaw=rotate about z

Options

  • -allRegions
    Use all regions in regionProperties
  • -auto-origin
    Use bounding box centre as origin for rotations
  • -case dir
    Specify case directory to use (instead of cwd)
  • -decomposeParDict file
    Use specified file for decomposePar dictionary
  • -origin point
    Use specified <point> as origin for rotations
  • -parallel
    Run in parallel [Parallel option]
  • -recentre
    Recentre the bounding box before other operations
  • -region name
    Use specified mesh region. Eg, -region gas
  • -regions wordRes
    Use specified mesh region. Eg, -regions gas Or from regionProperties. Eg, -regions '(gas "solid.*")'
  • -rollPitchYaw vector
    Rotate by '(roll pitch yaw)' degrees
  • -rotate *(vectorA vectorB)*
    Rotate from <vectorA> to <vectorB> - eg, '((1 0 0) (0 0 1))'
  • -rotate-angle *(vector scalar)*
    Rotate <angle> degrees about <vector> - eg, '((1 0 0) 45)'
  • -rotateFields
    Read and transform vector and tensor fields too
  • -scale scalar | vector
    Scale by the specified amount - Eg, for uniform [mm] to [m] scaling use either '(0.001 0.001 0.001)' or simply '0.001'
  • -time time
    Specify the time to search from and apply the transformation (default is latest)
  • -translate vector
    Translate by specified <vector> before rotations
  • -yawPitchRoll vector
    Rotate by '(yaw pitch roll)' degrees
  • -doc
    Display documentation in browser
  • -help
    Display short help and exit
  • -help-full
    Display full help and exit

ADVANCED OPTIONS

  • -debug-switch name=val
    Specify the value of a registered debug switch. Default is 1 if the value is omitted. (Can be used multiple times)
  • -fileHandler handler
    Override the file handler type
  • -hostRoots *((host1 dir1) .. (hostN dirN))*
    Per-subprocess root directories for distributed running. The host specification can be a regex. [Parallel option]
  • -info-switch name=val
    Specify the value of a registered info switch. Default is 1 if the value is omitted. (Can be used multiple times)
  • -lib name
    Additional library or library list to load (can be used multiple times)
  • -noFunctionObjects
    Do not execute function objects
  • -opt-switch name=val
    Specify the value of a registered optimisation switch. Default is 1 if the value is omitted. (Can be used multiple times)
  • -roots *(dir1 .. dirN)*
    Subprocess root directories for distributed running [Parallel option]
  • -world name
    Name of the local world for parallel communication [Parallel option]
  • -doc-source
    Display source code in browser
  • -help-compat
    Display compatibility options and exit
  • -help-man
    Display full help (manpage format) and exit
  • -help-notes
    Display help notes (description) and exit

COMPATIBILITY OPTIONS

  • -write-scale (now -scale)

See Also

Online documentation https://www.openfoam.com/documentation/

Copyright

Copyright © 2018-2021 OpenCFD Ltd.