|
[Sponsors] |
Add the constant pressure gradient to the momentum equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2014, 04:56 |
Add the constant pressure gradient to the momentum equation
|
#1 |
Member
Jason Tan
Join Date: Sep 2014
Posts: 47
Rep Power: 11 |
Hello, everybody,
I want to add a constant pressure gradient to the momentum equation, say, 7.915e-3, and I use the icoFoam to transform my own solver. I saw the solution in this forum, imitating in the channelFoam, but when I run it, It appear the following errors: 2.JPG and the added part in the .C file is following: 5.JPG and the transportProperties file is following: 4.JPG and the gradP file is following: 3.JPG I really don't know how to do, someone can help me? thank you very much! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add implicit terms to the momentum equation? | MaryBau | OpenFOAM Programming & Development | 12 | July 3, 2022 05:22 |
error message | cuteapathy | CFX | 14 | March 20, 2012 06:45 |
Two-Phase Buoyant Flow Issue | Miguel Baritto | CFX | 4 | August 31, 2006 12:02 |
pressure gradient term in low speed flow | Atit Koonsrisuk | Main CFD Forum | 2 | January 10, 2002 10:52 |
Hydrostatic pressure in 2-phase flow modeling (long) | DS & HB | Main CFD Forum | 0 | January 8, 2000 15:00 |