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

How to set prefcell/prefvalue

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2012, 04:35
Default How to set prefcell/prefvalue
  #1
NGH
New Member
 
NGH
Join Date: May 2011
Posts: 15
Rep Power: 14
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, 09:31
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 21
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 06:55
Porous region set braket FLUENT 4 November 18, 2010 02: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 04:18


All times are GMT -4. The time now is 06:04.