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

Introducing div-free fluctuations inside a flow field

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By FMDenaro
  • 1 Post By Jonas Holdeman
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2017, 05:25
Default Introducing div-free fluctuations inside a flow field
  #1
Member
 
SAM
Join Date: Apr 2012
Posts: 74
Rep Power: 14
hnemati is on a distinguished road
Dear all
I am working on Hybrid RANS/LES code for flat plate boundary layer simulation. From RANS area to LES zone I am introducing some random fluctuations to develop turbulence. The problem is that those fluctuations are not div-free and cause my pressure solver become expensive. Does anybody here know how I can add div-free fluctuations (somewhere inside the flow domain, not inlet or outlet)?
Any help is highly appreciated especially to a very stressed person...
hnemati is offline   Reply With Quote

Old   November 30, 2017, 05:55
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by hnemati View Post
Dear all
I am working on Hybrid RANS/LES code for flat plate boundary layer simulation. From RANS area to LES zone I am introducing some random fluctuations to develop turbulence. The problem is that those fluctuations are not div-free and cause my pressure solver become expensive. Does anybody here know how I can add div-free fluctuations (somewhere inside the flow domain, not inlet or outlet)?
Any help is highly appreciated especially to a very stressed person...

Actually, if the fluctuation field added to the initial condition has small magnitude, the non divergence-free field will be corrected immediately at the first time step.
You can find in literature some strategies (that is relevant in the inlet plane), however just try to compute the third component of the velocity field from the relation dw/dz= -(du/dx+dv/dy). That has still some issues but will smooth enough the field.
FMDenaro is offline   Reply With Quote

Old   November 30, 2017, 06:17
Default
  #3
Member
 
SAM
Join Date: Apr 2012
Posts: 74
Rep Power: 14
hnemati is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Actually, if the fluctuation field added to the initial condition has small magnitude, the non-divergence-free field will be corrected immediately at the first time step.
You can find in literature some strategies (that is relevant in the inlet plane), however just try to compute the third component of the velocity field from the relation dw/dz= -(du/dx+dv/dy). That has still some issues but will smooth enough the field.
Dear FMDenaro
Thank you very much for your reply.
I am applying this field every time step in a very small region (see the attached figure) and every time this field is different (this random number is generated based on the turbulent kinetic energy). I already tried what you suggested, but the problem is that the third component (w) will be extended to the areas that I am not interested. I also tried to decompose the fluctuations field to solenoidal and dilatational part and solve the Poisson equation for the solenoidal part and subtract to compute it div-free part. The problem here is that it needs an iterative solver for Poisson equation.
Attached Images
File Type: png a.png (10.3 KB, 8 views)
hnemati is offline   Reply With Quote

Old   November 30, 2017, 06:19
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by hnemati View Post
Dear FMDenaro
Thank you very much for your reply.
I am applying this field every time step in a very small region (see the attached figure) and every time this field is different (this random number is generated based on the turbulent kinetic energy). I already tried what you suggested, but the problem is that the third component (w) will be extended to the areas that I am not interested. I also tried to decompose the fluctuations field to solenoidal and dilatational part and solve the Poisson equation for the solenoidal part and subtract to compute it div-free part. The problem here is that it needs an iterative solver for Poisson equation.

That makes no sense to me...why you force it to each time step? Only at the interface between RANS and LES? if you see the literature for the Embedded LES you will find several suggestions?
However, the Poisson problem is still a part of the method you cannot avoid.
hnemati likes this.
FMDenaro is offline   Reply With Quote

Old   November 30, 2017, 08:43
Default
  #5
Senior Member
 
Jonas T. Holdeman, Jr.
Join Date: Mar 2009
Location: Knoxville, Tennessee
Posts: 128
Rep Power: 18
Jonas Holdeman is on a distinguished road
Without more deep thought, I would try adding a localized perturbation in the form of a vector potential. Taking the curl of this perturbation should give a localized divergence-free perturbation to the velocity field.
hnemati likes this.

Last edited by Jonas Holdeman; November 30, 2017 at 08:58. Reason: clarity
Jonas Holdeman is offline   Reply With Quote

Old   November 30, 2017, 09:02
Default
  #6
Member
 
SAM
Join Date: Apr 2012
Posts: 74
Rep Power: 14
hnemati is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
That makes no sense to me...why you force it to each time step? Only at the interface between RANS and LES? if you see the literature for the Embedded LES you will find several suggestions?
However, the Poisson problem is still a part of the method you cannot avoid.
Can you give me some references? Because I could not anything...
hnemati is offline   Reply With Quote

Old   November 30, 2017, 09:07
Default
  #7
Member
 
SAM
Join Date: Apr 2012
Posts: 74
Rep Power: 14
hnemati is on a distinguished road
Quote:
Originally Posted by Jonas Holdeman View Post
Without more deep thought, I would try adding a localized perturbation in the form of a vector potential. Taking the curl of this perturbation should give a localized divergence-free perturbation to the velocity field.
I have tried it, but in discretized form, it is not working. u = grad(phi)+ curl(psi) is the way that you mean. u is know and by taking the div of both sides we have laplacian (phi) = div(u). by solving laplacian we have phi and sumbracting u-grad(phi) should give me the filed that I want. but since I am solving it numaricallly, it has some error.
hnemati is offline   Reply With Quote

Old   November 30, 2017, 10:38
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by hnemati View Post
I have tried it, but in discretized form, it is not working. u = grad(phi)+ curl(psi) is the way that you mean. u is know and by taking the div of both sides we have laplacian (phi) = div(u). by solving laplacian we have phi and sumbracting u-grad(phi) should give me the filed that I want. but since I am solving it numaricallly, it has some error.
The Hodge decomposition works both in the continuous and discrete formulation. Be careful to the type of collocation (staggered or non-staggered colocation) and boundary conditions you are using, I suspect you did some errors. Without errors, it gives a divergence-free up to numerical precision.
Have a look here
https://www.researchgate.net/publica...ary_conditions
selig5576 likes this.
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
potential flows, helmholtz decomposition and other stuffs pigna Main CFD Forum 1 October 26, 2017 08:34
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Far Field flow Prediction NGH Main CFD Forum 1 August 21, 2012 05:00
rerun with same flow field, different fluid props Tim Phoenics 0 March 3, 2004 14:51
Flow field around a ball that doing free fall in a cube Nadomic Lee Main CFD Forum 3 September 15, 1999 14:55


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