|
[Sponsors] |
January 28, 2020, 10:15 |
LES filtering in post-processing.
|
#1 |
New Member
anonymous
Join Date: Nov 2016
Posts: 29
Rep Power: 10 |
Dear all,
Before calculating the Q field for snapshots in time (vortex identification), I would like to first filter the velocity field on some length scale. I was beginning to think this would be possible by taking the Q post-processing function, and adding an 'LES type' filter operation in before the gradU is calculated. For example, in myQ.C: Code:
const volVectorField& U = lookupObject<volVectorField>(fieldName_); const tmp<volVectorField> filtU(filter_(U)); const tmp<volTensorField> tgradU(fvc::grad(flitU)); const volTensorField& gradU = tgradU(); return store ( resultName_, 0.5*(sqr(tr(gradU)) - tr(((gradU) & (gradU)))) ); |
|
February 20, 2020, 06:06 |
|
#2 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
What is the filter_(U) doing in const tmp<volVectorField> filtU(filter_(U)) and where is it defined?
I am not sure what you are trying to do makes sense, especially in the context of implicit LES used in OpenFOAM. The filtering operation in implicit LES is not performed explicitly, but rather given by the numerical grid and discretization procedure following the FVM, with a filter width equal to your mesh size. Andrea |
|
February 20, 2020, 12:59 |
|
#3 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Could you please which file you refer to for `filter_(U)`?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
March 16, 2020, 21:08 |
|
#4 |
New Member
Hesam Tofighian
Join Date: Mar 2019
Posts: 11
Rep Power: 7 |
I think you'd better use "proper orthogonal decomposition" and remove high frequency modes.
|
|
June 11, 2020, 11:46 |
|
#5 | |
New Member
John Alamas
Join Date: Sep 2016
Posts: 2
Rep Power: 0 |
Quote:
It would be nice to call filter_(U), e.g. from a coded function object. If anyone knows how to access this object, that would be a great help. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Utilities: post average turbulence fields and create turbulence fields for LES | Hanzo | OpenFOAM Running, Solving & CFD | 10 | August 18, 2017 19:33 |
Explicit filtering in LES | TJ | Main CFD Forum | 85 | November 30, 2016 06:22 |
Automated post processing using CFD Post | shreyasr | ANSYS | 0 | January 28, 2013 07:21 |
LES post processing | moun | FLUENT | 0 | April 23, 2005 11:30 |
post processing in CFD | MANISH BHARGAVA | Main CFD Forum | 0 | October 17, 1998 21:51 |