CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Add the constant pressure gradient to the momentum equation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2014, 04:56
Default Add the constant pressure gradient to the momentum equation
  #1
Member
 
Jason Tan
Join Date: Sep 2014
Posts: 47
Rep Power: 11
tzqfly is on a distinguished road
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!
tzqfly is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 04:59.