CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

How to set prefcell/prefvalue

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

LinkBack Thread Tools Display Modes
Old   May 3, 2012, 04:35
Default How to set prefcell/prefvalue
New Member
Join Date: May 2011
Posts: 15
Rep Power: 8
NGH is on a distinguished road

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, 09:31
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 15
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.:

    nCorrectors     2;
    nNonOrthogonalCorrectors 0;
    pRefCell        0;
    pRefValue       0;
Follow me on twitter @DavidGaden
marupio 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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 30 September 19, 2017 12:38
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 12:44
Install problem in linux navaladi OpenFOAM Installation 11 July 17, 2008 02:24
Ibm java gcc rrr OpenFOAM Installation 2 December 30, 2005 05:18

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