# Plasticity yield stress - converting bug to other unit systems

**URL:** <https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652>\
**Category:** Bug Reports\
**Created:** [April 1, 2024, 10:32am UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652 "2024-04-01T10:32:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunnar](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gunnar](https://prepomax.discourse.group/u/Gunnar)\
**Post date:** [April 1, 2024, 10:32am UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/1 "2024-04-01T10:32:36Z")

</div>

For new created materials in v2.0.8, entered yield stress values will not be converted correct to other unit systems, when the created material will be loaded from the material library.

As shown, only the first line will be converted correctly:

 ![m](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/5/54f894ebd97b3446c7895abeac9c547ddd371615.png)

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [April 5, 2024, 2:45pm UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/2 "2024-04-05T14:45:19Z")

</div>

I will look into it 🙂

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [May 7, 2024, 5:55pm UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/3 "2024-05-07T17:55:25Z")

</div>

I can confirm the bug.

Edit: I think (hope, pray) that I finally solved this problem. The fix will be available in the next release.

---

<div class="post-metadata">

**Author:** ![Gunnar](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gunnar](https://prepomax.discourse.group/u/Gunnar)\
**Post date:** [May 7, 2024, 7:08pm UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/4 "2024-05-07T19:08:06Z")

</div>

Thanks. Maybe it is (was) the same cause for the bug described here

[When I opened each one in the editor in the other unit system, the first temperature data point for each property was converted, but the properties at additional temperatures were not converted. In other words, for each property, only the first point on the temperature curve was converted.](https://prepomax.discourse.group/t/thermal-expansion-coefficient-conversion-error/1421/12)

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [May 8, 2024, 6:05am UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/5 "2024-05-08T06:05:49Z")

</div>

It was the same problem.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [May 12, 2024, 6:10pm UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/6 "2024-05-12T18:10:19Z")

</div>

Version 2.0.10 contains the fix. Did it help?

---

<div class="post-metadata">

**Author:** ![Gunnar](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gunnar](https://prepomax.discourse.group/u/Gunnar)\
**Post date:** [May 13, 2024, 5:30am UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/7 "2024-05-13T05:30:38Z")

</div>

Yes, the values seem to be converted correctly for newly defined materials and for old ones i added long before v2.0.8. So it doesn’t work for materials created with v2.0.8 - they must be deleted and re-entered (and maybe versions shortly before that, I can no longer test that).

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [May 13, 2024, 6:29am UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/8 "2024-05-13T06:29:05Z")

</div>

Ok, thank you. I will close this topic since it works for materials created in the newest developer version.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [May 13, 2024, 6:29am UTC](https://prepomax.discourse.group/t/plasticity-yield-stress-converting-bug-to-other-unit-systems/1652/9 "2024-05-13T06:29:08Z")

</div>


