CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Thermal energy in a cavaty flow (

sfhr December 14, 2010 08:22

Thermal energy in a cavaty flow
I am new to OpenFoam and I have the following situation:
i need to simulate the convection/diffusion problem with:
and dT/dy=0 for North and South

I need to determine the rate of convergence of the numerical solution using the OpenFoam finite volume scheme.

I just figured out how to add the temperature to IcoFoam.

But I have to plot the the log(err) vs. log(sqrt(n)) when using n total triangules in 2D since sqrt(n) is a measure of the grid space.

I was wondering if someone can help me with this... :)

All times are GMT -4. The time now is 04:42.