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

strange behavior of BC mappedValue

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2024, 02:46
Unhappy strange behavior of BC mappedValue
  #1
New Member
 
Sebastian Thaler
Join Date: Mar 2024
Posts: 5
Rep Power: 2
sebastian_t is on a distinguished road
Hey,

i am trying to connect two patches with the mapped condition. I am testing the BC on a simple rectangular duct with laminar flow. I am trying to connect the upper and lower side. It works fine with cyclic, but this condition does not work on my actual model. So i am trying the mapped type.
Here the BC part of blockMesh:
Code:
boundary                                                                          
(
    yMax
    {
        type mapped;
        neighbourPatch yMin;
        //matchTolerance 0.1;
        transformType translational;
        separation      (0 0.05 0);
        faces ((3 7 6 2));
    }
    yMin
    {
        type mapped;
        neighbourPatch yMax;
        //matchTolerance 0.1;
        transformType translational;
        separation      (0 -0.05 0);
        faces ((1 5 4 0));
    }
    xMax
    {
        type wall;
        faces ((2 6 5 1));
    }
    xMin
    {
        type wall;
        faces ((0 4 7 3));
    }                
    inlet
    {
        type patch;
        faces
        (
            (0 3 2 1)
        );
        
    }                
    outlet
    {
        type patch;
        faces
        (
            (4 5 6 7)
        );
        
    }                                      
);
and here my 0/U file:
Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    inlet
    {
        type                flowRateInletVelocity; 
        meanVelocity        5; 
        profile             laminarBL; 
        //type fixedValue;
        value               uniform (0 0 5);
    }

    outlet
    {
        type            zeroGradient;
    }

    ".*"
    {
        type            noSlip;                           
    }

    yMin
    {
        type mappedValue;
        value uniform (0 0 0);
    }

    yMax
    {
        type mappedValue;
        value uniform (0 0 0);
    }
     #includeEtc "caseDicts/setConstraintTypes"
}
Strangely the behavior of this setup is dependent on the value entry of my mappedValue-patches. The flow takes the given value on this patch for all time-steps. Does someone know this problem and maybe a solution?
sebastian_t 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
Strange STL when using cuttingPlane C-L OpenFOAM Post-Processing 2 September 26, 2017 05:44
Strange flow partern (Reverse Flow) in fluid past circular cylinder problem at exit HectorRedal Main CFD Forum 9 June 9, 2016 18:14
[blockMesh] Strange non-hexahedral cells? maka15 OpenFOAM Meshing & Mesh Conversion 3 May 19, 2016 08:56
Strange residuals behaviour xxxx Main CFD Forum 1 July 13, 2013 14:40
Strange boundary behaviour using interFoam Andrea_85 OpenFOAM 11 January 22, 2013 15:09


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