Interesting project: DesignSPHysics fluid simulator

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

thschrader
Posts: 1331
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Interesting project: DesignSPHysics fluid simulator

Postby thschrader » Tue Dec 18, 2018 8:29 pm

The new DesignSPhysics-GUI is awesome !

create the case in 3D
define movement of one or more bodies
define physical and solver parameters (tons of options)
press „Change 3D/2D“ button ==> 2D case is generated, speeds up simulation

postprocessing
export fluid and body motion as vtk-series for paraview
generate csv-files for plotting forces and motion (x,y,z,pitch,roll,yaw) in excel
measure pressure at every point you want
a.s.o...all in one GUI

Thumbs up to the developer, great job!
DSPH_Case.FCStd
(9.83 KiB) Downloaded 9 times
wavetank.gif
wavetank.gif (285.19 KiB) Viewed 288 times
waveTankTutorial.JPG
waveTankTutorial.JPG (167.35 KiB) Viewed 288 times
results.JPG
results.JPG (132.64 KiB) Viewed 288 times
thschrader
Posts: 1331
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Interesting project: DesignSPHysics fluid simulator

Postby thschrader » Wed Dec 19, 2018 10:32 am

and some more info...
Define body-motion + 7 additional wave-generators
Constant and execution settings
Runtime solver log
Define floating state of objects.
pretty complicated stuff...
wave_generators.JPG
wave_generators.JPG (99.45 KiB) Viewed 264 times
solver_log.JPG
solver_log.JPG (227.24 KiB) Viewed 264 times
floating.JPG
floating.JPG (46.47 KiB) Viewed 264 times
execution.JPG
execution.JPG (65.82 KiB) Viewed 264 times
constant.JPG
constant.JPG (42.57 KiB) Viewed 264 times
thschrader
Posts: 1331
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Interesting project: DesignSPHysics fluid simulator

Postby thschrader » Mon Dec 31, 2018 12:53 pm

158x27x16 m „containership“ with engine failure in heavy sea drifting to
the coast. The peak level of the blue force-plot (horizontal force on ship)
is the moment, when the breaker slams at the hull. Peak-level 617 kN
per m hull lenght. After running the simulation, you can generate a csv-file
of the forces/motion. The csv was imported into Smath-studio to do a frequency
analysis with FFT. The red plane in the model is the wave-generator,
the red slice is the 2D computing domain. Complete simulation was 60 sec
with 0,2 sec timestep. Number of points approx 11000 (rough...).
Runtime on quadcore-cpu Intel celeron 2 hours. I need this machine...
https://www.nvidia.com/en-us/data-center/dgx-station/
Have a happy new year!
coastguard_needed.gif
coastguard_needed.gif (792.16 KiB) Viewed 154 times
model.JPG
model.JPG (60.04 KiB) Viewed 154 times
thschrader
Posts: 1331
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Interesting project: DesignSPHysics fluid simulator

Postby thschrader » Thu Jan 24, 2019 8:34 pm

Nice tutorial about sph-method:
https://www.youtube.com/watch?v=tAXHCAEgSuE
https://www.youtube.com/watch?v=OTlygbegQT4
The dualsphysics-manual is for people who are familiar with sph.
Joe Monaghan starts from beginning...