ISPHFluidPart
#
- class ansys.dyna.core.pre.dynaisph.ISPHFluidPart(pid, minpoint, length, numdirx, numdiry, numdirz)#
Bases:
ansys.dyna.core.pre.dynabase.Part
Generates ISPH particles inside a box.
Overview#
Calculate the smoothing length of the particles. |
|
Create ISPH particles inside the box. |
|
Measure ISPH mass flow rate across a defined plane. |
|
Set properties for an ISPH fluid part. |
Import detail#
from ansys.dyna.core.pre.dynaisph import ISPHFluidPart
Attribute detail#
- ISPHFluidPart.stub#
- ISPHFluidPart.type = 'ISPHFLUID'#
- ISPHFluidPart.minpoint#
- ISPHFluidPart.length#
- ISPHFluidPart.numdirx#
- ISPHFluidPart.numdiry#
- ISPHFluidPart.numdirz#
- ISPHFluidPart.cslh = 1.2#
- ISPHFluidPart.hmin = 0.2#
- ISPHFluidPart.hmax = 2.0#
- ISPHFluidPart.sphini = 0#
- ISPHFluidPart.massflowplane = None#
Method detail#
- ISPHFluidPart.set_smoothing_length(initial, min, max, optional)#
Calculate the smoothing length of the particles.
- ISPHFluidPart.create_particles()#
Create ISPH particles inside the box.
- ISPHFluidPart.create_massflow_plane(surfaces)#
Measure ISPH mass flow rate across a defined plane.
- ISPHFluidPart.set_property()#
Set properties for an ISPH fluid part.