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

setFields with gravity dependent gradient for pressure

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2009, 05:34
Default setFields with gravity dependent gradient for pressure
  #1
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
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
romant is offline   Reply With Quote

Old   August 21, 2009, 06:45
Default
  #2
Senior Member
 
su_junwei's Avatar
 
su junwei
Join Date: Mar 2009
Location: Xi'an China
Posts: 151
Rep Power: 20
su_junwei is on a distinguished road
Send a message via MSN to su_junwei
Hi roman

you can try funkysetfield. With it you can set more complex initial field.
http://openfoamwiki.net/index.php/Co...funkySetFields

Junwei
su_junwei is offline   Reply With Quote

Old   August 21, 2009, 07:04
Default
  #3
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
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
romant is offline   Reply With Quote

Old   August 21, 2009, 10:49
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by romant View Post
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.
Don't let such technicalities bother you 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
gschaider is offline   Reply With Quote

Old   August 24, 2009, 08:55
Default thanks
  #5
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
Thanks (also for this great tool),

also updated the wiki site + appropriate example
__________________
~roman
romant is offline   Reply With Quote

Old   August 24, 2009, 11:13
Default
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by romant View Post
Thanks (also for this great tool),

also updated the wiki site + appropriate example
... and corrected two spelling mistakes that must have been there for years. Thanks
gschaider is offline   Reply With Quote

Reply

Tags
gravity, pressure, setfields


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


All times are GMT -4. The time now is 13:54.