multiscale-catalysis-polimi / catalyticFoam

Computational Fluid Dynamics framework for heterogeneous reacting flows
GNU General Public License v3.0
24 stars 8 forks source link

Problem running sphere case #5

Closed RSuryaNarayan closed 1 year ago

RSuryaNarayan commented 1 year ago

Hello

I am able to run the example/case and example/case_isat just fine. However, while running the sphere case, I get the following error:

--> FOAM FATAL IO ERROR: 
keyword YiFinal is undefined in dictionary "/scratch.tmp/ramac106/surface_chemistry/OpenFOAM/catalyticFoam/example/sphere/system/fvSolution/solvers"

file: /scratch.tmp/ramac106/surface_chemistry/OpenFOAM/catalyticFoam/example/sphere/system/fvSolution/solvers from line 16 to line 69.

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

FOAM exiting

Any help is appreciated.

RSuryaNarayan commented 1 year ago

Looks like the file fvSolution~ https://github.com/multiscale-catalysis-polimi/catalyticFoam/blob/master/example/sphere/system/fvSolution~ is a tad bit different from the fvSolution file and I seem to have caught the latter during git clone... seems to run fine after I add these lines:

YiFinal
    {
        $Yi;    
        relTol          0.;
    }