|
[Sponsors] |
October 12, 2016, 12:57 |
PaSR Combustion Model via UDF
|
#1 |
New Member
Join Date: Oct 2016
Posts: 6
Rep Power: 10 |
Good morning,
I'm writing a thesis about spark ignition engines fuelled with natural gas using a partially stratified charge injection strategy. I've spent much time so far trying to use the available combustion models in CONVERGE in order to match some experimental data. The results have been rather disappointing, so I've decided to implement the PaSR combustion model via the definition of a UFD. However, I find it very difficult to manipulate all those *.c files, since there are no enough comments to understand how the variables are defined. I'll try to explain briefly what I would like to do: (let kk and i be two indices referring respectively to the computational node and to the chemical species) 1) Calculate the turbulent mixing time scale: tau_mix[kk] = CONST*(mu_eff[kk]/(rho[kk]*epsilon[kk])^0.5 where rho is the fluid density, mu_eff is the global viscosity and epsilon is the turbulent energy dissipation. 2) Calculate the chemical time of the reference limiting species: 1/tau_chem[kk] = max(-omega_dot[i,kk]/Y[i,kk]) where omega_dot and Y are respectively the chemical reaction rate (mol/m3*s) and the molar concentration of species i in the kk-th cell of the computational domain. 3) Calculate the parameter kappa_pasr, defined as follows: kappa_pasr[kk] = tau_chem[kk]/(tau_chem[kk]+tau_mix[kk]) 4) Calculate the effective reaction rate (after understanding how the SAGE model refers to the laminar one): new_RR[i,kk] = kappa_pasr[kk]*RR[i,kk] (kg/m3*s) 5) Use this new reaction rate in the source term related to combustion in the species transport equation and in the energy equation. I know that my request is probably to hard to be satisfied, but I wonder if someone can give me some suggestions for the implementation of this UDF. Last edited by RiccardoCFD; October 12, 2016 at 15:00. |
|
October 13, 2016, 11:17 |
|
#2 | |
Member
Shengbai Xie
Join Date: Aug 2016
Location: Convergent Science, Madison WI
Posts: 68
Rep Power: 10 |
Hey,
I am sorry that our current combustion models did not serve your purpose well. But I have to say that there are many parameters that you can tune with as well as that the mechanism itself matters. UDFs are tricky and requires some knowledge of our data structure. So it is hard to tell via this forum. The best way is to send an formal inquiry as well as your case to us at support@convergecfd.com, then we can have some experts working on it in particular. Thank you. Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
UDF for linear PTT model implementation | dpitz | Fluent UDF and Scheme Programming | 1 | February 4, 2011 11:08 |
The problem of UDF in Non premixed combustion model | zhangyuan | Main CFD Forum | 0 | May 25, 2009 10:41 |
LES and combustion model | Margherita Cadorin | CFX | 0 | October 29, 2008 06:24 |
can alternate combustion model by UDF? | Han Xingsi | FLUENT | 0 | September 1, 2008 03:08 |