|
[Sponsors] |
FVM code diverge when the gravity is included |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 12, 2018, 22:09 |
FVM code diverge when the gravity is included
|
#1 |
New Member
Gonski
Join Date: Jun 2018
Posts: 3
Rep Power: 7 |
Hi All,
I have an in-house code which is based on FVM for incompressible flows. I used it to solve liquid flow in a vertical pipe. The code was working if the gravity was omitted or not considered. The inclusion of the gravity led to the divergence of the code. I tested the code based on the codes from Ferziger and Peric's book. The same problem occurred. I would appreciate that you could suggest how to solve this problem. Regards, Gonski |
|
June 13, 2018, 03:06 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
Assuming you are using the Bousinnesq model, I can think about a numerical instability, a source term change the constraint on the time step. Have you tried to use a smaller dt? |
||
June 14, 2018, 09:53 |
|
#3 |
New Member
Gonski
Join Date: Jun 2018
Posts: 3
Rep Power: 7 |
I am not using Bousinnesq. My specific case needs the explicit consideration of gravity. Also, I solved a steady problem.
|
|
June 21, 2018, 22:03 |
|
#5 | |
New Member
Gonski
Join Date: Jun 2018
Posts: 3
Rep Power: 7 |
Quote:
the gravity (density*acceleration) was added as the source term into the momentum equations. There are no other treatments. For gas flow, the solution is ok. But for liquid flow, the code blew up rapidly. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange oscillations in my hydrodynamics code | selig5576 | Main CFD Forum | 1 | August 31, 2016 22:51 |
[Other] Comparing OpenFOAM to another code: advice on dealing with meshes? | SFr | OpenFOAM Meshing & Mesh Conversion | 1 | June 11, 2016 12:02 |
State of the art in CFD technology | Juan Carlos GARCIA SALAS | Main CFD Forum | 39 | November 1, 1999 14:34 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 11:44 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 10:20 |