TUT: remove paraFoam hints from tutorials (mostly only need paraview now) STYLE: remove reference to paraview _SM plugins (OpenFOAM-v1912 and earlier)
28 lines
802 B
Bash
Executable File
28 lines
802 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
mkdir -p constant/triSurface
|
|
|
|
cp -f \
|
|
"$FOAM_TUTORIALS"/resources/geometry/channel.vtk.gz \
|
|
constant/triSurface
|
|
|
|
# Extrude using arcs
|
|
USE_ARC=true runApplication -s arc extrudeMesh
|
|
|
|
# For output fields from checkMesh
|
|
mkdir -p 1
|
|
runApplication -s arc checkMesh -writeAllFields -time 1
|
|
|
|
|
|
# Extrude using splines
|
|
USE_ARC=false runApplication -s spline extrudeMesh
|
|
|
|
# For output fields from checkMesh
|
|
mkdir -p 2
|
|
runApplication -s spline checkMesh -writeAllFields -time 2
|
|
|
|
#------------------------------------------------------------------------------
|