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

LES turbulence from mapped boundary

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Gerry Kan

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 13, 2020, 12:36
Default LES turbulence from mapped boundary
  #1
Senior Member
 
Gerry Kan's Avatar
 
Gerry Kan
Join Date: May 2016
Posts: 352
Rep Power: 11
Gerry Kan is on a distinguished road
Howdy Foamers:

After digging around for the last few days, I still have some questions on how the mapped boundary condition works ...

I am doing an LES simulation in an open channel geometry (wall on the bottom boundary, zeroGradient on the top boundary). I am thinking of taking turbulent sample from the outlet boundary and feed it back to the inlet, where I prescribe some kind of mean velocity / mass flow rate.

It seems that "mappedFlowRate" should do the job, based on the reference in this post (How to properly use mappedFlowRate.

To test the setup I have a rectangular pipe (DX = DY = 1, DZ = 2) with corresponding inlet and outlet.

Here is the relevant parts of my ./system/blockMeshDict:

Code:
    inletMap    {
        type            mappedPatch;
        sampleMode      nearestPatchFace;
        samplePatch     outletMap;
        sampleRegion    region0;
        offsetMode      uniform;
        offset          ( 1 0 0 );
        faces           ( (0 4 7 3) );
    }

    outletMap    {
        type            patch;
        faces ( (2 6 5 1) );
    }
and ./0/U

Code:
    inletMap    {
        type     mappedFlowRate;
        phi      phi;
        rho      rho;
        neigPhi  phi;
        value    uniform ( 10 0 0 );
    }

    outletMap    {
        type  inletOutlet;
        inletValue  uniform ( 0 0 0 );
        outletValue  uniform ( 0 0 0 );
    }
However, I end up getting effectively a zero flowfield, and without the fluctuations. If I set the inlet- and outlet-Value's in the outletMap to a non-zero vector, e.g., (1 0 0), the solver will crash immediately.

It is very likely I have a false understanding of what the mapped family boundary conditions actually does. I don't know what else is missing.

Gerry.
wht likes this.
Gerry Kan is offline   Reply With Quote

 


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
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 04:59
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


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