Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when using loadBalance with rhoReactingFoam #42

Open
rasaka1701 opened this issue Aug 10, 2024 · 2 comments
Open

error when using loadBalance with rhoReactingFoam #42

rasaka1701 opened this issue Aug 10, 2024 · 2 comments

Comments

@rasaka1701
Copy link

rasaka1701 commented Aug 10, 2024

Hi, I try to slove a high Ma number field with parallel rhoReactingFoam, with mechanism of GRI3.0. The mechanism has been translated into *.foam files, and loadBalance is applied. My chemistrylProperties settings:

refmapping
{
    active          true;
    mixtureFractionProperties
    {
        oxidizerMassFractions
        {
            N2              0.8;
            O2              0.2;
        }
        fuelMassFractions
        {
            C2H4           1;
        }
        #include "$FOAM_CASE/chemkin/therm.foam";
    }
    tolerance       1e-8;
}

chemistry               on;

initialChemicalTimeStep     1.0e-10;

loadbalancing
{
	active	true;
	log	true;
}

chemistryType 
{
    solver  EulerImplicit;
    method  loadBalanced;
}

EulerImplicitCoeffs
{
    cTauChem        1;
    equilibriumRateLimiter      on;
}

odeCoeffs
{
    solver          seulex;
    absTol          1e-08;
    relTol          1e-05;
}

#include "$FOAM_CASE/chemkin/rea.foam";

It works for two steps, as log has reported the loadBalance results.

[202] Sender rank: 202 sends to: "(68 69 )" counts: "(1441 3832 )" remaining problems:  4477

Then it reports error, where different cores report different errors:

DILUPBiCGStab:  Solving for Uz, Initial residual = 6.68677e-05, Final residual = 2.46475e-11, No Iterations 1

[65] --> FOAM FATAL IO ERROR: 
[65] Wrong token type - expected scalar value, found on line 0: word 'z'

[117] Bad token - could not get int32

[17] Bad token - could not get scalar value

If i change chemistryType method into standard, it can normally run, so i think this would be a DLBfoam error.
Much gratitude if you have any suggestions.

@moreff
Copy link
Member

moreff commented Aug 10, 2024

Hi, which OpenFOAM version did you use?

@rasaka1701
Copy link
Author

Hi, which OpenFOAM version did you use?

i'm using of v2006, and also using DLBFoam v1.0_OFv2006.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants