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

readPISOControls.H

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2017, 07:00
Default readPISOControls.H
  #1
New Member
 
Marcelo Matos Martins
Join Date: Mar 2010
Location: Joinville, Santa Catarina, Brazil
Posts: 10
Rep Power: 16
demaram is on a distinguished road
Hello,

I tried to use the old solver developed on openfoam 1.4 and now I use openfoam 4.0 and when I am compling the openfoam asks the header "readPISOControls.H". But I can't find this header on openfoam. Can someone help me?

Thanks

Demaram
demaram is offline   Reply With Quote

Old   January 31, 2017, 07:58
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21
floquation will become famous soon enough
I don't think you need it.

Your solver calls:
Code:
        while (piso.loop())
The class pointed at by "piso" extends pimpleControl, so this calls:

Code:
bool Foam::pimpleControl::loop()
{
    read();
    (...)
}
Code:
void Foam::pimpleControl::read()
{
    solutionControl::read(false);

    // Read solution controls
    const dictionary& pimpleDict = dict();
    nCorrPIMPLE_ = pimpleDict.lookupOrDefault<label>("nOuterCorrectors", 1);
    nCorrPISO_ = pimpleDict.lookupOrDefault<label>("nCorrectors", 1);
    turbOnFinalIterOnly_ =
        pimpleDict.lookupOrDefault<Switch>("turbOnFinalIterOnly", true);
}
And you see that control variables are automatically read.
floquation is offline   Reply With Quote

Old   January 31, 2017, 08:09
Default
  #3
New Member
 
Marcelo Matos Martins
Join Date: Mar 2010
Location: Joinville, Santa Catarina, Brazil
Posts: 10
Rep Power: 16
demaram is on a distinguished road
Thanks for your reply ...

But, what I would like to know if there was some replacements or changes name of "readPISOControls.H" for some others headers.

Thanks

Demaram
demaram 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
replacement of readPISOControls.H on OpenFOAM 4 crenaudo OpenFOAM Programming & Development 0 September 27, 2016 10:27


All times are GMT -4. The time now is 00:59.