CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Hydrostatic pressure initial Field

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

LinkBack Thread Tools Display Modes
Old   April 1, 2010, 09:49
Question Hydrostatic pressure initial Field
New Member
Diego Villa
Join Date: Mar 2010
Location: Genova Italy
Posts: 28
Rep Power: 9
DiegoNaval is on a distinguished road
Sponsored Links
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.

DiegoNaval is offline   Reply With Quote
Sponsored Links

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

you could use funkySetFields for example:

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


ckroener is offline   Reply With Quote

Old   April 1, 2010, 10:21
New Member
Diego Villa
Join Date: Mar 2010
Location: Genova Italy
Posts: 28
Rep Power: 9
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


pressure, setfields, static

Thread Tools
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 On
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 07:51
AMG versus ICCG msrinath80 OpenFOAM Running, Solving & CFD 2 November 7, 2006 16:15
Automatic Mesh Motion solver michele OpenFOAM Running, Solving & CFD 10 September 26, 2005 08:21

Sponsored Links

All times are GMT -4. The time now is 17:46.