CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Error in chtMultiRegionSimpleFoam (solveSolid.H) (http://www.cfd-online.com/Forums/openfoam-bugs/88877-error-chtmultiregionsimplefoam-solvesolid-h.html)

Jean El-Hajal May 28, 2011 17:54

Error in chtMultiRegionSimpleFoam (solveSolid.H)
 
Dear All,


There is an error in the resolution of the temperature in the solid part of chtMultiRegionSimpleFoam. In version 1.7.x and 1.6-ext


In the tutorial: K is the thermal conductivity (kg .m / s K) (1 1 -3 -1) .


But in solveSolid.H:


fvScalarMatrix tEqn
(
-fvm::laplacian(K, T)
);


here K should be the Thermal Diffusivity (DT). (m/s)


So in the chtMultiRegionSimpleFoam:
It will be better to rename the 0/solid/K → 0/solid/DT and to change solveSolid.H to:


fvScalarMatrix tEqn
(
-fvm::laplacian(DT, T)
);


Jean


All times are GMT -4. The time now is 12:45.