Files
openfoam/tutorials/mesh/blockMesh/sphere7/Allrun
2024-02-19 11:47:26 +00:00

28 lines
958 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
#- Run blockMesh with projection
runApplication blockMesh
#- Generate pointMesh with additional feature patches
# (in constant/pointMesh/boundary). Extracted outside of mesh is not used.
runApplication surfaceMeshExtract -featureAngle 45 \
constant/triSurface/blockMesh.obj
#- TBD. move triSurfaces to resources
#mkdir -p constant/triSurface
#cp -f \
# "$FOAM_TUTORIALS"/resources/geometry/box222.obj \
# constant/triSurface/
#- Extract features from surface. Writes .eMesh
runApplication surfaceFeatureExtract
#- Morph mesh to the surface (.obj file) and feature-edges (.eMesh file)
runApplication moveDynamicMesh
#------------------------------------------------------------------------------