CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

LES error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2018, 08:58
Default LES error
  #1
Member
 
ssa
Join Date: Sep 2018
Posts: 93
Rep Power: 7
ssa_cfd is on a distinguished road
Dear all,

I am simulating a flow inside a closed room. I have done the simulation using RANS k-epsilon model and the simulated results are well in agreement with the experiment results.

But in case of LES, the flow field obtained using field averaging is not accurate. I am using smagorinsky model, pimplefoam. (courant number 1, yPlus avg 0.23) Attached are images from the simulation.

Any help to rectify the error would be appreciated. I have tried different turbulence models, different schemes, but nothing worked out.

Thanks
Attached Images
File Type: png LES.png (46.8 KB, 20 views)
File Type: png RANS.png (43.5 KB, 19 views)
File Type: png domain.png (51.2 KB, 15 views)
ssa_cfd is offline   Reply With Quote

Old   October 24, 2018, 17:36
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
How does the mesh look like? It is also important to resolve the shear layer.
mAlletto is offline   Reply With Quote

Old   October 25, 2018, 02:16
Default
  #3
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15
Santiago is on a distinguished road
Comments:

1. Dont use pimpleFoam, the underrelaxation terms for LES plus the outer correctors will give you wtong results

2. The only valid scheme for div(phi,U) is Gauss linear, fourth, and any of the leastSquares family.

3. PISO implemented in FOAM is inconsistent in the tratment of the convective fluxes, thus your Co must be less than 0.5

4. The cell peclet number must be less than 2, due to the 2nd comment.

5. Is your Ksgs/K < 0.2?

Finally, have in mind that LES is a completely different animal, wrt RANS. The latter is more foolproof (no offense), as all scales of turbulence are modelled

4.
Santiago is offline   Reply With Quote

Old   October 25, 2018, 04:21
Default
  #4
Member
 
ssa
Join Date: Sep 2018
Posts: 93
Rep Power: 7
ssa_cfd is on a distinguished road
Hi Santiago,

I calculated the peclet number from the last time step and it is more than 2. How to reduce this.? Attached is the peclet number at the center plane.

Thanks.
ssa.
Attached Images
File Type: png pecletnumber.png (19.3 KB, 13 views)
ssa_cfd is offline   Reply With Quote

Old   October 25, 2018, 04:22
Default
  #5
Member
 
ssa
Join Date: Sep 2018
Posts: 93
Rep Power: 7
ssa_cfd is on a distinguished road
Quote:
Originally Posted by mAlletto View Post
How does the mesh look like? It is also important to resolve the shear layer.
I have used a simpleGrading (1 1 1) with 2 million cells. yPlus is less than 1.
ssa_cfd is offline   Reply With Quote

Old   October 25, 2018, 04:59
Default
  #6
Member
 
ssa
Join Date: Sep 2018
Posts: 93
Rep Power: 7
ssa_cfd is on a distinguished road
Quote:
Originally Posted by Santiago View Post
5. Is your Ksgs/K < 0.2?


I am new to LES and I have mostly used RANS. Could you please explain how to calculate this value Ksgs/K from openfoam.
ssa_cfd is offline   Reply With Quote

Old   October 25, 2018, 11:03
Default
  #7
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15
Santiago is on a distinguished road
Quote:
Originally Posted by ssa_cfd View Post
I am new to LES and I have mostly used RANS. Could you please explain how to calculate this value Ksgs/K from openfoam.
turbulence->k() gives you ksgs
turbulence->k0() gives you k

... in foam-ext 1.6...
Santiago is offline   Reply With Quote

Old   October 25, 2018, 11:15
Default
  #8
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15
Santiago is on a distinguished road
Quote:
Originally Posted by ssa_cfd View Post
I have used a simpleGrading (1 1 1) with 2 million cells. yPlus is less than 1.
For free sheared flows (ie jets), y+ at the walls is not important! Hows the kolmogorov number in the shear region?
Santiago is offline   Reply With Quote

Old   November 2, 2018, 03:51
Default
  #9
Member
 
ssa
Join Date: Sep 2018
Posts: 93
Rep Power: 7
ssa_cfd is on a distinguished road
Hi Santiago,

I have tried with piso with Courant number 0.1 and the results didn't change. If you have time, could you check the case file. ( Case download from Google drive )
and tell your suggestions to improve.


Thanks,
Senthil
ssa_cfd is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


All times are GMT -4. The time now is 22:07.