Gravity#

class ansys.dyna.core.pre.dynabase.Gravity(dir=GravityOption.DIR_Z, load=Curve(x=[0, 0], y=[0, 0]))#

Bases: BaseObj

Defines body force loads using global axes directions.

Body force loads are due to a prescribed base acceleration or angular velocity.

Overview#

create

Define a body force.

Import detail#

from ansys.dyna.core.pre.dynabase import Gravity

Attribute detail#

Gravity.stub#
Gravity.dir = 'Z'#
Gravity.load#
Gravity.type = 'gravity'#

Method detail#

Gravity.create()#

Define a body force.