|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Moulish Kommu
Join Date: Jan 2017
Posts: 8
Rep Power: 10 ![]() |
Hi, can any one send me the code for 1D icompressible flow using simple algorithm
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,063
Rep Power: 75 ![]() ![]() ![]() |
What do you mean for a "1D incompressible flow"? It is constrained by the du/dx=0 continuity equation that means you have the solution u=constant(x). Therefore you get only
du/dt+dp'/dx=0 |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Moulish Kommu
Join Date: Jan 2017
Posts: 8
Rep Power: 10 ![]() |
I just wanted to know the approach for coding so that i can include any source term in momentum eqn later.
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| code for SIMPLE algorithm - 2D Lid driven cavity flow problem - Collocated grid | h_amooie | OpenFOAM Programming & Development | 1 | January 22, 2022 12:33 |
| Validation for a channel flow code | jinhua2015 | Main CFD Forum | 7 | December 31, 2015 13:03 |
| mass flow inlet | Denis Tschumperle | FLUENT | 7 | August 9, 2000 03:19 |
| momentum under-relaxation for compressible flow with SIMPLE | Mihai ARGHIR | Main CFD Forum | 0 | April 7, 2000 05:58 |