BUG: Mantis 1325: Johnson Jackson BCs evaluating before dependent sub model data is created

This commit is contained in:
william
2014-06-11 11:22:33 +01:00
committed by Andrew Heather
parent 8ac2a1c7ee
commit eb0d91bc96
2 changed files with 8 additions and 22 deletions

View File

@ -102,17 +102,10 @@ JohnsonJacksonParticleSlipFvPatchVectorField
<< abort(FatalError);
}
if (dict.found("value"))
{
fvPatchVectorField::operator=
(
vectorField("value", dict, p.size())
);
}
else
{
partialSlipFvPatchVectorField::evaluate();
}
fvPatchVectorField::operator=
(
vectorField("value", dict, p.size())
);
}

View File

@ -129,17 +129,10 @@ JohnsonJacksonParticleThetaFvPatchScalarField
<< abort(FatalError);
}
if (dict.found("value"))
{
fvPatchScalarField::operator=
(
scalarField("value", dict, p.size())
);
}
else
{
evaluate();
}
fvPatchScalarField::operator=
(
scalarField("value", dict, p.size())
);
}