|
[Sponsors] |
September 3, 2014, 11:39 |
LES: Why is there no nuSgs field output?
|
#1 |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 14 |
Hi, all:
As I have post some threads in our forum, I implemented the dynamic Vreman model in OF. While, for the first version, the program can run as good as dynamic Smagorinsky. The results are similar,however, the problem is that the nuSgs file contains only the boundaries set as in the initial condition. Here is the version-1 DVM-1.tar.gz While, I rewrite the code like this DVM-3.tar.gz The nuSgs field can be output as usual, but the calculation breaks down in the second time step Could anyone give me some help about this problem? I have been worked on it for two days, problem still exists Any help is appreciated Xianbei |
|
September 3, 2014, 11:40 |
|
#2 |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 14 |
here is the equations used in this model
|
|
September 3, 2014, 23:55 |
|
#3 |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 14 |
well, I think I get some idea about how.
First, I rewrote the code again( once again!!) Here is the final version DVM-final.tar.gz First problem I faced: diverge after one time step reason: unstable nuSgs values in the field. As can be seen from http://www.cfd-online.com/Forums/ope...agorinsky.html The dynamicSmagorinsky model is bounded to avoid negtive nuSgs. This is a good way to avoid divergence in dynamic model. Thus, I rewrote this part Code:
nuSgs_ = max(-0.5*nu()*cV(alpha),-nu()); nuSgs_.correctBoundaryConditions(); Second problem: why the nuSgs field contains only part of the values. Not all the cells' value in the domain are output. Reason: I think it's due to the zero value of nuSgs. Only the non-zero values are output in the nuSgs file. Although problem seems been solved, still, most of the nuSgs value may be 0 as the calculation runs for several steps. I'll test it with a much longer time running. If anyone is interested in this model, I'll be glad one can test this model in other cases. PS: my case is the centrifugal pump impeller |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Finding time averaged flow field from LES? | odellar | OpenFOAM Post-Processing | 9 | July 8, 2021 11:00 |
funkySetBoundaryFields - Manipulation of existing field | jhertel | OpenFOAM Pre-Processing | 16 | May 18, 2020 07:32 |
How to control output time of pressureTools functions? | Fluido | OpenFOAM Post-Processing | 1 | May 19, 2014 09:49 |
RNG diverged during the analysis the flow over a multi element airfoil, why? | s.m | OpenFOAM Running, Solving & CFD | 0 | August 5, 2013 09:39 |
kEpsilon divergence | s.m | OpenFOAM Running, Solving & CFD | 0 | May 27, 2013 10:30 |