CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   keyword PISO is undefined in dictionary, Please help. (https://www.cfd-online.com/Forums/openfoam-pre-processing/125220-keyword-piso-undefined-dictionary-please-help.html)

TommiPLaiho October 21, 2013 17:10

keyword PISO is undefined in dictionary, Please help.
 
Hi,

I try to run

Code:

pisoFoam
And it gives me following error:

Quote:

--> FOAM FATAL IO ERROR:
keyword PISO is undefined in dictionary "/home/tommi2/OpenFOAM/tommi2-2.1.1/run/system/fvSolution"

file: /home/tommi2/OpenFOAM/tommi2-2.1.1/run/system/fvSolution from line 22 to line 71.

From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 461.

FOAM exiting

My fvsolution file which contains the error is as follows:
PHP Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM Extend Project: Open Source CFD        |
|  \\    /   O peration     | Version:  1.6-ext                               |
|   \\  /    A nd           | Web:      www.extend-project.de                 |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    
version     2.0;
    
format      ascii;
    class       
dictionary;
    
location    "system";
    
object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    
p
    
{
        
solver          PCG;
        
preconditioner  DIC;
        
tolerance       1e-06;
        
relTol          0.05;
    }

    
pFinal
    
{
        
solver          PCG;
        
preconditioner  DIC;
        
tolerance       1e-06;
        
relTol          0;
    }

    
U
    
{
        
solver          PBiCG;
        
preconditioner  DILU;
        
tolerance       1e-05;
        
relTol          0;
    }

    
k
    
{
        
solver          PBiCG;
        
preconditioner  DILU;
        
tolerance       1e-05;
        
relTol          0;
    }

    
B
    
{
        
solver          PBiCG;
        
preconditioner  DILU;
        
tolerance       1e-05;
        
relTol          0;
    }

    
nuTilda
    
{
        
solver          PBiCG;
        
preconditioner  DILU;
        
tolerance       1e-05;
        
relTol          0;
    }
}

    
PISO
  
{
      
nCorrectors     2;
      
nNonOrthogonalCorrectors 2;
      
pRefCell        2;
      
pRefValue       2;
  } 

// ************************************************************************* // 

I am totally lost what to do. I am a newbie what comes to OpenFOAM, please help and thanks in advance. I am trying to run a wind tunnel simulation of a car.

TommiPLaiho October 21, 2013 18:11

Well this is embarrassing I forgot to save properly and now it calculates the simulation when I fixed this....I still do not know why these figures work maybe somebody has an explanation.

sidvud98 May 26, 2019 03:50

What did you mean by saving properly?


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