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

Report "negative initial temperature T0" when using compressibleInterFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 28, 2018, 23:22
Default Report "negative initial temperature T0" when using compressibleInterFoam
  #1
New Member
 
Zhanyuan Wang
Join Date: Sep 2018
Location: China
Posts: 1
Rep Power: 0
Zhanyuan Wang is on a distinguished road
Hello,
I m a new learner of OF and I m trying to simulating supercritical (high-temperature and high-pressure) spray characteristics using compressibleInterFoam. When i run the case, it always broke down after only a few steps and report like that:

[0]
[4] [1]
[4]
[4] --> FOAM FATAL ERROR:
[4] Negative initial temperature T0: -1496.0858
[4]
[4] From function Foam::scalar Foam::species::thermo<Thermo, Type>::T(Foam::scalar, Foam::scalar, Foam::scalar, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar, Foam::scalar) const, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar, Foam::scalar) const, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar) const) const [with Thermo = Foam::hPolynomialThermo<Foam::icoPolynomial<Foam:: specie> >; Type = Foam::sensibleInternalEnergy; Foam::scalar = double; Foam::species::thermo<Thermo, Type> = Foam::species::thermo<Foam::hPolynomialThermo<Foam ::icoPolynomial<Foam::specie> >, Foam::sensibleInternalEnergy>]
[4] in file /home/wzy/OpenFOAM/OpenFOAM-5.x/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 54.

Because i m a new learner, i just simply copy most part of the tutorial case and modified some details. The tutorial case uses laminar model, const thermo type, hConst transport type and perfectFuild model and i changed them to LES model, polynomial, hPolynomial and icoPolynomial. I dont know if it caused the problem. Did i set wrong BC values, wrong fvSchemes or wrong time steps? Is there any problem with my mesh? Need i modify the source code of this solver?

My case is in the attachment and I will be grateful very very very much for anyone who can offer help.
Attached Files
File Type: gz wzy.tar.gz (3.5 KB, 1 views)
Zhanyuan Wang is offline   Reply With Quote

Reply

Tags
compressibleinterfoam, negative temperature, spray injection, wrong solution

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
Wrong fluctuation of pressure in transient simulation caitao OpenFOAM Running, Solving & CFD 2 March 5, 2015 21:33
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34


All times are GMT -4. The time now is 18:28.