mpacts.commands.continuum. stress

In order to be able to use this module import it like this:

import mpacts.commands.continuum.stress
#or assign it to a shorter name
import mpacts.commands.continuum.stress as str

StressInPlaneCommand

class mpacts.commands.continuum.stress.StressInPlaneCommand

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

Determines the stress in plane from a strain under the assumption of a linear model.
Default location: ‘loop_cmds/pre_integration_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
    • tension (kg . s^-2) — Tension
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, tension, [gate, predicate]
StressInPlaneCommand(name, parent, **kwargs)