Store and read data
Hello all,
I want to know if there is a way to store data for a certain period of time, and then directly read that data in the subsequent simulation process . For example, i want to simulate the slide into a stable flow, but the flow is stable for 5 seconds, can i run this model to get the data of the stable flow for 5 seconds, then store it, and directly read this data in the subsequent simulation process?So that i don't have to spend five seconds trying to get a steady flow everytime.
I am really confused. Any help is appreciated.
Thank you!
Comments
@Kyushu_panda Just passing by. I guess you want to implement a so-called hot start. I presume you can restart the simulation from a known state saved in a bi4 file.
I would do it from the command line/script . Take a look at the help file of the DualSPHysics binary: this link points to the `partbegin` option: https://github.com/DualSPHysics/DualSPHysics/blob/43ba1970ad695fae09eb25ee4a69c411fb0eeef9/doc/help/DualSPHysics5.0_Help.out#L92
I haven't thought about whether this is possible from the xml. I glanced at something about it in the FAQ of the main website: https://dual.sphysics.org/index.php/faq/#Q_31 You might want to take a look at that too.
Corrections welcome.