mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- can be more intuitive to specify for some cases:
rotation
{
type euler;
order rollPitchYaw;
angles (0 20 45);
}
- refactor starcd rotation to reuse Euler ZXY ordering
(code reduction)
ENH: add -rotate-x, -rotate-y, -rotate-z for transformPoints etc
- easier to specify for simple rotations
21 lines
541 B
Bash
Executable File
21 lines
541 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
runApplication blockMesh
|
|
|
|
runApplication snappyHexMesh -overwrite
|
|
|
|
rm -rf 0/
|
|
|
|
restore0Dir
|
|
|
|
runApplication setFields
|
|
|
|
runApplication transformPoints -rotate-y -90
|
|
|
|
runApplication checkMesh -allGeometry -allTopology
|
|
|
|
#------------------------------------------------------------------------------
|