ISPHAnalysis#

class ansys.dyna.core.pre.dynaisph.ISPHAnalysis(num_timestep=1)#

Provide controls related to ISPH.

Overview#

set_num_timestep

Set the number of time steps between particle sorting.

set_box

Set the box. ISPH approximations are computed inside a specified box.

set_neighbors

Set the initial number of neighbors per particle.

set_particle_deactivation

Set the type of BEM matrices and the way they are assembled.

set_velocity_scaling

Set the type of BEM matrices and the way they are assembled.

create

Create an ISPH analysis.

Import detail#

from ansys.dyna.core.pre.dynaisph import ISPHAnalysis

Attribute detail#

ISPHAnalysis.stub#
ISPHAnalysis.num_timestep = 1#
ISPHAnalysis.box = None#
ISPHAnalysis.space_dimension = 3#
ISPHAnalysis.neighbors = 150#
ISPHAnalysis.approximation_theory = 13#
ISPHAnalysis.particle_deactivation = 1000000000000000.0#
ISPHAnalysis.velocity_scaling = 0#

Method detail#

ISPHAnalysis.set_num_timestep(num_timestep)#

Set the number of time steps between particle sorting.

Parameters:
num_timestepint, optional

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

ISPHAnalysis.set_box(box)#

Set the box. ISPH approximations are computed inside a specified box.

Parameters:
boxBox

Box for computing ISHPH approximattions. When a particle has gone outside this box, it is deactivated.

ISPHAnalysis.set_neighbors(neighbors)#

Set the initial number of neighbors per particle.

Parameters:
neighborsint, optional

Initial number of neighbors per particle.

ISPHAnalysis.set_particle_deactivation(deactivation)#

Set the type of BEM matrices and the way they are assembled.

Parameters:
deactivation
ISPHAnalysis.set_velocity_scaling(scaling)#

Set the type of BEM matrices and the way they are assembled.

Parameters:
scaling
ISPHAnalysis.create()#

Create an ISPH analysis.