CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

About ADM(approximate deconvolution model) and repeated filtering of ui

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2018, 22:01
Question About ADM(approximate deconvolution model) and repeated filtering of ui
  #1
Senior Member
 
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 15
NewKid is on a distinguished road
Hi guys,
Does anybody know ADM (approximate deconvolution model) and the repeated filtering of ui very well?

I wonder if there existed some codes (function) in OpenFoam to solve those repeated filtering of ui. Or how to implement those process in C++ code?


Thanks very much!
NewKid is offline   Reply With Quote

Old   February 4, 2018, 22:14
Default
  #2
Senior Member
 
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 15
NewKid is on a distinguished road
The repeated filtering of ui is shown as follows.
ADM.JPG
NewKid is offline   Reply With Quote

Old   February 5, 2018, 17:47
Default
  #3
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16
Santiago is on a distinguished road
There is a class in openFOAM called 'LESfilter' for which you have to define a dictionary with the filter of your preference (box, laplace). The usage is really simple.

Regarding ADM, I dont know how easy is to implement it on the PISO framework since the convective term can be solved implicitly. The problem with ADM formulation is thatyou have to advance in time the de-filtered (deconvoluted?) Convective term, forcing the use of an explicit time advancement for it (Adam-Bashford, RK4).
Santiago is offline   Reply With Quote

Old   February 5, 2018, 20:09
Question
  #4
Senior Member
 
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 15
NewKid is on a distinguished road
Thanks very much.
The class 'LESFilter' in OpenFoam contains more than 'one-order' filtering?
NewKid is offline   Reply With Quote

Old   February 8, 2018, 05:15
Default
  #5
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16
Santiago is on a distinguished road
Quote:
Originally Posted by NewKid View Post
Thanks very much.
The class 'LESFilter' in OpenFoam contains more than 'one-order' filtering?
What do you mean by one-order?
Santiago is offline   Reply With Quote

Old   February 26, 2018, 02:00
Default
  #6
Senior Member
 
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 15
NewKid is on a distinguished road
Dear Santiago, I'm sorry not to replay in time because I've spent some days on Spring Festival vacation with my family.
As for the LESFilter class, I've read the files, which seems like an abstract class, and I wonder if you could provide some examples like how to define a dictionary with the filter.
The so-called "one-order" filtering is not very accurate, in fact , I mean "one-time" filtering like 1.JPG, "two-time" filtering like 2.JPG, and "three-time" filtering like 3.JPG.
I wonder how these repeated filtering can be understood and how to code to implement these (in OpenFOAM as defined filters in LESFilter class or pure C/C++).
Thanks very much.
Best regards!
NewKid is offline   Reply With Quote

Old   February 27, 2018, 05:54
Default laplaceFilter -- source code
  #7
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16
Santiago is on a distinguished road
As far as the types of filters implemented in foam-extend go, the one you might want to give a look at is the laplaceFilter. The source code is located in src/turbulenceModels/LES/LESfilters/laplaceFilter

This particular set of filters (yes, is a family depending of the choice of filter length) was proposed by M. Germano in 1986. About the approximate deconvolution, you'll just have to apply the filter repeatedly for the first three terms of the inverse series (N=5).
Santiago is offline   Reply With Quote

Old   March 17, 2018, 22:16
Default
  #8
New Member
 
DongMei
Join Date: Mar 2018
Posts: 10
Rep Power: 8
DongMei is on a distinguished road
Hi, Santiago,
I installed OpenFoam 4 in Ubuntu 16.04. The path of laplaceFilter you mentioned is "/opt/openfoam4/src/TurbulenceModels/turbulenceModels/LES/LESfilter/laplaceFilter", which is a little different from yours.
After reading the laplaceFilter.H and laplaceFilter.C files, I think laplaceFilter(const fvmesh& mesh, scalar widthCoeff) or laplaceFilter(const fvmesh& mesh, const dictionary& db) is enough for the filtering of ui, is that right?
As you mentioned, I should repeat the filtering of first three terms of the inverse series, what do the first three terms of the inverse series mean?
DongMei is offline   Reply With Quote

Reply

Tags
adm, openfoam, repeated filtering of ui


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



All times are GMT -4. The time now is 12:52.