mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: streamLineBase - set tracking velocity field name to U by default
This commit is contained in:
@ -512,7 +512,7 @@ bool Foam::functionObjects::streamLineBase::read(const dictionary& dict)
|
||||
Info<< type() << " " << name() << ":" << nl;
|
||||
|
||||
dict.lookup("fields") >> fields_;
|
||||
dict.lookup("U") >> UName_;
|
||||
UName_ = dict.lookupOrDefault<word>("U", "U");
|
||||
|
||||
if (findIndex(fields_, UName_) == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user