cb-geo / mpm

CB-Geo High-Performance Material Point Method
https://www.cb-geo.com/research/mpm
Other
243 stars 83 forks source link

Initialize particles with HDF5 #604

Closed ezrayst closed 4 years ago

ezrayst commented 4 years ago

Describe the feature Instead of initializing particles with stresses and volumes, can we do initialize particles with HDF5 file? This way we can initialize state variables too (without using resume function).

Describe alternatives Alternative includes just adding input files with state variables. Or pass the necessary variables to materials when stresses are computed.

Additional context For the dam project, the shear modulus is a function of current stress (to get Gmax) and current strain (to get the degradation curve). If we start MPM simulation after the end of the dynamic simulation (done in FLAC / FEM), we need to input the current strain too.

kks32 commented 4 years ago

Could we do resume at step 0 and would this work?

ezrayst commented 4 years ago

It might work!