|
113 | 113 | (; alpha, beta, epsilon) = viscosity |
114 | 114 |
|
115 | 115 | h_a = smoothing_length(particle_system, particle) |
116 | | - h_b = smoothing_length(particle_system, neighbor) |
| 116 | + h_b = smoothing_length(neighbor_system, neighbor) |
117 | 117 | h = (h_a + h_b) / 2 |
118 | 118 |
|
119 | 119 | rho_mean = (rho_a + rho_b) / 2 |
|
168 | 168 | v_diff = v_visc_a - v_visc_b |
169 | 169 |
|
170 | 170 | smoothing_length_particle = smoothing_length(particle_system, particle) |
171 | | - smoothing_length_neighbor = smoothing_length(particle_system, neighbor) |
| 171 | + smoothing_length_neighbor = smoothing_length(neighbor_system, neighbor) |
172 | 172 | h = (smoothing_length_particle + smoothing_length_neighbor) / 2 |
173 | 173 |
|
174 | 174 | nu_a = kinematic_viscosity(particle_system, |
|
250 | 250 | epsilon = viscosity.epsilon |
251 | 251 |
|
252 | 252 | smoothing_length_particle = smoothing_length(particle_system, particle) |
253 | | - smoothing_length_neighbor = smoothing_length(particle_system, neighbor) |
| 253 | + smoothing_length_neighbor = smoothing_length(neighbor_system, neighbor) |
254 | 254 | smoothing_length_average = (smoothing_length_particle + smoothing_length_neighbor) / 2 |
255 | 255 |
|
256 | 256 | nu_a = kinematic_viscosity(particle_system, |
|
341 | 341 | epsilon = viscosity.epsilon |
342 | 342 |
|
343 | 343 | smoothing_length_particle = smoothing_length(particle_system, particle) |
344 | | - smoothing_length_neighbor = smoothing_length(particle_system, neighbor) |
| 344 | + smoothing_length_neighbor = smoothing_length(neighbor_system, neighbor) |
345 | 345 | smoothing_length_average = (smoothing_length_particle + smoothing_length_neighbor) / 2 |
346 | 346 |
|
347 | 347 | nu_a = kinematic_viscosity(particle_system, |
|
459 | 459 | epsilon = viscosity.epsilon |
460 | 460 |
|
461 | 461 | smoothing_length_particle = smoothing_length(particle_system, particle) |
462 | | - smoothing_length_neighbor = smoothing_length(particle_system, neighbor) |
| 462 | + smoothing_length_neighbor = smoothing_length(neighbor_system, neighbor) |
463 | 463 | smoothing_length_average = (smoothing_length_particle + smoothing_length_neighbor) / 2 |
464 | 464 |
|
465 | 465 | nu_a = kinematic_viscosity(particle_system, |
|
540 | 540 | epsilon = viscosity.epsilon |
541 | 541 |
|
542 | 542 | smoothing_length_particle = smoothing_length(particle_system, particle) |
543 | | - smoothing_length_neighbor = smoothing_length(particle_system, neighbor) |
| 543 | + smoothing_length_neighbor = smoothing_length(neighbor_system, neighbor) |
544 | 544 | smoothing_length_average = (smoothing_length_particle + smoothing_length_neighbor) / 2 |
545 | 545 |
|
546 | 546 | v_a = viscous_velocity(v_particle_system, particle_system, particle, v_a) |
|
0 commit comments