mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +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.
15 lines
360 B
Bash
Executable File
15 lines
360 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
application=`getApplication`
|
|
|
|
cp -r 0.org 0 > /dev/null 2>&1
|
|
runApplication blockMesh
|
|
runApplication $application
|
|
runApplication streamFunction
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|