CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

The meaning and use of pRefCell and pRefValue

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

Like Tree1Likes
  • 1 Post By haakon

LinkBack Thread Tools Display Modes
Old   September 25, 2013, 05:00
Default The meaning and use of pRefCell and pRefValue
New Member
Join Date: Sep 2013
Posts: 1
Rep Power: 0
jf115009 is on a distinguished road
hello everyone
I am a new user for OF.During the process,I have encountered many questions,but now I have a touchy question. who can explain the meaning and use of pRefCell and pRefValue ? It's better give me some advice about learning OF for a new user.

jf115009 is offline   Reply With Quote

Old   September 25, 2013, 09:58
Senior Member
Håkon Strandenes
Join Date: Dec 2011
Location: Norway
Posts: 111
Rep Power: 12
haakon will become famous soon enough

To state it simple, and to avoid creating a post with only two links:
Imagine an incompressible case where all the boundaries have a zero-gradient pressure condition. What is the pressure inside the domain? Impossible to calculate. The equation system of such a case is thus ill-posed, and we need some more information to calculate the answer. Therefore we select pRefCell and set the pressure in that cell to pRefValue. Then we can solve the system.

Remember that the pressure in an incompressible simulation is somewhat strange, as it is more like a driving force than a physical quantity, as only the relative differences have any meaning.
sharonyue likes this.
haakon is offline   Reply With Quote


prefcell, prefvalue

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

All times are GMT -4. The time now is 05:03.