BUG: When cloud is inactive, the transient flag needs to be read to avoid default value false and the unnecassary massFlowRate input

This commit is contained in:
sergio
2016-05-26 11:19:48 -07:00
parent c91712fbc3
commit 91d4bab09c

View File

@ -63,6 +63,10 @@ Foam::cloudSolution::cloudSolution(const fvMesh& mesh, const dictionary& dict)
{
Info<< "Cloud source terms will be held constant" << endl;
}
// transient default to false asks for extra massFlowRate
// in transient lagrangian
dict_.lookup("transient") >> transient_;
}
}