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

boundaryWallFunctionsProfile allowable modifications for generation of 'y+'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2019, 00:45
Default boundaryWallFunctionsProfile allowable modifications for generation of 'y+'
  #1
Member
 
Ash Kotwal
Join Date: Jul 2016
Location: North Dakota, USA
Posts: 92
Blog Entries: 1
Rep Power: 10
Ash Kot is on a distinguished road
Hello,

I'm thinking of changing the following code:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform 1e-08;

boundaryField
{
    lowerWall
    {
        type            epsilonWallFunction;
        value           $internalField;
    }
    upperWall
    {
        type            epsilonWallFunction;
        value           $internalField;
    }
    front
    {
        type            cyclic;
    }
    back
    {
        type            cyclic;
    }
    defaultFaces
    {
        type            empty;
    }
}


// ************************************************************************* //
So, in the above code instead of 'cyclic' boundary conditions, is it possible to use flow velocity as inlet and outlet boundary conditions?

In other words, change the boundary conditions in U file in following way:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform (1 0 0);

boundaryField
{
    lowerWall
    {
        type            noSlip;
    }
    upperWall
    {
        type            noSlip;
    }
    front   // so change this 'cyclic' BC to inlet and outlet velocity condition
    {
        type            fixedValue;
        value          ( 1 0 0 );   
    }
    back
    {
        type            fixedValue;
        value          ( 1 0 0 );
    }
    defaultFaces
    {
        type            empty;
    }
}


// ************************************************************************* //
is it possible to do that?
Can anyone explain 'cyclic' boundary condition is governing the entire model?
Ash Kot is offline   Reply With Quote

Reply

Tags
boundaryfoam, incompressible flow


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
Modifications on Transonic option in compressibleInterFoam kal1943335 OpenFOAM Running, Solving & CFD 0 March 5, 2018 22:55
Sin function generation with some modifications sunilpatil CFX 2 January 10, 2013 00:59
Questions about modifications of mixed boundary conditions fumiya OpenFOAM 1 September 14, 2012 13:50
Making modifications in GAMBIT Vidya Raja FLUENT 15 July 12, 2006 15:58
allowable body size in ANSYS Workbench 8.1 Atit Koonsrisuk CFX 1 January 5, 2005 13:40


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