|
[Sponsors] |
FATAL ERROR : sum of mass fractions is zero for species |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
|
Hi
I am not new to this forum. Though I haven't posted a lot, but I do learned a lot from the experts in this forum. I encountered a problem. I mapFields the latest result from a coarse mesh to a finer mesh. The finer mesh passwd checkMesh. Though it failed when I chenMesh with -allTopology. I can still have the result from coarse mesh mapped into the finer mesh. In the paraview, I check the CH4, O2, CO, N2, CO2, CO, H2O are all mapped well. However, when I tried to run reactingFoam with the finer mesh with mapped result as the initial. It failed. Please give me some tips on solving this issue. Thank you. It showed the following error when running reactingFoam -->FOAM FATAL ERROR Sum of mass fraction is zero for species 7 (O2 H2 H2O CH4 CO CO2 N2) From void Foam::multiComponentMixture<ThermoType>::correctMa ssFractions() [with ThermoType = Foam::sutherlandTransport<Foam::species::thermo<Fo am::janafTherml<Foam: ![]() in file lnInclude/multiComponentMixture.c at line 65. FOAM exiting. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
|
I resolved this issue by going the other way around.
![]() Here's the working procedures 1. foamCloneCase coarseGridCase finerGridCase 2. change the blockMeshDict and snappyHexMeshDict and remesh to have a finer mesh. 3. Copy the initial condition (directory 0) from the coarserGridCase to the finerGridCase. 4. Run reactingFoam in the finerGridCase for 2 steps to get 2 (or any other steps) directory. 5. mapFields -consistent -sourceTime 'latestTime' ../coarseGridCase/ 6. Now you should have the results from coarse grid mapped to the finer mesh and it's runnable. 7. decomposePar and run it in paralle if needed. That's how I get this running. |
|
![]() |
![]() |
![]() |
Tags |
error, mapfields, reactingfoam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mass flow rate for fractions | andpush | CFX | 2 | April 7, 2022 05:54 |
Inconsistencies in reading .dat file during run time in new injection model | Scram_1 | OpenFOAM | 0 | March 23, 2018 22:29 |
Mass Fractions are uniform??? | WJXu | FLUENT | 0 | April 19, 2014 00:52 |
fluent definitions for mass fractions | perdita | FLUENT | 0 | December 6, 2010 05:00 |
Multrigrid for mass fractions | Fernando Herrera | Main CFD Forum | 0 | August 7, 2008 05:41 |