Skip to content

Commit

Permalink
fix edac tests
Browse files Browse the repository at this point in the history
  • Loading branch information
svchb committed Aug 8, 2024
1 parent b734f29 commit 3d1050d
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions test/examples/examples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
viscosity=viscosity,
density_calculator=ContinuityDensity(),
acceleration=(0.0,
-gravity))),
-gravity)),),
"(EDAC) with SummationDensity" => (fluid_system=EntropicallyDampedSPHSystem(tank.fluid,
smoothing_kernel,
smoothing_length,
Expand All @@ -58,28 +58,22 @@
density_calculator=SummationDensity(),
acceleration=(0.0,
-gravity)),),
"(EDAC) with ViscosityAdami" => (
# from 0.02*10.0*1.2*0.05/8
viscosity=ViscosityAdami(nu=0.0015),
fluid_system=EntropicallyDampedSPHSystem(tank.fluid,
"(EDAC) with ViscosityAdami" => (fluid_system=EntropicallyDampedSPHSystem(tank.fluid,
smoothing_kernel,
smoothing_length,
sound_speed,
viscosity=viscosity,
density_calculator=SummationDensity(),
viscosity=ViscosityAdami(nu=0.0015),
density_calculator=ContinuityDensity(),
acceleration=(0.0,
-gravity))),
"(EDAC) with ViscosityMorris" => (
# from 0.02*10.0*1.2*0.05/8
viscosity=ViscosityMorris(nu=0.0015),
fluid_system=EntropicallyDampedSPHSystem(tank.fluid,
-gravity)),),
"(EDAC) with ViscosityMorris" => (fluid_system=EntropicallyDampedSPHSystem(tank.fluid,
smoothing_kernel,
smoothing_length,
sound_speed,
viscosity=viscosity,
density_calculator=SummationDensity(),
viscosity=ViscosityMorris(nu=0.0015),
density_calculator=ContinuityDensity(),
acceleration=(0.0,
-gravity))),
-gravity)),),
)

for (test_description, kwargs) in hydrostatic_water_column_tests
Expand Down

0 comments on commit 3d1050d

Please sign in to comment.