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

Negative initial temperature T0: -1.44502 while running chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2023, 06:19
Default Negative initial temperature T0: -1.44502 while running chtMultiRegionFoam
  #1
New Member
 
sachin
Join Date: Nov 2022
Posts: 3
Rep Power: 4
sachin1119 is on a distinguished road
Hi,



I am trying to run Numerical Simulation of Battery Cooling system using OpenFOAM-V11.



There are 3 cases for this simulation. Case 1 was creating the mesh and in Case 2 we will be applying the thermo physical properties. I was able to generate the mesh and I am facing some problem while running case-2.



I am facing this error while running the chtMultiRegionFoam solver


--> FOAM FATAL ERROR:
Negative initial temperature T0: -1.44502

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::rho Const<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/user/OpenFOAM-11/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 300.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 double Foam::species::thermo<Foam::eConstThermo<Foam::rho Const<Foam::specie> >, Foam::sensibleInternalEnergy>::T<Foam::species::th ermo<Foam::eConstThermo<Foam::rhoConst<Foam::speci e> >, 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<Fo am::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::heRhoThermo<Foam::rhoThermo::composite, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::eConstThermo<Foam::rhoConst<Foam: :specie> >, Foam::sensibleInternalEnergy> > > >::calculate() at ??:?
#4 virtual thunk to Foam::heRhoThermo<Foam::rhoThermo::composite, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::eConstThermo<Foam::rhoConst<Foam: :specie> >, Foam::sensibleInternalEnergy> > > >::correct() at ??:?
#5 Foam::solvers::fluid::thermophysicalPredictor() at ??:?
#6 ? in "/home/user/OpenFOAM-11/platforms/linux64GccDPInt32Opt/bin/foamMultiRun"
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? in "/home/user/OpenFOAM-11/platforms/linux64GccDPInt32Opt/bin/foamMultiRun"


My solver is running for a while and then it throws this error!



I have attached my whole sample here: case2-proper.zip


Would be helpful If someone let me know where I am going wrong! Thanks in advance!


h1 { margin-top: 0.71cm; margin-bottom: 0.21cm; direction: ltr; font-size: 20pt; line-height: 100%; text-align: left; page-break-inside: avoid; orphans: 2; widows: 2; background: transparent; page-break-after: avoid }p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }a:link { color: #000080; so-language: zxx; text-decoration: underline }
sachin1119 is offline   Reply With Quote

Old   March 4, 2024, 21:19
Default
  #2
New Member
 
Shubham
Join Date: Jan 2024
Posts: 8
Rep Power: 2
shubhamkv1 is on a distinguished road
Hello,
I am encountering a similar problem of a negative temperature. Will you please help me.
shubhamkv1 is offline   Reply With Quote

Old   May 7, 2024, 04:51
Default Same problem
  #3
New Member
 
Kristine
Join Date: Jan 2024
Posts: 3
Rep Power: 2
kristinemidtbo is on a distinguished road
Hi!

Did any of you manage to solve the problem? I'm facing the same problem.
kristinemidtbo is offline   Reply With Quote

Old   July 18, 2024, 07:17
Default
  #4
New Member
 
Shubham
Join Date: Jan 2024
Posts: 8
Rep Power: 2
shubhamkv1 is on a distinguished road
It is mainly due to mesh issues. In my case refining mesh worked out.
shubhamkv1 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
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 10:10
Suppress twoPhaseEulerFoam energy AlmostSurelyRob OpenFOAM Running, Solving & CFD 33 September 25, 2018 18:45
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 06:49
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 13:50


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