|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Tom
Join Date: Apr 2017
Posts: 50
Rep Power: 10 ![]() |
Hi All,
Has anyone simulated quiescent air in openfoam and knows what kind of boundary conditions should be used? I am trying to simulate with rhoSimpleFoam the behaviour of a thrust/velocity applied at a point in a 2D plane but for some reason i seem to get negative velocities. My current p and U files are: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 100000; boundaryField { defaultFaces { type empty; } walls { type zeroGradient; } inlet { type zeroGradient; } outlet { type fixedValue; value $internalField; } } // ************************************************** *********************** // /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { defaultFaces { type empty; } walls { type noSlip; } inlet { type flowRateInletVelocity; massFlowRate 1e-6; value $internalField; } outlet { type inletOutlet; value uniform (0 0 0); inletValue $internalField; } } // ************************************************** *********************** // |
|
![]() |
![]() |
![]() |
Tags |
openfoam 5.0, quiescent air |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Air Flow Simulation | zeefah | CFD Freelancers | 1 | December 2, 2016 11:51 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 13:36 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |
air flow simulation in double skin facade with openfoam | gygfei | OpenFOAM | 1 | December 20, 2010 04:50 |