dpm drag coefficient
Hello!
I'm trying to simulate pulverized biomass combustion and would like to implement custom drag laws on biomass particles. I have several injections of biomass particles of different shapes and sizes and would like to assign different drag coefficients for different injections. For example injection-1 are cilindrical particles injection-2 flake-like etc. my question is how to identify injections in UDF? I tried with something like this: if (p->injection->name=="injection-1") { /* ...calculate Drag for cilindrical particle*/ .. .. } else { Drag=SphereDragCoeff(RE); } return(Drag); But in this case sphere drag law is used even for "injection-1". btw. "injection-1" is the name of injection assigned in injections panel under injection name. Where am I making a mistake? Thanks in advance, Igor B. |
All times are GMT -4. The time now is 13:17. |