Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: CMFD-like spatial discretization #340

Closed
tjlaboss opened this issue May 30, 2018 · 3 comments
Closed

Feature request: CMFD-like spatial discretization #340

tjlaboss opened this issue May 30, 2018 · 3 comments

Comments

@tjlaboss
Copy link
Member

For geometries other than cylinders, you can't use Cell.setNumRings() to refine your spatial discretization. When comparing results across codes, it is also useful to replicate a mesh tally over one's geometry.

Let's say my geometry looks like this:

Figure 1: Unit cell geometry

And that I want to split it up like so:

Figure 2: 2x2 CMFD mesh

This can currently be done with cmfd.setLatticeStructure(nx, ny).

That's great if you want to set your CMFD mesh to exactly the mesh you use for FSR discretization; but for a fine mesh, that is very slow.

Figure 3: 8x8 mesh

A feature that would be very helpful for me would be a function in the spirit of Cell.setNumRings(n), e.g., Cell.setMeshDivision(nx, ny) -- something that produces the FSRs in Fig. 3 while using the mesh in Fig. 2 for CMFD.

I wonder if this could be implemented by passing a second instance of CMFD to Geometry::segmentize().

@tjlaboss
Copy link
Member Author

Looks similar to #106: "Mask" object

@GiudGiud
Copy link
Contributor

GiudGiud commented Jun 5, 2018

I just added this functionality in my branch.
Let me know how it compares to linear sources for your case

@tjlaboss tjlaboss mentioned this issue Feb 13, 2019
@tjlaboss
Copy link
Member Author

Closed with #387.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants