CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 25, 2013, 05:00
Default The meaning and use of pRefCell and pRefValue
  #1
New Member
 
jiangfeng
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.

Thanks
jf115009 is offline   Reply With Quote

Old   September 25, 2013, 09:58
Default
  #2
Senior Member
 
Håkon Strandenes
Join Date: Dec 2011
Location: Norway
Posts: 111
Rep Power: 10
haakon will become famous soon enough
FvSolution pRefCell and pRefValue

http://www.openfoam.org/docs/user/fv...-1250004.5.3.1

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

Reply

Tags
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 23:43.