Skip to content
Snippets Groups Projects
Commit f669dfe8 authored by mattijs's avatar mattijs
Browse files

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

parents f22ba88d 3fc8c16b
Branches
Tags
No related merge requests found
......@@ -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];
......@@ -4,7 +4,7 @@
tmp<fvScalarMatrix> TEqn
(
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
+ sources(rho, T)
+ sources(rhoCp, T)
);
TEqn().relax();
......
......@@ -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];
......@@ -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();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment