My Project
programmer's documentation
|
Additional right-hand side source terms for velocity components equation (Navier-Stokes)
Example of arbitrary source term for component :
appearing in the equation under the form:
In the following example:
with:
CKP = 1.0
(in ) (return term on velocity) MMT = 100.0
(in ) (momentum production by volume and time unit)which yields:
st_imp[i][0][0] = volume[i] * A = - volume[i]*(rho*CKP)
st_exp[i][0] = volume[i] * B = volume[i]*(XMMT)
Example to add Boussinesq source to the z component of :