|
[Sponsors] |
[swak4Foam] Parabolic velocity at inlet for 2D axi geometry |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 4, 2020, 08:48 |
Parabolic velocity at inlet for 2D axi geometry
|
#1 |
Member
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7 |
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); } oscillation.jpg Any idea how this can be corrected? I am using these versions: swak4Foam version - 0.4.1 OpenFOAM 2.3.1 Thanks |
|
Tags |
parabolic flow, swak4faom |
|
|
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 |