CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

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

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2020, 08:48
Default Parabolic velocity at inlet for 2D axi geometry
Join Date: Jan 2019
Posts: 55
Rep Power: 4
mcfdma is on a distinguished road

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.

 in U
        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.


Any idea how this can be corrected?

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

mcfdma is offline   Reply With Quote


parabolic flow, swak4faom

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 2 June 2, 2018 18:52
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 19:33.