...
Similarly, a script in FLUENT can process a completed mesh, and automatically set up the solver, initial conditions, fluid properties, convergence criteria, and save the convergence solution data file to be analyzed later. The incomplete script can be accessed here.
In Depth Explanation of
...
Journal Files
Following is the sample of the heading of the journal file that was added by user to declare the value of the variablesdifferent parameters.
/clearance height
$ch = 0.1
...
/create baffle spacing
$bs1 = 0.1
$bs2 = 0.1
$bs3 = 0.1
$bs4 = 0.1
$bs5 = 0.1
$bs6 = 0.1
/create x-coordinate
$w0 = 0
$b1 = $w0+$bs1
$b2 = $b1+$bs2
$b3 = $b2+$bs3
$b4 = $b3+$bs4
$b5 = $b4+$bs5
$w6 = $b5+$bs6
/create y-coordinate
$y1 = $ch
$y2 = $fh-$ch
...
Note also Gambit recognize mathematical operators.
By changing the appropriate relating different coordinates of the geometry further down the script files to parameters of $ch, $fh, $bs, we only need to change the value of those parameters at the beginning of the journal and we are done creating geometry that we desiredflocculation tank to the declared parameters, we can generate meshes with different geometry by just changing the heading of the journal file.
Do look at the script here for further understanding.