MatMechLab / AsFem

Advanced Simulation kit based on Finite Element Method (AsFem)
https://matmechlab.github.io/AsFem
GNU General Public License v3.0
180 stars 53 forks source link

Nodal type boundary support #16

Closed yangbai90 closed 3 years ago

yangbai90 commented 4 years ago

It is necessary to add the Node-Set information in the Mesh class. In this scenario, users can apply the nodal type boundary condition, i.e. the nodal force or the nodal flux or the nodal type Dirichlet boundary condition.

Its time to split the boundary conditions into: nodal type (boundary nodes) and elemental type (boundary elements). Therefore, the postprocess class should also depend on both the nodal and elemental information.

So, we should allow the storage of both the Node-set information and Element-set information in our Mesh class.

yangbai90 commented 3 years ago

This function is supported now, please check: fa5d985d482eac3d858b8d8423894bb67aa023ac, e09c52f0027d576f76caa2d9f32adb70b395ee34, c7abd46d0d91a1c59ea76e886e1d7f4a6e2fcb66