3 # include "readSolidControls.H"
5 for (int nonOrth = 0; nonOrth <= nNonOrthCorr; nonOrth++)
7 coupledFvScalarMatrix TEqns(2);
9 fvScalarMatrix* TFluidEqn = new fvScalarMatrix
16 - fvm::laplacian(kappaEff, T)
19 - fvm::Sp(4.0*radiation->Rp()*pow3(T), T)
20 + 3.0*radiation->Rp()*pow4(T)
23 //Done automatically in 1.6.1-ext
24 //TFluidEqn->boundaryManipulate(T.boundaryField());
26 fvScalarMatrix* TSolidEqn = new fvScalarMatrix
28 fvm::ddt(rhoCpsolid, Tsolid)
29 - fvm::laplacian(ksolidf, Tsolid, "laplacian(k,T)")
30 + fvm::SuSp(-solidThermo.S()/Tsolid, Tsolid)
33 //Done automatically in 1.6.1-ext
34 //TSolidEqn->boundaryManipulate(Tsolid.boundaryField());
38 TEqns.set(0, TFluidEqn);
41 TEqns.set(1, TSolidEqn);