Skip to content

Commit f9fd8df

Browse files
committed
Add comment to the iisph example file regarding
the viscosity model
1 parent c7c9729 commit f9fd8df

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/fluid/dam_break_2d_iisph.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ smoothing_length = 1.2 * fluid_particle_spacing
1111
smoothing_kernel = SchoenbergCubicSplineKernel{2}()
1212

1313
# Calculate kinematic viscosity for the viscosity model
14+
# Only ViscosityAdami and ViscosityMorris can be used for IISPH simulations since they don't
15+
# need a state equation
1416
nu = 0.02 * smoothing_length * sound_speed / 8
1517
viscosity = ViscosityAdami(; nu)
1618

0 commit comments

Comments
 (0)