-
Notifications
You must be signed in to change notification settings - Fork 2
Save System
There are two main ways data is saved in the physics simulator. This is set up in two ways: first by setting parameters in the Save System component (found in the Physics tab of the Inspector window. If the user wants to save any mesh data, this is then saved by selecting the "Retain Mesh Data" option in the Inspector window for an individual cell with a Mesh component.
To use the save system, go to the Physics tab in the inspector. Designate a save folder to save your data in. Then determine how often the simulation should save and when the simulation should stop. Be sure to hit "Enter" after each entry to ensure that the value is logged to the system.
Under a cell's name, you can select 'retain mesh data'. This will return information regarding the perimeter and volume of the mesh at each of the save points as determined by the save system. This will save as a .csv file. There are some post-processing scripts available (MATLAB) that show how to read this data.