View Issue Details

IDProjectCategoryView StatusLast Update
0004094OpenFOAMBugpublic2024-06-10 10:58
ReporterRaghav Assigned Tohenry  
PriorityurgentSeverityblockReproducibilityunable to reproduce
Status closedResolutionunable to reproduce 
PlatformGNU/LinuxOSUbuntuOS Version22.04
Product Version11 
Summary0004094: Negative Temperature error
Description--> FOAM FATAL ERROR:
Negative initial temperature T0: -19.445

    From function static Foam::scalar Foam::species::thermo<Thermo, Type>::T(const ThermoType&, Foam::scalar, Foam::scalar, Foam::scalar, FType, dFdTType, LimitType, bool) [with ThermoType = Foam::species::thermo<Foam::eConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleInternalEnergy>; FType = double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double, double) const; dFdTType = double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double, double) const; LimitType = double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double) const; Thermo = Foam::eConstThermo<Foam::rhoConst<Foam::specie> >; Type = Foam::sensibleInternalEnergy; Foam::scalar = double]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-11/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 300.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 double Foam::species::thermo<Foam::eConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleInternalEnergy>::T<Foam::species::thermo<Foam::eConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleInternalEnergy>, double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double, double) const, double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double, double) const, double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double) const>(Foam::species::thermo<Foam::eConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleInternalEnergy> const&, double, double, double, double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double, double) const, double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double, double) const, double (Foam::eConstThermo<Foam::rhoConst<Foam::specie> >::*)(double) const, bool) at ??:?
#3 Foam::heSolidThermo<Foam::solidThermo::composite, Foam::pureMixture<Foam::constIsoSolidTransport<Foam::species::thermo<Foam::eConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::calculate() at ??:?
#4 virtual thunk to Foam::heSolidThermo<Foam::solidThermo::composite, Foam::pureMixture<Foam::constIsoSolidTransport<Foam::species::thermo<Foam::eConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::correct() at ??:?
#5 Foam::solvers::solid::thermophysicalPredictor() at ??:?
#6 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamMultiRun"
#7 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamMultiRun"
Aborted (core dumped)

I am getting this error even after applying limitTemperature fvConstraint, and adding * in the end of relaxation factor entries
TagsNo tags attached.

Activities

Raghav

2024-06-10 10:35

reporter  

fvConstraints (917 bytes)   
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  11
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      fvConstraints;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

/*energySource
{
    type            heatSource;

    select          all;

    q               200;
}*/
limitTemperature
{
    type	limitTemperature;
    active	true;
    limitTemperatureCoeffs
    {
        select	 	all;
        min		200;
        max		400;
    }
}


// ************************************************************************* //
fvConstraints (917 bytes)   

henry

2024-06-10 10:58

manager   ~0013256

User support request, unable to reproduce with information given.

Issue History

Date Modified Username Field Change
2024-06-10 10:35 Raghav New Issue
2024-06-10 10:35 Raghav File Added: fvConstraints
2024-06-10 10:58 henry Assigned To => henry
2024-06-10 10:58 henry Status new => closed
2024-06-10 10:58 henry Resolution open => unable to reproduce
2024-06-10 10:58 henry Note Added: 0013256