- first stab at a simple runtime selection for extra turbulence-related
features
- the code duplication seems to indicate that a common ancestor
for compressible and incompressible turbulence models could be good
- thermalDissipation()
corresponds to the energy lost due to viscous efffects and
what exits the energy cascade via dissipation.
- thermalDissipationEff()
corresponds to the energy lost due to effective viscous efffects.
Everything that is lost from momentum. Thus essentially assumes
turbulent equilibrium, but is what STAR-CD and Fluent seem to be using.
Thus even if it's wrong, provide it anyhow.
- minor consistency update in comments
requiredAlignment function code transfered from CV3D.C returning tensor required
to rotate z, y, x unit vectors to required primary, secondary and tertiary
aligments. findSurfaceNearestIntersection added as surface query to enable this.
Test Info statement code inserted to test points by hand.
on a surface point.
Added tolerance static varible to cellSizeFunction and checks for points on or
very near to the surface and "snap" them to the surface to cell size.
Moved
scalar maxProtrusionDistance = maxSurfaceProtrusion(vert);
out of the for loop in dualCellLargestSurfaceProtrusion, shouldn't have been in
- erroneous and expensive to calculate.
Stablised triSurfaceTools normalisation of c and added more info to FatalError
message.
Implemented linearDistance and uniformDistance cellSizeFunctions.
Reading mesh from file as an fvMesh once read, creating a volScalarField to test
the cellSizeFunctions.