CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

I have question in implementing LES code

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By FMDenaro
  • 1 Post By S.Rhee

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2024, 03:22
Default I have question in implementing LES code
  #1
New Member
 
JAE SANG RHEE
Join Date: Jul 2014
Posts: 5
Rep Power: 11
S.Rhee is on a distinguished road
Hi

I am trying to implement Large Eddy Simulation code for our in-house CFD code for compressible flows.

Most of all, I'm really confused in treating Filtered Navier-Stokes Equations (FANS) whether they are compressible or not since I have only programmed for Inviscid or RANS solver.

Generally, vector for physical variables for FANS is Filtered variables.

Then, can I get solutions from FANS directly using SGS models?

Is Flitering used only for recasting Navier-Stokes equations???

I thought it isn't since various filters are used for LES for incompressible flows

Sorry for my rambled question

Thanks in advance
S.Rhee is offline   Reply With Quote

Old   January 15, 2024, 04:13
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by S.Rhee View Post
Hi

I am trying to implement Large Eddy Simulation code for our in-house CFD code for compressible flows.

Most of all, I'm really confused in treating Filtered Navier-Stokes Equations (FANS) whether they are compressible or not since I have only programmed for Inviscid or RANS solver.

Generally, vector for physical variables for FANS is Filtered variables.

Then, can I get solutions from FANS directly using SGS models?

Is Flitering used only for recasting Navier-Stokes equations???

I thought it isn't since various filters are used for LES for incompressible flows

Sorry for my rambled question

Thanks in advance



Generally, you can see that a lot of LES codes use the so-called "implicit filter", that is both the computational grid size and discretization of the equations act as filter for the unresolved solution. For example the FVM is used as implicit top-hat filter.
On the other hand, some SGS models such as the dynamic procedure, scale similar, require to code an explicit filter to compute the test-filtered fields.
Since you programmed the code for the inviscid case, I suppose you have a weak formulation, that is a volume integral solution. In such a case you can suppose this is your filter and you have to supply the equations with the SGS model.
Note that often codes for inviscid compressible flows have some flux limiter or similar, there is also a LES community using that as implicit SGS model in the so called ILES.
abkahraman likes this.
FMDenaro is offline   Reply With Quote

Old   January 15, 2024, 04:23
Default
  #3
New Member
 
JAE SANG RHEE
Join Date: Jul 2014
Posts: 5
Rep Power: 11
S.Rhee is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Generally, you can see that a lot of LES codes use the so-called "implicit filter", that is both the computational grid size and discretization of the equations act as filter for the unresolved solution. For example the FVM is used as implicit top-hat filter.
On the other hand, some SGS models such as the dynamic procedure, scale similar, require to code an explicit filter to compute the test-filtered fields.
Since you programmed the code for the inviscid case, I suppose you have a weak formulation, that is a volume integral solution. In such a case you can suppose this is your filter and you have to supply the equations with the SGS model.
Note that often codes for inviscid compressible flows have some flux limiter or similar, there is also a LES community using that as implicit SGS model in the so called ILES.
Thank you for your generous answer. Definitely i have focused on FVM (and using flux limiter as you said ).

Then, FVM is alrealy implicit top-hat filtered equations and if I Solve FVM with SGS models, then LES solution can be obtained???
S.Rhee is offline   Reply With Quote

Old   January 15, 2024, 04:27
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by S.Rhee View Post
Thank you for your generous answer. Definitely i have focused on FVM (and using flux limiter as you said ).

Then, FVM is alrealy implicit top-hat filtered equations and if I Solve FVM with SGS models, then LES solution can be obtained???
Yes but that means nothing about the real quality of your solution. Adding the SGS to the already existing flux limiter can produce an excess of energy dissipation.
You have to check your solution on well known test-cases.
FMDenaro is offline   Reply With Quote

Old   January 15, 2024, 04:31
Default
  #5
New Member
 
JAE SANG RHEE
Join Date: Jul 2014
Posts: 5
Rep Power: 11
S.Rhee is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Yes but that means nothing about the real quality of your solution. Adding the SGS to the already existing flux limiter can produce an excess of energy dissipation.
You have to check your solution on well known test-cases.
I sincerely appreciate your answer. now i understand why governing equations are expressed like that way from articles.

so many Thanks ..
FMDenaro likes this.
S.Rhee 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
Question about LES lucamirtanini Main CFD Forum 7 October 19, 2021 12:46
Implementing Boundary conditions for a LES simulation samurai_01 Main CFD Forum 22 October 3, 2016 13:38
Question about LES fivos Main CFD Forum 7 May 17, 2013 05:10
2-equation model of LES and source code M.R.Hadian Main CFD Forum 0 February 3, 2002 05:00
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56


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