calculating Biot number in LaEuScalarTemp.c

Submitted by jtvanlew on Thu, 01/22/2015 - 04:46

Hi all,

I am trying to calculate the Biot number (Bi = h d_p / k_s) just after the heat transfer coefficient is calculated inside LaEuScalarTemp.c. I naively thought I could find the conductivity of the DEM particles with :

ks = particleCloud_.conductivity(index);

but the error comes out that


class Foam::cfdemCloud’ has no member named ‘conductivity’

Is there a way of getting the conductivity into the code so I can finish calculating the Biot number?

Riccardo Maione's picture

Riccardo Maione | Thu, 01/22/2015 - 16:25

Hello jtvanlew,

add ks_(readScalar(propsDict_.lookup("ks"))), in LaEuScalarTemp.C and scalar ks_ in LaEuScalarTemp.H and compile, after you have only to write in LaEuScalarTempProps in coupling properties your ks

best regards

jtvanlew | Thu, 01/22/2015 - 18:59

Hi Riccardo. That's great, thanks!

jon