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

Smagorinsky coefficient average on planes parallel to walls

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2014, 10:33
Default Smagorinsky coefficient average on planes parallel to walls
  #1
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 14
huangxianbei is on a distinguished road
Hi,all:
In channel flow LES, the most common way to use dynamic LES is to average Smagorinsky coefficient along the plane parallel to the wall. As OF's structured meshes are not described as i,j,k , it's not so convenient to do this kind of average. In postChannel utility, a typical method to do the average is to set a front face and walk along the normal direction to do the average of each mesh region, so the easiest way to do is like this:
1/ output the cD and cI as OF standard file
2/ call postChannel
3/ set the cD as a function of y, and match the averaged values to all the meshes

My question is: how can I define cD as a function as y and match cD to the mesh at specific y location?
(ps: this method is not efficient at all, I'll appreciate if there is more easier way)
Xianbei
huangxianbei is offline   Reply With Quote

Old   June 13, 2014, 00:01
Default
  #2
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 14
huangxianbei is on a distinguished road
Hi,all:
I think there is no need to write cD to a file, just do the collapse and then match cD at each y location. I'm wondering how can I implement this kind of match? Anyone can give me some advices?
ps:using 'if' is not a efficient way, say: if(abs(y-y_(i))<VSMALL) cD=cD(i), I think this will take a lot of time
Best regards
Xianbei
huangxianbei 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
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 01:58
Automotive test case vinz OpenFOAM Running, Solving & CFD 98 October 27, 2008 09:43
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02
particle tracking mike CFX 3 April 17, 2006 01:05
Average Convective Coefficient (air) flow pipes chetansardesai Main CFD Forum 3 July 28, 2001 18:09


All times are GMT -4. The time now is 07:30.