|
[Sponsors] |
December 4, 2018, 04:10 |
Error setting fvSolution PIMPLE
|
#1 |
New Member
Max
Join Date: Feb 2017
Posts: 11
Rep Power: 9 |
Hi,
i am new in OpenFOAM and i set up fvSolution file for PIMPLE, but i am getting an error message : Build : 4.0-244e6aa02817 Exec : interFoam Date : Dec 04 2018 Time : 08:33:34 Host : foam PID : 3632 CtrlDict : "/home/foam/Desktop/Simulations/Model3/Model3Sim/system/controlDict" Case : /home/foam/Desktop/Simulations/Model3/Model3Sim nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0.0001 PIMPLE: max iterations = 50 field pd : relTol 0, tolerance 0.0001 field U : relTol 0, tolerance 0.0001 Reading g Reading field pd Reading field alpha1 Reading field U Reading/calculating face flux field phi Reading transportProperties Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Calculating field g.h --> FOAM FATAL IO ERROR: keyword PISO is undefined in dictionary "/home/foam/Desktop/Simulations/Model3/Model3Sim/system/fvSolution" file: /home/foam/Desktop/Simulations/Model3/Model3Sim/system/fvSolution at line 21. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 456. FOAM exiting this is fvSolution file: FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSolution; } solvers { "alpha1.*" { nAlphaCorr 1; nAlphaSubCycles 4; cAlpha 2; MULESCorr yes; nLimiterIter 2; solver smoothSolver; smoother symGaussSeidel; tolerance 1e-07; relTol 0; } pcorr { solver PCG; preconditioner DIC; tolerance 1e-06; relTol 0; } pd { solver PCG; preconditioner DIC; tolerance 1e-06; relTol 0.1; } pdFinal { solver PCG; preconditioner DIC; tolerance 1e-07; relTol 0; } U { solver BiCGStab; preconditioner DILU; tolerance 1e-06; relTol 0; } } /*PISO { cAlpha 2; // alpha correctures }*/ PIMPLE { nOuterCorrectors 50; nCorrectors 2; nNonOrthogonalCorrectors 2; // skewness //nAlphaCorr 1; //nAlphaSubCycles 4; pRefCell 0; pRefValue 0; residualControl { pd { tolerance 1e-4; relTol 0; } U { tolerance 1e-4; relTol 0; } } } relaxationFactors { fields { pd 0,4; pdFinal 0,4; } equations { U 0,6; ".*" 1; } } i don't understand why he is still asking for PISO could anyone has an idea pls? |
|
December 4, 2018, 05:58 |
|
#2 |
New Member
Allen George
Join Date: Dec 2013
Posts: 16
Rep Power: 12 |
Did you notice the symbols /* and */ on the fvSolution code:
/*PISO { cAlpha 2; // alpha correctures }*/ this means that this part of the code wont be executed while running. Remove those symbols and try again. |
|
December 4, 2018, 06:33 |
|
#3 |
New Member
Max
Join Date: Feb 2017
Posts: 11
Rep Power: 9 |
Hi Allen,
yes i noticed, i commented it out, because i want to run PIMPLE. Actually with nOuterCorrectors > 1, i am not suppose to have this error |
|
December 4, 2018, 07:31 |
|
#4 |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
if you are running the extend version, that's because interfaceProperties library reads cAlpha value from PISO sub-dict! you need to un-comment it! It doesn't mean that the solver is going to run using PISO algorithm...
|
|
December 4, 2018, 08:31 |
|
#5 |
New Member
Max
Join Date: Feb 2017
Posts: 11
Rep Power: 9 |
Hi Daniel,
ok i will retry again thx |
|
December 4, 2018, 11:12 |
|
#6 |
New Member
Max
Join Date: Feb 2017
Posts: 11
Rep Power: 9 |
Hi Daniel,
i have tried, but for large time step it crashes, i had to choose 1e-6 . i am simulating multiphase flow interFOAM VOF. i have read that with PIMPLE Large time step is not a big deal |
|
December 4, 2018, 11:16 |
|
#7 | |
New Member
Allen George
Join Date: Dec 2013
Posts: 16
Rep Power: 12 |
Quote:
What is your courant number in the iterations before crashing ? Although it says that PIMPLE can handle courant numbers above 1, from my experience, when the courant number goes above 1, the solution crashes after few time steps. I would suggest to keep the courant number close to 0.5 for stable solutions. |
||
December 4, 2018, 11:37 |
|
#8 | |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
Quote:
you may want to turn MULESCorr on, it will allow for larger time steps with semi-implicit volume fraction formulation! |
||
December 4, 2018, 14:27 |
|
#9 | |
New Member
Max
Join Date: Feb 2017
Posts: 11
Rep Power: 9 |
Quote:
|
||
December 4, 2018, 14:29 |
|
#10 | |
New Member
Max
Join Date: Feb 2017
Posts: 11
Rep Power: 9 |
Quote:
Hi i have tried using the suggested adjustement, but it only works without crashing with time step starting from 1e-6 and i have to simulate up to 60s with a velocity of 4e-6 m/s Last edited by xneop; December 5, 2018 at 14:13. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PIMPLE – the value of the final under-relaxation factor | Zbynek | OpenFOAM | 9 | December 22, 2023 05:26 |
How to use PIMPLE properly? | floquation | OpenFOAM Running, Solving & CFD | 25 | December 2, 2021 09:40 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
error while running modified pimple solver | R_21 | OpenFOAM Programming & Development | 0 | May 28, 2015 06:59 |
A question on the PIMPLE algorithm | GerhardHolzinger | OpenFOAM Running, Solving & CFD | 4 | February 13, 2015 06:49 |