CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Explicit filtering in LES (https://www.cfd-online.com/Forums/main/5134-explicit-filtering-les.html)

TJ September 9, 2002 11:15

Explicit filtering in LES
 
Hi,

I have been doing some LES simulations using the Finite-Volume formulation as an implicit top-hat filter. I would now like to implement explicit filtering into my code. However I have so far only succeded in confusing myself.... If anyone can answer the following questions I would be most gratefull.

In the momentum equation the velocities become filtered velocities and the pressures become filtered pressures. Do I need to determine these from the actual velocities using the filter?? can I do the opposite and determine the actual velocity (and therefore the fluctuation) by reversing the filter and applying it to the filtered variables????

Additionally I am unsure about whether to represent the subgrid dissipation as a source/sink term in the equation or as an additional viscosity - what do you recommend??

Thanks

Kalyan September 9, 2002 16:54

Re: Explicit filtering in LES
 
TJ,

One thing to note before getting to your questions. Use of a finite-volume formulation does not necessarily imply top-hat filter. There are approximate ways of estimating what the implicit-filter looks like and it's width (if needed). But in general the implicit filter depends on your discretization schemes (numerical dispersion and dissipation terms).

If you had actual velocities and knew what your filter is, then you can compute filtered velocities. However, in LES, you have the problems in reverse. You have filtered velocities. Even if you knew what the implicit filter was, you can not back out the actual velocity field except to within an approximation. This is because a lot of different actual velocity fields can result in the same filtered velocity fields (upon filtering). i.e.,

Filter(F) = <F>

For a given field "F", <F> is unique, but for a given <F>, "F" is not.

Often when you reverse a filter operation, you might end up with unbounded operators or operators with broad support which make the reverse filtering cumbersome. There are however models based on approximate inverse operators to filters that are used in LES modeling. Here is a good website that discuss such models.

http://www.ifd.mavt.ethz.ch/cfd/resles.htm

Explicit filtering : When people talk about explicit filtering what that often means is you take the LES generated field and filter it using an explicit filter. The LES generated field being implicitly filtered already, explicit filtering involves filtering of a field that is already implicitly filtered. (Hope I haven't confused anyone here).

EF : explicit filter IF : implicit filter

actual variable q produces an LES variable IF(q).

Upon explicit filtering what you end up with is EF[IF(q)].

If the characteristic width of the explicit filter is much larger than that of the implicit filter, you can safely assume that the resulting field is an actual velocity field filtered using an explicit user-specified filter. i.e.,

EF[IF(q)] ~ EF(q)

Thus the implicit filter, which is often the unknown, becomes inconsequential. Since the implicit filter also depends on the mesh spacing, any dependence on the mesh is also removed. Sometimes, the numerics create heuristic high wavenumber behavior that needs to kept in check (eg. de-aliasing errors), explicit filtering removes all those heuristic scales. That's why explicit filtering is highly recommended for unstructured meshes.

TJ September 10, 2002 07:50

Re: Explicit filtering in LES
 
Kaylan,

Thanks for your reply - It answers most of my questions. can I just confim a couple of points...

If I explicitly filter an implicitly filtered field I need to make the explicit filter width much greater than that of the implicit filter. My implicit filter width is equal to the cube root of the cell volume - how much bigger does the explicit filter have to be ? It seems I could sensibly do 2 or 3 times the implicit filter length - is this enough - if I did this would the resolution of the simulation be effected ? If I used a germano SGS model would my test filter be 4 or 6 * grid scale ??

If I feed the explicitly filtered velocities into the momentum eqns and Explicitly filtered pressures into my SIMPLEC algorythm do I get actual or filtered pressures & velocities out at the end of the time step ??

Thanks ever so much

TJ


Kalyan September 10, 2002 09:20

Re: Explicit filtering in LES
 
Typically, it has been assumed that filter width is about twice the cube root of cell volume. However, it is true for near-isotropic grids. For highly anisotropic grid, characteristic filter width is hard to define since the implicit filter may itself be highly anisotropic. This however seems to have minimal impact of dynamic LES since the test filter also is typically anisotropic (i.e., the anisotropy of the implicit filter and the test filter may be nearly analagous).

By doing explicit filtering, you lose some small scale information. This is OK since smallest scales in almost all numerical methods are affected the most by the numerical discretization errors and are thus not usually fully representative of the fluid physics at that scale. You are right that the test filter needs to be fairly wide when using explicit filtering. You have to balance your accuracy requirements with your computational expense.

Regarding your last question, I can only give my opinion. If you feed explicitly filtered fields (v,p) into a numuerical solver with an LES model (corresponding to the explicit filter), you should end up with variables filtered at the explicit filter level. But in reality, you may end up with a explicitly filtered variable + some small scale field. I am reluctant to give this field a name but I guess the term "numerical noise" is probably fits it well. Upon filtering this field, the "numerical noise" is removed and you get the explicitly filtered variable. SIMPLE and it variants (SIMPLER, SIMPLEC) use implicit time-stepping which may be problematic in terms of convergence if you explicitly filter your velocity field after each implicit iteration. Typically most LES is done using small time steps (CFL < 1) using predictor-corrector type schsmes and there is no need to iterate on the velocity.

canopus December 28, 2010 11:49

Quote:

Originally Posted by Kalyan
;21283
TJ,

Explicit filtering : When people talk about explicit filtering what that often means is you take the LES generated field and filter it using an explicit filter. The LES generated field being implicitly filtered already, explicit filtering involves filtering of a field that is already implicitly filtered. (Hope I haven't confused anyone here).

EF : explicit filter IF : implicit filter

actual variable q produces an LES variable IF(q).

Upon explicit filtering what you end up with is EF[IF(q)].

If the characteristic width of the explicit filter is much larger than that of the implicit filter, you can safely assume that the resulting field is an actual velocity field filtered using an explicit user-specified filter. i.e.,

EF[IF(q)] ~ EF(q)

Thus the implicit filter, which is often the unknown, becomes inconsequential. Since the implicit filter also depends on the mesh spacing, any dependence on the mesh is also removed. Sometimes, the numerics create heuristic high wavenumber behavior that needs to kept in check (eg. de-aliasing errors), explicit filtering removes all those heuristic scales. That's why explicit filtering is highly recommended for unstructured meshes.

This is very helpful Kalyan Sir! If you by any chance visit this please let me know I have few things to ask.

mahfuzsarwar May 5, 2013 01:03

Re: Explicit filtering in LES
 
Thanks Kalyan sir for the post. The information regarding explicit filtering technique is very helpful.

But I have a question to Kalyan sir that whether this mentioned concept

EF[IF(q)] ~ EF(q)

is only applicable to Dynamic Smagorinsky Model (DSM) or it can be implemented on the Constant Smagorinsky Model (CSM) as well??


Quote:

Originally Posted by Kalyan
;21283
TJ,

One thing to note before getting to your questions. Use of a finite-volume formulation does not necessarily imply top-hat filter. There are approximate ways of estimating what the implicit-filter looks like and it's width (if needed). But in general the implicit filter depends on your discretization schemes (numerical dispersion and dissipation terms).

If you had actual velocities and knew what your filter is, then you can compute filtered velocities. However, in LES, you have the problems in reverse. You have filtered velocities. Even if you knew what the implicit filter was, you can not back out the actual velocity field except to within an approximation. This is because a lot of different actual velocity fields can result in the same filtered velocity fields (upon filtering). i.e.,

Filter(F) = <F>

For a given field "F", <F> is unique, but for a given <F>, "F" is not.

Often when you reverse a filter operation, you might end up with unbounded operators or operators with broad support which make the reverse filtering cumbersome. There are however models based on approximate inverse operators to filters that are used in LES modeling. Here is a good website that discuss such models.

http://www.ifd.mavt.ethz.ch/cfd/resles.htm

Explicit filtering : When people talk about explicit filtering what that often means is you take the LES generated field and filter it using an explicit filter. The LES generated field being implicitly filtered already, explicit filtering involves filtering of a field that is already implicitly filtered. (Hope I haven't confused anyone here).

EF : explicit filter IF : implicit filter

actual variable q produces an LES variable IF(q).

Upon explicit filtering what you end up with is EF[IF(q)].

If the characteristic width of the explicit filter is much larger than that of the implicit filter, you can safely assume that the resulting field is an actual velocity field filtered using an explicit user-specified filter. i.e.,

EF[IF(q)] ~ EF(q)

Thus the implicit filter, which is often the unknown, becomes inconsequential. Since the implicit filter also depends on the mesh spacing, any dependence on the mesh is also removed. Sometimes, the numerics create heuristic high wavenumber behavior that needs to kept in check (eg. de-aliasing errors), explicit filtering removes all those heuristic scales. That's why explicit filtering is highly recommended for unstructured meshes.


FMDenaro May 5, 2013 04:09

this post is very old and many new studies appeared in literature, I suggest a search to find the state-of-the-art in the field of implicit/explicit filtering

mahfuzsarwar June 17, 2013 00:25

Explicit filtering in LES
 
Quote:

Originally Posted by FMDenaro (Post 425275)
this post is very old and many new studies appeared in literature, I suggest a search to find the state-of-the-art in the field of implicit/explicit filtering

Thank you sir for your suggestion.

However, as I am quite new in the field of LES, I have some questions regarding implicit/ explicit filtering techniques in LES. Say for an example: if any LES code (which is basically physics based model) is operating by deafault in implicit technique and some one would like to implement the explicit filtering in it (as from CTR briefs it assumes that explicit filter will be able to give better solution over implicitly filtered LES), what would be the best possible way to do it?

FMDenaro June 17, 2013 03:31

Quote:

Originally Posted by mahfuzsarwar (Post 434364)
Thank you sir for your suggestion.

However, as I am quite new in the field of LES, I have some questions regarding implicit/ explicit filtering techniques in LES. Say for an example: if any LES code (which is basically physics based model) is operating by deafault in implicit technique and some one would like to implement the explicit filtering in it (as from CTR briefs it assumes that explicit filter will be able to give better solution over implicitly filtered LES), what would be the best possible way to do it?

You need to implement first a filtering subroutine, the type of filtering can be somehow arbitrary. Then, it is a consistent way to apply (at each time step) the explicit filtering to the resolved convective term.
Conversely, the explicit filter applied to the updated resolved velocity is not consistent to the filtered equations.

juliom March 29, 2016 14:27

Quote:

Originally Posted by FMDenaro (Post 434383)
You need to implement first a filtering subroutine, the type of filtering can be somehow arbitrary. Then, it is a consistent way to apply (at each time step) the explicit filtering to the resolved convective term.
Conversely, the explicit filter applied to the updated resolved velocity is not consistent to the filtered equations.

Dear Professor;
I have basically two questions regarding this post. If we have to implement an specific filter (explicit filter) let's say that the kernel is the spectral cut-off which indeed reduces the degree of freedom of the computation. According to your previous statement, implementing an explicit is basically to filter the velocity field (u_i) from every time steps using the filter kernel decided? However, you mentioned the convective term; which is made by u_i*u_j. I lean towards the idea of applying the filter procedure on the u_i field at every time steps and then use that field for the next time step.

The other questions is, how can I really end up with a grid independent solution if the solved velocity field (prior the filtering with the specific kernel) has an implicit filter (second order schemes Top-hat ). Hence the filter operation will be on the solved velocity field which has an implicit filter on it. From different papers, it is clearly shown that the cut-off kernel is very effective imposing the cut-off wavelength. However, the usually se spectral methods. I was wondering if the same effect is achieved even if the derivatives are computed using finite differences.

I know that this is very cumbersome, for someone who is just beginning in this field .!! thank you very much for your time.

FMDenaro March 29, 2016 14:38

Many authors suggested the correct way to adopt explicit filtering as the application of a filtering (it can be a spectral cut-off but that is not mandatory) of width Delta > h (this latter being the computational size) on the non-linear term.
It can be shown that filtering the velocity field at each time step is not consistent with the filtered equation.

This way, a LES solution will be grid-independent when Delta is maintained fixed and h goes toward zero. That does not depends on the type of the filter that can be either projective or smooth.

FMDenaro March 29, 2016 14:42

https://www.researchgate.net/profile...51647c27eb.pdf

https://web.stanford.edu/group/ctr/R...08/13_bose.pdf

juliom March 29, 2016 15:20

Quote:

Originally Posted by FMDenaro (Post 592239)
It can be shown that filtering the velocity field at each time step is not consistent with the filtered equation.

Professor; does it mean that the filter operation needs to be done on the product u_i*u_j rather than in the velocity field u_i? In other words; once I compute the velocity field (u_i); it is just computing u_i*u_j and apply the filter on the solution of the previous tensor?

FMDenaro March 29, 2016 15:41

Quote:

Originally Posted by juliom (Post 592251)
Professor; does it mean that the filter operation needs to be done on the product u_i*u_j rather than in the velocity field u_i? In other words; once I compute the velocity field (u_i); it is just computing u_i*u_j and apply the filter on the solution of the previous tensor?


correct ;)

juliom March 29, 2016 15:43

thank you professor; Now I see why it is computational expensive..!!!

juliom March 30, 2016 15:19

Professor; In Pope's book section 13.5 (LES in wavenumber space) he considered sharp spectral filter, which is natural choice for LES in wavenumber. So, now I wondering if this type of filters are only possible for spectral or pseudo spectral methods. Nonetheless, I think that if a sharp cut-off is applied as an explicit filter in physical space, then it is possible to retain the advantages of the sharp cut-off no matter how I introduce the filtering.. Am I right?

Thanks before hand

Respectfully
JM

FMDenaro March 30, 2016 15:31

Quote:

Originally Posted by juliom (Post 592471)
Professor; In Pope's book section 13.5 (LES in wavenumber space) he considered sharp spectral filter, which is natural choice for LES in wavenumber. So, now I wondering if this type of filters are only possible for spectral or pseudo spectral methods. Nonetheless, I think that if a sharp cut-off is applied as an explicit filter in physical space, then it is possible to retain the advantages of the sharp cut-off no matter how I introduce the filtering.. Am I right?

Thanks before hand

Respectfully
JM


using spectral methods the cut-off is a natural way to get an explicit filtering, conversely, using FV or FD methods you have to perform a Fourier transform, apply the filter and come back to the physical space, a task quite cumbersome.

The second part of your question is not very clear to me...

juliom March 30, 2016 15:42

Excuse me professor; I will make my statement clearer. Although it is a little disappointing that sharp cut-off are only possible in spectral methods. It means that any one using FD or FV can only apply the top hat (based on the numerical scheme and order)
What I wanted to say, is that since the kernel function of the convolution integral can take any form, i.e: the form of the top hat, Gaussian , spectral etc. I thought that it was a matter of changing the filter kernel of the convolution integral and use any integration method to apply the filter on the specific property.
Hence, if I apply an explicit filter (once my velocity field is computed) using the kernel I wish, then the final solution will keep the advantages of the sharp cut-off....

Thanks
Julio

FMDenaro March 30, 2016 16:04

Quote:

Originally Posted by juliom (Post 592478)
Excuse me professor; I will make my statement clearer. Although it is a little disappointing that sharp cut-off are only possible in spectral methods. It means that any one using FD or FV can only apply the top hat (based on the numerical scheme and order)
What I wanted to say, is that since the kernel function of the convolution integral can take any form, i.e: the form of the top hat, Gaussian , spectral etc. I thought that it was a matter of changing the filter kernel of the convolution integral and use any integration method to apply the filter on the specific property.
Hence, if I apply an explicit filter (once my velocity field is computed) using the kernel I wish, then the final solution will keep the advantages of the sharp cut-off....

Thanks
Julio


theoretically yes ... but practically is very cost-expensive working with FV/FD methods and perform at each time step FFT/IFFT only to apply the spectral cut-off. What is more, the case would be feasible ony for particolar geometry with periodical conditions. Conversely, the top-hat filter would be useful for general flow conditions.

juliom March 30, 2016 17:36

Thank you professor; It seems that the only options for FD and FV are Gaussian and Top-hat. My main concern is due to important facts that I have come across in the literature; that only cut-off reduces the degree of freedom of the problem. And, smooth filters (gaussian, top hat) are not effective to attenuate wavenumbers beyond the filter width.
The more I read, the least I understand :S I think this is not a good sign!!!

Respectfully and thank you very much
Julio Mendez

FMDenaro March 30, 2016 17:46

Quote:

Originally Posted by juliom (Post 592499)
Thank you professor; It seems that the only options for FD and FV are Gaussian and Top-hat. My main concern is due to important facts that I have come across in the literature; that only cut-off reduces the degree of freedom of the problem. And, smooth filters (gaussian, top hat) are not effective to attenuate wavenumbers beyond the filter width.
The more I read, the least I understand :S I think this is not a good sign!!!

Respectfully and thank you very much
Julio Mendez


well, my opinion is different ... when you write for example the top-hat filter, the transfer function is somehow like sin(eta)/eta, therefore it has an infinite number of zero, vanishing only asymptotically. But that happens in the continuous formulation... If you use a discrete top-hat, the numerical transfer function is always terminated at the Nyquist frequency that is nothing else a cut-off filter introduced by the computational grid. In conclusion, the degrees of freedom are reduced.

juliom April 4, 2016 17:00

Professor; I have been reading about the explicit filter and the papers your recommended me; but now I am more confused due to tress facts:
1.- Lund 2003; he proposed that the explicit filter has to be applied only on the convective term, in order to recover the frequencies to the bar level. However, He said tht the convective term needs to be constructed from a mesh two times finer. This fact is in line with Sagaut book.
2.- Gullbrand 2003; she proposed an explicit technique applied on the entire LES equation, not only on the convective term as Lund 2003. Also the filter was applied ina mesh twice as large as the grid mesh.
3.- Why the mesh needs to be two times smaller in Sagaut and Lund approach?; How these two approaches (section 2 and 1 from this message) are different since both are explicit filter.

Sincerely
JM

FMDenaro April 4, 2016 17:38

Ok, let me do an example in 1D.

Assume a computational mesh size h and an implicit filtering based on a second order central discretization. The resulting filtered velocity is a consequence of the adoption of the FD (transfer function like sin(csi)/csi) and the cut-off kc=pi/h (Nyquist). Therefore, the filtered velocity has no components outside kc but you can also see that the transfer function does not maintain the value 1 for all the resolved frequency (before kc) but it is approximately equal to 1 only for the first one-third of the range.

Now, what is the reason to think that an explicit filtering is better? The idea is that the SGS model uses the information coming from the filtered field and that, ideally, the best resolved field for a goo SGS model is provided by a spectral cut-off that has a transfer function exactly =1 until kc. Therefore, if we want to follow this idea still using FD/FV methods, we need to clear the implicitly filtered field, cancelling the part of the resolved frequencies that deviate from 1. For doing that we need to aplly explicitly a filter using a second computational grid with h_f>h. This way, the Nyquist frequency for the second grid cancel-out the components.

Therefore h_f/h is a ratio defining the portion of the original filtered field we want to cancel. This ratio can be 2 or higher.
However, in a practical computation, we need a good resolved field, therefore h_f must be quite small and consequently h is much smaller.
Hence, in principle h_f/h>2 is better as effective filtering but h_f/h=2 is less computationally expensive.

juliom April 4, 2016 18:07

Professor; thank you very much I really appreciate your kindness. Your thoughts and explanations are very encouraging and important to me. I wished I could have worked under you.

Now, I think I got the gist of it. At the beginning I thought that the reconstruction was the other way around. But, according to your explanation the idea is to start with a fine mesh that yields to Nyquist_1. Then with a coarser mesh (at least twice as larger as the first) the convective term is filtered. The second mesh may have a Nyquist_2 > Nyquist_1. However, I visualize this as running two problems at the same time. Am I right? Because I need the finer grid at each time step to have the information to perform the filter of the coarser one. Otherwise, how could I perform the filter (the convolution integral over the filter width.)

Professor; this assumption that you mentioned at the beginning is what papers calls "scale similarity"?

Respectfully
JM

FMDenaro April 4, 2016 18:23

...be carefull, what you called Nyquist_2 is pi/h_coarse < Nyquist_1.

The computational problem has the cost determined by the finest mesh, hence you compute all the components on the finest grid but your LES solution is determined only until Nyquist_2. For this reason many authors consider more useful to use the implicit filtering approach on a quite fine grid. The advantage of the explicit filtering is that, for a fixed coarse grid size (Nyquist_2= constant=), you can do a computational grid refinement (Nyquist_1-> +Inf) to look for a filtered grid-independent solution. Conversely, the implicit filtering produces a convergence towards the DNS solution.

see this work to understand the role of the filtering in the SGS model:
https://www.researchgate.net/publica...ddy_simulation

juliom April 4, 2016 18:38

thank you professor for the correction; I mixed the symbols. I wanted to type "<" instead of ">".
Professor, your previous explanation sounds to me like spectral method. Based on my understanding; in order to implement a filter I need to integrate over certain points. Also, based on Sagaut "This means that the grid used for composing u_i (bar)u_j(bar) product has to be twice as fine as the one used to represent the velocity field." Hence the velocity field, will be computed on a coarser mesh based on the filtered convective term. Maybe I am being to fuzzy on my statement, but It is difficult for me to visualize a filter with a difference in mesh sizes. That is why, I see this as two problem running at the same time.

Thanks professor.

FMDenaro April 4, 2016 18:56

"that the grid used for composing u_i (bar)u_j(bar) product has to be at least twice as fine"

You must think about two concurrent problems, the discrete equation that provides the implicit filtering and the explicit filtering that must clear the field. Of course, in order to run at each time step the method, the explicit filtering is computed on all nodes of the finest grid.
In principle, the explicit filtering makes sense only for FD/FV, in SM it is used the de-aliasing technique.

juliom April 4, 2016 19:19

thank you professor; thank you very much!!!

juliom April 18, 2016 18:26

Dear Professor;
Currently I am reading/working with the dynamic procedure. After reading the Germano's Paper "Turbulence:the filtering approach" and Sagaut book I ended up mixing concepts and physics.

Last time you explained me about the explicit filtering on the convective term. Where basically I carry out two runs at the same time. The finest mesh defining the smalles Nyquist wavenumber and the coarser one the biggest Nyquist wavenumber. After each time step, I used the velocity field from the finest mesh to filter the solution to the coarser mesh. Once I have the convective term filtered out at the coarser mesh, I assume that I just need to use that velocity field to evolve the solution in time after making sure the velocity field is solenoidal i.e: SIMPLE or projection method.

However, after reading this material I am visualizing the Germano process as an explicit filtering too. Because, I have a F-level filtered values (that I can see as the finest mesh) and and test filter G (as the coarser mesh). I am aware that the goal with the Germano paper (Lilly) is to obtain a variable value of Cs, while in the explicit the idea is to clean the implicitly filtered field.

Very Respectfully
JM

FMDenaro April 19, 2016 03:01

right, in the dynamic procedure you work with the so-called test-filtering...it is necessary to perform a further explicit test-filter having the third Nyquist frequency greater than the other two.

callahance October 6, 2016 07:44

Filtering the non-linear Term
 
I would like to dig up this subject again, beacuse I'm interested in implementing explicit filtering in FVM code.
As mentioned before, filtering the convective term is the main challenge in explicit filtering. When using FVM, the non-linear term is linearised and the volume integral of the convective term turns into a surface integral, which in turns become a sum of fluxes (phi) times velocity (u) over all faces of the cell.
How would you then filter the convective (linearised) term (assuming we are using a smooth Gauss filter) ? I tried the following:

divergence(uiuj) --> divergence(phi*uj) this is the linearisation step.

assuming a smooth filter: u_filtered = u + const.*laplace(u); where const. represents the filter width.

Applying this on the non-linear term:

divergence((uiuj)_f) = divergence(uiuj)+const.*divergence(laplace(uiuj)).

The first term can be treated the same way as in implicit filtering. The treatment of the second term however is not trivial. I tired calculating laplace(uiuj) using values from the previous time step and then taking the divergence of it. The solver has then stability problems, which I assume has something to do with Rhie-Chow interpolation (Im using collocated grid variables).

Any advice on how treating this problem would be appreciated.

Regards

FMDenaro October 6, 2016 08:00

Quote:

Originally Posted by callahance (Post 620504)
I would like to dig up this subject again, beacuse I'm interested in implementing explicit filtering in FVM code.
As mentioned before, filtering the convective term is the main challenge in explicit filtering. When using FVM, the non-linear term is linearised and the volume integral of the convective term turns into a surface integral, which in turns become a sum of fluxes (phi) times velocity (u) over all faces of the cell.
How would you then filter the convective (linearised) term (assuming we are using a smooth Gauss filter) ? I tried the following:

divergence(uiuj) --> divergence(phi*uj) this is the linearisation step.

assuming a smooth filter: u_filtered = u + const.*laplace(u); where const. represents the filter width.

Applying this on the non-linear term:

divergence((uiuj)_f) = divergence(uiuj)+const.*divergence(laplace(uiuj)).

The first term can be treated the same way as in implicit filtering. The treatment of the second term however is not trivial. I tired calculating laplace(uiuj) using values from the previous time step and then taking the divergence of it. The solver has then stability problems, which I assume has something to do with Rhie-Chow interpolation (Im using collocated grid variables).

Any advice on how treating this problem would be appreciated.

Regards


I am not sure of what you are doing...if you work with the FV discretization of the integral form, you get to work with this convective flux term:


1/|V| Int [S] n.v_bar v_bar dS

But I want to highlight that that is equivalent to

[Div ( v_bar v_bar)]_bar

where [ ]_bar is the volume filter (top-hat). Hence you are already applying a filtering on the resolved convective term.
I analysed this type of formulation much deeper, if you are interested in I suggest this paper:

https://www.researchgate.net/publica...dy_Simulations

callahance October 6, 2016 08:07

In your paper, you discuss the implicit filtering. Yes, the FV method does filter the solution (grid filter). What I want is to apply an explicit filter. Lets say I have a very fine grid and a very coarse one. Just by using the grid filter would ofcourse lead to different results, since each grid has its own cutoff wavenumber.

By applying explicit filtering, one can get (almost) identical solutions on both grids, if one sets the cutoff wavenumber of the explicit filter on the fine grid equal to the cutoff wavenumber of the coarse one.

What I want to do is exactly the method used by Lund, Gullbrand, etc. I think the papers were already mentioned in this thread.

FMDenaro October 6, 2016 08:14

Quote:

Originally Posted by callahance (Post 620510)
In your paper, you discuss the implicit filtering. Yes, the FV method does filter the solution (grid filter). What I want is to apply an explicit filter. Lets say I have a very fine grid and a very coarse one. Just by using the grid filter would ofcourse lead to different results, since each grid has its own cutoff wavenumber.

By applying explicit filtering, one can get (almost) identical solutions on both grids, if one sets the cutoff wavenumber of the explicit filter on the fine grid equal to the cutoff wavenumber of the coarse one.

What I want to do is exactly the method used by Lund, Gullbrand, etc. I think the papers were already mentioned in this thread.


As you can read in that papers, they use the differential, not the integral formulation. Therefore, they apply the filter on the term

Div ( v_bar v_bar)

but then, they commute filter and divergence

Div [( v_bar v_bar)_bar]

Which formulation do you want to use? If you use the integral formulation you should consider that the surface integral is by itself a volume filter applied explicitly.

callahance October 6, 2016 08:18

I use the integral formulation. The filter applied by the integral itself is similar to implicit filtering, since I cannot control the filter width of the integral. Therefore I would like to apply the filtering formulation mentioned above (the differential one) on my integral formulation. My goal is actually to get a "coarse" solution on a "fine" grid.

FMDenaro October 6, 2016 08:38

Quote:

Originally Posted by callahance (Post 620513)
I user the integral formulation. The filter applied by the integral itself is similar to implicit filtering, since I cannot control the filter width of the integral. Therefore I would like to apply the filtering formulation mentioned above (the differential one) on my integral formulation.


That means you want to work with

1/|V| Int [S] n.[v_bar v_bar]_expl dS

where [ ]_expl is the explicit volume filtering.
Well, this was never used in the literature and deserves much more thinking...
At first, this formulation leads to solve for a very different meaning of the resolved velocity because this way you have to consider that you have implicityly generate a gerarchy of filtering in

[Div ( v_bar v_bar)_expl]_bar

the question is what is the meaning of the velocity you have in the time derivative...the LES equatione must be reformulate properly and I immagin a new unresolved tensor appears.

callahance October 6, 2016 09:24

well I see no big difference between the differential and the integral form. The filter applied through the integral is applied on all terms in the momentum equation (for the time derivative too). Wouldn't be possible to just write the explicitly filtered equations as in the differential form, and apply a volume integral over the whole equation ? The result should be the explicitly filtered equations in integral form. As a result, the stress terms emerging from explicit filtering would be the same as described in the papers above. The only problem would be, as mentioned above, filtering the convective term.

FMDenaro October 6, 2016 09:58

Quote:

Originally Posted by callahance (Post 620528)
well I see no big difference between the differential and the integral form. The filter applied through the integral is applied on all terms in the momentum equation (for the time derivative too). Wouldn't be possible to just write the explicitly filtered equations as in the differential form, and apply a volume integral over the whole equation ? The result should be the explicitly filtered equations in integral form. As a result, the stress terms emerging from explicit filtering would be the same as described in the papers above. The only problem would be, as mentioned above, filtering the convective term.


the issue is much more complex...when you applly the filter on the convective terms, you must consider you solve a term like

d/dt [u_bar]_expl

and this is different if you use the differential or the integral formulation

callahance October 6, 2016 10:01

Quote:

Originally Posted by FMDenaro (Post 620531)

d/dt [u_bar]_expl

I thought the explicit filtering (denoted by [...]_expl ) was only applied on the convective term and on terms included in the SFS tensor. Why would you expl. filter the time derivative ?

P.S.: by the convective term I mean (duiuj/dxj) and not (Duiuj/Dt) ... so I just mean the non-linear term in the momentum equation.

FMDenaro October 6, 2016 10:34

Yes, you do not apply on the time derivative but it results as a consequence of the application of the explicit filtering on the convective term...if you filter the convective flux, what is the result in terms of the time dependent solution? think about...

I suggest to give a carefull reading to the papers of Lund and the paper of Gullbrand on JFM, You will find the answer.


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