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

Piston gas compression

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2014, 07:21
Default Piston gas compression
  #1
cob
New Member
 
Join Date: Dec 2013
Posts: 2
Rep Power: 0
cob is on a distinguished road
Hi everyone,

I am trying to model a gas compression process in a simple closed cylinder. It is a pretty big geometry with a diameter of 19 mm and a length of 2m (see geometry). As the problem is asssumed to be axisymetric I model only a small wedge and generated a structured mesh in icem (see picture). I model only the gas phase so the compression is performed by mesh deformation, moving the bottom boundary in upward direction for 1m in a transient simulation. There is also some heat transfer taking place, since the side wall has a fixed temperature and the gas temperature rises during the compression process. The boundarys near the centerline have symmetrie conditions. The buoyancy model is activated to catch convection effects. Since this is a very slow stroke of 60s there is no turbulence model used. The material is Helium Ideal Gas.

I am interestet in the heat flux at the side wall for different initial pressures, temperatures and cycle times. For low intial pressures I get good results. But for higher initial pressure (25bar) I get some wiggles in the heat flux trend (see picture). I think the simulation is still converging since the residuals are met 10^(-5) and the imbalances are very low.

I have done some sensivity studies, but when increasing mesh cells and the number of timesteps the results get even worse.

So I would like to know what couses the wiggling trend? Is it because bad meshing (bad cells near the center line), no convergence or should I apply a turbulence model to resolve the natural convection?

Thank you for help!

Cob
Attached Images
File Type: jpg mesh.jpg (76.9 KB, 15 views)
File Type: jpg geometry.jpg (29.6 KB, 14 views)
File Type: jpg wiggles.jpg (74.1 KB, 14 views)
cob is offline   Reply With Quote

Old   August 26, 2014, 23:59
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have a look at the mesh in the wiggly region. Is it staying straight? But the tight wedge angle on this thing will cause issues in itself. Try a larger wedge angle (but still only 1 element thick).

If you are getting psuedo-turbulent flows then you will see that in the velocities. So you can check that one yourself as well.
ghorrocks is offline   Reply With Quote

Old   August 27, 2014, 03:36
Default
  #3
cob
New Member
 
Join Date: Dec 2013
Posts: 2
Rep Power: 0
cob is on a distinguished road
Hi ghorrocks,

thanks for your quick response. I checked the mesh in the wiggly region. You are right, it is badly distorted. The attached picture shows the upper boundary of the cylinder in the last timestep. The distortion process starts very slight right from the beginning of the simulation and gets bigger. It also looks like if the cells in the center position (left side) are distorted more quickly.

Do you have any idea whats causing this problem?

Thank you for help.
Attached Images
File Type: jpg distorted_mesh.jpg (95.4 KB, 15 views)
cob is offline   Reply With Quote

Old   August 27, 2014, 04:12
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The mesh diffusion algorithm in CFX causes problems when you compress a mesh by a large amount. The V15 mesh diffusion algorithm is meant to improve this, but I have never tested it so cannot say. You might be able to improve the situation by adjusting the mesh diffusion parameters.

If that does not work you might need to explicitly define the mesh motion using a fortran routine.
ghorrocks is offline   Reply With Quote

Reply

Tags
closed domain, gas compression, heat transfer


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
error message cuteapathy CFX 14 March 20, 2012 07:45
Modelling the heat transfer during compression and cooling of natural gas pano Main CFD Forum 0 December 10, 2010 16:53
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 23:02


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