|
[Sponsors] |
May 10, 2023, 12:20 |
Error in fvSchemes
|
#1 |
New Member
TGS
Join Date: May 2023
Location: United Kingdom
Posts: 29
Rep Power: 3 |
Hi,
I have a script for fvSchemes file and the fvSchemes and fvsolutions files have defined all the solvers. This is my fvSchemes file. FoamFile { version 2.0; format ascii; class dictionary; location "system/fin"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default steadyState; } gradSchemes { default Gauss linear; } divSchemes { default none; } laplacianSchemes { default none; laplacian(alpha,e) Gauss linear corrected; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } // **************** and this is my fvsolution file. FoamFile { version 2.0; format ascii; class dictionary; location "system/fin"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { "e.*" { solver GAMG; smoother symGaussSeidel; tolerance 1e-6; relTol 0.1; } // eFinal //{ // $e; // tolerance 1e-06; // relTol 0; //} "alpha.*" { solver GAMG; smoother symGaussSeidel; tolerance 1e-6; relTol 0.1; } } PIMPLE { nNonOrthogonalCorrectors 0; } relaxationFactors { equations { e 0.7; alpha 0.7; } } // ************************************************** *********************** // However, when I run my program using chtMultiRegionFoam solver, always there is an error and the error can be described as follows. Solving for solid region fin --> FOAM FATAL IO ERROR: keyword laplacian(alphae,e) is undefined in dictionary "/home/thamasha/OpenFOAM/thamasha-10/run/tutorials/incompressible/icoFoam/engine/system/fin/fvSchemes/laplacianSchemes" file: /home/thamasha/OpenFOAM/thamasha-10/run/tutorials/incompressible/icoFoam/engine/system/fin/fvSchemes/laplacianSchemes from line 35 to line 36. From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 831. FOAM exiting I tried to change the key word alpha to alphae too. however, when I did like that way the terminal crashed. I checked all my boundary conditions in both fin and air too. But still struggling with the error. Therefore, could you please help me to solve this.Is that the error with memory? Last edited by TGS; May 11, 2023 at 06:12. |
|
Tags |
chtmultiregionfoam, laplacian, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fvschemes for laminar particles of fluidisedBed | gryphaea1635 | OpenFOAM Pre-Processing | 1 | April 26, 2020 17:10 |
using fvc::interpolate without fvSchemes / manually prescribe interpolation schemes | linch | OpenFOAM Programming & Development | 5 | March 20, 2018 06:49 |
Automatically change fvSchemes after a certain number of iterations | jgross | OpenFOAM Running, Solving & CFD | 2 | February 16, 2018 13:16 |
First order in fvSchemes does not seem to work | gerritgroot | OpenFOAM Running, Solving & CFD | 0 | September 30, 2015 21:06 |
Unrealistic values in cells at edge (high pressure & velocity) - fvSchemes?! | matzbanni | OpenFOAM Running, Solving & CFD | 8 | August 24, 2015 17:46 |