CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Cyclic condition for temperature gradient (http://www.cfd-online.com/Forums/openfoam/76353-cyclic-condition-temperature-gradient.html)

David_010 May 23, 2010 11:55

Cyclic condition for temperature gradient
 
Hi to all

I'm working with the conjugateHeatFoam solver, in the 1.5-dev version. For the solid region, I need the cyclic condition for to faces but for link the temperature gradient, not for the temperature. I have tried to create a new variable GT which is the temperature gradient, and replacing the equation term

Code:

fvm::laplacian(DTsolid, Tsolid)
for

Code:

fvm::div(DTsolid, GT)
in the solver, but I obtain an error when I compile it.
Does anyone knows any form to do that?

Thanks in advance

David


All times are GMT -4. The time now is 09:29.