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/)
-   -   Problem woth source term in laplacianFoam scalar equation (https://www.cfd-online.com/Forums/openfoam-programming-development/245000-problem-woth-source-term-laplacianfoam-scalar-equation.html)

X-rayguy September 8, 2022 18:39

Problem woth source term in laplacianFoam scalar equation
 
1 Attachment(s)
Hi guys,


I modified laplacianFoam to solve two-temperature heat conduction equation for electrons and lattice. eq.1 and eq.2.


The problem is, for some reason the the value of T and Tl isn't changing from the initial value I assigned to them, even I tried to only solve for T. still it's not changing, it's like it keeps treating the right handside of eq.1 as if it's equal zero. Thanks for help.


P.s Gamma, G, Fabs, tl, Lp, sigma are just scalar quantities that has been defined as a volscalarfield.


All times are GMT -4. The time now is 02:21.