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

is this simulation possible?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By cnsidero

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2013, 01:46
Default is this simulation possible?
  #1
New Member
 
Stephen Kramer
Join Date: Jan 2011
Posts: 7
Rep Power: 15
stevekramer99 is on a distinguished road
Hello,

I would like to know if it is possible to do the following simulation with OF tools, how much complexity would be involved, and if so what are the recommended steps ?

Simulate all the dynamic physical process involved with a piston-type air compressor including valves over the course of many cycles with changing BCs. This would include heat transfer between gas and all solid components, the temperature distribution of all solid components, the stress distribution in all solid components, leakage flow at all crevice clearances including the piston annular clearance.

thanks!
stevekramer99 is offline   Reply With Quote

Old   December 18, 2013, 13:55
Default
  #2
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Quote:
Originally Posted by stevekramer99 View Post
Hello,

I would like to know if it is possible to do the following simulation with OF tools, how much complexity would be involved, and if so what are the recommended steps ?

Simulate all the dynamic physical process involved with a piston-type air compressor including valves over the course of many cycles with changing BCs. This would include heat transfer between gas and all solid components, the temperature distribution of all solid components, the stress distribution in all solid components, leakage flow at all crevice clearances including the piston annular clearance.

thanks!
First, anything is possible with OpenFOAM. All the necessary tools needed exist in it's framework to tackle such a problem.

The practical answer is that it would be challenging.

Assuming you want to include solid stresses due not only to thermal expansion but due to the fluid forces, it would be a three-way physics problem: fluid dynamics, conjugate heat transfer and solid mechanics. I don't believe such a solver currently exists so you would have to write one. There are fluid-solid solvers (search for FSI) and fluid-thermal (search for chtmultiregion) but not all three. Actually now that I think about it, you might even need to model a fourth physics: kinematics, which includes both rigid-body motion and deformation, if you wanted to model stresses due to accelerations of the bodies. You might also want to search for Philip Cardiff's solidMechanics package.

You would need to use the moving and deforming mesh algorithms to handle the piston motion and possible body deformation. There are existing methods to handle this but it adds another level of complexity.

Time varying BCs whereby the type may change. Not sure if this has been done in OpenFOAM. If not, likely doable with swak4Foam. Another level of complexity

You mention resolving leakage flows. To do so would require a fine mesh resolution and most likely a large mesh. Another level of complexity.

Since the flow is likely compressible, you would either have to use an existing compressible solver in OpenFOAM as a basis, use another one that might have been published or write your own. Another level of complexity.

Oh ya. The flow is transient which means you'll likely want to run it parallel. Running OpenFOAM in parallel is generally straightforward but most would agree running parallel often adds another level of complexity.

So as you can see, OpenFOAM "technically" is able to do this problem _but_ it would be very complex. Unless you have a lot of experience running OpenFOAM or have no deadline to finish such a project, you might think about reducing the complexity of the problem or consider another package. I suspect this problem would even be challenging in one of the big commercial packages.

I don't mean to be pessimistic but hold no illusions - this would take time and determination even for a seasoned OpenFOAM developer.
stevekramer99 and Jetfire like this.
cnsidero is offline   Reply With Quote

Old   December 20, 2013, 03:14
Default
  #3
New Member
 
Stephen Kramer
Join Date: Jan 2011
Posts: 7
Rep Power: 15
stevekramer99 is on a distinguished road
Thank you very much for responding with detailed information! As for varying boundary conditions I mean to study the effects of varying manifold conditions, inlet temp and restriction, and outlet restriction on efficiency and output. I don't think I need to model the solid deformation interaction with the fluid flow, unless I try reed valving. But I am interested in optimization of machines for performance and durability etc.

Could you explain what you mean by running it parallel?

I will be researching related information for similar problems for a while but no urgent deadline, I see it as more of an expansion of a hobby inventor's capabilities with some applications in mind. So, If I could get it working in 2-3 months that would seem worthwhile.

Again thank you very much for your suggestions.

steve
stevekramer99 is offline   Reply With Quote

Old   May 19, 2014, 13:29
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
hello Steve,

Code:
Could you explain what you mean by running it parallel?
he ment that due to the compelxibility and the fact that such a simulation is transient you will run it in parallel mode. Means use more than one core of your cpu or using a cluster to do a fast calculation. Otherwise if you take all the mentioned topics into account, your simulation would run a very long time on "one" core - even its the latest one (:
__________________
Keep foaming,
Tobias Holzmann
Tobi 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
Why my simulation not agree with the wind tunnel experiment zhaowei CFX 4 July 11, 2015 04:36
Solar Radiation in OpenFOAM plainstyle OpenFOAM Running, Solving & CFD 15 July 8, 2014 05:43
Simulation of a complex wing in solidworks flow simulation niels1900 FloEFD, FloWorks & FloTHERM 6 April 20, 2011 11:44
Continuous vs interrupted simulation sega OpenFOAM Running, Solving & CFD 4 November 3, 2008 15:29
strange simulation error Ralf Schmidt FLUENT 2 May 4, 2007 14:02


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