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

Code exits with 'rapidxml::parse_error' #19

Open
vyaas opened this issue Apr 13, 2020 · 2 comments
Open

Code exits with 'rapidxml::parse_error' #19

vyaas opened this issue Apr 13, 2020 · 2 comments

Comments

@vyaas
Copy link

vyaas commented Apr 13, 2020

Hi,
I was able to get the code to compile successfully with the minimalist settings.
I'm trying to get the packaged tutorial case "MethaneCoflowFlame" to work for a CH4 global mechanism. At the first time step, the code exits with the following error:

Starting time loop

Courant Number mean: 6.41183184969e-05 max: 0.000150895373491
deltaT = 1.19999040008e-06
Time = 1.1999904e-06

diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for Ux, Initial residual = 1, Final residual = 9.59486949027e-12, No Iterations 1
DILUPBiCGStab:  Solving for Uy, Initial residual = 0.0201082144937, Final residual = 4.2849627155e-11, No Iterations 1
DILUPBiCGStab:  Solving for Uz, Initial residual = 0.999999999844, Final residual = 3.69112647038e-10, No Iterations 1
 Umin: (-3.3731055518e-06 -6.95967895832e-06 0) Umax: (0.000159554715889 6.95967895832e-06 0.15)
DILUPBiCGStab:  Solving for CH4, Initial residual = 1, Final residual = 3.23802485131e-16, No Iterations 1
DILUPBiCGStab:  Solving for O2, Initial residual = 0.999932492575, Final residual = 1.33812383028e-16, No Iterations 1
DILUPBiCGStab:  Solving for CO2:  solution singularity
DILUPBiCGStab:  Solving for H2O:  solution singularity
Inert species is N2 with local index equal to 4
Transport equations of species solved in 0.004862 s 
DILUPBiCGStab:  Solving for T, Initial residual = 0.542046994922, Final residual = 2.76226339329e-10, No Iterations 1
 * T gas min/max (after transport)   = 300, 300
 * Solving homogeneous chemistry (OpenSMOKE++ solver, Direct integration)... 
terminate called after throwing an instance of 'rapidxml::parse_error'
  what():  unexpected end of data

Any idea about what this is due to? I am using the latest version of rapidxml and gcc on OpenFOAM-6.

Thanks!

@BinWgatech
Copy link

Hi vyaas,

I have exactly same problem. Solvers successfully compiled but having this 'rapidxml::parse_error' during running the tutorials. I was wondering if this error has been solved yet. Thanks a lot!

I am using rapidxml-1.13 and OpenFOAM-6.

Best,
Bin

@palkinev
Copy link

palkinev commented Mar 7, 2023

By default, on debian 11.6 (gcc-10.2.1, openmpi-4.1.0) I had the same issue.
I had to install a new toolchain (gcc-4.9.2+openmpi-3.1.6+libeigen-3.3.7+libboost-1.69+rapidxml-1.13) to make it work without runtime errors.

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

3 participants