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

Thermal Gas Expansion of Gas in Cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2017, 01:30
Exclamation Thermal Gas Expansion of Gas in Cylinder
  #1
Member
 
rahulksoni's Avatar
 
Rahul Kumar Soni
Join Date: Oct 2013
Location: Bhubaneswar, India
Posts: 68
Rep Power: 13
rahulksoni is on a distinguished road
Send a message via Skype™ to rahulksoni
Hello Foamers

I am facing a typical situation to solve in OpenFOAM, I have searched a lot over the internet but couldn't find a similar case or solution.

Lets say, I have cylinder piston arrangement. The Cylinder is filled with some gas and is heated externally. The change in temperature shall cause the change in pressure. I would like to simulate the scenario in possibly two manners:

1. The change in temperature causing the change in pressure. And, if allowed the piston can move under the influence of pressure and friction allowing the pressure to change accordingly. The problem is more or less similar to IC engine with lesser difficulty by not considering internal combustion. Rather, the cylinder is heated by an external source that can be modeled or defined in the simulation.

2. I understand that moving the piston to allow the change in volume may be bit difficult as it may require DyM type of solvers. So, I can ever manage without the piston movement as well. In this case, I can pre-process the mesh for different position of the piston (therefore, different effective volume of the cylinder). Combining results of multiple number of simulation in this manner can even give me the result that are expected from possibility 1.

Can any one please suggest me how to proceed with given situtuation. Which solver would be best. Over, the internet I have found that some people have made custom solver for IC engine simulation with DyM feature. Can those be used for said problem?

Thanks in advance.
rahulksoni is offline   Reply With Quote

Old   February 21, 2017, 04:22
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
you need some pieces of coding
1-add Dynamic mesh to heat transfer solver such as buoyantPimpleFoam or buoyantBoussinqPimpleFoam.

2-calculate the forces insert to walls, you can calculate the force with writing a new boundary condition using groovyBC
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   August 15, 2017, 03:39
Default Maybe someone can give more instructions?
  #3
New Member
 
Join Date: Apr 2016
Posts: 21
Rep Power: 10
robob is on a distinguished road
Maybe someone can give more instructions?
robob is offline   Reply With Quote

Old   August 15, 2017, 04:12
Default
  #4
Member
 
Taiwan,new north city
Join Date: Aug 2017
Location: Taiwan
Posts: 74
Rep Power: 9
Rajaero is on a distinguished road
you can do it in Ansys fluid flow-fluent module. i have done the similar case in fluent. once you done a dynamic mesh then you can start set the boundary condition for your model. then you can find out the results which you needed.
Rajaero is offline   Reply With Quote

Old   August 16, 2017, 08:59
Default
  #5
New Member
 
Join Date: Apr 2016
Posts: 21
Rep Power: 10
robob is on a distinguished road
Maybe with sixDoFRigidBodyMotion this should work?
robob is offline   Reply With Quote

Reply


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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 22:43
Rectfication of flue gas path in ducts in thermal power plants vineet@ptsconsultancy.com CFD Freelancers 2 January 6, 2016 15:53
question about ideal gas thermal flow yong Main CFD Forum 0 January 7, 2006 00:58
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 23:02
gas expansion in pipe crack propagation Marco Evangelos Biancolini Main CFD Forum 2 October 4, 2000 11:41


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