mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Streamline function object - report velocity field being employed - see #323
This commit is contained in:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user