#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————# For post-processing
runApplication -s dryrun PDRsetFields -dry-runrestore0Dir
runApplication PDRblockMesh
runApplication PDRsetFields
# Get location for ignition
echo “Ignition point from constant/combustionProperties > system/ignitionPoint”
echo “// Ignition point extracted from constant/combustionProperties” >| \r
constant/ignitionPointfoamDictionary -entry ignitionSites \r
constant/combustionProperties | \r
sed -ne ‘s/^.*(location *([^;]*).*$/1;/p’ >> constant/ignitionPoint# Use constant/ignitionPoint for topoSet
runApplication topoSetrunApplication refineHexMesh ignition
runApplication setFields
runApplication $(getApplication)
#——————————————————————————
実行年月:08/02/2024