ISPHStructPart#

class ansys.dyna.core.pre.dynaisph.ISPHStructPart(pid, couple_partset, space)#

Bases: ansys.dyna.core.pre.dynabase.Part

Generates and places ISPH elements on the surface of triangular shell elements.

Parameters:
pidint

Part ID.

couple_partsetPartSet

Part or part set ID for the region of the mesh to place the ISPH elements on.

spacefloat

Maximum space between ISPH elements.

Overview#

set_smoothing_length

Calculate the smoothing length of the particles.

create_particles

Create ISPH elements on the surface of triangular shell elements.

set_property

Set properties for the ISPH structural part.

Import detail#

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

Attribute detail#

ISPHStructPart.stub#
ISPHStructPart.type = 'ISPHSTRUCT'#
ISPHStructPart.couple_partset#
ISPHStructPart.space#
ISPHStructPart.cslh = 1.2#
ISPHStructPart.hmin = 0.2#
ISPHStructPart.hmax = 2.0#
ISPHStructPart.sphini = 0#

Method detail#

ISPHStructPart.set_smoothing_length(initial, min, max, optional)#

Calculate the smoothing length of the particles.

Parameters:
Parameters
———-
initialfloat

Constant for calculating the initial smoothing length of the particles.

minfloat

Scale factor for the minimum smoothing length.

maxfloat

Scale factor for the maximum smoothing length.

optionalfloat, optional

Initial smoothing length, which overrides the true smoothing length.

ISPHStructPart.create_particles()#

Create ISPH elements on the surface of triangular shell elements.

ISPHStructPart.set_property()#

Set properties for the ISPH structural part.