BAMresearch / FenicsXConcrete

MIT License
0 stars 2 forks source link

fix displacement input (make sure base units are used) #85

Closed eriktamsen closed 1 year ago

eriktamsen commented 1 year ago

for the cylinder experiment, loads are applied as: fem_problem.experiment.apply_displ_load(-0.001 * ureg("m")) if no pint object is used an error is thrown because the .magnitude is used somewhere. however we do not check if the unit has the right dimensionality or if it is converted to base units. A respective pint decorator might solve all this easily or some other smart solution ;)