Problem computing divergence field
I'm actually trying to compute the divergence field for a laminar compressible flow on a cylinder and I got weird results around the cylinder. I have a zero divergence field inside the structured grid around cylinder and then some fluctuation in the non structured grid.
The code I used for this was just this at the end of my timeloop
Note: the flow is laminar with low Mach number 0.05 using rhoPimpleFoam, in attachment the divergence field with and without the mesh
There are a good number of posts explaining that what should be computed is
and not fvc::div(U).
|All times are GMT -4. The time now is 22:32.|