CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Time explicit (https://www.cfd-online.com/Forums/openfoam-programming-development/129563-time-explicit.html)

ahmmedshakil February 7, 2014 11:30

Time explicit
 
Hi FOAMer,
I want to solve the enthalpy equation as follows:
\frac{\partial H}{\partial t} = \nabla(K\nabla T),
where I want solve the equation for H, so I want use the value of T from previous time steps as the equation is non linear. Is that the following way is right :
fvm::ddt(H) = fvc::laplacian(K,T) ???


All times are GMT -4. The time now is 00:07.