Merge remote-tracking branch 'origin/BUGFIX/restartIssueWithRadiationBCs'
This commit is contained in:
commit
5f92fdfc9e
3 changed files with 10 additions and 6 deletions
|
@ -77,11 +77,12 @@ Foam::MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField
|
||||||
{
|
{
|
||||||
if (dict.found("value"))
|
if (dict.found("value"))
|
||||||
{
|
{
|
||||||
|
refValue() = scalarField("value", dict, p.size());
|
||||||
|
|
||||||
fvPatchScalarField::operator=
|
fvPatchScalarField::operator=
|
||||||
(
|
(
|
||||||
scalarField("value", dict, p.size())
|
refValue()
|
||||||
);
|
);
|
||||||
refValue() = scalarField("value", dict, p.size());
|
|
||||||
|
|
||||||
refGrad() = 0;
|
refGrad() = 0;
|
||||||
valueFraction() = 1;
|
valueFraction() = 1;
|
||||||
|
|
|
@ -81,11 +81,13 @@ greyDiffusiveRadiationMixedFvPatchScalarField
|
||||||
{
|
{
|
||||||
if (dict.found("refValue"))
|
if (dict.found("refValue"))
|
||||||
{
|
{
|
||||||
|
refValue() = scalarField("value", dict, p.size());
|
||||||
|
|
||||||
fvPatchScalarField::operator=
|
fvPatchScalarField::operator=
|
||||||
(
|
(
|
||||||
scalarField("value", dict, p.size())
|
refValue()
|
||||||
);
|
);
|
||||||
refValue() = scalarField("refValue", dict, p.size());
|
|
||||||
refGrad() = scalarField("refGradient", dict, p.size());
|
refGrad() = scalarField("refGradient", dict, p.size());
|
||||||
valueFraction() = scalarField("valueFraction", dict, p.size());
|
valueFraction() = scalarField("valueFraction", dict, p.size());
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,11 +81,12 @@ wideBandDiffusiveRadiationMixedFvPatchScalarField
|
||||||
{
|
{
|
||||||
if (dict.found("value"))
|
if (dict.found("value"))
|
||||||
{
|
{
|
||||||
|
refValue() = scalarField("value", dict, p.size());
|
||||||
|
|
||||||
fvPatchScalarField::operator=
|
fvPatchScalarField::operator=
|
||||||
(
|
(
|
||||||
scalarField("value", dict, p.size())
|
refValue()
|
||||||
);
|
);
|
||||||
refValue() = scalarField("value", dict, p.size());
|
|
||||||
|
|
||||||
refGrad() = 0;
|
refGrad() = 0;
|
||||||
valueFraction() = 1;
|
valueFraction() = 1;
|
||||||
|
|
Reference in a new issue