Per-particle material, copied at emission; densities enable multiphase buoyancy. 更多...
#include <VolumeFluid.h>
Public 属性 | |
| float | density = 1000.f |
| Rest density in kg/m3, in [0.1,100000]. | |
| float | smoothing = 2.f |
| SPH support-radius multiplier over solver spacing, in [1,4]. | |
| float | viscosity = 2.f |
| Viscous relaxation per second, in [0,100]. | |
| float | cohesion = 0.2f |
| Cohesion acceleration, in [0,10]. | |
| float | buoyancy = 1.f |
| Gravity multiplier; negative values model rising gas. | |
| float | drag = 0.f |
| Linear air drag per second. | |
| float | atmosphericPressure = 0.f |
| Ambient pressure acceleration along the inward SPH surface normal, in [0,1000]. | |
| float | diffusion = 0.f |
| Color and user-data diffusion per second. | |
| float | yield = 0.f |
| Bingham yield rate; zero disables yield viscosity. | |
| float | vorticity = 0.f |
| Vorticity confinement strength. | |
| float | dynamicFriction = 0.2f |
| Dynamic particle-contact friction coefficient in [0,1]. | |
| float | staticFriction = 0.2f |
| Static particle-contact friction coefficient in [0,1]. | |
| float | rollingFriction = 0.f |
| Rolling-friction coefficient in [0,1]. | |
| bool | rollingContacts = false |
| Enables angular contact velocity and rolling response for granular particles. | |
| float | stickiness = 0.f |
| Adhesion strength in [0,1000]. | |
| float | stickDistance = 0.f |
| Adhesion reach beyond contact in metres, in [0,10]. | |
| VolumeFluidMaterialCombineMode | frictionCombine = VolumeFluidMaterialCombineMode::Average |
| Combination mode for static, dynamic and rolling friction. | |
| VolumeFluidMaterialCombineMode | stickinessCombine = VolumeFluidMaterialCombineMode::Average |
| Combination mode for stickiness. | |
| VolumeFluidPhase | phase = VolumeFluidPhase::Liquid |
| Constitutive phase. | |
详细描述
Per-particle material, copied at emission; densities enable multiphase buoyancy.
在文件 VolumeFluid.h 第 26 行定义.
类成员变量说明
◆ atmosphericPressure
| float eve::fluids::VolumeFluidMaterial::atmosphericPressure = 0.f |
Ambient pressure acceleration along the inward SPH surface normal, in [0,1000].
在文件 VolumeFluid.h 第 40 行定义.
◆ buoyancy
| float eve::fluids::VolumeFluidMaterial::buoyancy = 1.f |
Gravity multiplier; negative values model rising gas.
在文件 VolumeFluid.h 第 36 行定义.
◆ cohesion
| float eve::fluids::VolumeFluidMaterial::cohesion = 0.2f |
Cohesion acceleration, in [0,10].
在文件 VolumeFluid.h 第 34 行定义.
◆ density
| float eve::fluids::VolumeFluidMaterial::density = 1000.f |
Rest density in kg/m3, in [0.1,100000].
在文件 VolumeFluid.h 第 28 行定义.
被这些函数引用 eve::fluids::prepareVolumeGranularEmitterBlueprint3D().
◆ diffusion
| float eve::fluids::VolumeFluidMaterial::diffusion = 0.f |
Color and user-data diffusion per second.
在文件 VolumeFluid.h 第 42 行定义.
◆ drag
| float eve::fluids::VolumeFluidMaterial::drag = 0.f |
Linear air drag per second.
在文件 VolumeFluid.h 第 38 行定义.
◆ dynamicFriction
| float eve::fluids::VolumeFluidMaterial::dynamicFriction = 0.2f |
Dynamic particle-contact friction coefficient in [0,1].
在文件 VolumeFluid.h 第 48 行定义.
◆ frictionCombine
| VolumeFluidMaterialCombineMode eve::fluids::VolumeFluidMaterial::frictionCombine = VolumeFluidMaterialCombineMode::Average |
Combination mode for static, dynamic and rolling friction.
在文件 VolumeFluid.h 第 60 行定义.
◆ phase
| VolumeFluidPhase eve::fluids::VolumeFluidMaterial::phase = VolumeFluidPhase::Liquid |
Constitutive phase.
在文件 VolumeFluid.h 第 64 行定义.
被这些函数引用 eve::fluids::prepareVolumeFluidEmitterBlueprint3D() , 以及 eve::fluids::prepareVolumeGranularEmitterBlueprint3D().
◆ rollingContacts
| bool eve::fluids::VolumeFluidMaterial::rollingContacts = false |
Enables angular contact velocity and rolling response for granular particles.
在文件 VolumeFluid.h 第 54 行定义.
◆ rollingFriction
| float eve::fluids::VolumeFluidMaterial::rollingFriction = 0.f |
Rolling-friction coefficient in [0,1].
在文件 VolumeFluid.h 第 52 行定义.
◆ smoothing
| float eve::fluids::VolumeFluidMaterial::smoothing = 2.f |
SPH support-radius multiplier over solver spacing, in [1,4].
在文件 VolumeFluid.h 第 30 行定义.
◆ staticFriction
| float eve::fluids::VolumeFluidMaterial::staticFriction = 0.2f |
Static particle-contact friction coefficient in [0,1].
在文件 VolumeFluid.h 第 50 行定义.
◆ stickDistance
| float eve::fluids::VolumeFluidMaterial::stickDistance = 0.f |
Adhesion reach beyond contact in metres, in [0,10].
在文件 VolumeFluid.h 第 58 行定义.
◆ stickiness
| float eve::fluids::VolumeFluidMaterial::stickiness = 0.f |
Adhesion strength in [0,1000].
在文件 VolumeFluid.h 第 56 行定义.
◆ stickinessCombine
| VolumeFluidMaterialCombineMode eve::fluids::VolumeFluidMaterial::stickinessCombine = VolumeFluidMaterialCombineMode::Average |
Combination mode for stickiness.
在文件 VolumeFluid.h 第 62 行定义.
◆ viscosity
| float eve::fluids::VolumeFluidMaterial::viscosity = 2.f |
Viscous relaxation per second, in [0,100].
在文件 VolumeFluid.h 第 32 行定义.
◆ vorticity
| float eve::fluids::VolumeFluidMaterial::vorticity = 0.f |
Vorticity confinement strength.
在文件 VolumeFluid.h 第 46 行定义.
◆ yield
| float eve::fluids::VolumeFluidMaterial::yield = 0.f |
Bingham yield rate; zero disables yield viscosity.
在文件 VolumeFluid.h 第 44 行定义.
该结构体的文档由以下文件生成:
- src/modules/fluids/VolumeFluid.h