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

Ideal gas density solver

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LoGaL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2021, 17:18
Default Ideal gas density solver
  #1
New Member
 
Antonio Camberos
Join Date: Apr 2020
Posts: 5
Rep Power: 6
acamprez is on a distinguished road
Gods of fluent i humbly come to you seeking for an answer to my query.
I´m simulating a compressible fluid inside a piston. I read somewhere that the best solver for compressible simulations is the density based solver. But after running the simulation i do not see any changes in density nor temperature but there IS a change in pressure. Furthermore i ran the simulation with the pressure based solver and it does show changes in density and temperature. What am i missing??. Should there be a difference in the results whe using density based solver? Also the contours results for the density based solver look weird.



The setup of the simulation is the same for both simulations being the solver the only thing that changes. The setup is as follows:
  • Rectangular domain of 30 mm x 27.5 mm
  • Quad elements for domain
  • Transient simulation
  • Energy ON
  • Viscous model SST Omega
  • Fluid material set to helium using ideal gas density
  • Dynamic mesh for horizontal top edge moving downwards
  • Time step of 0.001 s (also used 0.00001 but the results did not changed)
  • Initial temperature of 300 K
  • Pressure patched to 303975 Pa
  • Total time 1.5 s.
  • Rest of setup is as default.
I attach images for the mesh, the end result for temperature and density for both solvers.


Thnaks in advance to anyone willing to help a humble peasant.
Attached Images
File Type: jpg densitysolv_density.JPG (67.3 KB, 10 views)
File Type: jpg densitysolv_temperature.JPG (72.6 KB, 8 views)
File Type: jpg domain.JPG (136.6 KB, 9 views)
File Type: jpg pressuresolv_density.jpg (40.1 KB, 9 views)
File Type: jpg pressuresolv_temperature.jpg (41.6 KB, 5 views)
acamprez is offline   Reply With Quote

Old   January 7, 2021, 19:31
Default
  #2
Senior Member
 
Lorenzo Galieti
Join Date: Mar 2018
Posts: 375
Rep Power: 12
LoGaL is on a distinguished road
What is weird is that if your pressure changes but your density is fixed, there has to be a change in temperature, no matter what.

Yes i expect changes of solution when using different solvers, but not to the point where the density solver outputs unphysical results

Tbh, unless at very high mach number, the pressure solver is perfectly fine. If it gives you reasonable results just stick with the pressure solver and go ahead with your project. Then at one point if you feel like it, come back and try again with density one
acamprez likes this.
LoGaL is offline   Reply With Quote

Old   January 8, 2021, 12:39
Default
  #3
New Member
 
Antonio Camberos
Join Date: Apr 2020
Posts: 5
Rep Power: 6
acamprez is on a distinguished road
Thank you so much for your quick response god of Fluent. I will use the pressure solver to finish my project.

Allow me to offer this pile of berries as a tribute: oo88o
acamprez is offline   Reply With Quote

Old   January 8, 2021, 14:50
Default
  #4
Senior Member
 
Lorenzo Galieti
Join Date: Mar 2018
Posts: 375
Rep Power: 12
LoGaL is on a distinguished road
Dear worshiper, I suggest that you anyways keep in check the mach number during the simulation, by setting some report definitions. E.g monitor mean and max mach number in the cylinder.

So if somebody asks you about this, you show them plots
LoGaL is offline   Reply With Quote

Old   January 9, 2021, 12:59
Default
  #5
New Member
 
Antonio Camberos
Join Date: Apr 2020
Posts: 5
Rep Power: 6
acamprez is on a distinguished road
Quote:
Originally Posted by LoGaL View Post
Dear worshiper, I suggest that you anyways keep in check the mach number during the simulation, by setting some report definitions. E.g monitor mean and max mach number in the cylinder.

So if somebody asks you about this, you show them plots

Will do, Thanks!
acamprez is offline   Reply With Quote

Reply

Tags
compression, density based solver, ideal gas, piston, pressure based solver


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
2 Questions about Density Based Solver rap7or FLUENT 3 August 3, 2018 03:40
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 17:08
Problem with an old Simulation FrankW CFX 3 February 8, 2016 05:28
Density and compressiblity Mohsin FLUENT 7 June 7, 2015 23:23
Mixing Plane + Ideal Gas Density (Compressible) = Tragedy kanduri FLUENT 1 June 25, 2011 18:24


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