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

Getting negative temperatures after repeating simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By NachoZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2022, 18:21
Default Getting negative temperatures after repeating simulation
  #1
New Member
 
Ignacio Z
Join Date: Mar 2022
Posts: 6
Rep Power: 4
NachoZ is on a distinguished road
Hello,

I am using rhoCentralFoam for my PhD project and I am still learning how to use it properly. The flow is a supersonic jet with shockwaves. After getting a somewhat succesful siumulation I tried doing more with different conditions, but kept getting negative temperatures, and the simulation was killed. I tried retracing my steps and I am now trying to run the same case I had already gotten a solution from, and I am getting negative temperatures after only a few timesteps. Is this an issue anyone has encountered? Why would running the same case twice give a completely different outcome?

I am using rhoCentralFoam and running in parallel with mpirun.

Reagrds,
Nacho
NachoZ is offline   Reply With Quote

Old   April 20, 2022, 04:20
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 746
Rep Power: 14
Tobermory will become famous soon enough
Quote:
Originally Posted by NachoZ View Post
Hello,
Why would running the same case twice give a completely different outcome?
That's a good question - and the simple answer is that it wouldn't. The longer answer would include "... provided that everything was the same". Check your boundary conditions, solver settings etc. and you will probably find a difference in there somewhere.
Tobermory is offline   Reply With Quote

Old   April 20, 2022, 17:04
Default
  #3
New Member
 
Ignacio Z
Join Date: Mar 2022
Posts: 6
Rep Power: 4
NachoZ is on a distinguished road
Hi Tobermory,
You were right, I had a decimal point on the wrong place in the U file. Thank you
Tobermory likes this.
NachoZ is offline   Reply With Quote

Reply

Tags
negative temperature, rhocentralfoam, supersonic jet


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
Simulation of the Negative pressure generated by a 3d model of flexible bellow marten363 OpenFOAM 0 December 9, 2021 07:00
sonicFoam - simulation stop for negative temperature - are my parameters wrong ? Jad.L. OpenFOAM Running, Solving & CFD 0 December 24, 2018 18:08
Transient Simulation in CFX ashtonJ CFX 1 September 28, 2018 02:18
what is reason of negative moment in simulation? aja1345 FLUENT 1 July 20, 2018 21:10
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06


All times are GMT -4. The time now is 15:12.