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

Favre average in OpenFOAM 1622+

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2023, 07:56
Default Favre average in OpenFOAM 1622+
  #1
New Member
 
Khaled
Join Date: Jun 2023
Location: Hannover
Posts: 7
Rep Power: 3
elbatawy is on a distinguished road
Hello all,

I am trying to compute the Favre average in my source code `.C`files in OpenFOAM 1612+. I am working on comressible flow and i have defined the main Terms of Favre Reynolds transport equation .
What i can not compute, is the Favre average, which is defined as follow
``````math \tilde{u} = \frac{\overline{ρu}}{\overline {ρ}} ``````

As example i can provide one of the Terms of the equation, R Term :
``````R_{ij} = \rho u_i u_j - \rho \tilde{u}_i \tilde{u}_j``````

I have tried to `average()` and `timeAverage()` and another ways to define the time average of the Favre average but nothing is working with me by compiling.



There were thinking that i can define it by using `interpolate()` for terms that needed time average in Favre average as `\rho U ` and `\rho`and in the post processing would be replaced with the time average and compute it.

Because i can not simply define the Favre average and proceed the time average in the post processing, becaue


``````math \tilde{u} = \frac{\overline{ρu}}{\overline {ρ}} ``````
not equivalent to
``````math \tilde{u} = \overline{\frac{ρu}{ρ}} ``````

Any suggestion or Help would be appreciated !
elbatawy is offline   Reply With Quote

Reply

Tags
openfoam 1612, time average problem


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
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 16:54
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 20:20
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
Favre average and mean(rho/mean(rho))=1 nabla2 Main CFD Forum 4 January 23, 2012 06:11
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25


All times are GMT -4. The time now is 13:31.