|
[Sponsors] |
October 18, 2017, 08:54 |
divergence free random field
|
#1 |
Member
SAM
Join Date: Apr 2012
Posts: 74
Rep Power: 14 |
Dear all
I am currently working on the development of hybrid RANS/LES for the transition of turbulent boundary layer (using Openfoam). I am planning to generate some random number at the beginning of the transition. The problem is that the random number is not divergence free, and makes the velocity field non-divergence free, since I am adding it to my velocity field after pressure correction, where is already divergence free. I have playing with different way to generate div-free random number but not successful, like 1- U' = curl (grad(f), grad(g)) ...... f and g are random numbers. 2- U' = f_solenoidal +f_dilatation .... f is random number vector.\ I believe the reason that they don't work is related to collocated grid in Openfoam (I am new and my knowledge about Openfoam is limited), which causes inaccurate interpolation when one wants to compute the discrete divergence. Any help is highly appreciated. |
|
October 18, 2017, 10:22 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
You can work doing the random generation for two components and computing the third one from the Div v =0 constraint.
Differently, you could compute a divergence-free vector field from the Hodge decomposition |
|
October 18, 2017, 11:50 |
|
#3 |
Senior Member
|
Try following this:
https://www.researchgate.net/publica...blicationTitle and the citations therein. Maybe you can find something suitable to your needs. |
|
October 18, 2017, 12:07 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
Yes, the method described in the paper is nothing else that a form based on the Hodge decoposition |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PEMFC model with FLUENT | brahimchoice | FLUENT | 22 | April 19, 2020 16:44 |
[Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 08:30 |
Looping over all faces within a boundary condition (turbulent inlet development) | Sevex | OpenFOAM Programming & Development | 5 | September 8, 2016 14:58 |
Morphology Divergence of a boundary patch field | ngj | OpenFOAM Running, Solving & CFD | 42 | June 3, 2015 10:46 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |