Open fengbao8 opened 6 months ago
The error is given to you:
primitiveEntry 'tipRootLossCorr' comprises
on line 71 the string "Glauert"
as a sub-dictionary
You have the entry listed as a sub-dictionary, and not a simple string entry. You might have extras curly braces around such entry.
Thank you for your reply! However, I see that the original code defines the tipRootLossCorrType as "Glauert" or "none" instead of tipRootLossCorr, but after submitting the script it gives an error that the tipRootLossCorr is undefined, is this a problem with my SOWFA6 settings? I'm not sure how to go about tweaking it now.
You're mixing up SOWFA 2.4 with SOWFA-6. This is the SOWFA 2.4 repository. I believe you might be mixing up both in several of your issues. For SOWFA-6, see the lines below
Please note that the code does not define any variable, your input files do.
The code above is saying that there is a sub-dictionary called tipRootLossCorr
with entries topRootLossCorrType
and tipRootLossCorrField
. This is what you should have in your input files.
Please open a new issue on the correct repository if you have further questions.
When I run the SOWFA-6 example.ALM, I get the following error in the log file after submitting the runscript.preprocess script
But I defined tipRootLossCorrType instead of tipRootLossCorr in the turbineArrayProperties file, then I changed tipRootLossCorrType to tipRootLossCorr in the file and got a different error as follows:
I haven't encountered this problem in SOWFA-2.4, but now I encountered it in SOWFA-6, now I don't know how to solve it, looking forward to getting help! Thank you!