ENH: Add warning/error message when input is incorrect
solver hangs infinitely when input in fvSolution is
(U|k|epsilon|omega|f|v2)
instead of
"(U|k|epsilon|omega|f|v2)"
file to replicate on pitzDaily case fvSolution
Site will likely be offline for maintenance 27/28 March - more details soon
solver hangs infinitely when input in fvSolution is
(U|k|epsilon|omega|f|v2)
instead of
"(U|k|epsilon|omega|f|v2)"
file to replicate on pitzDaily case fvSolution
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
I don't see any easy way to manage this. The tokenizer is used when building the dictionary and there is currently no obvious way to handle this. The initial (
character should cause the dictionary parsing to think that a dictionary list entry is following. The subsequent U|k|epsilon|omega|f|v2
gets seen as word and passed to become a dictionary entry. But that's as far as I can trace it quickly.
It still should exit (dict list reading) when hitting the eof. My guess is it doesn't test for it.
Shouldn't the dictionary also notice that it's a list entry without a preceding keyword, or do dictionaries allow for this?
Might be that this is a side effect of the reading of List of dictionary (e.g. polyMesh/boundary). We synthesise 'entryXXX' keywords so they can be used in foamDictionary.
Yes, we do have dictonaryListEntry as a legitimate entry. The initial (
triggers it and it keeps adding new entries (primitive or dictionaries etc) until it finds the matching )
.
I've fixed and will push very soon.
mentioned in commit ddfbc7ed
Cross Ref: origin EP#439
closed
mentioned in issue #762 (closed)
mentioned in issue #1033 (closed)