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

How to determine the mean filtered strain rate for the Smagorinsky model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2015, 23:45
Default How to determine the mean filtered strain rate for the Smagorinsky model
  #1
New Member
 
Levin
Join Date: Jul 2012
Posts: 5
Rep Power: 14
levinperson is on a distinguished road
Hi,

I have a very fundamental question on implementing a LES code. For example, if I want to use a Smagorinsky model or dynamic model, then there is the filtered strain rate (S) in the expressions of the eddy viscosity. As I know, the filtered strain rate is a function of the gradient of the filtered velocity field. My question is how to determine the filtered strain rate when we are writing a LES code? It seems that we can treat the filtered strain rate as a mean constant. But we need to get the filtered velocity field first which is the thing that we are solving by LES...

I appreciate your answer.

Thank you,
Kevin
levinperson is offline   Reply With Quote

Old   November 30, 2015, 04:23
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Once the initial condition is prescribed, you have the filtered velocity field v_bar(x,0), then you can compute the tensor S(x,0). That completes all you need

If you use explicit time integration for the SGS model, you can proceed computing the filtered velocity field at the next time.

If you would try to use an implicit time integration for the SGS term, you get into the problem that the resulting system is not linear. Some linearization can be used.
FMDenaro is offline   Reply With Quote

Old   November 30, 2015, 12:46
Default
  #3
New Member
 
Levin
Join Date: Jul 2012
Posts: 5
Rep Power: 14
levinperson is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Once the initial condition is prescribed, you have the filtered velocity field v_bar(x,0), then you can compute the tensor S(x,0). That completes all you need

If you use explicit time integration for the SGS model, you can proceed computing the filtered velocity field at the next time.

If you would try to use an implicit time integration for the SGS term, you get into the problem that the resulting system is not linear. Some linearization can be used.

Hi Filippo,

Thank you for your reply. I'm currently using an explicit method which is simpler to implement. Based on your explanation, we are using the mean filtered strain rate obtained from the filtered velocity field at time level n to solve the filtered velocity V_bar at the time level n+1. Is this correct?

Kevin
levinperson is offline   Reply With Quote

Old   November 30, 2015, 13:06
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Yes.

However, also explicit multi-level scheme can be used, based on time n, n-1, ...
FMDenaro is offline   Reply With Quote

Old   November 30, 2015, 13:47
Default
  #5
New Member
 
Levin
Join Date: Jul 2012
Posts: 5
Rep Power: 14
levinperson is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Yes.

However, also explicit multi-level scheme can be used, based on time n, n-1, ...
OK, I see. Can I ask you another question? We are going to solve a 1D Burgers equation with viscous term by LES. The grid number is 200 for example. The filter width 'Delta' I choose is twice of the grid spacing h. The initial condition of the velocity field has been prescribed. If I want to start my simulation, should I filter the initial velocity field first with the filter width 'Delta=2*h', or just apply the initial condition directly to solve the velocity at time level t=1*dt? The reason I ask this question is that I feel that since the filter width is only twice of the grid spacing, filtering process like this doesn't make too much sense. If we have a grid spacing small enough to resolve the velocity field, then we should filter the velocity first before running the LES code.

Another thing is that I'm using a MacCormack method (2nd order in time and space) to solve this viscous 1D Burgers equation. To perform a DNS simulation, the time step size has to be very small to get accurate results... Could you give me some suggestions on some other schemes with a minimum 2nd order accuracy? Thank you so much!

Kevin
levinperson is offline   Reply With Quote

Old   November 30, 2015, 14:00
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
The assumption that Delta = 2*h is quite arbitrary.... if you want to compute an initial filtered field from an initial pointwise velocity field you should use the same shape and width of the filter using during the simulation. But if you are working with implicit-based filtering, the shape and width of the filter is implicitly defined by the numerical scheme you adopt.

I suggest to start from a prescribed initial state, assuming it already represents the intial filtered field. You will run the simulation for several time step and thereafter the initial solution will become less relevant.

If you want, give a look to my old paper about Burgers

https://www.researchgate.net/publica...dy_simulations
FMDenaro 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
[openSmoke] libOpenSMOKE Tobi OpenFOAM Community Contributions 562 January 25, 2023 10:21
UDF diffusivity (strain rate)-UDS Lilly Fluent UDF and Scheme Programming 0 September 6, 2013 03:47
Dyn Smagorinsky model in O.F. 2.1.x babakflame OpenFOAM Running, Solving & CFD 3 May 20, 2013 13:51
About "Shear strain rate" leo1985 CFX 0 April 26, 2008 05:48
strain rate at arbitrary position in a cell K. Kevala FLUENT 0 February 4, 2004 18:14


All times are GMT -4. The time now is 19:17.