|
[Sponsors] |
Requesting for a udf for parabolic flow on given boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 29, 2018, 04:48 |
Requesting for a udf for parabolic flow on given boundary condition
|
#1 |
New Member
Sadia Khan
Join Date: Jun 2018
Posts: 2
Rep Power: 0 |
Computational Domain Vθ = 0
Inlet Vr = 0 Vz = 0.265(1 - (r/R)2) (parabolic velocity profile) Symmetry Line Vr = 0 Wall-blood interface Vz = 0 (no-slip condition) Vr = 0 (non-porous wall) diameter of the artery = 3 mm https://biomedical-engineering-onlin.../1475-925X-8-8 i need the udf of this paper, |
|
July 2, 2018, 15:57 |
|
#2 |
Member
zobekenobe
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 72
Rep Power: 17 |
Code:
#include "udf.h" DEFINE_PROFILE(inlet_velocity, ft, ind) { face_t f; real pos[ND_ND]; real R = 3; real V; real centre = 0.0; begin_f_loop(f, ft) { F_CENTROID(pos,f,ft); V = 0.265*(1-2*(fabs(pos[1]-centre)/R)); F_PROFILE(f,ft,ind) = V; } end_f_loop(f,ft) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
3D Windturbine simulation in SU2 | k.vimalakanthan | SU2 | 15 | October 12, 2023 06:53 |
Appropriate pressure boundary condition in incompressible flow | lonelywing | OpenFOAM Running, Solving & CFD | 21 | June 6, 2022 10:44 |
UDF to adjust flow rate at outflow boundary condition | kharnabnew | FLUENT | 1 | May 24, 2016 07:33 |
UDF for pipe flow boundary condition | SNeCu | Fluent UDF and Scheme Programming | 0 | March 15, 2016 23:21 |