|
[Sponsors] |
May 24, 2011, 08:03 |
Test filter
|
#1 |
Member
David Aljure
Join Date: Mar 2011
Location: CTTC Universidad Politécnica de Catalunya. Spain
Posts: 38
Rep Power: 15 |
Hello
I'm trying to implement a Wale model for which I need to use a test filter. this model is implemented using a VMS approach where the scales are divided into large, small and unresolved. The original filter separates the unresolved scales, the second filter separates the Large and small scales in the following manner: f'=f_bar-f_hat where f' is the small scale, f_bar the original filtered and f_hat the large scale. The way I'm trying to implement this is by creating a new vector field like this: volVectorField up = U()-(filter_(U())); however i'm not sure how to make it so the filter size is twice the original filter. thanks in advance. |
|
May 26, 2011, 02:12 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Look at how the filter operation is defined in the filter function, or in the dynLocOneEqEddy model, which uses double filtering, to have a better idea of how it works :-)
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 26, 2011, 08:16 |
|
#3 |
Member
David Aljure
Join Date: Mar 2011
Location: CTTC Universidad Politécnica de Catalunya. Spain
Posts: 38
Rep Power: 15 |
Hi
I can see in locDynOneEqEddy that a second filter is defined using the line simpleFilter simpleFilter_; however, I'm still not sure where the filter lenght is defined. |
|
February 3, 2012, 14:46 |
|
#4 |
Senior Member
n/a
Join Date: Sep 2009
Posts: 199
Rep Power: 17 |
Hey David. Were you able to successfully implement the WALE model? And was it the incompressible version? I am currently trying to implement it.
Cheers, Deji |
|
March 29, 2012, 11:37 |
|
#5 |
Member
David Aljure
Join Date: Mar 2011
Location: CTTC Universidad Politécnica de Catalunya. Spain
Posts: 38
Rep Power: 15 |
Hi deji, I did implement the WALE model, I based the code on the dyn smagorinsky model and modified it accordingly, however i didn't implement the VSM approach on the model.
|
|
March 29, 2012, 11:40 |
|
#6 |
Senior Member
n/a
Join Date: Sep 2009
Posts: 199
Rep Power: 17 |
Oh really. Can I have a copy of the code? I implemented it as well, but not the way yours was coded.
Cheers, Deji |
|
February 4, 2013, 12:33 |
LES WALE incompressible model
|
#7 |
New Member
M K Singh
Join Date: Sep 2009
Posts: 19
Rep Power: 17 |
Dear Deji,
Could you please send me your LES WALE incompressible model? I would like to see the impact of LES WALE predictions for my wall bounded flows. Regards. M K |
|
February 4, 2013, 12:36 |
|
#8 |
Senior Member
n/a
Join Date: Sep 2009
Posts: 199
Rep Power: 17 |
Dear Deji,
Could you please send me your LES WALE incompressible model? I would like to see the impact of LES WALE predictions for my wall bounded flows. Regards. M K Hello MK. The code is on the forum somewhere, just do a search for WALE model. I did upload the code on one of the threads and if you cannot find, I can send you another. Cheers, Deji |
|
February 4, 2013, 12:44 |
|
#9 |
New Member
M K Singh
Join Date: Sep 2009
Posts: 19
Rep Power: 17 |
Hi Deji,
I can see that you have mentioned in your post that it is compressible. I am wondering if it is also suitable for incompressible. M K |
|
February 4, 2013, 12:51 |
|
#10 |
Senior Member
n/a
Join Date: Sep 2009
Posts: 199
Rep Power: 17 |
It's essentially the same code, you just have to make some minor changes to the code. For example, we use mu_sgs but your your code will have nu_sgs; therefore, go through the code and make the appropriate changes. If you have anymore questions, kindly inform me.
Cheers, Deji |
|
Tags |
les, test filter |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accumulating Dust on a Filter Cartridge | WalterW | CFX | 21 | May 26, 2020 07:23 |
calculation of test filter quantites for desired parameters(equations) in les | mrn | FLUENT | 0 | July 15, 2010 06:04 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 04:01 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Filter lifetime | aszbestos | FLUENT | 0 | February 13, 2002 08:59 |