|
[Sponsors] |
April 7, 2020, 02:20 |
UDF parabolic velocity profile issue
|
#1 |
New Member
Koo How Boon
Join Date: Mar 2020
Posts: 13
Rep Power: 6 |
I have an issue about parabolic velocity profile in my .c file.
I want to create a parabolic inlet with 0.3m/s max speed and pipe diameter is 8mm. And I found this code from the others, is this applicable for my case? THE CODE SHOWN AS BELOW: #include "udf.h" DEFINE_PROFILE(inlet_x_velocity, thread, position) { real x[ND_ND]; /* this will hold the position vector */ real y, h; face_t f; h = 0.004; /* inlet height in m */ begin_f_loop(f,thread) { F_CENTROID(x, f, thread); y = 2.*(x[1]-0.5*h)/h; /* non-dimensional y coordinate */ F_PROFILE(f, thread, position) = 0.3*(1.0-y*y); } end_f_loop(f, thread) } |
|
April 7, 2020, 08:31 |
Code
|
#2 |
Senior Member
|
Yes, this would work.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 7, 2020, 11:29 |
|
#3 |
New Member
Koo How Boon
Join Date: Mar 2020
Posts: 13
Rep Power: 6 |
I have applied the parabolic velocity into my biogas-air premixed combustion.
However, I didn't get my expected result. Here is my settings for the system(Stoichiometric mixtures) 1.Air fuel inlet velocity: 0.3 m/s parabolic velocity Coflow inlet velocity: 0.05m/s 2. 40% CO2 and 60% CH4 for fuel; 21% O2 and 79% N2 for air 3. Mole fraction (air fuel inlet): CH4= 0.0894, O2 = 0.1788, N2 = 0.6722, CO2 = 0.0596 Is there any problem for my settings here to get the flame? |
|
April 7, 2020, 12:20 |
Reactions
|
#4 |
Senior Member
|
Parabolic velocity profile has got nothing to do with flame. Even if you use flat profile, it may or may not result in flame. Combustion depends on correct setup of combustion model, initialization, material properties, and thermal boundary conditions.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Parabolic 2D Velocity Profile Issue | chrislyn | FLUENT | 2 | December 11, 2018 13:11 |
UDF inlet velocity profile mismatch with Fluent | ChristineL | Fluent UDF and Scheme Programming | 15 | November 25, 2016 07:45 |
UDF for 3d inlet parabolic velocity profile ? | shahzeb irfan | Fluent UDF and Scheme Programming | 10 | March 28, 2016 16:00 |
Ansys FLUENT UDF - Velocity profile (of known values) across edge / surface | emmkell | Fluent UDF and Scheme Programming | 2 | October 21, 2011 14:12 |
Logarithmic velocity profile | cfdworker | Fluent UDF and Scheme Programming | 0 | April 23, 2009 20:09 |