CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Temperature dependent propertys and finalIteration in chtMultiRegionFoam (http://www.cfd-online.com/Forums/openfoam/113462-temperature-dependent-propertys-finaliteration-chtmultiregionfoam.html)

waiter120 February 20, 2013 06:22

Temperature dependent propertys and finalIteration in chtMultiRegionFoam
 
Hello for everyone foamusers.
I have a few questions about chtMultiRegionFoam solver.
My task is modified this solver for electro heating problems of solids, which has got very temperature dependent electro and thermo conductivity. So my main interest is solid part of this solver.

1. While reading the code I notice that property of material is update according to temperature with command “thermo.correct()”. But as I understand this is done only ones on each time step, am I right? And if I am, is it correct? For example, ANSYS and FLUENT update temperature dependent property on each iteration.

2. How I should modify the code to update thermo property on every iteration?

3. Question about “finalIteration”. Am I right if saying, that following lines in file solveSolid.C is only for performance of one addition iteration on every timestep with parameters that are set in fvSolution in, for example, TFinal?

if (finalIter)
{
mesh.data::add("finalIteration", true);
}

TEqn().solve(mesh.solver(T.select(finalIter)));


All times are GMT -4. The time now is 14:54.