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

High pressure gas law problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2021, 06:44
Question High pressure gas law problem
  #1
New Member
 
Join Date: Mar 2021
Posts: 18
Rep Power: 5
jojoFD is on a distinguished road
Hi,

I am simulating with a dynamic mesh the oscillating movement of a piston inside a closed tank, pressurized at 200 bars. The velocity follows a sinus curve, from 0 to 5m/s for one oscillation. The problem is that throughout my simulation, the entropy is building up and never going down, then affecting all my quantities of interest also (pressure, temperature, density, etc) - see enclosed screenshots.

I was using a k-w SST model + ideal gas law for the density in Fluent, but I just read that it works only for low pressure, and that I need to take into account the compressibility factors (https://www.sciencedirect.com/topics.../ideal-gas-law).

Any ideas on how to do that in Fluent ?

Thank you so much in advance for your answer !

entropy.jpg

temperature.jpg

force x rod valve.jpg
jojoFD is offline   Reply With Quote

Old   June 16, 2021, 08:51
Default
  #2
Senior Member
 
Lorenzo Galieti
Join Date: Mar 2018
Posts: 375
Rep Power: 12
LoGaL is on a distinguished road
So instead of ideal gas law you choose Peng-Robinson gas law in the material settings.
LoGaL is offline   Reply With Quote

Old   June 16, 2021, 12:56
Default
  #3
Senior Member
 
Martin_Sz's Avatar
 
Marcin
Join Date: May 2014
Location: Poland, Swiebodzin
Posts: 313
Rep Power: 13
Martin_Sz is on a distinguished road
U need to describe Ur problem more precisely
For example do U need to estimate temperature field
In Ur model
In first step make simulation on atmospheric pressure
To check that Ur problem dissapear
__________________
Quick Tips and Tricks, Tutorials FLuent/ CFX (CFD)
https://howtooansys.blogspot.com/
Martin_Sz is offline   Reply With Quote

Old   June 16, 2021, 13:07
Default
  #4
New Member
 
Join Date: Mar 2021
Posts: 18
Rep Power: 5
jojoFD is on a distinguished road
Thank you both very much for your answers
My main quantity of interest is the pressure losses in the system, and the force on the walls but I also monitor temperature and density.
I'll try both and keep you posted !
jojoFD is offline   Reply With Quote

Old   June 21, 2021, 06:37
Default
  #5
New Member
 
Join Date: Mar 2021
Posts: 18
Rep Power: 5
jojoFD is on a distinguished road
So the try with peng-robinson was not concluent : I got the same phenomenon
jojoFD is offline   Reply With Quote

Old   June 21, 2021, 11:50
Default
  #6
Senior Member
 
Lorenzo Galieti
Join Date: Mar 2018
Posts: 375
Rep Power: 12
LoGaL is on a distinguished road
If peng robinson didn’t work, your problem is not compressibility/real gas effects
LoGaL is offline   Reply With Quote

Old   June 21, 2021, 11:52
Default
  #7
New Member
 
Join Date: Mar 2021
Posts: 18
Rep Power: 5
jojoFD is on a distinguished road
Quote:
Originally Posted by Martin_Sz View Post
U need to describe Ur problem more precisely
For example do U need to estimate temperature field
In Ur model
In first step make simulation on atmospheric pressure
To check that Ur problem dissapear

And at atm pressure it does the same, decreasing/increasing quantities. So it seems to be a numerical error right ?
Attached Images
File Type: png Error PR - ideal gas density.PNG (72.4 KB, 5 views)
jojoFD is offline   Reply With Quote

Old   June 21, 2021, 11:56
Default
  #8
New Member
 
Join Date: Mar 2021
Posts: 18
Rep Power: 5
jojoFD is on a distinguished road
Hi LoGal, thanks for your anwser
Yeah that's what I thought. Peng-robinson seems to affect the results though, but not enough to stabilize it. I tried switching to Spalart-Allmaras model but same thing happens.. I'll refine the mesh to see if there is any difference. The only thing is to know if the result is physical or not... CFD basic problem haha
Let me know if you have some other ideas. Thx !
jojoFD is offline   Reply With Quote

Old   June 22, 2021, 19:04
Default
  #9
Senior Member
 
Lorenzo Galieti
Join Date: Mar 2018
Posts: 375
Rep Power: 12
LoGaL is on a distinguished road
I was just thinking, which thermal boundary condition are you applying at the wall? Adiabatic? If yes, where is all the heat generated by friction going? Could be consistent with the fact that you have entropy building up.
LoGaL is offline   Reply With Quote

Old   July 1, 2021, 04:23
Default
  #10
New Member
 
Join Date: Mar 2021
Posts: 18
Rep Power: 5
jojoFD is on a distinguished road
Thanks for the idea, I thought about that too and tried : even with non adiabatic walls (heat flux at the walls), I still get the same phenomenon
jojoFD is offline   Reply With Quote

Reply

Tags
gas law, high pressure


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
Wind tunnel Boundary Conditions in Fluent metmet FLUENT 6 October 30, 2019 13:23
Discharge of Pressure Vessel into Pipe with Regulator gajowni2 System Analysis 0 October 31, 2015 19:57
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
How:Setting for High pressure gas shiwencailx STAR-CD 0 January 19, 2010 05:25
Tutorial problem: "rhopSonicFoam - shockTube" with high pressure shangzung OpenFOAM 0 November 1, 2009 14:07


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