CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Floating Point exception (core dumped) chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2020, 11:43
Default Floating Point exception (core dumped) chtMultiRegionFoam
  #1
New Member
 
Join Date: Mar 2020
Posts: 4
Rep Power: 6
ayu12 is on a distinguished road
I am just trying to simulate the compressible flow of air within two hotplates maintained at a temperature of 1800 K. It is a 2D Simulation. I want to understand how heat transfer affects the Velocity and temperature of Air flowing within the Hot Plates. There are 2 Solid regions and 1 Fluid region. I am getting a floating-point error in the beginning itself.

To resolve the issue, i tried many cases like,

1.) I tried to run a dummy case, in order to understand if the solver is running.

PIMPLE
{
}

PIMPLE algorithm finds no convergences defined for all regions and It shifts to PISO. This is agreeable. And finally a Floating Point error. I updated the convergence criteria as well.

2.)nI rechecked my boundary conditions. For P, it is Calculated and T Zero Gradient. I kept my maxCo as 0.5.

I do understand this error is because of division by 0 but not able to point out the problem.

Can anyone help me understand what can be the issue? I am very new to OpenFoam and CFD and I am stuck at this point and not able to resolve this issue.

My Log File
Code:
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 7-1ff648926f77
Exec   : chtMultiRegionFoam
Date   : May 28 2020
Time   : 17:40:26
Host   : "test-VBox"
PID    : 1699
I/O    : uncollated
Case   : /home/test/OpenFOAM/hotpipe2D
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create fluid mesh for region Air for time = 0

Create solid mesh for region solid1 for time = 0

Create solid mesh for region solid2 for time = 0

*** Reading fluid mesh thermophysical properties for region Air

    Adding to thermoFluid

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

    Adding to rhoFluid

    Adding to UFluid

    Adding to phiFluid

    Adding to gFluid

    Adding to hRefFluid

    Adding to ghFluid

    Adding to ghfFluid

    Adding to turbulenceFluid

Selecting turbulence model type laminar
Selecting laminar stress model Stokes
    Adding to reactionFluid

Combustion model not active: combustionProperties not found
Selecting combustion model none
    Adding to radiationFluid

Radiation model not active: radiationProperties not found
Selecting radiationModel none
    Adding to KFluid

    Adding to dpdtFluid

    Adding to fieldsFluid

    Adding MRF

No MRF models present

    Adding fvOptions

*** Reading solid mesh thermophysical properties for region solid1

    Adding to thermos

Selecting thermodynamics package 
{
    type            heSolidThermo;
    mixture         pureMixture;
    transport       constIso;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;
}

    Adding to radiations

Radiation model not active: radiationProperties not found
Selecting radiationModel none
    Adding fvOptions

*** Reading solid mesh thermophysical properties for region solid2

    Adding to thermos

Selecting thermodynamics package 
{
    type            heSolidThermo;
    mixture         pureMixture;
    transport       constIso;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;
}

    Adding to radiations

Radiation model not active: radiationProperties not found
Selecting radiationModel none
    Adding fvOptions


PIMPLE: Region Air
PIMPLE: Convergence criteria found
        p: tolerance 1e-05
        U: tolerance 1e-05
        T: tolerance 1e-05


PIMPLE: Region solid1
PIMPLE: Convergence criteria found
        T: tolerance 1e-05


PIMPLE: Region solid2
PIMPLE: Convergence criteria found
        T: tolerance 1e-05


PIMPLE: Operating solver in transient mode with 1 outer corrector
PIMPLE: Operating solver in PISO mode


#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4  Foam::operator/(Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#5  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam"
#6  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam"
#7  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam"
Floating point exception (core dumped)
My case File is attached for reference.
Attached Files
File Type: zip hotpipe2D.zip (18.1 KB, 10 views)
ayu12 is offline   Reply With Quote

Old   October 12, 2021, 11:31
Default
  #2
New Member
 
Praharsha Reddy
Join Date: Dec 2019
Posts: 12
Rep Power: 6
lonewanderer is on a distinguished road
In p_rgh file give zeroGradient at inlet and fixed value at outlet
lonewanderer is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating point exception (core dumped) ramakant OpenFOAM Running, Solving & CFD 4 March 7, 2019 20:58
Floating Point Exception Error nyox FLUENT 11 November 30, 2018 12:31
Floating point exception (core dumped), running a new solver Mahyar Javidi OpenFOAM Running, Solving & CFD 6 April 7, 2018 12:43
sonicFoam - Floating point eception (core dumped) MSans OpenFOAM Running, Solving & CFD 12 August 4, 2015 05:10
[waves2Foam] setWaveParameters application, it results in a floating point exception and the core psahoo87 OpenFOAM Community Contributions 1 February 4, 2015 12:42


All times are GMT -4. The time now is 13:33.