|
[Sponsors] |
February 15, 2018, 08:35 |
alphaEff() myXiFoam
|
#1 |
New Member
Join Date: Feb 2018
Posts: 7
Rep Power: 8 |
Dear Friends,
I am trying to implement the new algebraic combustion for XI as that given in ehsanYasariReport.pdf. I remember this worked fine many years ago when i used old version of openfoam. But now, in 5.x, it gives out a mistake casued by Code:
tauTurbPrime = (turbulence->alphaEff()-thermo.alpha())/(rho*pow(up,2)); and In, Code:
S_turbTimeDependent=S_turb* sqrt(1.+tauTurbPrime/(runTime+tO)*(exp(-1.*(runTime+tO)/tauTurbPrime)-1.)); Shouldn't we have turbulence->alphaEff() = turbulent thermal diffusivity + molecular thermal diffusivity and subtract it from thermo.alpha (molecular) gives turbulent thermal diffusivity? but this will always lead to a 0 turbulent thermal diffusivity at time 0 and for this implementation we cant continue. Can anyone help please? Best, Kai. Last edited by kaizhangqmul; February 15, 2018 at 11:41. |
|
February 15, 2018, 13:07 |
|
#2 |
New Member
Join Date: Feb 2018
Posts: 7
Rep Power: 8 |
feel like i have solved it, but still got some problems that b value could drop below 0 and give error in half way. This error also occur for algebraic Xi model with negative b.
|
|
Tags |
alphaeff() |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
alphaEff | zahraa | OpenFOAM Pre-Processing | 5 | May 17, 2020 09:43 |
Fixed heat flux BC in buoyantPimpleFoam | bhh | OpenFOAM Running, Solving & CFD | 39 | January 12, 2019 09:51 |
Heat flux calculating with wallHeatFlux utility and alphaEff | tanshihaj | OpenFOAM Post-Processing | 0 | March 12, 2014 06:55 |
Accessing fields and dictionaries from within a BC implementation | alberto | OpenFOAM Running, Solving & CFD | 12 | December 6, 2011 10:30 |
alphaEff scalarField | deji | OpenFOAM | 1 | July 29, 2010 15:12 |