mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: porousSolid T Ew modifications and lookup of T instead of the
thermo
This commit is contained in:
@ -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>()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user