body force
fvVectorMatrix UEqn
( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) -beta*(T - T0)*g ; fvScalarMatrix TEqn( fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(DT, T) ; I add body force with the momentum equation, when I run my problem, I am getting the value of p, T and U. only problem is, no variation is found for U. I consider g as (9.71 0 0). moving top wall temp is 1, cold bottom wall temp is 0. others walls temp is zeroGradient. its a simple 2D case. |
body force
fvVectorMatrix UEqn
( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) -beta*(T - T0)*g ); fvScalarMatrix TEqn( fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(DT, T) ); I add body force with the momentum equation, when I run my problem, I am getting the value of p, T and U. only problem is, no variation is found for U. I consider g as (9.71 0 0). moving top wall temp is 1, cold bottom wall temp is 0. others walls temp is zeroGradient. its a simple 2D case. |
All times are GMT -4. The time now is 04:40. |