Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev

This commit is contained in:
mattijs 2012-05-22 17:11:25 +01:00
commit f669dfe8a9
4 changed files with 8 additions and 2 deletions

View File

@ -15,6 +15,9 @@
const volScalarField& kappa = tkappa();
//const volSymmTensorField& K = tK();
tmp<volScalarField> trhoCp = cp*rho;
const volScalarField& rhoCp = trhoCp();
volScalarField& T = thermo.T();
IObasicSourceList& sources = solidHeatSources[i];

View File

@ -4,7 +4,7 @@
tmp<fvScalarMatrix> TEqn
(
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
+ sources(rho, T)
+ sources(rhoCp, T)
);
TEqn().relax();

View File

@ -15,6 +15,9 @@
const volScalarField& kappa = tkappa();
//const volSymmTensorField& K = tK();
tmp<volScalarField> trhoCp = cp*rho;
const volScalarField& rhoCp = trhoCp();
volScalarField& T = thermo.T();
IObasicSourceList& sources = solidHeatSources[i];

View File

@ -10,7 +10,7 @@ if (finalIter)
(
fvm::ddt(betav*rho*cp, T)
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
+ sources(rho, T)
+ sources(rhoCp, T)
);
TEqn().relax();