|
[Sponsors] |
nonorthogonal corrections, when and where to apply? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 7, 2012, 06:00 |
nonorthogonal corrections, when and where to apply?
|
#1 |
New Member
Andrej
Join Date: Feb 2012
Posts: 2
Rep Power: 0 |
Hello!
I found that it is necessary to apply nonorthogonal corrections when working with skew meshes. What exactly are the necessary steps? Do I merely add a loop Code:
for (int nonOrth=0; nonOrth<nNonOrthCorr; nonOrth++){ solve(...); } The Programmer's guide mentions that snGradCorrection is also needed on nonorthogonal meshes. But snGradCorrection isn't called in any of the solvers. What if I solve several equations in a segregated solver? Do I run the loop on each individual equation: Code:
for (int nonOrth=0; nonOrth<nNonOrthCorr; nonOrth++){ Eqn1.solve(); } for (int nonOrth=0; nonOrth<nNonOrthCorr; nonOrth++){ Eqn2.solve(); } Code:
for (int nonOrth=0; nonOrth<nNonOrthCorr; nonOrth++){ Eqn1.solve(); Eqn2.solve(); } TEqn.solve() is added *outside* the non-orthogonal corrections loop. Why? Is TEqn not affected by non-orthogonality? If you know a good explanation for understanding the details of non-orthogonal corrections, please tell. Thank you Andrej |
|
|
|