User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
initials-example [2016/12/20 09:16]
ndrs created
initials-example [2016/12/20 09:34] (current)
ndrs [Step 3 - Adjusting the case limits and importing the boundaries]
Line 1: Line 1:
-====== ​Float example ======+====== ​Initials ​example ======
  
 In this tutorial we will create a body of water colliding with a wall. It uses the initial velocity properties to apply a force at simulation start. Additionally,​ it uses STL imported and exported meshes. The result should be something like this: In this tutorial we will create a body of water colliding with a wall. It uses the initial velocity properties to apply a force at simulation start. Additionally,​ it uses STL imported and exported meshes. The result should be something like this:
Line 42: Line 42:
 {{ ::​ini4.png?​300 |}} {{ ::​ini4.png?​300 |}}
  
-Once done that, we will import the boundary object. To import the object, just click in FreeCAD'​s File menu -> Import. In the file selector, open casing.stl (downloadable from ------------------>​here).+Once done that, we will import the boundary object. To import the object, just click in FreeCAD'​s File menu -> Import. In the file selector, open casing.stl (downloadable from [[http://​design.sphysics.org/​resources/​casing.stl|Here]]).
  
 You should see how it fits into the Case Limits. Now, add it to the simulation pressing the __Add to DSPH Simulation__ button, and **ensure its MKBound is 1** You should see how it fits into the Case Limits. Now, add it to the simulation pressing the __Add to DSPH Simulation__ button, and **ensure its MKBound is 1**
Line 78: Line 78:
 Your case should be something like this: Your case should be something like this:
  
-{{ ::ini6.png?500 |}}+{{ ::ini5.png?500 |}}
  
 From there you can just select your preferred processor in the simulation group (CPU or GPU[Nvidia only]) and press "​Simulate Case". Once finished you can export the data to VTK with the button "​Export data to VTK". From there you can just select your preferred processor in the simulation group (CPU or GPU[Nvidia only]) and press "​Simulate Case". Once finished you can export the data to VTK with the button "​Export data to VTK".