Skip to content

Extend Hemispherical Particle Shell to Full Shell #1764

Description

@danieljvickers

Problem it solves

The current implementation of the hemispherical particle shell requires specific orientations to be set and it must be placed far enough away from the boundary not to have particles be placed in the wall. This causes significant issues when placing particles because the entire case file must be rotated in order to extend 2D to 3D. It also means that your shell does not exactly lie on the boundary, but rather is elevated slightly off of the boundary.

Proposed solution

The hemispherical shell should be extended into a full shell. There should be bounds checks based on the boundary conditions to understand if particles would be placed in a wall, and then it should be explicitly prohibited. This adds the benefit of letting users not have to rotate their shells to extend cases to higher dimensions. It also means that one can create a spherical cloud of particles in the center of the domain, which currently cannot be achieved.

Alternatives

An orientation could be added, but it does not allow for users to generate particles in a sphere using the same code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions