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

[swak4Foam] Parabolic velocity at inlet for 2D axi geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2020, 08:48
Default Parabolic velocity at inlet for 2D axi geometry
  #1
Member
 
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7
mcfdma is on a distinguished road
Hello.

I am interested in creating a developed flow at the inlet. I am using groovyBC and have checked several other example and forums.

My case is an axisymmetric pipe of 0.1m radius and 2m long.

I am trying to use the parabolic equation
u = umax( 1-(r/R)^2)

I want umax to be 1m/s and this is what I have done so far.

Code:
 in U
inlet
    {
        type            groovyBC;
    variables    "Vmax=1.0;yp=pts().y;maxY=max(yp);para=(1-pow(pos().y/0.1,2))*normal();"
    valueExpression    "Vmax*para";
    value        uniform (1 0 0);
    }
I have added the libs in controlDict as well. However, instead of a parabolic curve, I am getting an oscillating curve and the value of the velocity is remarkably low.

oscillation.jpg

Any idea how this can be corrected?

I am using these versions:
swak4Foam version - 0.4.1
OpenFOAM 2.3.1

Thanks
mcfdma is offline   Reply With Quote

Reply

Tags
parabolic flow, swak4faom


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
combining parabolic inlet velocity profile with time varying velocity vector values jawapasu OpenFOAM 3 July 10, 2023 06:41
UDF for 3d inlet parabolic velocity profile ? shahzeb irfan Fluent UDF and Scheme Programming 10 March 28, 2016 16:00
velocity inlet and ideal gas simultaneously-what's wrong? preetam69 FLUENT 0 September 28, 2013 05:51
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
How to define a parabolic velocity inlet of particles with UDF zumaqiong FLUENT 2 February 22, 2010 10:46


All times are GMT -4. The time now is 08:35.