LoadingBody.setBody


setBody(accX, accY, [accZ], [angVelX], [angVelY], [angVelZ], [angAccX], [angAccY], [angAccZ], [fluidAccX], [fluidAccY], [fluidAccZ])

Sets up a body force loading attribute.

accXVariationAttr or double linear acceleration in global direction
accYVariationAttr or double linear acceleration in global direction
accZoptional VariationAttr or double linear acceleration in global direction (default = 0.0)
angVelXoptional VariationAttr or double angular velocity about global axis (default = 0.0)
angVelYoptional VariationAttr or double angular velocity about global axis (default = 0.0)
angVelZoptional VariationAttr or double angular velocity about global axis (default = 0.0)
angAccXoptional VariationAttr or double angular acceleration about global axis (default = 0.0)
angAccYoptional VariationAttr or double angular acceleration about global axis (default = 0.0)
angAccZoptional VariationAttr or double angular acceleration about global axis (default = 0.0)
fluidAccXoptional VariationAttr or double linear acceleration in global direction applied to fluid phase (default = 0.0)
fluidAccYoptional VariationAttr or double linear acceleration in global direction applied to fluid phase (default = 0.0)
fluidAccZoptional VariationAttr or double linear acceleration in global direction applied to fluid phase (default = 0.0)
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to LoadingBody

Back to Overview