CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

interFoam solver needs pdRefCell?

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

LinkBack Thread Tools Display Modes
Old   May 9, 2009, 09:25
Smile interFoam solver needs pdRefCell?
New Member
Join Date: May 2009
Posts: 13
Rep Power: 8
openTom is on a distinguished road
Hi Foamers,
i've got a question about the interFoam solver. I have implemented a new case in OpenFoam. I'm using a closed box (4 walls and empty frontAndBack) and when I'm trying to solve my case with the interFoam solver, i have to set pdRefCell and pdRefValue in the fvsolution file. Why is this neccessary? If i have a look in the damBreak test case, there isn't set a pdRefCell/pdRefValue, too. Is this because of the damBreak test case having an atmosphere boundary condition?
openTom is offline   Reply With Quote

Old   May 10, 2009, 09:14
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,641
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
Hi Tom (?)

If you are solving the poisson equation specifying only zeroGradient type boundary conditions, then in the mathematical sense there is a unique solution _plus_ an unknown constant. This constant can only be determined (obtain a truely unique solution), by specifying the pressure at an internal located point.
In the case of the damBreak case a Dirichlet boundary condition is specified for the pressure at the atmospheric boundary, hence it is not needed to specify pdRefCell/pdRef.

Best regards,

ngj is offline   Reply With Quote

Old   May 10, 2009, 10:20
New Member
Join Date: May 2009
Posts: 13
Rep Power: 8
openTom is on a distinguished road
Hi Niels,
All right. That makes sense.
Thank you.
openTom is offline   Reply With Quote


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
About interFoam solver zou_mo OpenFOAM Running, Solving & CFD 127 May 25, 2011 16:30
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58
Wmake problem interFoam solver feijooos OpenFOAM Running, Solving & CFD 4 December 8, 2008 12:01
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32

All times are GMT -4. The time now is 14:25.