|
[Sponsors] |
Calculate k and omega of a freestream flow over VAWT |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
mo suepe
Join Date: Jul 2020
Posts: 2
Rep Power: 0 ![]() |
Dear Foamers,
I'm new to OpenFoam and still learning. I have a case where freestream flows over a rotating VAWT (vertical axis wind turbine). I'm using k- ![]() ![]() Here below is my calculation and formulas I got from some sources, to calculate k and ![]() ![]() ![]() ![]() ![]() ![]() #Calculation of Reynoldsnumber Re ![]() ![]() ![]() #Calculation of Turbulence intensity I ![]() ![]() #Calculation of turbulent length scale ![]() ![]() ![]() ![]() ![]() #Calculation of turbulent kinetic energy k ![]() ![]() ![]() #Calculation of specific dissipation rate ![]() ![]() ![]() but here's the thing, those formulas above apply only for calculation on airfoil. Assuming that our freestream flows through a wind tunnel (a duct). That means, that we can calculate the Reynoldsnumber on inlet with this formula below: ![]() ![]() with ![]() After I got the ![]() ![]() ![]() ![]() ![]() ![]() ![]() Otherwise I put my code for ![]() ![]() ![]() ![]() I really appreciate any helps and comments! Thanks! Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0.11637565440834571; // k = (3/2) * U_inf^2 * I^2 boundaryField { inlet { type fixedValue; value uniform 0.11637565440834571; } outlet { type zeroGradient; } topBottom { type kqRWallFunction; value uniform 0.11637565440834571; } ami00 { type cyclicAMI; value uniform 0.11637565440834571; } ami01 { type cyclicAMI; value uniform 0.11637565440834571; } lowerBlade { type kqRWallFunction; value $internalField; } upperBlade { type kqRWallFunction; value $internalField; } frontAndBack { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object omega; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 -1 0 0 0 0]; internalField uniform 14.770814500415696; // omega = k^(1/2) / l boundaryField { inlet { type fixedValue; value uniform 14.770814500415696; } outlet { type zeroGradient; } topBottom { type omegaWallFunction; value uniform 14.770814500415696; } ami00 { type cyclicAMI; value uniform 14.770814500415696; } ami01 { type cyclicAMI; value uniform 14.770814500415696; } lowerBlade { type omegaWallFunction; value $internalField; } upperBlade { type omegaWallFunction; value $internalField; } frontAndBack { type empty; } } // ************************************************************************* // |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Internal Flow Instability with layers | Zephiro88 | OpenFOAM Running, Solving & CFD | 1 | June 20, 2019 05:20 |
how to calculate the omega at inlet boundary in k omega sst | Scabbard | OpenFOAM Running, Solving & CFD | 2 | September 30, 2014 14:06 |