CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   nNonOrthogonalCorrectors (https://www.cfd-online.com/Forums/openfoam/69257-nnonorthogonalcorrectors.html)

ternik October 16, 2009 17:02

nNonOrthogonalCorrectors
 
Hi,

when simulating flow past cylinder one will (most likely) end up with the non-orthogonal mesh. How many "NonOrthogonalCorrectors" should be used? In OF-User Guide it is written that 20 "NonOrthogonalCorrectors" should be used for the most non-orthogonal meshes... Non-orthogonality of my mesh (after running checkMesh) is:
  • Max: 44.7371
  • Average: 16.8382
Thanks for your advice,
Primoz.

gricci October 17, 2009 06:35

Maybe someone more expert will correct me, but i believe there is no fixed rule...
up now i've often set the number of nonOrthogonalCorrectors comparing the velocity profiles on a potential flow. Most of the time, I've noticed that 2 correctors are sufficient.
hope it helps

sega October 17, 2009 07:03

I can confirm gricci's experience.
I have played around with the number of non-orthogonal corrector loops and found that 2 are sufficient.
If I used more than 2 corrector loops the computational time was severely increased without improving the solution.

ternik October 17, 2009 09:44

Quote:

Originally Posted by sega (Post 233016)
I can confirm gricci's experience.
I have played around with the number of non-orthogonal corrector loops and found that 2 are sufficient.
If I used more than 2 corrector loops the computational time was severely increased without improving the solution.


Hi Sega (& Gricci),

thank you for your reply. I will give it try with with 2 (o.k. maybe 3) non-orthogonal corrector loops and... Non-orthogonal corrector loop(s) corrects the solution of pressure filed and velocity filed as well?

With greetings from Slovenia,
Primoz.

alberto October 17, 2009 16:30

I agree with 2 or 3. If you need more, it might be the case of reconsidering the mesh :D

hjasak October 18, 2009 04:35

On this mesh you do not need non-orthogonal correctors at all. There's usually nothing to worry about until the max non-orthogonality angle is approx 70 deg.

Hrv

ternik October 18, 2009 07:36

Quote:

Originally Posted by hjasak (Post 233066)
On this mesh you do not need non-orthogonal correctors at all. There's usually nothing to worry about until the max non-orthogonality angle is approx 70 deg.

Hrv

Thanks for this - but using non-orthogonal correctors (for example 2 or 3) will result in "more accurate" results or...

Regards,
Primoz.

hjasak October 18, 2009 07:41

Not really "more accurate". If you are running steady, you are doing iterations that will correct non-orthogonality (among other things), and in transient, you are running multiple PISO/SIMPLE correctors which will do the same thing.

Non-orthogonal correctorsare here to save you if your code is blowing up because the mesh is so non-orthogonal that the first solution is driving the velocity to be stupid. If your velocity is OK, you just keep doing "normal" correctors, without special need for non-orthogonal ones.

I use them on bad meshes (some people call them "industrial") :) when the solver is giving me trouble. Usually, 1 is enough, and I never used more than 3.

Hope this helps,

Hrvoje

ternik October 18, 2009 07:58

Quote:

Originally Posted by hjasak (Post 233084)
Not really "more accurate". If you are running steady, you are doing iterations that will correct non-orthogonality (among other things), and in transient, you are running multiple PISO/SIMPLE correctors which will do the same thing.

Non-orthogonal correctorsare here to save you if your code is blowing up because the mesh is so non-orthogonal that the first solution is driving the velocity to be stupid. If your velocity is OK, you just keep doing "normal" correctors, without special need for non-orthogonal ones.

I use them on bad meshes (some people call them "industrial") :) when the solver is giving me trouble. Usually, 1 is enough, and I never used more than 3.

Hope this helps,

Hrvoje

Yep, this helps. Thanks again for really helpful information on this subject.

Currently, my mesh is "academic" :)

With best wishes,
Primoz.


All times are GMT -4. The time now is 18:32.