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

Equation of the Filtered variable

Register Blogs Community New Posts Updated Threads Search

Like Tree13Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2021, 02:46
Default Equation of the Filtered variable
  #1
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Dear Users,

I am doing some research about the Large Eddy simulation. I found some apparent discrepency in the definition of the filter G between the paper of two authors (but I found a lot of other paper with different definitions as well).
I have attached both, the paper are:

Leonard, A. (1975). Energy Cascade in Large-Eddy Simulations of Turbulent Fluid Flows. Advances in Geophysics, 237–248. doi:10.1016/s0065-2687(08)60464-1

Piomelli U. 2014 Large eddy simulations in 2030 and beyond. Phil. Trans. R.
Soc. A 372: 20130320. http://dx.doi.org/10.1098/rsta.2013.0320


In both I didn't understand what they intend for the variables x and x', and why they are in bold.
Why the function of Piomelli depends on delta and the one of Leonard does not?


Last Question: If the filter is implied, how does G become?
Attached Images
File Type: png Piomelli.png (50.2 KB, 15 views)
File Type: png Leonard.png (82.3 KB, 12 views)
MardyOwens is offline   Reply With Quote

Old   July 18, 2021, 04:22
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
x is your traditional position. x' is a dummy position variable inside the integral (integrating over the entire domain is the filtering operation).


At a high-level, it doesn't really matter that one depends on x-x' and the other on delta. All that matters is that there is a filter function G, and applying the filtering operation to f(anything) over the entire domain gives you a filtered f with an overbar. I.e., they could just as easily write G(x,x',delta), G(x,x'), G(x-x'), or just G or any other letter, say H. We haven't said what are the details of the filter G yet. And until we do, it could be anything. G(something) is some filter function that makes the LES act like LES.
LuckyTran is offline   Reply With Quote

Old   July 18, 2021, 04:31
Default
  #3
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
x is your traditional position. x' is a dummy position variable inside the integral (integrating over the entire domain is the filtering operation).


At a high-level, it doesn't really matter that one depends on x-x' and the other on delta. All that matters is that there is a filter function G, and applying the filtering operation to f(anything) over the entire domain gives you a filtered f with an overbar. I.e., they could just as easily write G(x,x',delta), G(x,x'), G(x-x'), or just G or any other letter, say H. We haven't said what are the details of the filter G yet. And until we do, it could be anything. G(something) is some filter function that makes the LES act like LES.
Ok. Thanks! Why the points are bold? Are they vectors? How become G if the filter is implicit?
MardyOwens is offline   Reply With Quote

Old   July 18, 2021, 04:54
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Bold symbols are always for vectors, a capital letter stands for tensors.
Delta is a parameter, not a variable, it is the width of the filter.



To understand better, this is an example of the top hat filter (1D)


f_filt(x; Delta)= (1/Delta) Int[x-Delta/2;x+Delta/2] f(x') dx'


Be aware that different authors can use different notations.
FMDenaro is offline   Reply With Quote

Old   July 18, 2021, 05:10
Default
  #5
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Bold symbols are always for vectors, a capital letter stands for tensors.
Delta is a parameter, not a variable, it is the width of the filter.



To understand better, this is an example of the top hat filter (1D)


f_filt(x; Delta)= (1/Delta) Int[x-Delta/2;x+Delta/2] f(x') dx'


Be aware that different authors can use different notations.
Thank you. So x' can be defined as a dummy vector variable needed for the integration. How become G if the filter is implicit?
MardyOwens is offline   Reply With Quote

Old   July 18, 2021, 05:17
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by MardyOwens View Post
Thank you. So x' can be defined as a dummy vector variable needed for the integration. How become G if the filter is implicit?

Well, when LES is performed using an implicit filter, then G is the filter function implied by the type of discretization. For example, a spectral method implies a Fourier cut-off filter, a finite volume method implies an approximation of the top-hat filter.

The exact shape of the implicit filter is strongly depending on the discretization...
FMDenaro is offline   Reply With Quote

Old   July 18, 2021, 05:21
Default
  #7
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Well, when LES is performed using an implicit filter, then G is the filter function implied by the type of discretization. For example, a spectral method implies a Fourier cut-off filter, a finite volume method implies an approximation of the top-hat filter.

The exact shape of the implicit filter is strongly depending on the discretization...
Yes, but if I do not adopt filters, and there is only the presence of the Grid that perform as filter. How f_filt(x; Delta) become? does G become simply one?
MardyOwens is offline   Reply With Quote

Old   July 18, 2021, 05:40
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by MardyOwens View Post
Yes, but if I do not adopt filters, and there is only the presence of the Grid that perform as filter. How f_filt(x; Delta) become? does G become simply one?
The topic is not so simple, you need to consider both discretization of the equations and domain. This is my paper about that, I know that can be somehow hard to read but you can focus only on the main sections.
https://www.researchgate.net/publica...dy_Simulations
ssh123 and MardyOwens like this.
FMDenaro is offline   Reply With Quote

Old   July 18, 2021, 06:02
Default
  #9
Senior Member
 
luca mirtanini
Join Date: Apr 2018
Posts: 165
Rep Power: 8
lucamirtanini is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
The topic is not so simple, you need to consider both discretization of the equations and domain. This is my paper about that, I know that can be somehow hard to read but you can focus only on the main sections.
https://www.researchgate.net/publica...dy_Simulations
Thank you for your article. Maybe Mardy misconception come from the LES formalism in the FDS user guide, which use an implied filter.

You use the same formalism in the Eq. (2) of your article (the schumann approach). I though that this formalism meant that the filter is implied, because if compared with the Eq. (1), it seems that G is 1/Delta^3 . Which is the Schumann paper you are referring to? Why eq. (1) becomes eq.(3)?
Attached Images
File Type: png LES_FORMALISM_FDS.PNG (95.1 KB, 4 views)
MardyOwens likes this.
lucamirtanini is offline   Reply With Quote

Old   July 18, 2021, 06:11
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by lucamirtanini View Post
Thank you for your article. Maybe Mardy misconception come from the LES formalism in the FDS user guide, which use an implied filter.

You use the same formalism in the Eq. (2) of your article (the schumann approach). I though that this formalism meant that the filter is implied, because if compared with the Eq. (1), it seems that G is 1/Delta^3 . Which is the Schumann paper you are referring to? Why eq. (1) becomes eq.(3)?



There is a lot of confusion in this topic... When using a FVM, you discretize the integral equations, therefore the volume averaging corresponds to the filter operation. However, this operation is never really applied, the volume-averaged (filtered) variable is a conseguence of the fluxes reconstruction.
On the other hand, using a FDM you dicretize the differential equations and the filter is hidden in the type of discretization of the derivatives.
For all method, the grid finally acts as a cut-off filter at the Nyquist frequency.
The real value of the filter width Delta is not exactly a user choice but depends on the discretization.



The Schumann paper is old, he did not analysed such issues in implicit filtering. In my paper you can see the Eq.(5) as a filter equation in a FVM
FMDenaro is offline   Reply With Quote

Old   July 18, 2021, 09:33
Default
  #11
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
There is a lot of confusion in this topic... When using a FVM, you discretize the integral equations, therefore the volume averaging corresponds to the filter operation. However, this operation is never really applied, the volume-averaged (filtered) variable is a conseguence of the fluxes reconstruction.
On the other hand, using a FDM you dicretize the differential equations and the filter is hidden in the type of discretization of the derivatives.
For all method, the grid finally acts as a cut-off filter at the Nyquist frequency.
The real value of the filter width Delta is not exactly a user choice but depends on the discretization.



The Schumann paper is old, he did not analysed such issues in implicit filtering. In my paper you can see the Eq.(5) as a filter equation in a FVM

Thank you for your explanation. Maybe I am trying to understand. Indeed I cannot understand how is it possible to go from eq. (1) to eq. (2). Where does it go the G function?
MardyOwens is offline   Reply With Quote

Old   July 18, 2021, 10:19
Default
  #12
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Please, allow me to add that:

1) G\left(\mathbf{x},\mathbf{x'},\Delta\right) means that the filter has an explicit dependence on the spatial coordinate \mathbf{x}. This might both refer to a spatial variability of \Delta and to a general variabilty of the filter kernel support, higher order moments, etc.

2) G\left(\mathbf{x}-\mathbf{x'}\right) means that the filter only depends from the distance between the integration point and the physical coordinate. In this case one can formally refer to the operation as a convolution. More importantly, one can show that this form of filter commutes with spatial derivatives.

While the Schumann form was more common in the early LES age, today it is largely wrong to keep assuming that the filter has no spatial dependence and one should recognize the Piomelli form as the one always in place, recognized or not by the author.

For what concerns the implicit filter, one can use the formalism of the weighted residual method to show what the implied filter is in most numerical discretizations (my Ph.D. thesis has a section on it). Some numerical schemes, however, add additional difficulties in the interpretation of the solution as one obtianed under one single filter.

What formalisms can't really do (nor any model in itself) is quantifying/qualifying the rich SGS dynamics hidden in O\left(\Delta^2\right) terms taken away by the grid.
MardyOwens likes this.
sbaffini is offline   Reply With Quote

Old   July 18, 2021, 10:31
Default
  #13
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
Please, allow me to add that:

1) G\left(\mathbf{x},\mathbf{x'},\Delta\right) means that the filter has an explicit dependence on the spatial coordinate \mathbf{x}. This might both refer to a spatial variability of \Delta and to a general variabilty of the filter kernel support, higher order moments, etc.

2) G\left(\mathbf{x}-\mathbf{x'}\right) means that the filter only depends from the distance between the integration point and the physical coordinate. In this case one can formally refer to the operation as a convolution. More importantly, one can show that this form of filter commutes with spatial derivatives.

While the Schumann form was more common in the early LES age, today it is largely wrong to keep assuming that the filter has no spatial dependence and one should recognize the Piomelli form as the one always in place, recognized or not by the author.

For what concerns the implicit filter, one can use the formalism of the weighted residual method to show what the implied filter is in most numerical discretizations (my Ph.D. thesis has a section on it). Some numerical schemes, however, add additional difficulties in the interpretation of the solution as one obtianed under one single filter.

What formalisms can't really do (nor any model in itself) is quantifying/qualifying the rich SGS dynamics hidden in O\left(\Delta^2\right) terms.

Thank you! I was searching something like your thesis. Congratulations, the reference work is amazing.
sbaffini likes this.
MardyOwens is offline   Reply With Quote

Old   July 18, 2021, 11:04
Default
  #14
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by MardyOwens View Post
Thank you for your explanation. Maybe I am trying to understand. Indeed I cannot understand how is it possible to go from eq. (1) to eq. (2). Where does it go the G function?
Depending on the case, G has different expressions you substitute in the integral.
For example, considering the top-hat filter, G=1/Delta in the interval x-Delta/2;x+Delta/2 and zero elsewhere. In practices you have the definition of a local cell-averaging
MardyOwens likes this.
FMDenaro is offline   Reply With Quote

Old   July 18, 2021, 11:38
Default
  #15
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
Please, allow me to add that:

1) G\left(\mathbf{x},\mathbf{x'},\Delta\right) means that the filter has an explicit dependence on the spatial coordinate \mathbf{x}. This might both refer to a spatial variability of \Delta and to a general variabilty of the filter kernel support, higher order moments, etc.

2) G\left(\mathbf{x}-\mathbf{x'}\right) means that the filter only depends from the distance between the integration point and the physical coordinate. In this case one can formally refer to the operation as a convolution. More importantly, one can show that this form of filter commutes with spatial derivatives.

While the Schumann form was more common in the early LES age, today it is largely wrong to keep assuming that the filter has no spatial dependence and one should recognize the Piomelli form as the one always in place, recognized or not by the author.

For what concerns the implicit filter, one can use the formalism of the weighted residual method to show what the implied filter is in most numerical discretizations (my Ph.D. thesis has a section on it). Some numerical schemes, however, add additional difficulties in the interpretation of the solution as one obtianed under one single filter.

What formalisms can't really do (nor any model in itself) is quantifying/qualifying the rich SGS dynamics hidden in O\left(\Delta^2\right) terms taken away by the grid.
So, if I well understood from your thesis, the filter kernel G, in the equation devised by Leonard, cannot be written if the filter is implicit, isnt'it?

When you say "the formalism of the weighted residual method to show what the implied filter is in most numerical discretizations", which equation are you meaning?
MardyOwens is offline   Reply With Quote

Old   July 18, 2021, 12:22
Default
  #16
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by MardyOwens View Post
So, if I well understood from your thesis, the filter kernel G, in the equation devised by Leonard, cannot be written if the filter is implicit, isnt'it?

When you say "the formalism of the weighted residual method to show what the implied filter is in most numerical discretizations", which equation are you meaning?
In the Leonard paper (that I don't have now and I haven't read in a while) the reasoning is "under certain circumstances, the filter is like this and we can then do this". That is one of the seminal LES papers, if not THE ONE, you can't really expect it to be correct or even able to consider anything beyond what it explicitly says.

Now, since then, and before my thesis, several people have formalized filters and filtering operations, including those related to implicit filters. Filippo worked on the finite volume ones. Others worked on the others (they are all mentioned in the thesis).

What, I think, I have done in my thesis is taking the formalism already devised by Filippo for finite volumes, make it slightly more general, take the formalism of the weighted residuals method (wrm) and show that the two are exactly the same and that the same conclusion can be drawn for all the others (section 3.6.3 of the thesis).

What the wrm specifically allows to say is that:

1) Most numerical methods (finite differences, volumes and elements, spectral methods) can be formalized under the same method.

2) This general all-inclusive method solves, independently from the details of the specific method, for a filtered variable. The details of the filter of course change from method to method.

3) The equations that are solved by this general all-inclusive method are themselves filtered equations, under the same filter of point 2 above.

All of this was basically already figured out by Vreman as well in his 2004 paper, but I like to think that I figured a more elegant, pedestrian level, way of presenting it.

So, to answer your question, using the wrm formalism I can show in equations 3.45 and 3.47 that a finite volume solution can be interpreted as a combination of a top-hat filter followed by a grid sampling, in this very specific order. This, of course, doesn't tell the whole truth about implicit filtering as numerical discretizations on finite grids would add additional implicit filtering, but the formalism allows to separate them (also in lieu of a possible future treatment) from what the discrete approach implies by itself, independently from the numerical accuracy.

So, yes, in these terms, the implicit filter can be totally qualified but to become explicit and practical, for example, in the case of the finite volume solution it requires to know how you assume the FV solution to vary from a cell center to the other (the phi in equation 3.45).
sbaffini is offline   Reply With Quote

Old   July 18, 2021, 16:11
Default
  #17
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by sbaffini View Post
In the Leonard paper (that I don't have now and I haven't read in a while) the reasoning is "under certain circumstances, the filter is like this and we can then do this". That is one of the seminal LES papers, if not THE ONE, you can't really expect it to be correct or even able to consider anything beyond what it explicitly says.

Now, since then, and before my thesis, several people have formalized filters and filtering operations, including those related to implicit filters. Filippo worked on the finite volume ones. Others worked on the others (they are all mentioned in the thesis).

What, I think, I have done in my thesis is taking the formalism already devised by Filippo for finite volumes, make it slightly more general, take the formalism of the weighted residuals method (wrm) and show that the two are exactly the same and that the same conclusion can be drawn for all the others (section 3.6.3 of the thesis).

What the wrm specifically allows to say is that:

1) Most numerical methods (finite differences, volumes and elements, spectral methods) can be formalized under the same method.

2) This general all-inclusive method solves, independently from the details of the specific method, for a filtered variable. The details of the filter of course change from method to method.

3) The equations that are solved by this general all-inclusive method are themselves filtered equations, under the same filter of point 2 above.

All of this was basically already figured out by Vreman as well in his 2004 paper, but I like to think that I figured a more elegant, pedestrian level, way of presenting it.

So, to answer your question, using the wrm formalism I can show in equations 3.45 and 3.47 that a finite volume solution can be interpreted as a combination of a top-hat filter followed by a grid sampling, in this very specific order. This, of course, doesn't tell the whole truth about implicit filtering as numerical discretizations on finite grids would add additional implicit filtering, but the formalism allows to separate them (also in lieu of a possible future treatment) from what the discrete approach implies by itself, independently from the numerical accuracy.

So, yes, in these terms, the implicit filter can be totally qualified but to become explicit and practical, for example, in the case of the finite volume solution it requires to know how you assume the FV solution to vary from a cell center to the other (the phi in equation 3.45).



And that is a further topic, still object of discussions in literature (see for example the recent papers of Nishikawa)
sbaffini likes this.
FMDenaro is offline   Reply With Quote

Old   July 18, 2021, 16:55
Post
  #18
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
And that is a further topic, still object of discussions in literature (see for example the recent papers of Nishikawa)
Yes I need time to study in deep all these concepts. Thank you so much for all these resources.
MardyOwens is offline   Reply With Quote

Old   July 18, 2021, 16:57
Default
  #19
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by MardyOwens View Post
Yes I need time to study in deep all these concepts. Thank you so much for all these resources.



Sure, LES is a large field and often not clearly formalized. Do you have the fundamental textbooks about LES?
FMDenaro is offline   Reply With Quote

Old   July 18, 2021, 17:12
Default
  #20
New Member
 
N/A
Join Date: Feb 2021
Posts: 22
Rep Power: 5
MardyOwens is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Sure, LES is a large field and often not clearly formalized. Do you have the fundamental textbooks about LES?
I have just: Large Eddy simulation for Incompressible fluid of Sagaut.

I also have the book of Pope.


Are there others?
MardyOwens is offline   Reply With Quote

Reply

Tags
filter, les filter


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
Principal variable in energy equation is total enthalpy or total internal energy? lostking18 CFX 3 June 11, 2019 01:20
Filtered navier stokes equation..LES:: Palani Velladurai Main CFD Forum 7 September 6, 2013 02:51
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
CFX Additional Variable Transport Equation Scott Nordsen CFX 3 January 30, 2010 05:36
Additional Variable - Diffusive Transport Equation RadheShyam Das CFX 3 October 18, 2007 12:35


All times are GMT -4. The time now is 04:49.