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
Ambient pressure acceleration along the inward SPH surface normal, in [0,1000].
在文件 VolumeFluid.h 第 40 行定义.
◆ buoyancy
Gravity multiplier; negative values model rising gas.
在文件 VolumeFluid.h 第 36 行定义.
◆ cohesion
Cohesion acceleration, in [0,10].
在文件 VolumeFluid.h 第 34 行定义.
◆ density
Rest density in kg/m3, in [0.1,100000].
在文件 VolumeFluid.h 第 28 行定义.
◆ diffusion
Color and user-data diffusion per second.
在文件 VolumeFluid.h 第 42 行定义.
◆ drag
Linear air drag per second.
在文件 VolumeFluid.h 第 38 行定义.
◆ dynamicFriction
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 行定义.
◆ rollingContacts
Enables angular contact velocity and rolling response for granular particles.
在文件 VolumeFluid.h 第 54 行定义.
◆ rollingFriction
Rolling-friction coefficient in [0,1].
在文件 VolumeFluid.h 第 52 行定义.
◆ smoothing
SPH support-radius multiplier over solver spacing, in [1,4].
在文件 VolumeFluid.h 第 30 行定义.
◆ staticFriction
Static particle-contact friction coefficient in [0,1].
在文件 VolumeFluid.h 第 50 行定义.
◆ stickDistance
Adhesion reach beyond contact in metres, in [0,10].
在文件 VolumeFluid.h 第 58 行定义.
◆ stickiness
Adhesion strength in [0,1000].
在文件 VolumeFluid.h 第 56 行定义.
◆ stickinessCombine
| VolumeFluidMaterialCombineMode eve::fluids::VolumeFluidMaterial::stickinessCombine = VolumeFluidMaterialCombineMode::Average |
Combination mode for stickiness.
在文件 VolumeFluid.h 第 62 行定义.
◆ viscosity
Viscous relaxation per second, in [0,100].
在文件 VolumeFluid.h 第 32 行定义.
◆ vorticity
Vorticity confinement strength.
在文件 VolumeFluid.h 第 46 行定义.
◆ yield
Bingham yield rate; zero disables yield viscosity.
在文件 VolumeFluid.h 第 44 行定义.
该结构体的文档由以下文件生成:
- src/modules/fluids/VolumeFluid.h