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

MRF to solidBodyMotionFvMesh with multiple rotors

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Ivanet

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2012, 09:21
Default MRF to solidBodyMotionFvMesh with multiple rotors
  #1
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 17
Toorop is on a distinguished road
Hi,

I'm simulating the process of mixing in a tank with impellers stirring the fluid. I initialize my mixer case with MRFSimpleFoam solver, then change it to MRFPimpleFOAM (changed the setup from SIMLE to PIMPLE based on MRFInterFoam) and finally migrate it to pimpleDyMFoam with AMI patches.

I successfully set up a case with multiple rotating mesh parts in an MRF environment, and now I want to extend it to pimpleDyMFoam.

If someone is interested, these are the needed modifications (MRF--->AMI):
- create the AMI patches and boundaries
- change the U boundary of the rotating part(s) from fixedValue to movingWallVelocity
- add the dynamicMeshDict file to constant folder

With one part my dynamicMeshDict looks like this, and it worked fine:
Code:
dynamicFvMesh   solidBodyMotionFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solidBodyMotionFvMeshCoeffs
{
    cellZone        MRF_cellZoneSet_0;

    solidBodyMotionFunction  rotatingMotion;
    rotatingMotionCoeffs
    {
        CofG        (0 0 0);
        radialVelocity (0 450 0); // deg/s
    }
}
I would like to make the dynamicMeshDict counterpart of this MRFZones file:
Code:
3
(
    MRF_cellZoneSet_2
    {
        nonRotatingPatches ();

        origin    origin [0 1 0 0 0 0 0]  (0 0 0);
        axis      axis   [0 0 0 0 0 0 0]  (0 1 0);
        omega     omega  [0 0 -1 0 0 0 0] 7.85;
    }
    MRF_cellZoneSet_1
    {
        nonRotatingPatches ();

        origin    origin [0 1 0 0 0 0 0]  (0 0 0);
        axis      axis   [0 0 0 0 0 0 0]  (0 1 0);
        omega     omega  [0 0 -1 0 0 0 0] 7.85;
    }
    MRF_cellZoneSet_0
    {
        nonRotatingPatches ();

        origin    origin [0 1 0 0 0 0 0]  (0 0 0);
        axis      axis   [0 0 0 0 0 0 0]  (0 1 0);
        omega     omega  [0 0 -1 0 0 0 0] 7.85;
    }
)
Unfortunately, I couldn't figure out the correct syntax.
BTW, what's the effect of CofG - I guess it's only used if there is gravitational effect in the simulation.

Thank you!
Toorop is offline   Reply With Quote

Old   May 21, 2012, 04:51
Default
  #2
Member
 
Join Date: Oct 2010
Location: Germany
Posts: 39
Rep Power: 16
Ivanet is on a distinguished road
Hi Tibor,
I have done something very similar some time ago. I have tried different things, but at the end what worked best for me was this:
1- Make only one mesh for the transient case (with GGI or AMI interfaces).
2- Set up your MRF case, including GGI (or AMI) interfaces where pertinent in your boundary conditions. MRFSimpleFoam is able to deal with that boundary condition.
3- Run you MRF simulation
4- change in the last iteration step the U boundary of the rotating part(s) from fixedValue to movingWallVelocity (as you already do)
5- Run your transient simulation

I hope this helps.
Greetings
Ivan
kiddmax likes this.
Ivanet is offline   Reply With Quote

Old   May 31, 2012, 12:03
Default
  #3
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 17
Toorop is on a distinguished road
Hi All,

with the today release of OF 2.1.1, OpenFOAM now can handle multiple moving regions.

I would like to thank linnemann for drawing my attention to the commit which enabled this feature and thank asergeev for a nice sample case which demonstrated the syntax.
Toorop is offline   Reply With Quote

Old   August 8, 2013, 03:27
Default
  #4
New Member
 
Alex Lee
Join Date: Sep 2012
Posts: 15
Rep Power: 14
Alex Lee is on a distinguished road
Dear Tibor,

Do you mind sharing your knowledge in greater details?
I am try to implement two ceiling fans using MRF or GGI and just do not know where to begin.... Thanks.
Alex Lee is offline   Reply With Quote

Reply

Tags
mrf, multiple rotors, solidbodymotionfvmesh


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
Modeling a Fan by the Multiple reference frame (MRF) method in CFX. saisanthoshm88 CFX 11 February 17, 2021 12:30
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
Multiple Rotors Michel_sharp OpenFOAM Running, Solving & CFD 3 September 15, 2016 09:37
Wind Turbine + MRF (Multiple Reference Frame) abolfazl FLUENT 8 May 28, 2013 08:44
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21


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