mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: CleanFunctions refinements
- include constant/faMesh cleanup (cleanFaMesh) as part of standard cleanCase - simplify cleanPolyMesh function to now just warn about old constant/polyMesh/blockMeshDict but not try to remove anything - cleanup cellDist.vtu (decomposePar -dry-run) as well ENH: foamRunTutorials - fallback to Allrun-parallel, Allrun-serial TUT: call m4 with file argument instead of redirected stdin TUT: adjust suffixes on decomposeParDict variants
This commit is contained in:
@ -5,8 +5,8 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
|
||||
restore0Dir
|
||||
|
||||
# Create the underlying block mesh
|
||||
m4 system/pachuka.m4 > system/blockMeshDict
|
||||
# Create the mesh
|
||||
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
||||
runApplication blockMesh
|
||||
|
||||
# Create faceSet for burner inlet and faceZone for coupled wall
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
`format' ascii;
|
||||
class dictionary;
|
||||
object blockMeshDict;
|
||||
}
|
||||
@ -16,8 +16,8 @@ FoamFile
|
||||
|
||||
scale 0.001;
|
||||
|
||||
changecom(//)changequote([,])
|
||||
define(calc, [esyscmd(perl -e 'printf ($1)')])
|
||||
changecom(//)changequote([,]) dnl>
|
||||
define(calc, [esyscmd(perl -e 'printf ($1)')]) dnl>
|
||||
define(VCOUNT, 0)
|
||||
define(vlabel, [[// ]Vertex $1 = VCOUNT define($1, VCOUNT)define([VCOUNT], incr(VCOUNT))])
|
||||
|
||||
@ -931,3 +931,5 @@ boundary
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user