|
[Sponsors] |
boundaryWallFunctionsProfile allowable modifications for generation of 'y+' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 15, 2019, 00:45 |
boundaryWallFunctionsProfile allowable modifications for generation of 'y+'
|
#1 |
Member
|
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; } } // ************************************************************************* // 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; } } // ************************************************************************* // Can anyone explain 'cyclic' boundary condition is governing the entire model? |
|
Tags |
boundaryfoam, incompressible flow |
|
|
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 |