It seems the GenCase source code is not included in the source pacage. I assume this means that the GenCase is not Opensource. Is this understanding correct?
that is not in our plan because: 1) GenCase is a program as big as DSPH.. and documentation and guides will take a lot of time to be produced (and we do not have so much time) 2) even if big code, the functions are very simple and based on only simple ideas to create particles in a 3-D lattice... 3) any user can create the initial condition with their own software and then translate the initial state of the particles to the format of our initial .bi4 file
In order to know the format of BI4 you have TWO options:
1) The code named “ToVtk” is provided to show how to load and interpret particle data, how to read .bi4 files and how to create .vtk or .csv files.
2) However there are several functions in DualSPHysics source files that you can also follow: BI4 format file is implemented by JPartDataBi4.cpp/h. These files use code implemented in other files like JBinaryData (all included in DualSPHysics package).
Comments
thanks Alex
dong
1) GenCase is a program as big as DSPH.. and documentation and guides will take a lot of time to be produced (and we do not have so much time)
2) even if big code, the functions are very simple and based on only simple ideas to create particles in a 3-D lattice...
3) any user can create the initial condition with their own software and then translate the initial state of the particles to the format of our initial .bi4 file
Regards
1) The code named “ToVtk” is provided to show how to load and interpret particle data, how to read .bi4 files and how to create .vtk or .csv files.
2) However there are several functions in DualSPHysics source files that you can also follow: BI4 format file is implemented by JPartDataBi4.cpp/h. These files use code implemented in other files like JBinaryData (all included in DualSPHysics package).