|
[Sponsors] |
January 14, 2015, 11:49 |
directionMixed straight out bc
|
#1 |
Member
Join Date: May 2014
Posts: 40
Rep Power: 12 |
Hi Foamers,
I'm having trouble with the directionMixed bc at the outlet. The intention was to get a "straight out" velocity outlet. For that the directionMixed bc was configured to (hopefully) set the normal velocites at the outlet to a zeroGradient and the tangential velocities to a zero fixedValue. The pressure is fixedValue 0. With the normal patch vector being n = (0 -1 0): Code:
type directionMixed; refValue uniform (0 0 0); refGradient uniform (0 0 0); valueFraction uniform (1 0 0 0 0 1); //(XX XY XZ YY YZ ZZ) value uniform (0 0 0); The case is a simple 2D box with laminar flow, solved by simpleFoam. Best regards Philip |
|
January 22, 2015, 09:49 |
Still no success
|
#2 |
Member
Join Date: May 2014
Posts: 40
Rep Power: 12 |
Hey,
I have still no idea what's causing this effect As a test I set the inlet and outlet BC's for the velocity to a fixedValue (I know that's not correct), and the result looks the same (strange high velocities near the outlet). So maybe the combination of boundary conditions with directionMixed is wrong? Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type fixedValue; value uniform (0.1 0 0); } outlet { type directionMixed; refValue uniform (0 0 0); refGradient uniform (0 0 0); valueFraction uniform (1 0 0 0 0 1); value uniform (0 0 0); } wall { type fixedValue; value uniform (0 0 0); } frontAndBack { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 0; } wall { type zeroGradient; } frontAndBack { type empty; } } // ************************************************************************* // Philip |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DirectionMixed BC problem | T.D. | OpenFOAM Running, Solving & CFD | 0 | September 29, 2010 09:47 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 08:06 |
directionMixed b.c | sersunzo | OpenFOAM Running, Solving & CFD | 8 | September 9, 2009 08:56 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 02:07 |
Simulation of pump with Straight blades | veera | CFX | 4 | January 12, 2006 01:52 |