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/)
-   -   multiRegionHeater error (https://www.cfd-online.com/Forums/openfoam-solving/216483-multiregionheater-error.html)

ordinary April 9, 2019 12:01

multiRegionHeater error
 
Hello,

I have a case which is similar to the multiRegionHeater case: There are two incompressible cross flows and two solid wall regions. chtMultiRegionFoam command gives me an incomprehensible error:

Code:

emre@toshiba:~/heatexchanger$ chtMultiRegionFoam
/*---------------------------------------------------------------------------*\
  =========                |
  \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox
  \\    /  O peration    | Website:  https://openfoam.org
    \\  /    A nd          | Version:  6
    \\/    M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 6-e29811f5dff8
Exec  : chtMultiRegionFoam
Date  : Apr 09 2019
Time  : 18:44:43
Host  : "toshiba"
PID    : 12073
I/O    : uncollated
Case  : /home/emre/heatexchanger
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 coldfluid for time = 0

Create fluid mesh for region hotfront for time = 0

Create fluid mesh for region hotrear for time = 0

Create solid mesh for region wallfront for time = 0

Create solid mesh for region wallrear for time = 0

*** Reading fluid mesh thermophysical properties for region coldfluid

    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

Selecting radiationModel none
    Adding to KFluid

    Adding to dpdtFluid

    Adding to fieldsFluid

    Adding to QdotFluid

    Adding MRF

No MRF models present

    Adding fvOptions

*** Reading fluid mesh thermophysical properties for region hotfront

    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 to QdotFluid

    Adding MRF

No MRF models present

    Adding fvOptions

*** Reading fluid mesh thermophysical properties for region hotrear

    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 to QdotFluid

    Adding MRF

No MRF models present

    Adding fvOptions

*** Reading solid mesh thermophysical properties for region wallfront

    Adding to thermos

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

    Adding to radiations

Selecting radiationModel opaqueSolid
Selecting absorptionEmissionModel constantAbsorptionEmission
Selecting scatterModel none
Selecting sootModel none
    Adding fvOptions

*** Reading solid mesh thermophysical properties for region wallrear

    Adding to thermos

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

    Adding to radiations

Selecting radiationModel opaqueSolid
Selecting absorptionEmissionModel constantAbsorptionEmission
Selecting scatterModel none
Selecting sootModel none
    Adding fvOptions


PIMPLE: Region coldfluid
PIMPLE: No convergence criteria found


PIMPLE: Region hotfront
PIMPLE: No convergence criteria found


PIMPLE: Region hotrear
PIMPLE: No convergence criteria found


PIMPLE: Region wallfront
PIMPLE: No convergence criteria found


PIMPLE: Region wallrear
PIMPLE: No convergence criteria found


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/openfoam6/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam"
#6  ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam"
#7  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8  ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam"
 Floating point exception (core dumped)

I checked boundary conditions. I know that floating point exception means something is divided by 0. But where is it? There is not any clue.

Regards,

Emre

ayu12 May 28, 2020 06:27

Hi Ordinary, were you able to identify the issue with your simulation? I am working with chtMultiRegionFoam. I am just trying to simulate the compressible flow of air within two hotplates. It is a 2D Simulation.

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

PIMPLE
{

}
I am getting the same result as you.
PIMPLE algorithm finds no convergences defined for all regions and It shifts to PISO. And finally a Floating Point error.

I rechecked my boundary conditions.

Can anyone help me understand what can be the issue? I am very new to OpenFoam.


Please Find my logFile:

PHP Code:

/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  [url]https://openfoam.org[/url]
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  7-1ff648926f77
Exec   
chtMultiRegionFoam
Date   
May 28 2020
Time   
12:18:33
Host   
"test-VBox"
PID    26212
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
No convergence criteria found


PIMPLE
Region solid1
PIMPLE
No convergence criteria found


PIMPLE
Region solid2
PIMPLE
No convergence criteria found


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


ordinary June 9, 2020 17:43

Hello,

Unfortunately this topic moved to my unfinished works long time ago. I will definitely continue in the future.


All times are GMT -4. The time now is 10:22.