Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New geometry definition for LIBRA
I noticed that the current geometry is not friendly in several ways:
I want to try a new geometry configuration that treats libra components as objects that the user can instantiate and move around without directly interacting with each surface of the component. It still uses openmc's native csg but does not require the user to interact with it. The user will only interact with
ComponentsandAssemblyobjects that have already been prebuilt and available to be moved and orientated around.What is already available to test
This is still a work in progress but there are already some things available:
ComponentandAssemblyclassesVessel1L,Heater,Table,LeadBrickand many others)Assembly(i.e.BreederVessel1LAssembly)Vessel1Lcomponent has an easy way to be filled with the salt and headspace gas that can be seen in theBreederVessel1LAssemblyexample.pyscript that shows how how to use it with the present capabilities (script that will be removed later)There are many things to implement (add Components and Assemblies, build and an entire experiment to test usability, check for errors, remove examples scripts etc.)
Usage
Every component can be instantiated, filled with a material and has its own reference system. A component should be built with the information on where the center of its reference system is:
Should give
Components can be aggregated in
Assemblyobjects and placed in the assembly by placing theirreference_point:or:
I'm working right now on a clean way to decide and expose the assembly's
reference_pointto be able to position it in the vault. Right now there's only the example of theBreederVessel1LAssemblybeing placed in the vault model and it gets positioned according to theVessel1LComponent'sreference_point.Feedback request
I open the PR as draft since I would like to have some feedback by other contributors before investing more of my time on this.
I want to give a little try to this configuration just to avoid the additional layer of meshing the geometry, and if the usability is still not great we will probably move to a
cadquery+gmshworkflow. But I am open to talk about skipping this attempt and move to CAD directly.