CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

alphaEff() myXiFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2018, 07:35
Post alphaEff() myXiFoam
  #1
New Member
 
Join Date: Feb 2018
Posts: 7
Rep Power: 8
kaizhangqmul is on a distinguished road
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));
where i found turbulence->alphaEff() = thermo.alpha() = 1e-05......and then tauTurbPrime = 0.
and In,
Code:
S_turbTimeDependent=S_turb*
sqrt(1.+tauTurbPrime/(runTime+tO)*(exp(-1.*(runTime+tO)/tauTurbPrime)-1.));
Division by 0 appeared.

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 10:41.
kaizhangqmul is offline   Reply With Quote

Old   February 15, 2018, 12:07
Default
  #2
New Member
 
Join Date: Feb 2018
Posts: 7
Rep Power: 8
kaizhangqmul is on a distinguished road
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.
kaizhangqmul is offline   Reply With Quote

Reply

Tags
alphaeff()


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
alphaEff zahraa OpenFOAM Pre-Processing 5 May 17, 2020 08:43
Fixed heat flux BC in buoyantPimpleFoam bhh OpenFOAM Running, Solving & CFD 39 January 12, 2019 08:51
Heat flux calculating with wallHeatFlux utility and alphaEff tanshihaj OpenFOAM Post-Processing 0 March 12, 2014 05:55
Accessing fields and dictionaries from within a BC implementation alberto OpenFOAM Running, Solving & CFD 12 December 6, 2011 09:30
alphaEff scalarField deji OpenFOAM 1 July 29, 2010 14:12


All times are GMT -4. The time now is 03:13.