|
[Sponsors] | |||||
setFields with gravity dependent gradient for pressure |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 22 ![]() |
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 |
|
|
|
|
|
|
|
|
#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 |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 22 ![]() |
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 |
|
|
|
|
|
|
|
|
#4 | |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
It is already "ported":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 |
||
|
|
|
||
|
|
|
#5 |
|
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 22 ![]() |
Thanks (also for this great tool),
also updated the wiki site + appropriate example
__________________
~roman |
|
|
|
|
|
|
|
|
#6 |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
||
|
|
|
|
![]() |
| Tags |
| gravity, pressure, setfields |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |