Internal forces
内力:粘性力、压力
找到解决初始时刻边界压力和排斥力扰动问题
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
procedure(internal_force_fcn), | public, | pointer | :: | internal_force | => | internal_force_with_visc |
Internal force function pointer |
logical, | public | :: | viscosity |
Viscosity on/off |
Internal force function
内力函数
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(particle_type), | intent(inout) | :: | particle |
区域 |
||
type(nnps_pairs_type), | intent(in) | :: | pairs |
粒子对 |
||
real(kind=rk), | intent(inout) | :: | acc(:,:) |
加速度 |
||
integer, | intent(in) | :: | n |
实弹性粒子数, numbers(1) |
Internal force function without viscosity
内力求解
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(particle_type), | intent(inout) | :: | particle |
区域 |
||
type(nnps_pairs_type), | intent(in) | :: | pairs |
粒子对 |
||
real(kind=rk), | intent(inout) | :: | acc(:,:) |
加速度 |
||
integer, | intent(in) | :: | n |
实弹性粒子数, numbers(1) |
Internal force function with viscosity
内力求解(含粘性力)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(particle_type), | intent(inout) | :: | particle |
区域 |
||
type(nnps_pairs_type), | intent(in) | :: | pairs |
粒子对 |
||
real(kind=rk), | intent(inout) | :: | acc(:,:) |
更新加速度 |
||
integer, | intent(in) | :: | n |
实弹性粒子数, numbers(1) |