Material units

Hi

I’m struggling with assigning units to my material:

+prog aqua
del#*
UNIT 6
let#emod 35000[N/mm2]
let#gamma 50[kN/m3]
MAT NO 1 E #emod GAM #gamma
end

If I remove [kN/m3] from the #gamma definition, It runs smoothly, but as I’m running a big model I’d like to use explicit units everywhere.

Why doesn’t gamma work with units?

Hey, try do it like this:
let#gamma 50
MAT NO 1 E #emod GAM #gamma[kN/m3]

Hi, that works as well, but it just seems strange why I can make the variable E #emod with a unit but not for G #gamma ?

surely this must be an error in the software, or am I missing something?