The BodyCharge object stores the data for a body charge.
The BodyCharge object is derived from the Load object.
import load mdb.models[name].loads[name]
This method creates a BodyCharge object.
mdb.models[name].BodyCharge
Required arguments
A String specifying the load repository key.
A String specifying the name of the step in which the load is created. This must be the first analysis step name.
A Region object specifying the region to which the load is applied.
A Float specifying the load magnitude.
Optional arguments
A String or the SymbolicConstant UNSET specifying the name of the amplitude reference. UNSET should be used if the load has no amplitude reference. The default value is UNSET. You should provide the amplitude argument only if it is valid for the specified step.
A SymbolicConstant specifying how the load is distributed spatially. Possible values are UNIFORM and FIELD. The default value is UNIFORM.
A String specifying the name of the AnalyticalField object associated with this load. The field argument applies only when distributionType=FIELD. The default value is an empty string.
Return value
A BodyCharge object.
Exceptions
This method modifies the data for an existing BodyCharge object in the step where it is created.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the BodyCharge method, except for the name and createStepName arguments.
Return value
Exceptions
This method modifies the propagating data for an existing BodyCharge object in the specified step.
Required argument
A String specifying the name of the step in which the load is modified.
Optional arguments
A Float specifying the load magnitude.
A String or a SymbolicConstant specifying the name of the amplitude reference. Possible values for the SymbolicConstant are UNCHANGED and FREED. UNCHANGED should be used if the amplitude is propagated from the previous static analysis step. FREED should be used if the load is changed to have no amplitude reference. You should provide the amplitude argument only if it is valid for the specified step.
Return value
Exceptions
The BodyCharge object can have the following members:
A String specifying the load repository key.
A SymbolicConstant specifying how the load is distributed spatially. Possible values are UNIFORM and FIELD. The default value is UNIFORM.
A String specifying the name of the AnalyticalField object associated with this load. The field argument applies only when distributionType=FIELD. The default value is an empty string.
A Region object specifying the region to which the load is applied.