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

Boundary conditions for MRF case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2018, 07:28
Default Boundary conditions for MRF case
  #1
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
Hi,

I'm trying to run a MRF incompressible case in order to get suction pression at inlet patches cause by a fan.

My case is very simple, it is:
  • incompressible
  • steady state
  • laminar (the I'll switch to turbulent)
  • two inlets
  • one outlet
  • MRF zone (angular velocity fixed)
I set the following BC's:
U

Code:
boundaryField
{

    walls
    {
        type            noSlip;
    }

    blades
    {
        type            movingWallVelocity;
        value           uniform (0 0 0);
    }

    inletSx
    {
        type            pressureInletOutletVelocity;
        value           $internalField;//uniform (0 0 0);
    }
    inletDx
    {
        type            pressureInletOutletVelocity;
        value           $internalField;//uniform (0 0 0);
    }

    outlet
    {
            type            zeroGradient;
    }

}
p
Code:
boundaryField
{

    inletSx
    {
        type            totalPressure;
        p0            $internalField;
    }
    inletDx
    {
        type            totalPressure;
        p0            $internalField;
    }

    outlet
    {
        type            fixedValue;
        value           uniform 0;
    }

    walls
    {
        type            zeroGradient;
    }
    blades
    {
        type            zeroGradient;
    }
}
but I get pressure values at inlets near to zero. So I think that totalPressure BC's constrain its value.


I switched to zeroGradient for inlets, but as expected simulation blown up.


How can I set up properly my case?


Thanks.
student666 is offline   Reply With Quote

Old   March 1, 2018, 09:30
Default
  #2
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
I add a picture of the case
Attached Images
File Type: jpg domain.JPG (33.1 KB, 116 views)
student666 is offline   Reply With Quote

Old   March 1, 2018, 11:03
Default
  #3
Senior Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 109
Rep Power: 17
rcastilla is on a distinguished road
What is the value of the $internalField for p?
rcastilla is offline   Reply With Quote

Old   March 1, 2018, 13:34
Default
  #4
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
Quote:
Originally Posted by rcastilla View Post
What is the value of the $internalField for p?
I set all to 0 as it's incompressible
student666 is offline   Reply With Quote

Old   October 16, 2018, 03:25
Default
  #5
Member
 
Bram Kerkhofs1
Join Date: Oct 2016
Posts: 30
Rep Power: 9
brammekeuh987 is on a distinguished road
Hi M.C.

I'm having exactly the same problem.
I noticed that when I add the MRFproperties dict to my constant folder, my inlet BC's get overwritten by uniform (0 0 0) value in the first time step.
Originally the inlet condition was set to: fixedValue; value uniform (1 0 0);

Have you already solved this problem?
brammekeuh987 is offline   Reply With Quote

Old   October 16, 2018, 07:35
Default
  #6
Member
 
Bram Kerkhofs1
Join Date: Oct 2016
Posts: 30
Rep Power: 9
brammekeuh987 is on a distinguished road
Hi M.C.

I found the error I had.

In the MRFproperties they ask for patches which don't rotate with the MRFzone.
First I thought that this only involves patches which are in the cellzone. I included the patches which were also present in the mesh, but not in the rotating cellZone and this solved my problem.

Regards
B.
brammekeuh987 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
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 15:13
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 08:16
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 15:58.