SPHFluidSettings(bpy_struct)¶
base class — bpy_struct
- class bpy.types.SPHFluidSettings(bpy_struct)¶
Settings for particle fluids physics
- buoyancy¶
Artificial buoyancy force in negative gravity direction based on pressure differences inside the fluid (in [0, 10], default 0.0)
- Type:
float
- fluid_radius¶
Fluid interaction radius (in [0, 20], default 0.0)
- Type:
float
- linear_viscosity¶
Linear viscosity (in [0, 100], default 0.0)
- Type:
float
- plasticity¶
How much the spring rest length can change after the elastic limit is crossed (in [0, 100], default 0.0)
- Type:
float
- repulsion¶
How strongly the fluid tries to keep from clustering (factor of stiffness) (in [0, 100], default 0.0)
- Type:
float
- rest_density¶
Fluid rest density (in [0, 10000], default 0.0)
- Type:
float
- rest_length¶
Spring rest length (factor of particle radius) (in [0, 2], default 0.0)
- Type:
float
- solver¶
The code used to calculate internal forces on particles (default
'DDR')DDRDouble-Density – An artistic solver with strong surface tension effects (original).CLASSICALClassical – A more physically-accurate solver.
- Type:
Literal[‘DDR’, ‘CLASSICAL’]
- spring_force¶
Spring force (in [0, 100], default 0.0)
- Type:
float
- spring_frames¶
Create springs for this number of frames since particles birth (0 is always) (in [0, 100], default 0)
- Type:
int
- stiff_viscosity¶
Creates viscosity for expanding fluid (in [0, 100], default 0.0)
- Type:
float
- stiffness¶
How incompressible the fluid is (speed of sound) (in [0, 1000], default 0.0)
- Type:
float
- use_factor_density¶
Density is calculated as a factor of default density (depends on particle size) (default False)
- Type:
bool
- use_factor_radius¶
Interaction radius is a factor of 4 * particle size (default False)
- Type:
bool
- use_factor_repulsion¶
Repulsion is a factor of stiffness (default False)
- Type:
bool
- use_factor_rest_length¶
Spring rest length is a factor of 2 * particle size (default False)
- Type:
bool
- use_factor_stiff_viscosity¶
Stiff viscosity is a factor of normal viscosity (default False)
- Type:
bool
- use_initial_rest_length¶
Use the initial length as spring rest length instead of 2 * particle size (default False)
- Type:
bool
- use_viscoelastic_springs¶
Use viscoelastic springs instead of Hooke’s springs (default False)
- Type:
bool
- yield_ratio¶
How much the spring has to be stretched/compressed in order to change its rest length (in [0, 1], default 0.0)
- Type:
float
- classmethod bl_rna_get_subclass(id, default=None, /)¶
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)¶
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type