CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

MRF not working with chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Pappelau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2023, 07:24
Default MRF not working with chtMultiRegionFoam
  #1
New Member
 
Nikos
Join Date: Aug 2012
Location: Greece
Posts: 13
Rep Power: 13
nikoscham is on a distinguished road
Hi, I am trying to simulate a conjugate heat transfer problem with four solid regions heated by six propeller fans (simulated as MRF zones).

I have created my geometry using snappyHexMesh. I have also declared the MRF zones at the snappyHexMeshDict, e.g. for the first MRF zone in the refinementSurfaces sub-dictionary:
Code:
AMI1
        {
            level (1 1); 
            cellZone rotatingZone1;
            faceZone rotatingZone1;
            cellZoneInside inside;
        }
After the mesh creation, I execute:
Code:
splitMeshRegions -cellZones -overwrite
in order to split the domain into regions. Finally I end up with one fluid (Air) and four solid regions, as I wanted. The MRF zones are located in the fluid region.
The rotation velocity is declared at the MRFProperties (in constant\Air), e.g. for the first MRF zone:
Code:
MRF1
{
    cellZone    rotatingZone1;
    active      yes;

    // Fixed patches (by default they 'move' with the MRF zone)
    nonRotatingPatches ();

    origin      (2.59793 3.940 11.37112);
    axis        (0.0 1.0 0.0);
    omega       -120;
}
Finally, I start the chtMultiRegionFoam solver where it informs me that it has detected all the MRF regions. So far, so good:
Code:
Adding MRF

Creating MRF zone list from MRFProperties
    creating MRF zone: MRF1
    creating MRF zone: MRF2
    creating MRF zone: MRF3
    creating MRF zone: MRF4
    creating MRF zone: MRF5
    creating MRF zone: MRF6
    Adding fvOptions
The problem is solved, unfortunately however, the velocity field is zero.. It seems that MRF is not working.
I note here that the same configuration (with a similar snappyHexMeshDict and MRFProperties) is working perfectly with the simpleFoam solver (just for the flow problem in this case).

My openFoam version is v2012. Any clues of what is missing? Thanks in advance!
Nikos

Last edited by nikoscham; January 23, 2023 at 10:49.
nikoscham is offline   Reply With Quote

Old   January 23, 2023, 10:49
Default
  #2
New Member
 
Nikos
Join Date: Aug 2012
Location: Greece
Posts: 13
Rep Power: 13
nikoscham is on a distinguished road
If anyone is interested, I have found a solution for this problem. I realized that the MRF cellZones weren't defined. So, I defined them manually by using topoSet.
nikoscham is offline   Reply With Quote

Old   January 25, 2023, 06:00
Default
  #3
Member
 
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 4
Pappelau is on a distinguished road
A short note on your Problem + Fixing,

you can work with splitMeshRegions -cellZonesfile to specifiy a cellzone file where u have fluid + 4 solids and actually your "realfile" also holds the mfrs from snappyHex then you can keep the mfrzones during splitting !

greetings
nikoscham likes this.
Pappelau 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
MRF and steady state solution worldsheep Main CFD Forum 3 August 18, 2021 07:33
Modeling Wheel Rotation using MRF Lukas7117 FLUENT 0 December 1, 2020 10:19
Simulation of Radial Fan with simpleFoam MRF nash OpenFOAM Running, Solving & CFD 2 November 5, 2015 10:12
UDF is working in Laptop, but not working in Serial Cluster Tanjina Fluent UDF and Scheme Programming 0 December 20, 2013 21:42
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41


All times are GMT -4. The time now is 09:00.