|
[Sponsors] |
define laminar flame speed in thickened flame model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 14, 2019, 06:43 |
define laminar flame speed in thickened flame model
|
#1 |
New Member
Haitao Lu
Join Date: Nov 2019
Posts: 1
Rep Power: 0 |
Hello, I want to define laminar flame speed in thickened flame model, it can be compiled, but didn't give a correct answer.Could anyone give me some help? thankyou.
Code:
#include "udf.h" DEFINE_PROPERTY(fl_speed,c,t) { real s; real x; real y; real xc[ND_ND]; Domain *domain; domain=Get_Domain(1); thread_loop_c(t,domain) { begin_c_loop_all(c,t) { C_CENTROID(xc,c,t); x=xc[0]; y=xc[1]; if(x*x+y*y<0.0016) { s=0.4; }else if(x*x+y*y>0.0025) { s=0.4; }else { s=0.35; } end_c_loop_all(c,t) } } return s; } |
|
November 14, 2019, 15:07 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
"didn't give a correct answer" can mean many different things.
If you can tell what you expected to see, and what you did see, it is much easier to help you. |
|
Tags |
flame speed, thickened flame |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculation of laminar flame speed (fluent) | Twinsen | FLUENT | 2 | November 12, 2020 17:57 |
Eddy formation in laminar flame combustion. | Wouated | STAR-CCM+ | 0 | July 16, 2019 05:02 |
interFoam wave propagation and explosion of Courant number and residuals | ChiaraViola | OpenFOAM Running, Solving & CFD | 1 | June 26, 2019 06:36 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 15:32 |
Laminar Model | danillocafaldo | CFX | 5 | August 16, 2010 11:43 |