StaticStep.add_gravity_load

StaticStep.add_gravity_load(g=9.81, x=0.0, y=0.0, z=- 1.0)

Add a compas_fea2.problem.GravityLoad load to the Step

Parameters
gfloat, optional

acceleration of gravity, by default 9.81

xfloat, optional

x component of the gravity direction vector (in global coordinates), by default 0.

y[type], optional

y component of the gravity direction vector (in global coordinates), by default 0.

z[type], optional

z component of the gravity direction vector (in global coordinates), by default -1.

distribution[compas_fea2.model.PartsGroup] | [compas_fea2.model.ElementsGroup]

Group of parts or elements affected by gravity.

Warning

Be careful to assign a value of g consistent with the units in your model!

Notes

The gravity field is applied to the whole model. To remove parts of the model from the calculation of the gravity force, you can assign to them a 0 mass material.