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#

set_des

Provide controls related to ISPH.

save_file

Save keyword files.

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_timestepint, optional

Number of time steps between particle sorting. The default is 1.

boxidint, 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_dimensionint, 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

neighborsint, optional

Initial number of neighbors per particle. The default is 150.

approximation_theoryint, optional

Particle approximation theory. The default is 0.

max_veloctyfloat, optional

Maximum value for velocity for the ISPH particles. The default is 1000000000000000.0.

Returns:
bool

True when successful, False when failed.

DynaISPH.save_file()#

Save keyword files.

Returns:
bool

True when successful, False when failed.