CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Sequence: Order of Solving NS Equations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2019, 04:51
Default Sequence: Order of Solving NS Equations
  #1
Member
 
Join Date: Apr 2016
Posts: 91
Rep Power: 10
CellZone is on a distinguished road
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
CellZone is offline   Reply With Quote

Old   January 12, 2019, 08:43
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,747
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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:
Originally Posted by CellZone View Post
All I always see is: explenation fv method + discretisation of one CELL for momentum equation. But what happens to the other equations?

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.
LuckyTran is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:25.