Skip to content
Snippets Groups Projects
Commit db0d8de7 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Streamline function object - report velocity field being employed - see #323

parent 16f1d748
No related merge requests found
...@@ -514,6 +514,8 @@ bool Foam::functionObjects::streamLineBase::read(const dictionary& dict) ...@@ -514,6 +514,8 @@ bool Foam::functionObjects::streamLineBase::read(const dictionary& dict)
dict.lookup("fields") >> fields_; dict.lookup("fields") >> fields_;
UName_ = dict.lookupOrDefault<word>("U", "U"); UName_ = dict.lookupOrDefault<word>("U", "U");
Info<< " Employing velocity field " << UName_ << endl;
if (findIndex(fields_, UName_) == -1) if (findIndex(fields_, UName_) == -1)
{ {
FatalIOErrorInFunction(dict) FatalIOErrorInFunction(dict)
......
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