mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
The new automated <field>.orig reading has made 0.orig directories and associated scripting redundant.
19 lines
389 B
Bash
Executable File
19 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Create mesh
|
|
runApplication blockMesh
|
|
|
|
# Initialise with potentialFoam solution
|
|
runApplication potentialFoam
|
|
|
|
rm -f 0/phi
|
|
|
|
# Run the solver
|
|
runApplication `getApplication`
|
|
|
|
#------------------------------------------------------------------------------
|