You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be very helpful if there is way to differentiate between different dimensionless fractions; e.g. resulting a mass fraction (dimensionality: [mass]/[mass]) and volume fraction (dimensionality: [vol]/[vol], with vol =[m] **3).
so far, I have tried different approaches using pint, but these all lead to a total loss of dimensionality; e.g. by defining a new unit with null/trivial dimensionality:
[massFraction] = [mass] ** 0
[volFraction] = [vol] ** 0
kindly help me find the best approach to this problem using pint, as it will help avoid error resulting of comparing vol and mass fractions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
it would be very helpful if there is way to differentiate between different dimensionless fractions; e.g. resulting a mass fraction (dimensionality: [mass]/[mass]) and volume fraction (dimensionality: [vol]/[vol], with vol =[m] **3).
so far, I have tried different approaches using pint, but these all lead to a total loss of dimensionality; e.g. by defining a new unit with null/trivial dimensionality:
[massFraction] = [mass] ** 0
[volFraction] = [vol] ** 0
kindly help me find the best approach to this problem using pint, as it will help avoid error resulting of comparing vol and mass fractions.
Beta Was this translation helpful? Give feedback.
All reactions