CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Rhosimplefoam crashes after "Selecting thermodynamics package " (https://www.cfd-online.com/Forums/openfoam-solving/254298-rhosimplefoam-crashes-after-selecting-thermodynamics-package.html)

samisafarini February 1, 2024 05:52

Rhosimplefoam crashes after "Selecting thermodynamics package "
 
Hi All,
I was able to run my mesh with simpleFoam without a problem, I now want to run it for a compressible turbulent flow case and I have chosen rhoSimpleFoam and sonicFoam as options. but in both cases I get the following error.
Has anyone experienced this before?
Code:


Selecting thermodynamics package
{
    type            heRhoThermo;
    mixture        pureMixture;
    transport      sutherland;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleInternalEnergy;
}

[stack trace]
=============
#1  Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#2  ? in /lib/x86_64-linux-gnu/libc.so.6
#3  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so
#4  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so
#5  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so
#6  Foam::fluidThermo::addfvMeshConstructorToTable<Foam::heRhoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleInternalEnergy> > > > >::New(Foam::fvMesh const&, Foam::word const&) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so
#7  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so
#8  Foam::fluidThermo::New(Foam::fvMesh const&, Foam::word const&) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so
#9  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/rhoSimpleFoam
#10  ? in /lib/x86_64-linux-gnu/libc.so.6
#11  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
#12  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/rhoSimpleFoam
=============
Floating point exception (core dumped)


samisafarini February 4, 2024 10:24

It seems that the boundary condition for pressure was set to 0.0 and that was causing the problem.


All times are GMT -4. The time now is 08:36.