Commit 86b0f1b5 authored by sergio's avatar sergio
Browse files

BUG: Correcting dictionary constructor for swirlFanVelocity

parent 0ba72f28
......@@ -156,19 +156,7 @@ Foam::swirlFanVelocityFvPatchField::swirlFanVelocityFvPatchField
useRealRadius_(dict.lookupOrDefault<Switch>("useRealRadius", false)),
rInner_(dict.lookupOrDefault<scalar>("rInner", 0.0)),
rOuter_(dict.lookupOrDefault<scalar>("rOuter", 0.0))
{
if (dict.found("value"))
{
fvPatchVectorField::operator=
(
vectorField("value", dict, p.size())
);
}
else
{
this->evaluate(Pstream::commsTypes::blocking);
}
}
{}
Foam::swirlFanVelocityFvPatchField::swirlFanVelocityFvPatchField
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment