mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
functionObjects::streamLine: Reinstated default "U"
This commit is contained in:
@ -311,7 +311,7 @@ bool Foam::functionObjects::streamLine::read(const dictionary& dict)
|
||||
Info<< type() << " " << name() << ":" << nl;
|
||||
|
||||
dict.lookup("fields") >> fields_;
|
||||
dict.lookup("U") >> UName_;
|
||||
UName_ = dict.lookupOrDefault("U", word("U"));
|
||||
|
||||
if (findIndex(fields_, UName_) == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user