cb-geo/mpm

Generate Random Particles for Accurate Integration

ezrayst opened this issue · 5 comments

Generate Random Particles and Accurate Integration MPM Scheme

Design Detail

  • Have a new particle generator (currently either from 'fileor atgauss points`)
  • This generates random particles within a cell, on which the weights will be computed separately to ensure accurate integration
  • The weights will ensure accurate integration

Implementation Detail

  • Start with generate random particles first
  • Then once that's done, we will compute the gauss weights

After discussion with @kks32, we will change this from cell (generate points function).

The new input JSON file might look something like this with label random:

  "particles": [
    {
      "generator": {
        "check_duplicates": true,
        "cset_id": -1,
        "particle_type": "P2D",
        "material_id": 2,
        "pset_id": 2,
        "particles_per_cell": 20,
        "type": "random"
      }
  ]
kks32 commented

Could we have separate issues for updating weights and random particle generations?

Understood, will start with random particle generations first

Continued in #615

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.