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

How to set up MRFsimpleFoam cellzones

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2015, 05:01
Default How to set up MRFsimpleFoam cellzones
  #1
New Member
 
Anonymous
Join Date: Mar 2015
Posts: 6
Rep Power: 11
tagabi3 is on a distinguished road
Hi,

I am trying model an MRF problem, but I am stuck at how to set properly the cellZones and other sets. So far I have done the mesh with blockMesh and snappyHexMesh. Then I use topoSet to set the cells, which should be the rotating zone, the following way:

Code:
actions
(
    {
        name    mrffan;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
box (-0.12 -0.002 -0.21) (0.12 0.012 0.021); //box which contains the fan
        }
    }
    {
        name    mrffan;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set mrffan;
        }
    }
);
Where the fvOptions is set the following way:
Code:
MRF1
{
    type            MRFSource;
    active          true;
    selectionMode   cellZone;
    cellZone        mrffan;

    MRFSourceCoeffs
    {
        active      true;
        origin      (0 0 0);
        axis        (0 1 0);
        omega       100;
    }
}
When I execute simpleFoam it does 5-6 iterations and then it diverges. Can anyone please give me a step by step guide on how to set the rotating zone? And also how to set the stationary zone, because I have read somewhere, that it should be set as well. I am sending a minimum working example with the mesh without topoSet being exectued.

https://drive.google.com/file/d/0B11...ew?usp=sharing

Thank you in advance!
Gabor
tagabi3 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
[mesh manipulation] mirrorMesh and undoing the joining of patches chegdan OpenFOAM Meshing & Mesh Conversion 3 October 21, 2015 08:09
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 14:06
[snappyHexMesh] determining displacement for added points CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 1 October 22, 2013 09:53
problem of four patches set to cyclic boundary bryant_k OpenFOAM 9 September 22, 2013 12:42
Ibm java gcc rrr OpenFOAM Installation 2 December 30, 2005 04:18


All times are GMT -4. The time now is 19:25.