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

IDEAL GAS: not fulfilled even though set up?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2015, 08:31
Default IDEAL GAS: not fulfilled even though set up?
  #1
New Member
 
Gergö Schmidt
Join Date: Oct 2015
Posts: 5
Rep Power: 10
Fettmon is on a distinguished road
Hi everybody!

My aim is to simulate pressure equalization in inviscid air (density: ideal gas; Cp = 1004.9 J*K^-1*kg^-1; M = 28.966 g*mol^-1).

Therefor I patch 2 different regions with 2 different initial pressures. I have obtained converging results only with a density-based solver and I had chosen an explicit transient formulation with CFL=0.75 for starting.

My continuity, velocity and energy residuals are nicely declining during calculation, BUT when I calculate my ideal gas resiudal with

Absolute Pressure-R/28.966[g mol^-1]*Total Temperature*Density

I obtain residuals up to 30% of the local absolute pressure. This is a problem, because I'd like to comprare the results with ideal analytic solutions.

My questions are therefore:
1) Is my way of calculating the ideal gas residual (see expression above) correct?
2) If 1) is yes, what can I do to get results which are more consistent with the ideal gas law?

Thank you and kind regards!
Gergö
Fettmon is offline   Reply With Quote

Old   November 2, 2015, 09:26
Post
  #2
Member
 
Rahul
Join Date: Sep 2015
Posts: 39
Rep Power: 10
raghulvr is on a distinguished road
Firstly,why are you choosing transient simulation for solving the problem?
There is no need for including time-based simulation here.Just try with steady stste simulations.That might help you out!
raghulvr is offline   Reply With Quote

Old   November 2, 2015, 10:02
Default
  #3
New Member
 
Gergö Schmidt
Join Date: Oct 2015
Posts: 5
Rep Power: 10
Fettmon is on a distinguished road
Thank you for replying, Rahul!

The pressure equalization I want to simulate shall take place in a shock tube and I am interested mainly in the properties (velocity, pressure difference, shape of face etc.) of the generated shock wave. Rarefraction waves and their reflections are of interest, too. I'd not be able to examine the waves, if I wouldn't use transient formulation.
Fettmon is offline   Reply With Quote

Old   November 3, 2015, 07:03
Default
  #4
New Member
 
Gergö Schmidt
Join Date: Oct 2015
Posts: 5
Rep Power: 10
Fettmon is on a distinguished road
Problem solved. Question 1) has to be answered with 'No', because the variable Temperature (static temperature) is needed instead of Total Temperature (stagnation temperature), ergo the correct expression is

Absolute Pressure-R/28.966[g mol^-1]*Temperature*Density

which is almost zero everywhere in my simulation. Which is super
Fettmon is offline   Reply With Quote

Old   November 3, 2015, 07:32
Smile
  #5
Member
 
Rahul
Join Date: Sep 2015
Posts: 39
Rep Power: 10
raghulvr is on a distinguished road
Thank you mate! Am also new to CFD.I am trying to gain as much knowledge as i could in the area of CFD.Also thanks for sharing your experience with me
raghulvr is offline   Reply With Quote

Reply

Tags
explicit dynamics, ideal gas, pressure equalization, residuals


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
Ideal gas law and incompressible flow Nick R Main CFD Forum 13 May 27, 2019 14:38
Ideal Gas Mixture, non reacting Ancioi OpenFOAM Running, Solving & CFD 5 April 12, 2013 07:10
air ideal gas in CFX Pre wangy1767 CFX 9 October 1, 2012 07:55
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
Problem using ideal gas mark FLUENT 3 November 29, 2004 16:40


All times are GMT -4. The time now is 20:43.