spx_contact_control Module

粒子对接触控制


Contents


Functions

public function contact_control(itype, a, b)

每个相态仅支持一种粒子模拟, 边界和刚体是表面光滑的 (目前, 后续可以扩展为: 用户在配置文件中指定粒子类型交互规则)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: itype(:)
integer, intent(inout) :: a

粒子类型 1, 2 (2X: 边界粒子, 3X: 刚体粒子, 5X: 液体粒子, 11X: 空气粒子, 23X: 弹性固体粒子)

integer, intent(inout) :: b

粒子类型 1, 2 (2X: 边界粒子, 3X: 刚体粒子, 5X: 液体粒子, 11X: 空气粒子, 23X: 弹性固体粒子)

Return Value integer