|
[Sponsors] |
January 12, 2019, 04:51 |
Sequence: Order of Solving NS Equations
|
#1 |
Member
Join Date: Apr 2016
Posts: 91
Rep Power: 10 |
Hello,
can anybody give me some hints on literature, youtube videos, websites where it is explained, in which sequence the momentum, mass , energy and ideal gas equation are solved? So all equations depend on each other, but I would like to see some scheme/programming code for an finite volume code, so for one CELL , and want to see what happens here while calculating all the variables. All I always see is: explenation fv method + discretisation of one CELL for momentum equation. But what happens to the other equations? Thank you Best regards Moritz |
|
January 12, 2019, 08:43 |
|
#2 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,747
Rep Power: 66 |
A better way is to say that equations are coupled.
Coupled solvers solve all the equations at the same time. Solving equations in any order is a segregated approach and now there is a order to their dependence. SIMPLE is a popular approach to solving the continuity & momentum equation pair. You can just check out simpleFoam or rhoSimpleFoam in OpenFOAM. You'll see that the momentum equation is solved. Then the energy equation. Then the pressure correction equation for SIMPLE. Quote:
I guess you are on the right track. Discretization for other equations happens in similar fashion. No real tricks here if you understand it for the momentum equation. The question is what the approach to solve this set of coupled systems. Discretization schemes don't really matter for learning this part either. You can imagine there is some discretization and some funky equation for one cell, and similar ones for all cells, and this creates a big (linear) system that must be solved. Until you actually code your own code you can ignore the little details surrounding discretization as long as you recognize it must be done at some point. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free surface issues with interDyMFoam for hydroturbine | oumnion | OpenFOAM Running, Solving & CFD | 0 | October 6, 2017 15:05 |
conjugate heat transfer in OpenFOAM | skuznet | OpenFOAM Running, Solving & CFD | 99 | March 16, 2017 06:07 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |