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

TĒ increase when Pressure decrease in Ideal Gas :S

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2016, 16:05
Default TĒ increase when Pressure decrease in Ideal Gas :S
  #1
New Member
 
Jose Rodriguez
Join Date: Jan 2016
Posts: 13
Rep Power: 10
joseitor is on a distinguished road
Hi friends! I'm analysing air through a nozzle, and everything works okay until I change to Ideal has to try to see what happen with Temperature and Pressure.
When I change to Ideal Gas i can't make it converge, and if I see the results, air temperature increase instead decrease where pressure decrease. Is that because did't converge? or is something else wrong?

Material: Ideal Gas
Fluid Model: Thermal Energy or Total Energy (I tried both)
Turbulence: K-Epsilon or SST

Inlet:
Total Pressure: 10 atm
Total Temperature: 22ēC

some help?
Thanks so much!
joseitor is offline   Reply With Quote

Old   January 7, 2016, 03:50
Default
  #2
Member
 
Thomas
Join Date: Dec 2014
Location: Poland
Posts: 49
Rep Power: 11
tomson199 is on a distinguished road
The questions is:
What kind of fluid did you use earlier?
Are your boundary condition is sufficient?
What are you use in in the outlet?
Your nozzle is supersonic?
tomson199 is offline   Reply With Quote

Old   January 7, 2016, 05:30
Default
  #3
New Member
 
Jose Rodriguez
Join Date: Jan 2016
Posts: 13
Rep Power: 10
joseitor is on a distinguished road
Quote:
Originally Posted by tomson199 View Post
The questions is:
What kind of fluid did you use earlier?
Are your boundary condition is sufficient?
What are you use in in the outlet?
Your nozzle is supersonic?
-I used "air at 25 C" before, and with it every simulations works good

-I think so

-I didn't define oulet, only inlet in the inlet of the nozzle, and symmetry and oppening in the another surfaces of the cube of fluid that contains it.

-Yes, the fluid research supersonic velocity but not in the inlet. Should i define supersonic in the inlet anyway? and in that case, what velocity i write? the average velocity in inlet that I got in the previous simulation? because my conditions are only the Pressure in inlet.

Thanks soooo much for you reply!
joseitor is offline   Reply With Quote

Old   January 7, 2016, 07:41
Default
  #4
Member
 
Thomas
Join Date: Dec 2014
Location: Poland
Posts: 49
Rep Power: 11
tomson199 is on a distinguished road
Ohh man I think that you did a lot of mistakes. Could you show an image of geometry and mesh, because I don't uderstand what exactly you try to compute. Then I will help you
tomson199 is offline   Reply With Quote

Old   January 7, 2016, 10:48
Default
  #5
New Member
 
Jose Rodriguez
Join Date: Jan 2016
Posts: 13
Rep Power: 10
joseitor is on a distinguished road
Geometry:



Mesh (the faces witch you can´t see are "opening" too, but the lowest witch is "Symmetry"



Mesh detail:



Some results, where you can see where the fluid is supersonic




Thanks you soo much!
joseitor is offline   Reply With Quote

Old   January 7, 2016, 19:47
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is a transonic simulation (regions of sub and super sonic flow) and they are always hard to converge. This FAQ has some tips on convergence: http://www.cfd-online.com/Wiki/Ansys...gence_criteria
ghorrocks is offline   Reply With Quote

Old   January 8, 2016, 03:20
Default
  #7
Member
 
Thomas
Join Date: Dec 2014
Location: Poland
Posts: 49
Rep Power: 11
tomson199 is on a distinguished road
That's correct, it will be hard to converge. Maybe try to use smaller timestep? What about your mesh in the nozzle region? Density of mesh is sufficient and your boundary layer? I'm affraid that you have to compute this case as a transient, if antother steps doesn,t help you with it
tomson199 is offline   Reply With Quote

Old   January 9, 2016, 07:26
Default
  #8
New Member
 
Jose Rodriguez
Join Date: Jan 2016
Posts: 13
Rep Power: 10
joseitor is on a distinguished road
I'm going to try by transient way. What time would be right? and time steps?
sorry, but I only used transient to a real transient cases, to simulate this one I don't know witch times use to start.

Thanks so much for your help!
joseitor is offline   Reply With Quote

Old   January 10, 2016, 02:06
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Please read the FAQ I linked to. It describes the things you should be looking at.

If you choose to use a transient simulation I recommend using adaptive time stepping, homing in on 3-5 coeff loops per iteration. Then the simulation can find its own time step size.
ghorrocks is offline   Reply With Quote

Old   January 10, 2016, 10:49
Default
  #10
New Member
 
Jose Rodriguez
Join Date: Jan 2016
Posts: 13
Rep Power: 10
joseitor is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Please read the FAQ I linked to. It describes the things you should be looking at.
Yes, I read it and follow it to get results. I got that the solution "converge", but the results go on being wrong: temperature increase where pressure decrease (with ideal gas, and free slip walls).

This is how converged:


And here the resaults:
Total Pressure


Total Temperature
joseitor is offline   Reply With Quote

Old   January 10, 2016, 18:05
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Accuracy is an FAQ as well: http://www.cfd-online.com/Wiki/Ansys..._inaccurate.3F

I can see your mesh is way too coarse. That is definitely one problem, and there are probably others.
ghorrocks is offline   Reply With Quote

Old   January 12, 2016, 09:33
Default
  #12
New Member
 
Jose Rodriguez
Join Date: Jan 2016
Posts: 13
Rep Power: 10
joseitor is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I can see your mesh is way too coarse. That is definitely one problem, and there are probably others.
Only too course or I should change the shape? Because I tried with regular shape inside the nozzle but the results seems worse (more time to converge and strange)

And also, when I reduce the size under 0.5, it appear a error creating mesh :S

I'm having problems now with another simulations, for example I try different pressures in inlet and with 8 atm velocity and pressure in outlet are higher than with 10 atm. Can be possible or is due a wrong mesh?

Sorry for this questions, I'm new in ANSYS yet, and the problem is that I don't have too much time to finish this research
joseitor is offline   Reply With Quote

Old   January 12, 2016, 10:03
Default
  #13
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13
-Maxim- is on a distinguished road
what error do you get with the new mesh?

If you have a problem with another simulation, I would suggest to open a new thread with a full description of the other problem
-Maxim- is offline   Reply With Quote

Old   January 12, 2016, 18:22
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You will need inflation layers and a finer mesh. Also the mesh should be high quality, especially in the region of shock waves. Shock waves are very sensitive to mesh quality.
ghorrocks is offline   Reply With Quote

Reply

Tags
ideal gas, pressure, temperature


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 15:42
IDEAL GAS: not fulfilled even though set up? Fettmon FLUENT 4 November 3, 2015 08:32
sonicFoam - pressure driven pipe: flow continuity violation and waveTransmissive BC Endel OpenFOAM Running, Solving & CFD 3 September 11, 2014 17:29
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 22:47.