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

[mesh manipulation] MRF zone enclosed in another MRF zone

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2021, 15:08
Post MRF zone enclosed in another MRF zone
  #1
New Member
 
Max
Join Date: Sep 2019
Posts: 8
Rep Power: 7
Dikkeunit is on a distinguished road
Dear forum,
For my case, I want to simulate a cornering situation for a racecar. To achieve this, a square domain is used, which is then implemented as an MRF. This all works great, however, to simulate the wheels, we also use an MRF zone. This seems to give a problem that openFOAM will not allow cells to be within two cellZones. I have tried to remove the wheel rotation zone from the whole domain, but this yields issues with surfacefeatureExtract dict. So, my question boils down to: "How to implement an MRF zone which is fully enclosed within another MRF zone".
Below I will post relevant parts from the snappyHexMeshDict.log, MRFproperties and snappyHexMeshDict.
snappyHexMesh.log part which shows no cells are located into the rotatingzones for the 4 wheels can be seen in attachment picture.


SnappyHexMesh code for making the cellZones:
Code:
       rotatingzoneDomain
        {
            level       (0 0);
            faceZone    rotatingzoneDomain;
            cellZone    rotatingzoneDomain;
            cellZoneInside  inside;
       }    
            rotatingzonerr
        {
            level       (6 7);
            faceZone    rotatingzonerr;
            cellZone    rotatingzonerr;
            cellZoneInside  inside;
       }
       rotatingzonefr
        {
            level       (6 7);
            faceZone    rotatingzonefr;
            cellZone    rotatingzonefr;
            cellZoneInside  inside;
       }
       
       
       rotatingzonerl
        {
            level       (6 7);
            faceZone    rotatingzonerl;
            cellZone    rotatingzonerl;
            cellZoneInside  inside;
       }
       rotatingzonefl
        {
            level       (6 7);
            faceZone    rotatingzonefl;
            cellZone    rotatingzonefl;
            cellZoneInside  inside;
       }
MRFproperties:

Code:
    #include "../Setup"
MRF1
{
    cellZone    rotatingzoneDomain;
    active      yes;
    // Fixed patches (by default they 'move' with the MRF zone)
    nonRotatingPatches (inlet outlet lowerWall upperwall rotatingzonefr rotatingzonerr rotatingzonefl rotatingzonerl) ;
    origin        ($X $Y 0);
    axis        (0 0 1);
        omega         $Omega;
}

MRF2
{
      cellZone     rotatingzonefr;

    active      yes;
    // Fixed patches (by default they 'move' with the MRF zone)
    nonRotatingPatches (mhubfr);
    origin        ($WB $YoriginFwheelR $RwheelRoll);
    axis        ($XaxisFwheelR $YaxisFwheelR $ZaxisFwheel);
    omega        $FRwheel;// Rotational speed in rad/s
}

similar for the rest....
Domain with in red the rotatingzones of the wheels can be seen in attachment.
Attached Images
File Type: jpg Snappyhexmesh.log.jpg (28.8 KB, 6 views)
File Type: jpg Domain_Rotating.jpg (16.1 KB, 12 views)
Dikkeunit is offline   Reply With Quote

Reply

Tags
mesh, mrf, mrfproperties, multiple reference frame


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
Illegal cell label -1, fluent3DMeshToFoam BenGher OpenFOAM 7 October 10, 2023 01:02
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 18:51
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 02:08


All times are GMT -4. The time now is 22:51.