CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] parabolic velocity profile with fluctuations (groovyBC?)

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 17, 2013, 10:53
Default parabolic velocity profile with fluctuations (groovyBC?)
  #1
Member
 
ak
Join Date: May 2011
Posts: 64
Rep Power: 15
newOFuser is on a distinguished road
I would like to implement a parabolic inlet velocity profile, with fluctuation scale specified (like in turbulentInlet).

I tried using groovyBC as below (since I think turbulentInlet allows flat profile only), but am not sure how to specify the fluctuation scale (if possible?):

type groovyBC;
variables "yp=pts().y;minY=min(yp);maxY=max(yp);para=-(maxY-pos().y)*(pos().y-minY)/(0.25*pow(maxY-minY,2))*normal();";
valueExpression "15*para";
value uniform (15 0 0);

Has any one encountered a similar problem or has suggestions on how to proceed? I tried searching the forum but am not sure if including fluctuation scale in groovyBC has been discussed (though there were some posts on parabolic profile).

If not groovyBC, is there another way to implement this? I use OF 1.7.1

Many thanks,
amit


PS. This implementation is required as we are trying to match the experimental conditions which show a parabolic inlet profile and high fluctuations as well...

Last edited by newOFuser; June 17, 2013 at 13:00.
newOFuser is offline   Reply With Quote

 


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
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
codeDict Error Parabolic Power Law Inlet Velocity Profile Sindibad OpenFOAM Running, Solving & CFD 0 January 1, 2017 19:53
codeDict Error Parabolic Power Law Inlet Velocity Profile Sindibad OpenFOAM Bugs 0 January 1, 2017 19:51
3D parabolic velocity profile for channel flow seetaratnam FLUENT 1 August 10, 2016 03:08
Parabolic velocity profile at vertical entrance ztp911 FLUENT 2 September 3, 2013 06:10


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