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

thermo
This commit is contained in:
sergio
2012-01-10 18:07:54 +00:00
parent 011b804baa
commit f719c0df82
5 changed files with 7 additions and 10 deletions

View File

@ -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>()
);