|
[Sponsors] |
August 24, 2022, 16:45 |
Navier-Stokes discretization
|
#1 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
Hi, im having trouble understanding the simple algorithm, specifically the discretization step of the momentum equation, in the link a matrix form of the momentum equation is showed, how do you get it?
https://www.openfoam.com/documentati...olver-momentum or the semi-discretization in this other link: https://openfoamwiki.net/index.php/O...hm_in_OpenFOAM again, how do you arrive to such equations? |
|
August 24, 2022, 18:42 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,737
Rep Power: 66 |
The discretization is not shown and you need to do it. What is given is a very high level procedure. However, given that there is some discretization, you should arrive at a linear system with some coefficient matrix.
First you need to integrate the governing equations over the comutational cell and apply the gauss-divergence theorem. Then you need to discretize term by term. The things you need to discretize are:
|
|
August 24, 2022, 21:46 |
|
#3 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
i was confused by the non linear terms of the momentum equations, but from what i read (versteeg) and your post they can be linearized, obtaining a linear system.
Thanks a lot. |
|
August 24, 2022, 23:33 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,737
Rep Power: 66 |
The way it works is you trade one non-linear PDE valid everywhere into system of algebraic equations that you solve over each cell. You linearize the non-linear thingy and achieve order reduction at the expense of increasing the order of the number of equations you have to solve from 1 to N (the number of cells). Perfectly balanced as all things should be.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Filtered navier stokes equation..LES:: | Palani Velladurai | Main CFD Forum | 7 | September 6, 2013 02:51 |
how many BC's should be assigned physically in navier stokes runs? | immortality | Main CFD Forum | 13 | August 30, 2013 20:08 |
Navier Stokes, Pressure BC, Discretization | Sree | Main CFD Forum | 0 | August 1, 2007 04:55 |
Newbie:Viscoelasticity and Navier stokes equation | Rajil Saraswat | Main CFD Forum | 2 | June 9, 2003 07:21 |
help: I am trying to solve Navier Stokes compressible and viscid flow | Jose Choy | Main CFD Forum | 2 | May 18, 2000 05:45 |