|
[Sponsors] |
July 21, 2011, 15:02 |
Tank Mixing Simulations
|
#1 |
New Member
Stephen Lucchesi
Join Date: Jul 2011
Posts: 8
Rep Power: 15 |
Hi
I'm working on a project that involves simulating the mixing of chemicals in tanks. We are looking to optimise our stirring times and want to use CFD to estimate impacts of various stirring configurations. I have used openFoam in the past for a university project and want to use it to simulate the mixing vessels. I'm not that experienced with openFoam (little more than playing about really) and I'm not sure how to put a rotating stirrer into the simulation. I think you need to use the interDymFoam solver? Also, (just to make things complicated) the two liquids being mixed are miscible and we want to model that as in interMixingFoam, is there a solver that can have both the rotating mesh AND 2 miscible liquids with air? Will I need to learn how to create a solver? Any help or tutorials you could point me towards would be much appreciated. |
|
July 21, 2011, 16:56 |
|
#2 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
Hi,
Do you need rotating mesh or can you get by with moving reference frame? Either way, there is not a standard solver which has mesh motion (or MRF) along with interMixingFoam. That said, it is not too tricky to make your own solver. I would start with interMixingFoam as the base and by taking a look at interFoam vs interDyMFoam (or interFoam vs MRFinterFoam for MRF) and see what things you need to add. As for actually modifying and compiling the new solver the following link from the wiki gives an example of how-to start since this is your first try. http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam |
|
July 21, 2011, 19:01 |
|
#3 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
I'm with kwardle; so long as the stirrer is rigid you should be able to specify a tangential velocity along the interior boundary of the vessel and keep the velocity on the stirrer as zero.
Specifying a tangential velocity is not something OF can do right out of the gate, you'll need swak4Foam (I'm just singing its praises today!) |
|
July 22, 2011, 12:58 |
|
#4 |
New Member
Stephen Lucchesi
Join Date: Jul 2011
Posts: 8
Rep Power: 15 |
ho would the moving reference frame cope with baffles and offset/angled stirring?
either way looks like i better start brushing up on my programming. |
|
July 22, 2011, 13:37 |
|
#5 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Not knowing what this stirrer looks like, from your description I take it that it is not a single solid element, in which case you do need some kind of sliding interface. Maybe look at this presentation:
http://www.openfoamworkshop.org/08/p...doin_Jasak.pdf |
|
July 22, 2011, 15:17 |
|
#6 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
OK. You're right, MRF may not fly for that sort of case if you have strong interaction between stirrer and baffles. As for programming, it is not as bad as you might think. That is one advantage of openfoam--solvers use 'high level' constructs so it is relatively easy to combine methods. Starting with interMixingFoam, you likely will only have to add in a handful of lines of code to get it to work with the dynamic mesh stuff. Like I said, take a look at the comparable solvers (interFoam --> interDyMFoam) and see what changes need to be made.
BTW, in case you aren't familiar with the lay of the land, the post by Marco refers to functionality (GGI) which is in the -dev branch from the openfoam-extend project and not part of the openfoam.com releases. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D mixing tank using MRF/SRF | cfd_confuse | Main CFD Forum | 1 | September 13, 2016 03:43 |
Meshing industrial scale mixing tank | mlbontbs87 | FLUENT | 0 | April 26, 2011 16:18 |
3D mixing tank using MRF/SRF | cfd_confuse | FLUENT | 0 | October 2, 2010 04:46 |
about the top of the mixing tank | boh_tea | FLUENT | 7 | August 21, 2010 04:58 |
Mass conservation problem in mixing tank multiphase simulation | rockewan | FLUENT | 0 | April 6, 2010 13:34 |