mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: updated thermo baffle to use new radiation model constructor
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user