Thank you for the test and for the attached library. I cannot believe that I am not able to solve this problem Adding support for units and then for parameters over that created a really lovely spaghetti mess of the code. But I will try again.
I think the problem is created during the material creation and not when the material is read from the library.
Yes, material creation and all testing were done using 2.0.11.
Thank you for your diligent work on PrePoMax. I suspect not many people use both unit systems, so this may be a low priority. As long as I am aware of the issue, I can quite easily work around it.
I checked your library, and as I suspected, the problem is how the values with units are saved. The values have no units, so they cannot be converted.
I tried reproducing the behavior you got but failed. I tried entering the values manually and then pasting them from Notepad or Excel, and everything worked correctly. Do you remember if you imported this material from an older library or created it from scratch?
Older materials in old libraries are not saved correctly. So, the only thing that will work correctly is to recreate the material in the new PrePoMax version from scratch. Importing them from old libraries/models might import the wrongly written values.
Can you try to create as simple as possible material with only Elasticity defined that fails to convert? And if you succeed please describe how you entered the values into the data fields.
I created new materials in v2.0.11, but saved and recalled them using an existing library that I think was created with v2.0.3. I entered most of the properties by copying and pasting from Excel. A few properties with no temperature dependence were entered manually.
You were right. I was able to reproduce the problem. I added a check to determine if a string contains a unit and it did not work correctly. I fixed it now with a slower method that seems to work. The fix will be in the next developer release today.
Please give it a try to see if now it finally works.
I think using a double precision results in exponents being used only at really large or small numbers. I will check if I can easily apply different (user) formating to all numbers in PrePoMax.