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

parabolicVelocity as boundary condition in OF-1.7?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By AlanR
  • 1 Post By fcollonv

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2011, 09:32
Default parabolicVelocity as boundary condition in OF-1.7?
  #1
CST
New Member
 
Join Date: Nov 2010
Posts: 5
Rep Power: 16
CST is on a distinguished road
Dear All,

as to OpenFOAM version 1.5 there was a boundary condition called 'parabolicVelocity' where parabolic velocity-profiles were applied to patches.

So my question is: Is there any comparable patch-/boundarycondition that can be used?

Or: I got another computation where i can see the parabolic profile in Paraview - how can i export it and use it as inlet-BC for another case?

With best regards,

CST
CST is offline   Reply With Quote

Old   March 1, 2011, 03:21
Default
  #2
Member
 
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 17
AlanR is on a distinguished road
CST,

One way to create a parabolic inlet velocity profile is in the tutorials. Look through tutorials/incompressible/simpleFoam/pitzDailyExptInlet. The profile is in the constant/boundaryData/inlet directory. You set up the points file to specify points and the /0/U to set the velocity at each point. I use this method frequently - it's easy to set up. If this doesn't work, you can search the forum for velocity profiles or inlet profiles.

Good luck,

Alan
solefire and labyrinth01 like this.
AlanR is offline   Reply With Quote

Old   March 2, 2011, 04:30
Default
  #3
Member
 
Frederic Collonval
Join Date: Apr 2009
Location: Technische Universitaet Munich - Lehrstuhl fuer Thermodynamik
Posts: 53
Rep Power: 17
fcollonv is on a distinguished road
CST,

Another possibility is to use the groovy boundary conditions
see http://openfoamwiki.net/index.php/Contrib_groovyBC

Something like this should make the trick in 2D:

inlet
{
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 "10*para";
value uniform (10 0 0);
}

Best regards,

Frederic
solefire likes this.
__________________
Frederic Collonval
Technische Universität München
Thermodynamics Dpt.
fcollonv is offline   Reply With Quote

Old   March 20, 2012, 12:51
Default
  #4
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 131
Rep Power: 14
Goutam is on a distinguished road
Quote:
Originally Posted by AlanR View Post
CST,

One way to create a parabolic inlet velocity profile is in the tutorials. Look through tutorials/incompressible/simpleFoam/pitzDailyExptInlet. The profile is in the constant/boundaryData/inlet directory. You set up the points file to specify points and the /0/U to set the velocity at each point. I use this method frequently - it's easy to set up. If this doesn't work, you can search the forum for velocity profiles or inlet profiles.

Good luck,

Alan
Dear Alan

I have simple pipe flow case, length is 1.2 m and radius is = 0.02595 m.
I want to generate the the points file for my case. U(x) = 2U_0 [ 1 - (x/r)^2 ]
x and y varies from -0.02595 to -0.02595 and z varies from 0 to 1.2. Could you give me some suggessions about points file and velocity file in he constant/boundaryData/inlet directory.

Thanks
Goutam is offline   Reply With Quote

Old   March 22, 2013, 10:51
Default
  #5
Senior Member
 
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16
sihaqqi is on a distinguished road
Alan

Do you have any tutorial for fixing points and velocity. I am a beginner in OpenFoam who is trying to do his MS in CFD. Can you give me a few tips as i have to use 1/7th power law for turbulent flow in my pipe.

Regards
sihaqqi 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
How exactly the "pressure outlet" bdry condition compute properties on the boundary? yating9901 FLUENT 3 June 28, 2010 13:26
Transient outlet boundary condition problem jwillie2000 CFX 1 December 7, 2009 18:07
Axis Boundary Condition..what is it? CFDtoy FLUENT 6 February 13, 2007 06:51
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 12:44
How to resolve boundary condition problem? sam FLUENT 2 July 20, 2003 03:19


All times are GMT -4. The time now is 23:49.