|
[Sponsors] |
August 21, 2013, 09:16 |
Smagorinsky LES: output and average k value
|
#1 |
New Member
|
Dear Foamers,
I am simulating a wind turbine in a wind tunnel, and I am performing a LES simulation using the Smagorinsky model and the pisoFoam solver. I am also averaging the velocity, pressure and sub-grid scale kinetic energy ( p U k) by the use of the fieldAverage library. While everything works fine for p and U, I cannot average the k and I get the following error: Code:
--> FOAM FATAL ERROR: Requested field k does not exist in the database From function Foam::fieldAverage::initialize() in file fieldAverage/fieldAverage/fieldAverage.C at line 104. FOAM exiting If I switch LES model to oneEqEddy f.ex., then everything runs smooth, I get all the averages including k and the k is written in the output time folders. My question is: is there a way to force OF to write and average the k value when using the Smagorinsky model? I have tried to use the swak4foam utility but did not get any luck. Thanks in advance for your help! Fabio |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 05:37 |
[swak4Foam] outputTime in Swak function | immortality | OpenFOAM Community Contributions | 20 | October 6, 2022 12:08 |
Utilities: post average turbulence fields and create turbulence fields for LES | Hanzo | OpenFOAM Running, Solving & CFD | 10 | August 18, 2017 18:33 |
RNG diverged during the analysis the flow over a multi element airfoil, why? | s.m | OpenFOAM Running, Solving & CFD | 0 | August 5, 2013 08:39 |
average weighted area of volume fraction at output | umar959 | Main CFD Forum | 0 | January 20, 2012 02:47 |