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

Invoking or not commutation in the LES equation?

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2017, 11:40
Default Invoking or not commutation in the LES equation?
  #1
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
The commutation error in LES is still highlighted as a source of (possibly) relevant errors in the solution. Many papers proposed methods to work with this issue but, despite few studies, why do people still use to commute filtering and derivatives in the equations? Apart from the hystorical consuetude, I wonder what other reasons at present have to be considered...
sbaffini likes this.
FMDenaro is offline   Reply With Quote

Old   May 30, 2017, 12:24
Default
  #2
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
Quote:
Originally Posted by FMDenaro View Post
The commutation error in LES is still highlighted as a source of (possibly) relevant errors in the solution. Many papers proposed methods to work with this issue but, despite few studies, why do people still use to commute filtering and derivatives in the equations? Apart from the hystorical consuetude, I wonder what other reasons at present have to be considered...
I am not up-to-date in LES literature, but I completely understand your point and agree. My perspective as a relatively well-informed outsider is that DNS was and continues to be a rigorous scientific endeavor. LES (on regular cartesian meshes) approach a similar level of rigor with the caveats of meshing into the inertial range and being mindful of the spectral characteristics of numerical schemes you are using (I recall Lele's paper on spectral-like compact differencing, for example).

And then there is "LES" in practice. These use stretched/unstructured meshes, play fast-and-loose with the definition of the filter ("The mesh is the filter!"), and give little or no attention to the spectral characteristics of the numerical methods being employed when mesh stretching, skewness, or general unstructured treatments are involved. I think this group of LES work is not nearly as rigorous as the first, but is steeped in engineering pragmatism--as with Reynold-averaging approach before them. I think the vagaries of the spectral characteristics of the "central differencing" scheme being applied to a general unstructured mesh and its matching "filter" are likely much more a source of error than commutation of the filter and derivatives. But I may be wrong.

So, I honestly don't know where we are now. LES done with OpenFOAM or Fluent is a tool, and perhaps the benevolent gods of Turbulence have willed that it is representative of engineering reality for those who truly believe. Rigorous LES may be pushed into engineering flow configurations with discontinuous galerkin or spectral elements, getting good othogonal basis functions and clean definitions of per-element filters. In such cases, commutation should not be assumed.

This is interesting topic for me. I studied it extensively in grad school, but moved on to "normal" CFD and multiphase later. But I am anxious to hear current trends and get caught up. Perhaps my true LES and "LES" perspective is wrong or incomplete now.
sbaffini, FMDenaro and rajnarayang like this.
mprinkey is offline   Reply With Quote

Old   May 30, 2017, 12:31
Default
  #3
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
What is somehow strange is the great effort of many studies in trying to reduce the error but not to eliminate it by simply not interchanging the operators.
And both open-source and commercial codes upgrade seems to focus more on modelling the unresolved terms than consider this issue.

Is that just laziness???
FMDenaro is offline   Reply With Quote

Old   May 30, 2017, 22:50
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by FMDenaro View Post
What is somehow strange is the great effort of many studies in trying to reduce the error but not to eliminate it by simply not interchanging the operators.
Wait, if you do not commute the filtering and derivative operation, then your LES equations are un-closed since you have a filtered derivatives of the original variables. You must do some form of commuting to get an equation in terms of filtered variables.

Numerical calculations are never exact, always you have some error. The question is what is their boundedness. To me, "eliminating errors" is paradoxical in numerics.

Ghosal & Moin already showed that one can construct an SOCF filter such that the commutation error is less than the discretization error (+ some conditions). From a practical standpoint, if the errors can be controlled then that is good enough. The same goes for discretization schemes... We truncate higher order terms, which always introduces some error, but we can control the error. Of course, adding corrections always involves introducing higher order derivatives (which now require more boundary conditions).

That doesn't mean that there isn't any progress that can be done. I can imagine there are many folks out that like super accurate LES and that there are folks right now designing very accurate LES codes. But from a practical standpoint, what exists works, so I can see that there is not a pressing need.
LuckyTran is offline   Reply With Quote

Old   May 30, 2017, 23:12
Default
  #5
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Here is my small addition to the topic (I am not sure if I am really adding anything).

From the ideal case of Cartesian mesh with equal sized control volume to real world industrial case of polyhedral meshes the things that change most is the introduction of aspect ratio and skew.

Both of these are cause of inaccuracies in solution. The most frustrating part is that gradients that we use to interpolate various values are limited (sometimes correctly and sometimes incorrectly) and gradients are control volume shape dependent.

Since gradients play cardinal role in accuracy and stability of the solution improvement in them shall bring improvement in various aspects of CFD (Not only LES).

The impact of gradients on LES is very high because subgrid models derive the turbulence viscosity from it and pretty much everything that is used is gradient based in LES. Another place where I think gradients have greatest impact is viscoelastic flows.

I personally have another gradient calculation algorithm in my mind which I believe shall improve gradient quality. This algorithm I briefly implemented in Starccm during my time at CD Adapco and did test against inbuilt algorithms and found to be better.

Due to reasons that this algorithm uses extended stencil for gradient computation only serial version was done that time. Parallel version needs lots of efforts and framework change so this is not yet available in FVUS. (Some day it shall be if shows increase in accuracy).

Now that Prof. Denaro suggested me a test case for LES, expect that the same case to be tested on unstructured meshes for this algorithm (even in serial to start things off). We shall see if it really brings any improvements to table.

Second part is gradient limiting that needs to account for aspect ratio change. Current versions of gradient limiting are based on same sized control volumes. This limiting in unstructured framework does limiting when it shall not be and does not limit where it shall be.
sbaffini and FMDenaro like this.
arjun is offline   Reply With Quote

Old   May 31, 2017, 03:32
Default
  #6
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 LuckyTran View Post
Wait, if you do not commute the filtering and derivative operation, then your LES equations are un-closed since you have a filtered derivatives of the original variables. You must do some form of commuting to get an equation in terms of filtered variables.

Numerical calculations are never exact, always you have some error. The question is what is their boundedness. To me, "eliminating errors" is paradoxical in numerics.

Ghosal & Moin already showed that one can construct an SOCF filter such that the commutation error is less than the discretization error (+ some conditions). From a practical standpoint, if the errors can be controlled then that is good enough. The same goes for discretization schemes... We truncate higher order terms, which always introduces some error, but we can control the error. Of course, adding corrections always involves introducing higher order derivatives (which now require more boundary conditions).

That doesn't mean that there isn't any progress that can be done. I can imagine there are many folks out that like super accurate LES and that there are folks right now designing very accurate LES codes. But from a practical standpoint, what exists works, so I can see that there is not a pressing need.

That's no true, you can write an LES equation both commuting and not commuting. The difference is in the use of an explicit filtering on the divergence of the fluxes and in the definition of the residual terms to be modelled.
And I am not sure that what exists works fine for complex geometry and unstructured grid. At least I know that on unstructured grid, FLuent provides poor solution on simple flow.
FMDenaro is offline   Reply With Quote

Old   May 31, 2017, 03:43
Default
  #7
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 arjun View Post
Here is my small addition to the topic (I am not sure if I am really adding anything).

From the ideal case of Cartesian mesh with equal sized control volume to real world industrial case of polyhedral meshes the things that change most is the introduction of aspect ratio and skew.

Both of these are cause of inaccuracies in solution. The most frustrating part is that gradients that we use to interpolate various values are limited (sometimes correctly and sometimes incorrectly) and gradients are control volume shape dependent.

Since gradients play cardinal role in accuracy and stability of the solution improvement in them shall bring improvement in various aspects of CFD (Not only LES).

The impact of gradients on LES is very high because subgrid models derive the turbulence viscosity from it and pretty much everything that is used is gradient based in LES. Another place where I think gradients have greatest impact is viscoelastic flows.

I personally have another gradient calculation algorithm in my mind which I believe shall improve gradient quality. This algorithm I briefly implemented in Starccm during my time at CD Adapco and did test against inbuilt algorithms and found to be better.

Due to reasons that this algorithm uses extended stencil for gradient computation only serial version was done that time. Parallel version needs lots of efforts and framework change so this is not yet available in FVUS. (Some day it shall be if shows increase in accuracy).

Now that Prof. Denaro suggested me a test case for LES, expect that the same case to be tested on unstructured meshes for this algorithm (even in serial to start things off). We shall see if it really brings any improvements to table.

Second part is gradient limiting that needs to account for aspect ratio change. Current versions of gradient limiting are based on same sized control volumes. This limiting in unstructured framework does limiting when it shall not be and does not limit where it shall be.

Thinking about the problem in the gradient reconstruction, consider that if you commute you will discretize the divergence of the resolved fluxes (filtering remains implicitly defined by the discretization and contains errors) but if you do not commute you really apply a filtering on the divergence of the resolved fluxes that can cut away numerical errors
FMDenaro is offline   Reply With Quote

Old   May 31, 2017, 03:48
Default
  #8
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
I give some details about the LES equations. Consider the unfiltered equation,

dv/dt + Div F(v)=0

and apply the filtering on each term.1) Commuting:

dv_f/dt + Div F(v_f)=Div[ F(v_f) -F(v)]

2) without commuting

dv_f/dt + [Div F(v_f) ]_f = [Div[ F(v_f) -F(v)]]_f
FMDenaro is offline   Reply With Quote

Old   May 31, 2017, 05:42
Default
  #9
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,152
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 LuckyTran View Post
Wait, if you do not commute the filtering and derivative operation, then your LES equations are un-closed since you have a filtered derivatives of the original variables. You must do some form of commuting to get an equation in terms of filtered variables.

Numerical calculations are never exact, always you have some error. The question is what is their boundedness. To me, "eliminating errors" is paradoxical in numerics.

Ghosal & Moin already showed that one can construct an SOCF filter such that the commutation error is less than the discretization error (+ some conditions). From a practical standpoint, if the errors can be controlled then that is good enough. The same goes for discretization schemes... We truncate higher order terms, which always introduces some error, but we can control the error. Of course, adding corrections always involves introducing higher order derivatives (which now require more boundary conditions).

That doesn't mean that there isn't any progress that can be done. I can imagine there are many folks out that like super accurate LES and that there are folks right now designing very accurate LES codes. But from a practical standpoint, what exists works, so I can see that there is not a pressing need.
You should really understand that it was a trick question, Filippo already had his shotgun in hand waiting for you .

Jokes apart, I almost did my whole Ph.D. (http://scholar.google.it/citations?v...J:Tyk-4Ss8FVUC) on this, starting from work of Filippo (https://www.researchgate.net/publica...ied_turbulence) and Bert Vreman (http://www.vremanresearch.nl/etc9.pdf), which somehow both relate to the very beginning of LES era (http://www.google.it/url?sa=t&rct=j&...4YTMlS5J8m1UqA).

If I can synthetize my two major concerns on the topic of High Order Commuting Filters (HOCF):

1) The resulting commutation errors and the divergence of the resulting SGS stress tensor have the same scaling with respect to the filter cutoff length (http://aip.scitation.org/doi/10.1063/1.1852579). Which, roughly, means that they both need modeling. Moreover, HOCF also imply that the required order of the models (both SGS and Commutation) increases with the filter order. It is just a shame that second order scale similar models have been used when the used filter required much higher order SGS models (and commutation error models!).

2) HOCF tend, with increasing order, toward spectral cut-off filters. As soon as you promote HOCF as the answer to the commutation error issue, you are just saying that LES equations filtered by, say, a gaussian filter, are not possible without commutation errors (and those which are commutation error free are only amenable of a spectral discretization, to keep pace with the high order moment constraints on the filter). Which is just not true (as you can easily see by just putting a bar over the Navier-Stokes equations, no mattert what that bar means), it is actually the form of the equations that you want to use (actually, have been teached to use) that does not allow you to do otherwise. Moreover, HOCF also have some undesirable properties (non-realizable, non-symmetric, etc.).

However, as all of you might have realized, this is a very niche problem... it never got main stream in the 90's (somehow the LES gold era) and I strongly doubt it could today, and there are several reasons for this, which would be an equally interesting topic.

EDIT: I just want to add that I have strong evidence that: a) commutation error modeling (or sort of) especially improves the spectral content near the cut-off, in hybrid spectral/high-order finite difference settings (all spectral doesn't need it) as well as unstructured finite volume frameworks; b) the near wall dynamics can be better reproduced as well (especially because of the typical grid stretching found there), but at those scales the numerics comes necessarily into play (in LES, stream-wise vortices are, by definition, under-represented) and properly tuning the near wall behavior of the SGS viscosity model to make it the dominant term (even abandoning the celebrated y^3 scaling) might give better overall results than anything else.
FMDenaro likes this.
sbaffini is offline   Reply With Quote

Old   May 31, 2017, 06:00
Default
  #10
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
I think that this could be a new era where we can perform LES for quite complex engineering problems using unstructured grid. But we should come back to ask what filtered equations we should write for such cases...
I assume that on unstructured grids the commutation error will become much more relevant than on a simple non-uniform structured grid (Paolo, what about your experience in solving the channel flow using Fluent with unstructured grid?). Higher order error means nothing if you cannot ensure that derivatives are of O(1).
And do not forget that when commuting, you have no other filtering than that one induced by the numerics (both shape and width), top-hat, gaussian, etc. being only a mere theory.
At present, all LES codes have the dynamical procedure implemented so the explicit filtering procedure is already a subroutine available. Why do not use it in the equation??

The LES equations are also described in Sec.4:
https://www.researchgate.net/publica...-uniform_grids
FMDenaro is offline   Reply With Quote

Old   May 31, 2017, 08:23
Default
  #11
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Sorry, I just don't follow.

If the unfiltered equation is:
dv/dt + Div F(v)=0

Then applying the filtering operation without commuting you should have:
[dv/dt]_f + [Div F(v)]_f = 0

And since you do not commute, then you must stop here. But that's what I meant by filtered derivatives of original (unfiltered) variables and closure problem. You have quite literally a filtered Navier-Stokes and not the LES equations. I don't see right away how you go from here to what you finally wrote. You have unclosed terms from filtering the flux operator F but this is not the same as not commuting the divergence and time-derivative operator.

Quote:
Originally Posted by FMDenaro View Post
At present, all LES codes have the dynamical procedure implemented so the explicit filtering procedure is already a subroutine available. Why do not use it in the equation??
That is very interesting proposition. I wonder if it has been attempted before, let's just pretend that it hasn't. Basically you are proposing a dynamic filtering operation using something like a Germano identity. Like dynamic SGS modelling, it's a numerically elegant way to deal with the problem. I like it!
LuckyTran is offline   Reply With Quote

Old   May 31, 2017, 08:34
Default
  #12
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 LuckyTran View Post
Sorry, I just don't follow.

If the unfiltered equation is:
dv/dt + Div F(v)=0

Then applying the filtering operation without commuting you should have:
[dv/dt]_f + [Div F(v)]_f = 0

And since you do not commute, then you must stop here. But that's what I meant by filtered derivatives of original (unfiltered) variables and closure problem. You have quite literally a filtered Navier-Stokes and not the LES equations. I don't see right away how you go from here to what you finally wrote. You have unclosed terms from filtering the flux operator F but this is not the same as not commuting the divergence and time-derivative operator.



That is very interesting proposition. I wonder if it has been attempted before, let's just pretend that it hasn't. Basically you are proposing a dynamic filtering operation using something like a Germano identity. Like dynamic SGS modelling, it's a numerically elegant way to deal with the problem. I like it!

You have just to complete the manipulation of the equation
[dv/dt]_f + [Div F(v)]_f = 0

by decomposing the flux function in resolved F(v_f) and unresolved F(v)-F(v_f) parts. Follow Section 4 in the paper I linked before.
FMDenaro is offline   Reply With Quote

Old   June 5, 2017, 04:17
Default
  #13
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
No more ideas? I really wonder why no codes adopt the filtering when they all have already implemented the required subroutine for the dynamic modelling
FMDenaro is offline   Reply With Quote

Old   June 5, 2017, 10:49
Default
  #14
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
Quote:
Originally Posted by FMDenaro View Post
No more ideas? I really wonder why no codes adopt the filtering when they all have already implemented the required subroutine for the dynamic modelling
Aside from my earlier post where I offered that there are just too many other sources of error in practical LES to get too nit picky about something as formal as commutation errors. Additionally, I think the answer is "butterfly wings." It you touch them, they stop working. LES does involve modeling coefficients and procedures and it is possible that users and developers think LES is too delicate to mess with. Perhaps they think "the modeling coefficients contain the effects of the commutation error" and changing the filter/derivative commutation assumption may require all new models and validation.
mprinkey is offline   Reply With Quote

Old   June 5, 2017, 10:59
Default
  #15
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,152
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 FMDenaro View Post
I assume that on unstructured grids the commutation error will become much more relevant than on a simple non-uniform structured grid (Paolo, what about your experience in solving the channel flow using Fluent with unstructured grid?).
Well, in general terms, the nature of an unstructured grid promotes a kind of spatial variability in the (implicit finite volume) filter that, to the best of my knowledge, has never been explicitly parameterized in the expression of the commutation error; this, I guess, would have required filters explicitly parameterized in terms of their moments. At the moment, honestly, I lack both memory and insight to determine if such variability is, somehow, already included in classical commutation error analysis.

Still, some formulations taking into account the commutation error, automagically (because not even the author typically realizes that, as actually happened to me) take also that into account.

My experience with commutation error modeling (or SGS modeling in a commutation error free framework) is that some terms, those arising from the linear parts of the momentum flux, have very clear identities (when modeled scale similarly):

- the pressure part strongly resembles a Rhie-Chow like term
- the viscous part, analogously, provides an hyperviscous term

but the analysis of the convective part is certainly more complex. While these have certain merits in general and I found some advantages in the resulting SGS model used even on unstructured grids, I can't give general rule of thumbs.

For what concerns Fluent (or any similar competitor, for that matter), however, I would put it differently. Also because I've been on the other side. We are talking of a piece of software that has to work in the most desperate conditions. Honestly, it is a miracle that they managed to put a fractional step, an unbounded 2nd-order central scheme and a dynamic SGS model into their code and made it work in most of the reasonable cases.

The point is, how far should have they gone in exploiting LES? As far as marketing and results would justify, I guess. There are two issues here:

- the whole task of implementing LES in a commercial code, when all this started, certainly was mostly marketing. In such case you don't want some fancy stuff, you want the same LES other people are doing.

- besides the marketing, the man in charge of a new implementation in a commercial code is not necessarily an expert of that field (otherwise, this would require tens of developers only for models) and what he can do is just follow the main stream.

Obviously, as soon as anybody else will be using LES in their code, Ansys Fluent will certainly evaluate if, at no such bigger cost, also propose an explicitly filtered alternative as a new marketing addition. But that also opens up a lot of issues, among which:

- as we just said, there is no such overall agreement on how explicitly filtering the equations should be implemented (not even the form of the equations).

- the clear advantages of explicitly filtered LES or, to be more provocative, of the true LES, are somehow still missing from the table; those degree of freedom which you should filter out are probably more worth than several SGS models.

- how to specify the filter type and width is something far from being sistematically studied, especially for unstructured grids. Implementers should just be on their own or do it a la OpenFOAM (implement whatever passes from your mind in that single day), none of which is actually a feasible route in a commercial product.
mprinkey and arjun like this.
sbaffini is offline   Reply With Quote

Old   June 5, 2017, 11:08
Default
  #16
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
Both of you focused on the right way... So do you think that, somehow, the academic research has to trust this issue before in order to put the code developers to go a steap ahead?
FMDenaro is offline   Reply With Quote

Old   June 5, 2017, 12:33
Default
  #17
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by sbaffini View Post

- the whole task of implementing LES in a commercial code, when all this started, certainly was mostly marketing. In such case you don't want some fancy stuff, you want the same LES other people are doing.

- besides the marketing, the man in charge of a new implementation in a commercial code is not necessarily an expert of that field (otherwise, this would require tens of developers only for models) and what he can do is just follow the main stream.

Yes in a commercial framework along with accuracy the stability is equally big concern because the meshes we end up could be very bad at some places. To make things worse sometimes they are not avoidable.

When I write anything for FVUS first concern is to make sure that it is accurate but as soon as this part is confirmed, the second part is to see how stable the implementation is. I try to run the cases with bad cells too.

Quote:
Originally Posted by sbaffini View Post
- how to specify the filter type and width is something far from being sistematically studied, especially for unstructured grids. Implementers should just be on their own or do it a la OpenFOAM (implement whatever passes from your mind in that single day), none of which is actually a feasible route in a commercial product.
Given my work with LES of golf balls at high reynolds numbers in past, I do have interest in LES. For this reason when FVUS was started I did think about providing much deeper LES modeling than a typical commercial set up. This thinking is not dropped but have taken back seat for now for the reason that solver need to provide some models needed (for example FVUS does not have density based coupled solver, or it also does not have full Eulerian multiphase).

Having said this if someone is interested and suggests me something advance to implement I would certain work on it and add it (given that it can be done with user code straight away). OpenFOAM is also platform where someone can quickly add model and develop his research.
arjun is offline   Reply With Quote

Old   June 5, 2017, 12:53
Default
  #18
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 arjun View Post
Yes in a commercial framework along with accuracy the stability is equally big concern because the meshes we end up could be very bad at some places. To make things worse sometimes they are not avoidable.

When I write anything for FVUS first concern is to make sure that it is accurate but as soon as this part is confirmed, the second part is to see how stable the implementation is. I try to run the cases with bad cells too.



Given my work with LES of golf balls at high reynolds numbers in past, I do have interest in LES. For this reason when FVUS was started I did think about providing much deeper LES modeling than a typical commercial set up. This thinking is not dropped but have taken back seat for now for the reason that solver need to provide some models needed (for example FVUS does not have density based coupled solver, or it also does not have full Eulerian multiphase).

Having said this if someone is interested and suggests me something advance to implement I would certain work on it and add it (given that it can be done with user code straight away). OpenFOAM is also platform where someone can quickly add model and develop his research.


Well, the question is if one can take advatage in the quality of the LES solution on unstructured grids if the equations do not contain the commutation error. As you see from the comments above, at present everyone seems to accept the LES on unstructured grid as-it-is commonly used. And, yes, the main reason is that no one assessed that the commutation error is responsible of failed solution. And, yes, many people consider that the dynamic modelling is "per se" able to adapt its respond to this error.
FMDenaro is offline   Reply With Quote

Old   June 5, 2017, 13:55
Default
  #19
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,152
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
I guess we can summarize the matter with:

1) Commutation error modeling is very niche, even within the LES community (less than 10 relevant works probably have it as main/side topic).

2) Explicit filtering is somehow more popular, but more in theory than in practice (I still count the number of relevant works below 20).

3) Managing both the points above, somehow, requires acquaintance with a large body of works, most of which didn't get theirselves the deserved relevance, even if published in mainstream journals. So that, even among LES researchers, there is no agreed upon point (I'm pretending this is because not everybody has the will/time to delve deep enough in such works).

4) There is a very specific form of LES which got mainstream. No surprise this is exactly the same as the URANS approach, with the only exception of a factor multiplying the turbulent viscosity. Good or bad, that's it.

5) If you add the previous points, there is not much a developer can actually do to fix this in production code. Probably, who decided for LES doesn't even know anything about it except what you can learn from, say, Versteeg and Malalasekera.

6) But even in the case of, say, arjun here, which is working, I guess, independently, and hasn't spent its whole Ph.D. on commutation error, his best bet is still trying to do classical stuff. Also because there are much more things relevant to a production code and worth developing than a specific LES module (Adjoint solver, Harmonic Balance, MHD, Species transport, combustion - premixed/non premixed- and related stuff, VOF, particles, Eulerian multiphase, acoustics, radiation, FSI, dynamic meshes, etc. etc.), each one probably having its "commutation error" issue in some aspect we will probably never understand or care about.

In practice, at the industrial level, a clear recipe is needed which is proven stable and accurate enough to be pursued. But this must be already present (which is not the case for explicit filtering and/or commutation error modeling). Typically, the insight put from the developer side "only" regards:

- picking up the best method among a set of possible choices (more important and much less trivial than it might look, especially because most people actually end up not being good at this)
- develop an implementation strategy which is computationally efficient and possibly elegant, avoiding epsilons at denominators which most people tend to use when they have no more time to work on implementation
- try to make it 10x faster with 10x less code than a trivial implementation
sbaffini is offline   Reply With Quote

Old   June 5, 2017, 14:07
Default
  #20
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
Ok, I will spend my time to the beach
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
Porous Modeling of Energy equation in OpenFOAM mohammad_kordo OpenFOAM Running, Solving & CFD 9 November 22, 2020 07:18
LES Open bounded jet - Smagorinsky or one equation KE? diogof FLUENT 2 January 13, 2017 14:36
LES Filtering: how are the small and large scales equations solved? atmcfd Main CFD Forum 38 March 14, 2016 14:52
Pressure distribution on a wall darazsbence CFX 17 October 6, 2015 10:38
error message cuteapathy CFX 14 March 20, 2012 06:45


All times are GMT -4. The time now is 06:02.