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

[swak4Foam] linear inlet velocity profile

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 8, 2014, 11:22
Default linear inlet velocity profile
  #1
Senior Member
 
Join Date: Dec 2010
Posts: 135
Rep Power: 15
eRzBeNgEl is on a distinguished road
Hi guys,

i want to create a linear velocity profile at the inlet patch for simulating couette flow in a channel with less computational effort, therefore I tried following code:


Quote:
inlet
{
type groovyBC;
variables "maxVel=1;yp=pts().y;minY=min(yp);maxY=max(yp) ;";
valueExpression "((maxY-minY)/maxVel)*normal()*time();";
value uniform (1 0 0);
}
Is this right? I already set the maximal velocity in the U description of a moving wall (velocity = 1 m/s). Is there an option to link the groovyBC (maxVel part) with this boundary condition, eg: "maxVel=mag(U)@movingWall";

Last edited by eRzBeNgEl; January 9, 2014 at 07:22.
eRzBeNgEl 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
Velocity inlet BC profile antonio.c FLUENT 1 November 1, 2017 14:22
atmBoundaryLayerInletVelocity - Velocity Profile not continuous through domain sdfij6354 OpenFOAM Running, Solving & CFD 3 July 26, 2017 16:16
extracting outlet velocity profile from one case to another case's inlet tonggysun OpenFOAM 2 September 13, 2013 04:19
Export & Import Velocity profile as Inlet eRzBeNgEl STAR-CCM+ 6 March 26, 2012 05:16
[swak4Foam] Scale discrete inlet velocity profile with groovyBC cboss OpenFOAM Community Contributions 1 June 20, 2010 13:02


All times are GMT -4. The time now is 03:38.