|
[Sponsors] |
LES UPrime2Mean from previously calculated UMean |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 13, 2023, 13:50 |
LES UPrime2Mean from previously calculated UMean
|
#1 |
New Member
Mario Javier Rincón
Join Date: Dec 2020
Location: Denmark
Posts: 7
Rep Power: 5 |
Dear community,
I have been trying to calculate the turbulence kinetic energy (TKE) of large eddy simulations (LES) for a while. I have found that using the fieldAverage utility in OpenFOAM (the standard approach as I have seen) there is a big problem in the calculation of UPrime2Mean. Let me explain by having this code in controlDict: Code:
functions { fieldAverage { type fieldAverage; libs ("libfieldFunctionObjects.so"); writeControl writeTime; fields ( U { mean on; prime2Mean on; base time; } ); } } As a solution, I have been trying to run first only UMean averaging, and when this field is converged, start the UPrime2Mean calculation, hoping that the convergence of the 2nd order statistics does not take that long. However, I have not succeeded at doing so since the calculation of UPrime2Mean takes into account the number of time steps already used to calculate UMean and the UPrime2Mean field barely changes from the results obtained in the first iteration. Have someone managed to fix or use a previous UMean field and use it to calculate UPrime2Mean? Thank you in advance! P.S. I have attached a figure of velocity probes in function of simulation time with the instantaneous values and 1st order statistics to show what I mean. |
|
Tags |
fieldaverage, les, statistics, tke, uprime2mean |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wallHeatFlux utility for an incompressible case | Mr.Jingles | OpenFOAM Post-Processing | 67 | April 6, 2023 03:25 |
dsmcFoam setup | hherbol | OpenFOAM Pre-Processing | 1 | November 19, 2021 01:52 |
The Umean of a flow around a cube calculated in Openfoam looks like instantaneous | jiaodanuma | OpenFOAM Verification & Validation | 4 | June 14, 2016 17:16 |
LiftDrag coefficient in LES | fabian_korn | OpenFOAM Post-Processing | 1 | September 22, 2008 02:34 |
Some Questions about LES. | Bin Li | Main CFD Forum | 2 | February 20, 2004 09:58 |