mpacts.commands.continuum. sph_eos

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

import mpacts.commands.continuum.sph_eos
#or assign it to a shorter name
import mpacts.commands.continuum.sph_eos as sph

EOS_Monaghan

class mpacts.commands.continuum.sph_eos.EOS_Monaghan

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

Equation of state following the monaghan formulation.
Default location: ‘loop_cmds/pre_body_force_cmds’
  • Required keywords:
    • B — B constant in the Monaghan expression (measure of stiffness)
    • pc — Particle container on which the command is applied
    • rho0 — reference density
  • Optional keywords:
    • gamma (default value = 7) — gamma constant in the Monaghan expression (exponent)
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • p_background (default value = 0) — background pressure
    • 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, B, rho0, [gate, predicate, gamma, p_background]
EOS_Monaghan(name, parent, **kwargs)

EOS_Monaghan_Anisotropic

class mpacts.commands.continuum.sph_eos.EOS_Monaghan_Anisotropic

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

Equation of state following the monaghan formulation for anisotropic material.
Default location: ‘loop_cmds/pre_body_force_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
    • rho0 — reference density
  • Optional keywords:
    • gamma (default value = 7) — gamma constant in the Monaghan expression (exponent)
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • p_background (default value = 0) — background pressure
    • 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, rho0, [gate, predicate, gamma, p_background]
EOS_Monaghan_Anisotropic(name, parent, **kwargs)

EOS_Monaghan_Fluid

class mpacts.commands.continuum.sph_eos.EOS_Monaghan_Fluid

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

Equation of state following the monaghan formulation for fluid pressure.
Default location: ‘loop_cmds/pre_body_force_cmds’
  • Required keywords:
    • B — B constant in the Monaghan expression (measure of stiffness)
    • pc — Particle container on which the command is applied
    • rho0 — reference density
  • Optional keywords:
    • gamma (default value = 7) — gamma constant in the Monaghan expression (exponent)
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • p_background (default value = 0) — background pressure
    • 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, B, rho0, [gate, predicate, gamma, p_background]
EOS_Monaghan_Fluid(name, parent, **kwargs)

EOS_Monaghan_Fluid_Anisotropic

class mpacts.commands.continuum.sph_eos.EOS_Monaghan_Fluid_Anisotropic

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

Equation of state following the monaghan formulation for anisotropic fluid pressure.
Default location: ‘loop_cmds/pre_body_force_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
    • rho0 — reference density
  • Optional keywords:
    • gamma (default value = 7) — gamma constant in the Monaghan expression (exponent)
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • p_background (default value = 0) — background pressure
    • 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, rho0, [gate, predicate, gamma, p_background]
EOS_Monaghan_Fluid_Anisotropic(name, parent, **kwargs)

SPH_Boundary_Contact_LineDistance

class mpacts.commands.continuum.sph_eos.SPH_Boundary_Contact_LineDistance

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

Set particles in or out of contact with boundary based on their distance to the boundary
Default location: ‘loop_cmds/contact_cmds’
  • Required keywords:
    • contact_dist — distance to boundary within which SPH particle is considered to be in contact
    • exit_contact_dist — distance to boundary above which a SPH particle in contact will lose contact
    • pc — Particle container on which the command is applied
  • 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, contact_dist, exit_contact_dist, [gate, predicate]
SPH_Boundary_Contact_LineDistance(name, parent, **kwargs)

SPH_Boundary_Contact_LineDistance_Solid

class mpacts.commands.continuum.sph_eos.SPH_Boundary_Contact_LineDistance_Solid

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

Set particles in or out of contact with boundary based on their distance to the boundary
Default location: ‘loop_cmds/contact_cmds’
  • Required keywords:
    • contact_dist — distance to boundary within which SPH particle is considered to be in contact
    • exit_contact_dist — distance to boundary above which a SPH particle in contact will lose contact
    • min_degr_factor — distance to boundary above which a SPH particle in contact will lose contact
    • pc — Particle container on which the command is applied
  • 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, contact_dist, exit_contact_dist, min_degr_factor, [gate, predicate]
SPH_Boundary_Contact_LineDistance_Solid(name, parent, **kwargs)

SPH_Degradation

class mpacts.commands.continuum.sph_eos.SPH_Degradation

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

Degradation of viscoelastic SPH by decreasing the deviatoric stress tensor based on von Mises stress value
Default location: ‘loop_cmds/post_contact_cmds’
  • Required keywords:
    • T — Time scale degradation
    • degr_angle — angle of range within which degradation should take place
    • degr_dir — direction vector for degradation
    • dt — time step simulation
    • pc — Particle container on which the command is applied
    • r — radius cell
  • 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, dt, T, r, degr_dir, degr_angle, [gate, predicate]
SPH_Degradation(name, parent, **kwargs)

SPH_Degradation_Deformable

class mpacts.commands.continuum.sph_eos.SPH_Degradation_Deformable

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

Degradation of viscoelastic SPH by decreasing the deviatoric stress tensor based on von Mises stress value
Default location: ‘loop_cmds/post_contact_cmds’
  • Required keywords:
    • T — Time scale degradation
    • dt — time step simulation
    • pc — Particle container on which the command is applied
    • r — radius cell
  • 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, dt, T, r, [gate, predicate]
SPH_Degradation_Deformable(name, parent, **kwargs)

SPH_Degradation_Deformable_Matrix

class mpacts.commands.continuum.sph_eos.SPH_Degradation_Deformable_Matrix

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

Degradation of viscoelastic SPH by decreasing the deviatoric stress tensor based on von Mises stress value
Default location: ‘loop_cmds/post_contact_cmds’
  • Required keywords:
    • T_degr_cell — Time scale degradation at cell body
    • T_degr_prot — Time scale degradation at protrusion
    • dt — time step simulation
    • min_degr_factor — threshold solid-fluid
    • pc — Particle container on which the command is applied
  • 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, dt, T_degr_prot, T_degr_cell, min_degr_factor, [gate, predicate]
SPH_Degradation_Deformable_Matrix(name, parent, **kwargs)

SPH_Free_Boundary_Correction

class mpacts.commands.continuum.sph_eos.SPH_Free_Boundary_Correction

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

SPH Free Boundary Density Correction
Default location: ‘loop_cmds/post_contact_cmds’
  • Required keywords:
    • K — regulator constant sph free boundary correction
    • pc — Particle container on which the command is applied
  • 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, K, [gate, predicate]
SPH_Free_Boundary_Correction(name, parent, **kwargs)

SPH_SetWallProperties

class mpacts.commands.continuum.sph_eos.SPH_SetWallProperties

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

Set pressure and density for solid wall SPH boundary particles
Default location: ‘loop_cmds/contact_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
  • 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, [gate, predicate]
SPH_SetWallProperties(name, parent, **kwargs)

SPH_Set_Filopodia_Force

class mpacts.commands.continuum.sph_eos.SPH_Set_Filopodia_Force

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

Set Filopodia Force vectors
Default location: ‘loop_cmds/post_contact_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
    • x0 — centre position cell
  • 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, x0, [gate, predicate]
SPH_Set_Filopodia_Force(name, parent, **kwargs)

SPH_Set_Protrusive_Force_Angle

class mpacts.commands.continuum.sph_eos.SPH_Set_Protrusive_Force_Angle

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

Set force for protrusion formation.
Default location: ‘loop_cmds/contact_cmds’
  • Required keywords:
    • F_prot — protrusive force
    • pc — Particle container on which the command is applied
  • 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, F_prot, [gate, predicate]
SPH_Set_Protrusive_Force_Angle(name, parent, **kwargs)

SPH_dBoundNorm_Integration

class mpacts.commands.continuum.sph_eos.SPH_dBoundNorm_Integration

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

Calculate norm from dNorm
Default location: ‘loop_cmds/post_contact_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
  • 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, [gate, predicate]
SPH_dBoundNorm_Integration(name, parent, **kwargs)

SPH_dBoundNorm_Integration_moving_wall

class mpacts.commands.continuum.sph_eos.SPH_dBoundNorm_Integration_moving_wall

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

Calculate norm from dNorm for simulations with moving wall
Default location: ‘loop_cmds/post_contact_cmds’
  • Required keywords:
    • dt — dt of simulation
    • pc — Particle container on which the command is applied
  • 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, dt, [gate, predicate]
SPH_dBoundNorm_Integration_moving_wall(name, parent, **kwargs)

SetBoundarySegmentProperties

class mpacts.commands.continuum.sph_eos.SetBoundarySegmentProperties

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

Set properties for line segments of solid SPH boundary
Default location: ‘loop_cmds/contact_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
  • 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, [gate, predicate]
SetBoundarySegmentProperties(name, parent, **kwargs)

Shepard_Filter

class mpacts.commands.continuum.sph_eos.Shepard_Filter

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

SPH Shepard Filter
Default location: ‘loop_cmds/post_contact_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
  • 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, [gate, predicate]
Shepard_Filter(name, parent, **kwargs)