AMReX-Combustion / PeleLM

An adaptive mesh hydrodynamics simulation code for low Mach number reacting flows
https://amrex-combustion.github.io/PeleLM/
Other
83 stars 41 forks source link

SRK EoS support #208

Closed RSuryaNarayan closed 2 years ago

RSuryaNarayan commented 2 years ago

Hi I am running a case with the SRK EOS of PelePhysics by setting

Eos_Model  = Soave-Redlich-Kwong

in the GNUMakefile and though having not called the function T2Hi explicitly anywhere in my case files I get the following error:

amrex::Error::0::T2Hi not physically possible for SRK EoS !!!
SIGABRT
See Backtrace.0 file for details

I guess it's called somewhere in the PeleLM.cpp file. Is there anyway I can fix this?

Thanks

esclapez commented 2 years ago

Hi Surya,

Unfortunately, switching to a real-gas EOS in the PeleLM context (low Mach number, implicit diffusion) is a bit more involved than for PeleC such that PeleLM currently doesn't support SRK. Hopefully, we'll get to that someday, but it is not on the top of our planned developments. I'll update the make system to abort with an explicit message if the user try to compile PeleLM with SRK (#209)

drummerdoc commented 2 years ago

If this is a critical need, we can talk about what would be involved. Email me at Marc.Day@nrel.gov

RSuryaNarayan commented 2 years ago

@esclapez @drummerdoc Thanks a lot for your response.