mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
The Phi field is read if available otherwise created automatically with boundary conditions obtained automatically from the pressure field if available (with optional name) otherwise inferred from the velocity field. Phi Laplacian scheme and solver specification are required. See tutorials for examples.
22 lines
505 B
Bash
Executable File
22 lines
505 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Get application directory
|
|
application=`getApplication`
|
|
|
|
runApplication blockMesh
|
|
runApplication topoSet
|
|
runApplication refineHexMesh c0 -overwrite
|
|
cp -r 0.org 0
|
|
|
|
#runApplication $application
|
|
runApplication decomposePar -cellDist
|
|
runParallel $application 5
|
|
|
|
runApplication reconstructPar
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|