|
[Sponsors] |
February 20, 2017, 01:30 |
Thermal Gas Expansion of Gas in Cylinder
|
#1 |
Member
|
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. |
|
February 21, 2017, 04:22 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
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) |
|
August 15, 2017, 03:39 |
Maybe someone can give more instructions?
|
#3 |
New Member
Join Date: Apr 2016
Posts: 21
Rep Power: 10 |
Maybe someone can give more instructions?
|
|
August 15, 2017, 04:12 |
|
#4 |
Member
Taiwan,new north city
Join Date: Aug 2017
Location: Taiwan
Posts: 74
Rep Power: 9 |
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.
|
|
August 16, 2017, 08:59 |
|
#5 |
New Member
Join Date: Apr 2016
Posts: 21
Rep Power: 10 |
Maybe with sixDoFRigidBodyMotion this should work?
|
|
|
|
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 |