#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————# Add bit of preprocessing of the surface
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# Add all surfaces
runApplication -s BigPipeInlet surfaceAdd \r
constant/triSurface/BigPipe.obj constant/triSurface/Inlet.obj \r
constant/triSurface/geometry.obj
runApplication -s InletSmall surfaceAdd \r
constant/triSurface/geometry.obj constant/triSurface/InletSmall.obj \r
constant/triSurface/geometry.obj
runApplication -s Outlet surfaceAdd \r
constant/triSurface/geometry.obj constant/triSurface/Outlet.obj \r
constant/triSurface/geometry.obj
runApplication -s SmallPipe surfaceAdd \r
constant/triSurface/geometry.obj constant/triSurface/SmallPipe.obj \r
constant/triSurface/geometry.obj# Extract features from surface
runApplication surfaceFeatureExtract# Generate mesh and features
# ~~~~~~~~~~~~~~~~~~~~~~~~~~runApplication blockMesh
runApplication -s presmooth checkMesh# Detect feature edges on mesh and generate new point patches from these.
# Note we only are interested in inter-patch features for this particular
# geometry.
runApplication surfaceMeshExtract \r
-featureAngle 180 constant/triSurface/blockMesh.obj# Generate some VTK files for the added point patches
setSet
実行年月:06/06/2025