waterflow through an filled object modelled by DessignSPHysics

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

Post Reply
ozzka
Posts: 4
Joined: Thu Dec 20, 2018 12:22 pm

waterflow through an filled object modelled by DessignSPHysics

Post by ozzka »

I need to work with FreeCAD and in that with the simulation tool "DessignSPHysics". My first task was to create a waterflow through an object filled with some spheres and then see, how many particles have left the system.

The following link contains the whole paper for the Master Thesis that I need to generate: http://www.scacr.eu/download/8th-SCACR- ... r_2017.pdf
versuchsaufbau.PNG
versuchsaufbau.PNG (195.12 KiB) Viewed 2407 times
Ozan
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Flowsimulation in a tube

Post by bernd »

since this is a totally different thing you may make a new topic!?
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Flowsimulation in a tube

Post by thschrader »

ozzka wrote: Thu Jan 03, 2019 1:30 pm I need to work with FreeCAD and in that with the simulation tool "DessignSPHysics". My first task was to create a waterflow through an object filled with some spheres and then see, how many particles have left the system.
The following link contains the whole paper for the Master Thesis that I need to generate: http://www.scacr.eu/download/8th-SCACR- ... r_2017.pdf
Ozan
Hi Ozan,
some hints:
DESIGNsphysics is the GUI for FreeCad to construct the model and generating the
xml-command file for the solvers.
DUALsphysics is the solver.
As Bernd said: lets open a new thread for your calculation (cfd-forum)
Can you upload your DSPH_Case.FCStd file (NOT the construction,
upload the case generated with the Designsphysics-macro)
Dualsphysics runs fast on GPU. You need CUDA and Nvidia graphics, see
http://www.dual.sphysics.org/index.php/gpu/
Your master thesis: your theme is coastel engineering, ok? You need examples?
See this:
https://www.youtube.com/user/DualSPHysics/videos
Your model from above wont work. At the moment, it is not possible to
adress inlet/outlet boundary conditions in duals...(like in cfd-of workbench for openfoam)
This means: the water in the cube does not move...
So far so good...
Thomas
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Flowsimulation in a tube

Post by bernd »

thschrader wrote: Fri Jan 04, 2019 9:39 pm As Bernd said: lets open a new thread for your calculation (cfd-forum)
done
ozzka
Posts: 4
Joined: Thu Dec 20, 2018 12:22 pm

Re: waterflow through an filled object modelled by DessignSPHysics

Post by ozzka »

Hi,

First of all thank you for the detailed explanation of what designSPHysics acutally does, I didn't even know that! I have never before worked with CAD what does not make the job easier for me.

Indeed I am studying environmental engineering and the master thesis is about coastal engineering.

Sorry but I dont't have any case yet. My supervisor told me to first create an open box filled with stones and then let the water flow through it. Moreover he wanted me to use periodic boundaries just to measure the particles that leave/enter the case-limits. That is why I tried to create the model above, but as you said the water does not flow.

After finishing this I will have to fill the box with more stones and than fill the pores with water (in the experiment it is mortar) and finally let the case run to see how porosity affects the flow.

Thank you already
Ozan
Attachments
DSPH_Case.FCStd
(19.8 KiB) Downloaded 85 times
ozzka
Posts: 4
Joined: Thu Dec 20, 2018 12:22 pm

Re: waterflow through an filled object modelled by DessignSPHysics

Post by ozzka »

Furthermore, how can you see from that picture that I have no inlet and outlet boundaries? And how do I set these boundaries?
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: waterflow through an filled object modelled by DessignSPHysics

Post by thschrader »

ozzka wrote: Tue Jan 08, 2019 1:31 pm Furthermore, how can you see from that picture that I have no inlet and outlet boundaries? And how do I set these boundaries?
Sorry for the late reply.
As far as I know implementing inlet/outlet BC is on the todo-list of the developers.
Maybe you should ask the guys directly:
http://dual.sphysics.org/vanilla/discus ... ysics-v4-2
In the designsphysics-GUI there is no option to adress inlet/outlet. You can apply
a float state or a motion to a floating body. dualsphysics is designed for coastel-engineering
(=huge domains). I think it is difficult to simulate porosity-effects (=little scales).
Have a look at the cfdof-wb (openfoam). You can define porosity-zones in the GUI.
I downloaded your case. I will have a look at it at the weekend.
Thomas
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: waterflow through an filled object modelled by DessignSPHysics

Post by thschrader »

@ozzka:
ok, I had a look at your model. The cube is open at top/bottom.
Under gravity all water-particles will leave the computing domain.
(my guess...) Is that what you want?
Your case seems similar to
https://www.youtube.com/watch?v=xZyEG5jLPIg
casedata_dsphdata.txt
(3 KiB) Downloaded 82 times
Rename file to casedata.dsphdata and use „Load Case“ in designsphysics-GUI.
Try to reduce your problem to a 2D-case, this runs much faster than a full 3D simulation.
Post Reply