CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Quiescent Air simulation in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2019, 06:55
Default Quiescent Air simulation in OpenFoam
  #1
Member
 
Tom
Join Date: Apr 2017
Posts: 50
Rep Power: 9
tom.opt is on a distinguished road
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;
}
}

// ************************************************** *********************** //
tom.opt is offline   Reply With Quote

Reply

Tags
openfoam 5.0, quiescent air


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
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


All times are GMT -4. The time now is 21:59.