|
[Sponsors] |
September 4, 2018, 11:22 |
Issues with swak4Foam gradient
|
#1 |
New Member
Join Date: Apr 2018
Posts: 3
Rep Power: 8 |
Hi guys,
I am calculating the dissipation of the turbulent kinetic energy with swak4foam. Compared to DNS-Data I got good agreemant in the domain bad a far to high value at the wall. So I tried another version, which I called version 2 Code:
gradUiMeanXjGradUiMeanXj { type expressionField; dimension [0 2 -3 0 0 0 0]; fieldName "gradUiMeanXjGradUiMeanXj"; expression "pow(gradUMean.xx,2) + pow(gradUMean.xy,2) + pow(gradUMean.xz,2) + pow(gradUMean.yx,2) + pow(gradUMean.yy,2) + pow(gradUMean.yz,2) + pow(gradUMean.zx,2) + pow(gradUMean.zy,2) + pow(gradUMean.zz,2)"; //tr=Trace autowrite yes; outputControl outputTime; } In my first version I calculated e.g. this term Code:
pow(gradUMean.xx,2) Code:
pow(grad(UMean.x).x,2) In my eyes both versions are equal but version 1 gives to high values near the wall. Can someone explain me please what is going wrong? Thanks in advance Egge |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleFoam in OF1612 shows same time step twice in log file | shang | OpenFOAM Bugs | 10 | January 24, 2018 10:43 |
pisoFOAM (LES) - internal pipe flow - convergence | gu1 | OpenFOAM Running, Solving & CFD | 0 | January 11, 2018 16:39 |
question regarding LES of pipe flow - pimpleFoam | Dan1788 | OpenFOAM Running, Solving & CFD | 37 | December 26, 2017 14:42 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 05:35 |
[swak4Foam] fails in parallel with -otherTime? | Phicau | OpenFOAM Community Contributions | 3 | June 26, 2013 13:00 |