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

How to set prefcell/prefvalue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2012, 05:35
Default How to set prefcell/prefvalue
  #1
NGH
New Member
 
NGH
Join Date: May 2011
Posts: 15
Rep Power: 15
NGH is on a distinguished road
Hi

Im trying to set up an Openfoam case and got this fatal error, prefvalue/prefcell not set. Why is this so and how and where to set the value as I cant find this variable under 0, system directories? Thanks
NGH is offline   Reply With Quote

Old   May 3, 2012, 10:31
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
I believe it's in your system/fvSolution file, at the bottom usually. It's in a sub-heading that depends on the solver. If your solver uses the PISO algorithm, it'll be in the "PISO" heading. E.g.:

Code:
PISO
{
    nCorrectors     2;
    nNonOrthogonalCorrectors 0;
    pRefCell        0;
    pRefValue       0;
}
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Reply


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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 07:55
Porous region set braket FLUENT 4 November 18, 2010 03:09
What value shall I set for the Convergence criteria? steventay CFX 7 May 14, 2010 13:44
Install problem in linux navaladi OpenFOAM Installation 11 July 17, 2008 03:24
Ibm java gcc rrr OpenFOAM Installation 2 December 30, 2005 05:18


All times are GMT -4. The time now is 13:20.