ENH: proper restart for maxWellU bc

This commit is contained in:
mattijs
2010-08-03 14:07:16 +01:00
parent 37a06ac9a7
commit 9e7cb86097
2 changed files with 6 additions and 6 deletions

View File

@ -105,6 +105,8 @@ maxwellSlipUFvPatchVectorField::maxwellSlipUFvPatchVectorField
( (
vectorField("value", dict, p.size()) vectorField("value", dict, p.size())
); );
refValue() = vectorField("refValue", dict, p.size());
valueFraction() = scalarField("valueFraction", dict, p.size());
} }
else else
{ {
@ -188,10 +190,8 @@ void maxwellSlipUFvPatchVectorField::write(Ostream& os) const
<< thermalCreep_ << token::END_STATEMENT << nl; << thermalCreep_ << token::END_STATEMENT << nl;
os.writeKeyword("curvature") << curvature_ << token::END_STATEMENT << nl; os.writeKeyword("curvature") << curvature_ << token::END_STATEMENT << nl;
os.writeKeyword("refValue") refValue().writeEntry("refValue", os);
<< refValue() << token::END_STATEMENT << nl; valueFraction().writeEntry("valueFraction", os);
os.writeKeyword("valueFraction")
<< valueFraction() << token::END_STATEMENT << nl;
writeEntry("value", os); writeEntry("value", os);
} }

View File

@ -32416,7 +32416,7 @@ boundaryField
Uwall uniform (0 0 0); Uwall uniform (0 0 0);
thermalCreep on; thermalCreep on;
curvature on; curvature on;
refValue refValue nonuniform List<vector>
255 255
( (
(3.37115877925426 1.5719971556227 1.63068197702874e-10) (3.37115877925426 1.5719971556227 1.63068197702874e-10)
@ -32676,7 +32676,7 @@ boundaryField
(0.103666873607679 0 -6.64100738660639e-16) (0.103666873607679 0 -6.64100738660639e-16)
) )
; ;
valueFraction valueFraction nonuniform List<scalar>
255 255
( (
0.00388739013936794 0.00388739013936794