mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Adding decompose boundaryRadiationProperties in constant folder in Allrun for oppositeBurningPanels and smallPoolFire3D
41 lines
994 B
Bash
Executable File
41 lines
994 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Set application name
|
|
application=`getApplication`
|
|
|
|
runApplication blockMesh
|
|
|
|
runApplication topoSet -dict system/cRefine.topoSetDict
|
|
runApplication refineMesh -overwrite -dict system/refineMeshDict
|
|
|
|
rm log.topoSet
|
|
runApplication topoSet -dict system/f.topoSetDict
|
|
|
|
# create the pyrolysis region.
|
|
runApplication extrudeToRegionMesh -overwrite
|
|
|
|
|
|
rm log.topoSet
|
|
runApplication topoSet -dict system/fBurner.topoSetDict
|
|
|
|
runApplication createPatch -overwrite
|
|
|
|
# Decompose mesh, constant/boundaryRadiationProperties and fields
|
|
decomposePar -force -constant > log.decomposePar 2>&1
|
|
|
|
decomposePar -region panelRegion > log.decomposeParPanelRegion 2>&1
|
|
|
|
decomposePar -fields > log.decomposePar 2>&1
|
|
|
|
runParallel `getApplication` 6
|
|
|
|
paraFoam -touch
|
|
paraFoam -touch -region panelRegion
|
|
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|