Open OpenFoam-User opened 1 year ago
Hey there,
to determine the size of the elements at any point in the domain we use a mathematical function that is constructed by all boundary vertices. Both scale and range parameters are used for this function, where the scale parameter sets (more or less) the local element size in the vicinity of a boundary vertex. The range parameter controls the range within which the specified element scale around the boundary vertex is to be maintained.
Greetings Flo
Thanks for the explanation.
In what units should one expect scale and range parameters to be? are they in the same units of the vertices (e.g meter or whatever) or (some percentage)?
The scaling factor is a dimensionless number > 0 - it gets multiplied with the global grid scale (which is set in the input file), in order to estimate the local grid scale (so you could see its unit as percentage).
The unit of the range parameter is an actual length scale.
Greetings Flo
Hey there,
the meaning of the scale parameter has been adjusted in the newest release (v1.3), since it seemed to be a bit confusing.
The provided number does now define a local mesh scale that is applied - and not a scaling number by which the global mesh scale is multiplied as before.
Hopefully, this will also simplify the overall meshing process.
Greetings Flo
Hello,
In the examples under
input
directory, one can find the following:Could you please explain the meaning of the last two parameters
Scale parameter
andRange parameter
?I appreciate your help
Thank you