|
[Sponsors] |
Adding pressure and temperature sources instead of energy |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2016, 05:07 |
Adding pressure and temperature sources instead of energy
|
#1 |
New Member
Join Date: May 2011
Posts: 21
Rep Power: 0 |
I have an intense thermal energy source and am concerned solving the hydrodynamic equations before the energy and turbulence equations. I think it would be better to add temperature and pressure to source volume elements directly (based on state equation) and then the solver is ahead when working out the hydrodynamic equations first (and probably end up with less solver divergence issues on energy and turbulence). I have already tried iterating on p_mass after energy but ...
Is there a way to change the static pressure and temperature variables at the end of each time step, i.e. ready for the next? I know how to read the variables but can I write to them? Thanks. |
|
October 23, 2016, 06:29 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
No, you cannot do this. Besides, the solver cannot converge if you go in there and change values.
CFX is a coupled solver so will get the coupling between temperature and flow better than most CFD codes. So just use it with the default solver setup and it should work fine. |
|
October 23, 2016, 21:05 |
|
#3 |
New Member
Join Date: May 2011
Posts: 21
Rep Power: 0 |
Thanks for the info Glenn. I suppose after the first iteration within the timestep the pressure and temperature variables are adjusted for the energy source anyway. Just a final question you might help with, when a max temperature is set with air as an ideal gas, what happens when the limit would otherwise be exceeded? Is the excess internal energy just dumped or is it translated into pressure by the state equation relationship?
|
|
October 24, 2016, 03:31 |
|
#4 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Quote:
If the solver hits an artificial limit on values then the solver is unlikely to converge. If the solver thinks a region of really hot gas exists you cannot stop it by defining an artificial limit. If the region of hot gas is not real then you have to find where in your simulation setup the hot gas is being created and fix that. |
||
Tags |
rewrite standard variable, solver flow, sources |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion | faizan_habib7 | CFX | 4 | February 1, 2016 18:00 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 01:07 |