Skip to content
Snippets Groups Projects
Commit f55f721c authored by andy's avatar andy
Browse files

ENH: updated thermo baffle to use new radiation model constructor

parent af69e163
Branches
Tags
No related merge requests found
......@@ -204,7 +204,14 @@ thermoBaffle2D::thermoBaffle2D
pTraits<scalar>::zero
)
),
radiation_(radiation::radiationModel::New(thermo_->T()))
radiation_
(
radiation::radiationModel::New
(
dict.subDict("radiation"),
thermo_->T()
)
)
{
init();
thermo_->correct();
......@@ -257,7 +264,13 @@ thermoBaffle2D::thermoBaffle2D
pTraits<scalar>::zero
)
),
radiation_(radiation::radiationModel::New(thermo_->T()))
radiation_
(
radiation::radiationModel::New
(
thermo_->T()
)
)
{
init();
thermo_->correct();
......
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