|
[Sponsors] |
setFields with gravity dependent gradient for pressure |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2009, 05:34 |
setFields with gravity dependent gradient for pressure
|
#1 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Hej,
I got a question regarding the setFields tool. Is it possible to set the pressure depending on the position in z direction, meaning it increases with decreasing z due to gravity and depth in the water? For example when a vessel containing 10 meter deep water is modeled, I want the pressure at the bottom to be 1bar more than at the top of the vessel.
__________________
~roman |
|
August 21, 2009, 06:45 |
|
#2 |
Senior Member
|
Hi roman
you can try funkysetfield. With it you can set more complex initial field. http://openfoamwiki.net/index.php/Co...funkySetFields Junwei |
|
August 21, 2009, 07:04 |
|
#3 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
I was looking at that already, but i am using 1.6.x, and it says there, that it is only usable for 1.5.
__________________
~roman |
|
August 21, 2009, 10:49 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
https://openfoam-extend.svn.sourcefo...unkySetFields/ (in fact the 1.5-version worked without problems). I only forgot to update the Wiki-page Hope that these good new make you so enthusiastic that you modify the Wiki-page accordingly (it is quite easy, I assure you). So that others coming after you will know that it works Bernhard |
||
August 24, 2009, 08:55 |
thanks
|
#5 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Thanks (also for this great tool),
also updated the wiki site + appropriate example
__________________
~roman |
|
August 24, 2009, 11:13 |
|
#6 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
||
Tags |
gravity, pressure, setfields |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure Gradient in channelOodles | sega | OpenFOAM Running, Solving & CFD | 14 | August 12, 2009 07:21 |
how to consider gravity in CFX | shrimp | CFX | 4 | September 8, 2008 21:41 |
can I use static enthalpy gradient to describe dT | Jay | CFX | 0 | August 7, 2008 00:01 |
How to compute gradient for non-orthogonal grids? | Paul Hsieh | Main CFD Forum | 3 | November 11, 2003 05:52 |
Effects of gravity in pipe - pressure distribution | Anthony Wachs | FLUENT | 2 | July 25, 2001 08:07 |