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

Hydrostatic pressure initial Field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2010, 09:49
Question Hydrostatic pressure initial Field
  #1
Member
 
Diego Villa
Join Date: Mar 2010
Location: Genova Italy
Posts: 37
Rep Power: 16
DiegoNaval is on a distinguished road
Hello
I'm a new OpenFoam user and developper. I'm trying to make a simulation of a floating object in to the wather. I use the interFoam solver (with OF1.6), with the k-e modell for the turbulen. I set all the fields, in particular alpha1 to set the initial free surface position with (setFields).
I need to set the hydrostatic pressure (non p equal 0 in all the domain) at the fist time, because the solver crash after 3 iteration.
Can some one tell me how can I do this?

Thanks a lot.

Diego
DiegoNaval is offline   Reply With Quote

Old   April 1, 2010, 10:01
Default
  #2
New Member
 
Christian Kröner
Join Date: Nov 2009
Location: Bonn
Posts: 7
Rep Power: 16
ckroener is on a distinguished road
Hi,

you could use funkySetFields for example:

http://openfoamwiki.net/index.php/Co...funkySetFields

in 5.1 it is described how to initialise a pressure field gradient due to gravity.

ckroener



ckroener is offline   Reply With Quote

Old   April 1, 2010, 10:21
Default
  #3
Member
 
Diego Villa
Join Date: Mar 2010
Location: Genova Italy
Posts: 37
Rep Power: 16
DiegoNaval is on a distinguished road
Thank you Christian

Diuring the eastert holidays i'll try this.

To run my simulation it is right that i must use:
1. interFoam as solver for incompressible rans bi-phase immiscible
2. funkySetFields for set the initial condition
3. GroovyBC for the boudary condition for alpha1, p, and U, k, e for the inlet
4. and to have a no reflecting condition as outlet what can I use?

Thanks again.
DiegoNaval is offline   Reply With Quote

Reply

Tags
pressure, setfields, static


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
Problem running buoyantFoam anke OpenFOAM 4 August 28, 2013 04:43
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 05:55
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
AMG versus ICCG msrinath80 OpenFOAM Running, Solving & CFD 2 November 7, 2006 15:15
Automatic Mesh Motion solver michele OpenFOAM Running, Solving & CFD 10 September 26, 2005 08:21


All times are GMT -4. The time now is 19:43.