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

MRF setup

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2015, 12:34
Default MRF setup
  #1
New Member
 
Andreas V.
Join Date: Jul 2014
Posts: 15
Rep Power: 8
andreas0209@hotmail.com is on a distinguished road
Hi Folks,

I have a question regarding dynamic parts. I try to simulate the effect of different rotation speeds on particle laden flows. For that I want to rotate a goeometry (here a Rotor called Dynamic) and I think that a MRF is the best (?) for these kinds of problems.

Now I have included the MRF setting in snappyHexMesh

Code:
refinementSurfaces
    {
        Dynamic        //3
        {
            // Surface-wise min and max refinement level
            level (5 6);
        }
     Nacelle_simple_lang    //4
        {
            // Surface-wise min and max refinement level
            level (5 6);
        }
    refinementCylinder
    {
        level (2 2);
        faceZone MRF;
        cellZone MRF;
        cellZoneInside inside;
    }
in /system/fvOptions

Code:
MRF
{
    type                   MRFSource;
    active                 true;
    selectionMode    cellZone;
    cellZone             MRF;

    MRFSourceCoeffs
    {
        origin    (0 0 0);
        axis      (1 0 0);
        omega     100; 
    }
}
and also in /system/topoSetDict

Code:
actions
(
    {
        name    MRF;
        type    cellZoneSet;
        action  new;
        source  zoneToCell;
        sourceInfo
        {
            name MRF;
        }
    }
);
But I have no idea if all setting are correct or not.

I also get this message

Code:
--> FOAM FATAL ERROR: 
Cannot find cellZone refinementCylinder
Valid cellZones are 1(MRF)

    From function option::setCellIds()
    in file fvOptions/fvOption.C at line 158.

FOAM exiting
Where is the mistake?

One other point is the following:
Are the origin coordinates (here in red) the coordinates relative to your rotating frame?

MRFSourceCoeffs
{
origin (0 0 0);

All help is welcome.

Andreas

Last edited by andreas0209@hotmail.com; February 24, 2015 at 05:42. Reason: I forgot a text passage.
andreas0209@hotmail.com is offline   Reply With Quote

Old   August 6, 2015, 10:36
Default
  #2
New Member
 
Join Date: Jul 2014
Posts: 26
Rep Power: 8
Minisasi is on a distinguished road
Hello,
Maybe you have already solved your problem, anyway.... I think the problem is that your
''refinementCylinder'' is not a defined .stl geometry file. That's why it cannot be found. Try to define it among your geometries and maybe it will work.

I am having some trouble creating MRF and baffles through SnappyHexMesh as well. I am not really an expert,so if you have solved your problem could you post your SHMDict file please?
Thx

Cheers!
Minisasi is offline   Reply With Quote

Reply

Tags
dynamic mesh, mrf, snappyhexmesh 3d

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
MRF solvers give diffenrent results when MRF zone's diameter is different sharonyue OpenFOAM Running, Solving & CFD 7 February 10, 2021 11:52
2D Glass Melt Simulation Setup marmz FLUENT 5 October 9, 2016 16:25
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 01:27
Rigid body motion on transient fluent mrf ghost82 EnSight 4 September 6, 2014 12:24
Should an empty MRF zone really induce this much cross-flow? sylvester OpenFOAM 5 November 18, 2010 04:48


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