Still juggling simulations between two machines and a prayer? Scale up in minutes with Inductiva.
Running simulations often results in the creation of huge amounts of data. While some of this data is necessary for latter analysis, other data might be temporary or unnecessary, contributing to unnecessary storage and transfer costs.
Below are some steps that can help you reduce the amount of data generated by a simulation and, ultimately, lower your storage and transfer expenses.
Many simulators allow users to configure how much data is generated during a simulation. By adjusting these settings, you can potentially reduce the amount of unnecessary data that is created. Consider the following options:
By configuring your simulator to generate only the data you truly need, you can significantly reduce the overall data footprint of your simulation.
Once your simulation is completed, you might end up with a large number of temporary or intermediate files that are no longer needed. Running a cleanup after the simulation can free up valuable storage space.
All integrated simulators allow you to pass an argument on_finish_cleanup that can be
a shell script or a list of commands that will run once your simulation is finished.
You should use this argument to delete any temporary or unwanted files to save
on storage costs.
OpenFOAM, creates a separate folder for each process running the simulation. Each process generates data specific to that run, but in the end, OpenFOAM combines all of the process data into a single directory. Therefore, the process folders themselves may no longer be needed after the simulation completes.
You can pass, using the on_finish_cleanup argument, a shell script that deletes
all the temporary folders that are not needed once the simulation ends.
Take a look into our recipes to see how this is done here.
Keep this tip in mind when running your next simulation to reduce the amount of data generated, keeping your storage and transfer costs in check.