CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   LRR turbulence model - initial condition set up (http://www.cfd-online.com/Forums/openfoam/123738-lrr-turbulence-model-initial-condition-set-up.html)

Davide_sd September 19, 2013 14:46

LRR turbulence model - initial condition set up
 
Hi all,
i'm looking for informations / tutorials / guidelines in order to setup a simulation with LRR turbulence model.
The paper i'm following provides me the turbulence profiles: \overline{u'u'},\overline{v'v'} and -\overline{u'v'}

I've seen its possible to define the R tensor with constant values. Is it possible to use profiles instead?

cfdonline2mohsen September 20, 2013 03:37

Dear Davide

About your last question:
Yes. it is possible. there are a lot of posts here in cfd-online regarding this matter.
search the forums for timeVaryingMappedFixedValue or swak4Foam.

Davide_sd September 20, 2013 03:54

i Know about the timeVarying...
my question is more specific...
if I want to use a profile for velocity, I create a file U for the velocity values in caseDir/constants/boundary data/inletPatch

what file should I create in order to declare turbulence stresses profiles?

cfdonline2mohsen September 20, 2013 06:43

There is a tutorial in OpenFOAM which uses timeVaryingMappedFixedValue for inlet: pitzDailyExptInlet

your boundaryData must be something like this: boundaryData

you must add your R inlet Values to this folder: 0

And then in your 0 folder, specify
Code:

{
        type            timeVaryingMappedFixedValue;
        setAverage      off;
    }

for R at inlet.

Davide_sd September 20, 2013 07:14

how am i supposed to separate the the three turbulence stresses profiles?

cfdonline2mohsen September 20, 2013 12:57

R is a symmetric tensor that requires 6 components (not 3). have a look at the U in 0
write R according to it but with 6 components not 3.


All times are GMT -4. The time now is 03:13.