ibeta
Posted: Wed Mar 18, 2020 4:33 pm
Hi everyone,
I am using AFM for temperature in code saturne v6 and in divrit.f90 I have ibeta (thermal expansion coefficient) which is called in this way:
and later in the same subroutine it is used in AFM formulation:
How can I change this value of ibeta for my fluid?
Moreover how can I check which value is the default one?
Best regards,
Marco Santucci
I am using AFM for temperature in code saturne v6 and in divrit.f90 I have ibeta (thermal expansion coefficient) which is called in this way:
Code: Select all
if (ibeta.gt.0) then
call field_get_val_s(iprpfl(ipproc(ibeta)), cpro_beta)
endif
Code: Select all
! AFM and EB-AFM models
! "-C_theta*k/eps*( xi* uT'.Grad u + eta*beta*g_i*T'^2)"
if (ityturt(iscal).eq.2.and.ibeta.gt.0) then
if (itt.gt.0) then
temp(ii) = temp(ii) - ctheta(iscal)*xtt* &
etaafm*cpro_beta(iel)*grav(ii)*cvara_tt(iel)
Moreover how can I check which value is the default one?
Best regards,
Marco Santucci