Open Andres-MG opened 1 year ago
The test NSCylinderSmagorinsky
is failing because we were using the 3D definition of delta
in a 2D case. How should we handle this?
It turns out that the issue might be in the way we check if a mesh is 2D. I will look into the implementation of CheckIfMeshIs2D
:
We are apparently considering some meshes as 2D even if not specifically stated in the control file.
We are computing h/n assuming that the cases are always 3D. With this PR, the value of h/n in 2D cases is correct as long as the extruded dimension is 1.
We use this when computing artificial viscosity and LES.