DEM gasification model error (rxn_com_mod.f:473)

Hi all. I am a new MFIX user. I am trying to build a model of a gasification process. I have taken as reference the model legacy_tutorials\variable_density. When I try to solve the MFIX simulation, I get the following error:

Error from rxn_com_mod.f:473
Fatal error reported on one or more processes. The .LOG file
may contain additional information about the failure.
Please refer to the Readme file on the required input format and make
the necessary corrections to the data file.
species equations.
|--------------------------------------------------------------------|

Name: PYROLYSIS
Chemical Eq: BIOMASS → 0.9639CO + 0.8771CO2 + 0.3491*CH4 + 1.6
--------------------------------------------------------------------
Classification: Heterogeneous
--------------------------------------------------------------------
Species
Alias
----------
BIOMASS
----------
CO
----------
CO2
----------
CH4
----------
H2
----------
H2O
----------
Error from rxn_com_mod.f:473
Fatal error reported on one or more processes. The .LOG file
may contain additional information about the failure.
Please refer to the Readme file on the required input format and make
the necessary corrections to the data file.
species equations.
--------------------------------------------------------------------
Name: TARRING
--------------------------------------------------------------------
Chemical Eq: BIOMASS → TAR
--------------------------------------------------------------------
Classification: Heterogeneous
--------------------------------------------------------------------
Species
Alias
----------
BIOMASS
----------
TAR
----------
Error from rxn_com_mod.f:473
Fatal error reported on one or more processes. The .LOG file
may contain additional information about the failure.
--------------------------------------------------------------------
Name: DRYING
--------------------------------------------------------------------
Chemical Eq: MOISTURE → H2O
--------------------------------------------------------------------
Classification: Heterogeneous
--------------------------------------------------------------------
Species
Alias
----------
MOISTURE
----------
H2O
----------
--------------------------------------------------------------------
Name: PYROLYSIS
--------------------------------------------------------------------
Chemical Eq: BIOMASS → 0.9639CO + 0.8771CO2 + 0.3491*CH4 + 1.6
--------------------------------------------------------------------
Classification: Heterogeneous
--------------------------------------------------------------------
Species
Alias
----------
BIOMASS
----------
CO
----------
CO2
----------
CH4
----------
H2
----------
H2O
----------
--------------------------------------------------------------------
Name: CHARRING
--------------------------------------------------------------------
Chemical Eq: BIOMASS → 8.3334*CHAR
--------------------------------------------------------------------
Classification: Homogeneous
--------------------------------------------------------------------
Species
Alias
----------
BIOMASS
----------
CHAR
----------
--------------------------------------------------------------------
Name: TARRING
--------------------------------------------------------------------
Chemical Eq: BIOMASS → TAR
--------------------------------------------------------------------
Classification: Heterogeneous
--------------------------------------------------------------------
Species
Alias
----------
BIOMASS
----------
TAR
----------

Thank you for the help.

gasification.zip (25.2 MB)

Hi Christian.

There are several issues here.

Firstly - this error popup should have some text in it, somehow the message is getting lost. I’ll fix this for the next release.

However, looking at the code in rxn_com_mod.f at line 473, I can see that the problem is that species equations are not enabled for the fluid phase:

shot-2022-12-21_15-04-37

The GUI tries to prevent you from creating reactions unless species equations are enabled, but perhaps you disabled species equations after setting up reactions (we should prevent that too).

After enabling species equations for the fluid phase I can run your cas, but I run into another error:

This is an overflow or division by zero or similar in your code. Unfortunately you may not get as much detail if you are running on Windows.

Good luck.

– Charles

Hint:

96	      DES_RATES(Drying)    = 5.13d6 * exp(-1.058d4/TsX) * c_Moisture
(gdb) print tsx
$1 = 0