|
[Sponsors] |
Half parabolic profile for the velocity inlet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 19, 2012, 09:27 |
Half parabolic profile for the velocity inlet
|
#1 |
New Member
adele
Join Date: Apr 2012
Location: France
Posts: 7
Rep Power: 14 |
Hi,
I'm trying to model the heat transfer in a shell and tube heat exchanger and I'm using Fluent for this. To simplify the problem, and to reduce the time calculation, I cut the geometry in 6 in the length direction, and study just a 6th of the geometry. That is why my velocity inlet pipes (the small ones) are cut either in 2 or in 6 equal parts. You can see a picture of the geometry here. However I want to insert a parabolic profile with a UDF in the 3 cut pipes by respecting the center of the paraboloid and the cut geometry. My questions are: - is it possible to define the three inlet faces of the pipes as three different velocity inlet faces, and to define a parabolic profile for each one? Or do I have to group the faces and write only one UDF for the velocity profile? - Is it possible to insert a parabolic profile even if the tube is cut? I mean, without changing anything in the C code. If yes, how to define a different coordinate system origin for each one? I read somewhere that it's better when the system origin in the UDF is also the system origin in Fluent Thank you in advance for the help! Adele |
|
July 19, 2012, 09:50 |
|
#2 | ||||
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,400
Rep Power: 47 |
Quote:
Quote:
Quote:
Quote:
|
|||||
July 19, 2012, 10:26 |
Thank you!
|
#3 |
New Member
adele
Join Date: Apr 2012
Location: France
Posts: 7
Rep Power: 14 |
Thank you so much for the quick and efficient reply!
I try this solution as soon as possible and if I have problems, I will come back to you! Adele |
|
July 19, 2012, 11:31 |
offset velocity
|
#4 |
New Member
adele
Join Date: Apr 2012
Location: France
Posts: 7
Rep Power: 14 |
One more question:
I made a traditional UDF of a paraboloid profile for the central pipe, whose center corresponds to the coordinates system origin. I will do the same for the other pipes, but how do I take into account the offset the velocity? Is there a special code for this, or do I have to adapt my equation in function of the x position? thanks in advance |
|
July 19, 2012, 11:43 |
|
#5 | |
New Member
Patrick
Join Date: Apr 2012
Posts: 28
Rep Power: 14 |
Quote:
if x<rangeXupper1 and x>rangeXlower1 and y<rangeYupper1 and y>rangeYlower1 then velocity=... (function for inlet 1) elseif x<rangeXupper2 and x>rangeXlower2 and y<rangeYupper2 and y>rangeYlower2 then velocity=.... (function for inlet 2) Where rangeX... are the bounds for the x and y co-ordinates of each inlet. Or yes just adapt the equation which is perhaps a simpler way of doing it, this way allows you to change the equation and position individually though, which might be quicker if you need to change either of them. |
||
Tags |
3d-geometry, cut pipes, udf, velocity profile |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF inlet velocity profile mismatch with Fluent | ChristineL | Fluent UDF and Scheme Programming | 15 | November 25, 2016 06:45 |
[swak4Foam] Scale discrete inlet velocity profile with groovyBC | cboss | OpenFOAM Community Contributions | 1 | June 20, 2010 13:02 |
How to define a parabolic velocity inlet of particles with UDF | zumaqiong | FLUENT | 2 | February 22, 2010 09:46 |
Inlet Velocity in CFX | aeroman | CFX | 12 | August 6, 2009 18:42 |
how to give sectional velocity profile at inlet? | fkonias | CFX | 3 | January 29, 2008 09:28 |