DynaISPH
#
- class ansys.dyna.core.pre.dynaisph.DynaISPH#
Bases:
ansys.dyna.core.pre.dynabase.DynaBase
Contains methods for creating a keyword related to ISPH.
Overview#
Import detail#
from ansys.dyna.core.pre.dynaisph import DynaISPH
Attribute detail#
- DynaISPH.isphanalysis#
Method detail#
- DynaISPH.set_des(num_timestep=1, boxid=0, space_dimension=3, neighbors=150, approximation_theory=0, max_velocty=1000000000000000.0)#
Provide controls related to ISPH.
- Parameters:
- num_timestep
int
,optional
Number of time steps between particle sorting. The default is
1
.- boxid
int
,optional
Box ID. The default is
0
. ISPH approximations are computed inside the specified box. When a particle has gone outside this box, it is deactivated.- space_dimension
int
,optional
Space dimension for ISPH particles. The default is
3
. Options are:EQ.3: 3D problems
EQ.2: 2D plane strain problems
EQ.-2: 2D axisymmetric problems
- neighbors
int
,optional
Initial number of neighbors per particle. The default is
150
.- approximation_theory
int
,optional
Particle approximation theory. The default is
0
.- max_velocty
float
,optional
Maximum value for velocity for the ISPH particles. The default is
1000000000000000.0
.
- num_timestep
- Returns:
- bool
True
when successful,False
when failed.