|
[Sponsors] |
June 1, 2019, 13:46 |
simpleFoam TKE inlet Instability
|
#1 |
New Member
Jonthan Cappola
Join Date: Apr 2018
Posts: 8
Rep Power: 8 |
Hi Foamers,
I've been building up a run case from scratch to simulate a centrifugal compressor for a research project. I'm using openfoam-6 and have started building it up from simpleFoam utilizing the now built in MRFProperties. I have been able to get it generally stable however certain BCs are causing issues and I'm in need of a second opinion. I am wishing to prescribe a totalPressure inlet and a mass flow outlet and I'm using the k-epsilon turbulence model (which is said to have issues in rotating applications), however, I'm attempting to match CFX results that were performed with said BCs. I have a periodic hexa mesh with very well refined cells near the walls (y+ < 1) and as such I have elected to use zeroGradients in lieu of wallFunctions. I would like to use a turbulentKineticEnergyInlet BC on my k field however it causes near immediate instability on simpleFoam whereas prescribing a fixedValue inlet works like a charm. Note, all walls are being treated as noSlip even in the MRF zone. Here are my BCs for review: Code:
U { INLET { type pressureDirectedInletVelocity; inletDirection uniform (0 0 1); value $internalField; } OUTLET { type flowRateOutletVelocity; massFlowRate 0.1585; rho rho; extrapolateProfile yes; rhoOutlet 1.225; value uniform (0 0 0); } } p { INLET { type totalPressure; p0 uniform 101325; // 1 atm rho rho; rhoInlet 1.225; value uniform 0; } OUTLET { type zeroGradient; } } nut { INLET { type calculated; value uniform 0; } OUTLET { type calculated; value uniform 0; } } k { INLET { type turbulentIntensityKineticEnergyInlet; intensity 0.05; value uniform 1; } OUTLET { type zeroGradient; } } epsilon { INLET { type fixedValue; value uniform 20; } OUTLET { type zeroGradient; } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiphaseInterfoam non-constant inlet | kaaja | OpenFOAM Running, Solving & CFD | 4 | February 23, 2018 03:04 |
UDF profile: Fluent method for coupling inlet and outlet | I-mech | Fluent UDF and Scheme Programming | 0 | May 10, 2014 11:36 |
Pressure driven laminar flow simpleFoam pressure higher at the outlet than inlet | gabriel | OpenFOAM Running, Solving & CFD | 16 | September 30, 2009 19:20 |
inlet boundary condition for simplefoam solver | mcjicpm2 | OpenFOAM Running, Solving & CFD | 1 | March 18, 2009 01:41 |
length scales at inlet for internal flows | Anne-Marie Giroux | Main CFD Forum | 3 | July 5, 1999 22:28 |