70 TYPE(t_region
) :: region
76 INTEGER :: arraylimlow,arraylimupp,icg
78 REAL(RFREAL),
DIMENSION(:),
POINTER :: vol
79 REAL(RFREAL),
DIMENSION(:,:),
POINTER :: sd,
rhs,cv,tv
90 global => region%global
99 IF ( region%mixtInput%moveGrid .EQV. .true. )
THEN
100 CALL
errorstop( global,err_unknown_option,__line__, &
101 'Equilibrium Eulerian method not yet implemented with moving grid')
104 IF ( region%mixtInput%indSd /= 1 )
THEN
105 CALL
errorstop(global,err_illegal_value,__line__)
112 vol => region%grid%vol
115 rhs => region%mixt%rhs
128 DO icg = 1,region%grid%nCellsTot
129 term = 1.0_rfreal/(cv(cv_mixt_dens,icg)*vol(icg))
131 sd(sd_xmom,icg) =
term*(sd(sd_xmom,icg) -
rhs(cv_mixt_xmom,icg))
132 sd(sd_ymom,icg) =
term*(sd(sd_ymom,icg) -
rhs(cv_mixt_ymom,icg))
133 sd(sd_zmom,icg) =
term*(sd(sd_zmom,icg) -
rhs(cv_mixt_zmom,icg))
subroutine registerfunction(global, funName, fileName)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine rflu_finishsd(region)