mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: consistent output format for coupled geometry description (issue #278)
- 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.
This commit is contained in:
@ -15,11 +15,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Decompose
|
||||
runApplication decomposePar -allRegions
|
||||
|
||||
# Verify parallel operation of createExternalCoupledPatchGeometry
|
||||
\rm -f log.createExternalCoupledPatchGeometry
|
||||
runParallel createExternalCoupledPatchGeometry \
|
||||
-regions '(topAir heater)' coupleGroup \
|
||||
-commsDir $PWD/comms
|
||||
## Can verify parallel operation of createExternalCoupledPatchGeometry
|
||||
# \rm -f log.createExternalCoupledPatchGeometry
|
||||
# runParallel createExternalCoupledPatchGeometry \
|
||||
# -regions '(topAir heater)' coupleGroup \
|
||||
# -commsDir $PWD/comms
|
||||
|
||||
# Run OpenFOAM
|
||||
runParallel $(getApplication) &
|
||||
|
||||
Reference in New Issue
Block a user