functionObjects::streamLine: Reinstated default "U"
This commit is contained in:
parent
7c8d3866cb
commit
8f3169652e
2 changed files with 2 additions and 2 deletions
|
|
@ -324,7 +324,7 @@ bool Foam::functionObjects::streamLine::read(const dictionary& dict)
|
||||||
Info<< type() << " " << name() << ":" << nl;
|
Info<< type() << " " << name() << ":" << nl;
|
||||||
|
|
||||||
dict.lookup("fields") >> fields_;
|
dict.lookup("fields") >> fields_;
|
||||||
dict.lookup("U") >> UName_;
|
UName_ = dict.lookupOrDefault("U", word("U"));
|
||||||
|
|
||||||
if (findIndex(fields_, UName_) == -1)
|
if (findIndex(fields_, UName_) == -1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ Usage
|
||||||
Property | Description | Required | Default value
|
Property | Description | Required | Default value
|
||||||
type | Type name: streamLine | yes |
|
type | Type name: streamLine | yes |
|
||||||
setFormat | Output data type | yes |
|
setFormat | Output data type | yes |
|
||||||
U | Tracking velocity field name | yes |
|
U | Tracking velocity field name | no | U
|
||||||
fields | Fields to sample | yes |
|
fields | Fields to sample | yes |
|
||||||
lifetime | Maximum number of particle tracking steps | yes |
|
lifetime | Maximum number of particle tracking steps | yes |
|
||||||
trackLength | Tracking segment length | no |
|
trackLength | Tracking segment length | no |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue