|
[Sponsors] |
September 6, 2018, 05:00 |
Best open source SPH code to use?
|
#1 |
New Member
anonymous001
Join Date: Sep 2018
Posts: 4
Rep Power: 8 |
I will be modelling tube flow with the use of SPH (smoothed-particle hydrodynamics). My question was, which open source SPH code would be the best to use? Or which ones have clear advantages (some disadvantages as well) over others? I have found a website which lists several of them but I'm not sure if I can post a link here (for now).
|
|
September 10, 2018, 15:20 |
|
#2 |
Member
Join Date: Dec 2012
Posts: 92
Rep Power: 13 |
The most known and used one if probably DualSPHysics from
http://dual.sphysics.org/ I personally think that the best one right one is probably SPHlisHSPlasH https://github.com/InteractiveComput...s/SPlisHSPlasH They implemented almost every model I know for SPH. |
|
September 11, 2018, 04:29 |
|
#3 |
New Member
anonymous001
Join Date: Sep 2018
Posts: 4
Rep Power: 8 |
Thanks for your reply, I will check out SPHlisHSPlasH. After looking into some free codes, I found GPUSPH to be decent. How comparable is it to SPHlisHSPlasH?
|
|
September 11, 2018, 09:12 |
|
#4 |
Member
Join Date: Dec 2012
Posts: 92
Rep Power: 13 |
I think I tried the GPU-Version of GPUSPH at some point. My concern was that it had only constant material properties for water and WCSPH as a solver.
I am not 100% sure though. |
|
September 11, 2018, 09:19 |
|
#5 |
New Member
anonymous001
Join Date: Sep 2018
Posts: 4
Rep Power: 8 |
My end goal is model blood flow in arteries with moving walls. I will be starting out quite simple, normal tube flow with water. So I'm not sure whether having only constant material properties is an issue for me. I think I'm more interested in the ease of use and how easy it is to learn using the code.
|
|
September 22, 2018, 08:22 |
Sph
|
#6 | |
New Member
Dr. sadra
Join Date: Sep 2018
Posts: 4
Rep Power: 8 |
Quote:
1. Incompressible SPH simulation of landslide impulse-generated water waves. Natural Hazards, 82(3), 1779-1802. 2. Modified variable mass incompressible SPH method for simulating internal fluid flows. Journal of the Brazilian Society of Mechanical Sciences and Engineering, 38(7), 2009-2027. 3. Eulerian ISPH Method for Simulating Internal Flows. Journal of Applied Fluid Mechanics, 9(3). 4. On the numerical simulation of the nonbreaking solitary waves run up on sloping beaches. Computers & Mathematics with Applications, 70(9), 2270-2281. 5. Comparative study on the accuracy of solitary wave generations in an ISPH-based numerical wave flume. Applied Ocean Research, 54, 115-136. 6. Simulating Solitary Wave Generation Using Incompressible SPH. Ann Limnol Oceanogr 1(1): 013-021. 7. On the Generation, Propagation and Runup of Solitary Water Waves on Steep Beaches, in 6th International Offshore Industries Conference (Tehran, Sharif University of Technology: 2015). 8. ISPH Numerical Simulation of Tsunami Generation by Submarine Landslides, Arabian Journal of Geosciences |
||
September 23, 2018, 08:48 |
|
#7 |
New Member
anonymous001
Join Date: Sep 2018
Posts: 4
Rep Power: 8 |
I would love to have a look at your code. I'm currently busy learning C++ and several different programs for compiling codes. Soon I will have a good look at the codes and compare them.
|
|
September 23, 2018, 10:31 |
|
#8 | |
New Member
Dr. sadra
Join Date: Sep 2018
Posts: 4
Rep Power: 8 |
Quote:
|
||
September 23, 2018, 19:48 |
Multiple Kernels and Flexible EOS
|
#9 | |
Member
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 12 |
Quote:
Hi @beer, From my recollection you were right from a while ago. I use GPUSPH now and am getting good results. There are different kernels now and flexible equations of state. I'm focussed on free surface problems and have not tried enclosed flows with moving walls as the OP has later added. Would be worth a look. Cheers, -pete |
||
June 24, 2019, 16:10 |
|
#10 | |
New Member
Join Date: Jun 2018
Posts: 21
Rep Power: 8 |
This is not free code. specializedSPH is selling it. His/her comment via email when asked about it being free: "And you figured it would be free of charge? Extraordinary Impression!!!!!!!!!!"
Quote:
|
||
June 26, 2019, 08:55 |
|
#11 | |
Member
Join Date: Dec 2012
Posts: 92
Rep Power: 13 |
Quote:
Hi Pete So they added a few features, nice. Especiall the moving and floating objects seem to perform well. However they still only have WCSPH implemented. You should have a look at PCISPH and IISPH. Those are iterative methods for incompressible SPH but do not need the solution of a PPE. The possible speed up is crazy and the incompressbility is acutally enforced. Those are implemented in SPHlisHSPlasH. I haven't had a look into these codes lately because I decided to write my own OpenCL code (don't do that...) and now Cuda code (much better). Regards |
||
June 26, 2019, 10:44 |
|
#12 |
New Member
Join Date: Jun 2018
Posts: 21
Rep Power: 8 |
If the problem is dealing with incompressible then look at MPS (moving particle semi-implicit) which has been around for years and addresses incompressible.
|
|
June 26, 2019, 20:00 |
Thanks for the Tip
|
#13 | |
Member
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 12 |
Quote:
Hey @beer, Thanks for the clarification and update. I should have a look at your code. Its that the following link on github? https://github.com/InteractiveComput...s/SPlisHSPlasH GPUSPH released an updated solver yesterday but still WCSPH. Cheers, -pete |
||
June 27, 2019, 04:39 |
|
#14 |
Member
Join Date: Dec 2012
Posts: 92
Rep Power: 13 |
Oh, it is not my code. I have a differnt one with different features. I just think it is really cool.
|
|
August 18, 2019, 03:39 |
|
#15 | |
New Member
Join Date: Jun 2013
Posts: 3
Rep Power: 13 |
Quote:
https://github.com/pypr/pysph |
||
September 7, 2021, 07:02 |
|
#16 |
New Member
Alexander Kazantcev
Join Date: Sep 2019
Posts: 24
Rep Power: 7 |
Free DualSPHysics, I think. It works on cuda cards and CPUs. In my tests Ryzen 1800x (~160-180 GFlops in double) was about 3 times slower than NVIDIA Tesla C2050 (~500 GFlops in double).
https://dual.sphysics.org/downloads/ |
|
Tags |
sph method |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
[swak4Foam] difficulties installing swak4foam | newbie29 | OpenFOAM Community Contributions | 120 | October 21, 2022 05:01 |
[waves2Foam] Tripping over several build issues with OpenFOAM 2.1.1 | Yage | OpenFOAM Community Contributions | 18 | February 15, 2016 03:02 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |