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

Natural convection boundary condition problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2020, 10:58
Default Natural convection boundary condition problem
  #1
New Member
 
Alex
Join Date: May 2019
Posts: 13
Rep Power: 2
Sedullo is on a distinguished road
I need to study the heat transfer on a wall by natural convection, I am simulating a problem where the central part of the right side wall is heated, the left side wall is set to slip condition. I am using buoyantBoussinesqPimpleFoam

As you can see in the picture, a kind of vortex is created, instead, I expected that the flux should have gone upward entering from below, I attach here the bc I set, I hope you can find a way to fix the problem, because I have been struggling for some days on it and I cannot go ahead.

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    sideWallheated
    {
        type            fixedFluxPressure;      
    }

    rightsideWallsNotheated
    {
        type            fixedFluxPressure;
    }

    leftsideWallsNotheated
    {
        type            fixedFluxPressure;
    }


   inlet
    {
       type            totalPressure;
        p0              uniform 0;     
    }

    outlet
    {
        type            totalPressure;
        p0              uniform 0;        
    }
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 300;

boundaryField
{
    sideWallheated
    {
        type            fixedValue;
        value           uniform 340;
    }

    rightsideWallsNotheated
    {
        type            zeroGradient;
    }

    
    leftsideWallsNotheated
    {
        type            zeroGradient;
    }

      inlet
    {
        type            inletOutlet;
        inletValue      uniform 300;
        value           uniform 300;
    }

    outlet
    { 
        type            inletOutlet;
        inletValue      uniform 300;
        value           uniform 300;
    }

    #includeEtc "caseDicts/setConstraintTypes"
}
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    sideWallheated
    {
        type            noSlip;
    }


 rightsideWallsNotheated
    {
        type            noSlip;
    }


    leftsideWallsNotheated
    {
        type            slip;
    }

    inlet
    {
        type            outletInlet;
        outletValue     uniform (0 0 0);
        value           uniform (0 0 0);
    }

    outlet
    {
        type            zeroGradient;
    }



    #includeEtc "caseDicts/setConstraintTypes"
}
Attached Images
File Type: jpg Screenshot from 2020-01-15 15-30-21.jpg (91.7 KB, 12 views)
Sedullo is offline   Reply With Quote

Reply

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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
Wind turbine simulation Saturn CFX 57 February 6, 2018 06:09
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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