Hi Bernhard, Thanks for the feedback. I updated DataStructures.py with the changes in fixDimensionComparison.patch but now the return of transportProperties = WriteParameterFile('transportProperties') transportProperties.content is {}. When a print, this just show: print(transportProperties) // -- C++ -- // File generated by PyFoam - sorry for the ugliness FoamFile { class dictionary; format ascii; object transportProperties; version 2.0; } I will continue investigating the code. Regards, Em qui,...
ParsedParameterFile Error for Boundary File
Tks!! Em seg, 5 de nov de 2018 às 21:58, Bernhard Gschaider bgschaid@users.sourceforge.net escreveu: This is a bit awkward print(fvsolution) should correctly print the entry and fvsolution["solvers"]["U"] should give the values. The reason why fvsolution.content doesn't show it ... there was a good reason but I must check the sources to find why. I think it was that this was only returning the parts that can be represented by a proper dictionary. The parts with regular expressions are handled by...
ParsedParameterFile for unit definition error: 'str' object has no attribute 'dims'
ParsedParameterFile missing concatenated fields