mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
- In the corner case with few faces or points, the normal List I/O results in a compact list representation. This is less than desirable for external programs with simple line-based parsers. - Write exactly the following *Faces* // Patch: <word-Region> <word-Patch> <int-nFaces> ( <int-faceSize>(<int> .. <int>) ... ) *Points* // Patch: <word-Region> <word-Patch> <int-nPoints> ( (<float-x> <float-y> <float-z>) ... ) STYLE: only use serial form of createExternalCoupledPatchGeometry in tutorial - less confusing for the user, who wonders why it is being done twice.
35 lines
821 B
Bash
Executable File
35 lines
821 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
./Allrun.pre
|
|
|
|
#-- Run on single processor
|
|
#runApplication $(getApplication) &
|
|
# Simulated external solver
|
|
#runApplication ./externalSolver
|
|
|
|
# Decompose
|
|
runApplication decomposePar -allRegions
|
|
|
|
## Can verify parallel operation of createExternalCoupledPatchGeometry
|
|
# \rm -f log.createExternalCoupledPatchGeometry
|
|
# runParallel createExternalCoupledPatchGeometry \
|
|
# -regions '(topAir heater)' coupleGroup \
|
|
# -commsDir $PWD/comms
|
|
|
|
# Run OpenFOAM
|
|
runParallel $(getApplication) &
|
|
|
|
# Simulated external solver
|
|
runApplication ./externalSolver
|
|
|
|
# Reconstruct
|
|
runApplication reconstructPar -allRegions
|
|
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|