Commit f719c0df authored by sergio's avatar sergio
Browse files

BUG: porousSolid T Ew modifications and lookup of T instead of the

thermo
parent 011b804b
......@@ -9,7 +9,7 @@
tmp<volScalarField> tcp = thermo.Cp();
const volScalarField& cp = tcp();
tmp<volScalarField> tkappa = betav*thermo.K();
tmp<volScalarField> tkappa = thermo.K();
//tmp<volSymmTensorField> tkappa = thermo.directionalK()*betav;
const volScalarField& kappa = tkappa();
......
......@@ -3,7 +3,7 @@
{
tmp<fvScalarMatrix> TEqn
(
- fvm::laplacian(kappa, T, "laplacian(K,T)")
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
+ sources(rho, T)
);
......
......@@ -9,7 +9,7 @@
tmp<volScalarField> tcp = thermo.Cp();
const volScalarField& cp = tcp();
tmp<volScalarField> tkappa = betav*thermo.K();
tmp<volScalarField> tkappa = thermo.K();
//tmp<volSymmTensorField> tkappa = thermo.directionalK()*betav;
const volScalarField& kappa = tkappa();
......
......@@ -9,7 +9,7 @@ if (finalIter)
tmp<fvScalarMatrix> TEqn
(
fvm::ddt(betav*rho*cp, T)
- fvm::laplacian(kappa, T, "laplacian(K,T)")
- fvm::laplacian(betav*kappa, T, "laplacian(K,T)")
+ sources(rho, T)
);
......
......@@ -167,16 +167,13 @@ void Foam::interRegionHeatTransferModel::addSup
const fvMesh& secondaryMesh =
mesh_.time().lookupObject<fvMesh>(mapRegionName_);
basicThermo& secondaryThermo =
const_cast<basicThermo&>
(
secondaryMesh.lookupObject<basicThermo>("thermophysicalProperties")
);
const volScalarField& Tsecondary =
secondaryMesh.lookupObject<volScalarField>("T");
secondaryToPrimaryInterpPtr_->interpolateInternalField
(
Tmapped,
secondaryThermo.T(),
Tsecondary,
meshToMesh::MAP,
eqOp<scalar>()
);
......
Markdown is supported
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