robertsj / libdetran

deterministic transport utilities
MIT License
2 stars 2 forks source link

More versatile pin cell #5

Closed robertsj closed 12 years ago

robertsj commented 12 years ago

The first pin cell put in place uses a uniformly-space mesh, needed for responses. Materials are defined at cell center, and hence volume is generally not conserved. In order to better benchmark the methods, a volume-conserving discretization is needed. Another option would be to volume-average cross-sections, but I don't want to do that.

robertsj commented 12 years ago

Done. I used a very simple approach. The cylinder is squared, and a half length flange is attached to each face with a thickness I computed that minimizes shape error.