squareBend

#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————

runApplication blockMesh

# Extract some faces for sampling
runApplication surfaceMeshExtract \r
-patches inlet -time 0 \r
constant/triSurface/inlet_sample0.obj

# Recentre and inflate
runApplication surfaceTransformPoints \r
-recentre \r
-scale 3.5 \r
constant/triSurface/inlet_sample0.obj \r
constant/triSurface/inlet_sample1.obj

# Finer mesh
runApplication surfaceRefineRedGreen \r
constant/triSurface/inlet_sample1.obj \r
constant/triSurface/oversized_sample.obj

runApplication $(getApplication)

#——————————————————————————

実行年月:02/01/2021