OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

solveSolid.H

Go to the documentation of this file.
00001 {
00002     for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
00003     {
00004         tmp<fvScalarMatrix> TEqn
00005         (
00006             fvm::ddt(rho*cp, T)
00007           - fvm::laplacian(K, T)
00008         );
00009         TEqn().relax();
00010         TEqn().solve();
00011     }
00012 
00013     Info<< "Min/max T:" << min(T) << ' ' << max(T) << endl;
00014 }
Copyright © 2000-2009 OpenCFD Ltd