Solved restart issue with corrected BCs

This commit is contained in:
Dominik Christ 2014-04-08 13:21:30 +01:00
parent 0bcb3c2f4e
commit 1179d296b3
3 changed files with 10 additions and 6 deletions

View file

@ -77,11 +77,12 @@ Foam::MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField
{
if (dict.found("value"))
{
refValue() = scalarField("value", dict, p.size());
fvPatchScalarField::operator=
(
scalarField("value", dict, p.size())
refValue()
);
refValue() = scalarField("value", dict, p.size());
refGrad() = 0;
valueFraction() = 1;

View file

@ -81,11 +81,13 @@ greyDiffusiveRadiationMixedFvPatchScalarField
{
if (dict.found("refValue"))
{
refValue() = scalarField("value", dict, p.size());
fvPatchScalarField::operator=
(
scalarField("value", dict, p.size())
refValue()
);
refValue() = scalarField("refValue", dict, p.size());
refGrad() = scalarField("refGradient", dict, p.size());
valueFraction() = scalarField("valueFraction", dict, p.size());
}

View file

@ -81,11 +81,12 @@ wideBandDiffusiveRadiationMixedFvPatchScalarField
{
if (dict.found("value"))
{
refValue() = scalarField("value", dict, p.size());
fvPatchScalarField::operator=
(
scalarField("value", dict, p.size())
refValue()
);
refValue() = scalarField("value", dict, p.size());
refGrad() = 0;
valueFraction() = 1;