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

looking forward to very much #1

Closed
Chenxwi opened this issue Feb 8, 2023 · 1 comment
Closed

looking forward to very much #1

Chenxwi opened this issue Feb 8, 2023 · 1 comment
Labels
question Further information is requested

Comments

@Chenxwi
Copy link

Chenxwi commented Feb 8, 2023

when can it be finished?
I very urgently need the tool to extract MELCOR .GEN files

@manjavacas manjavacas added the question Further information is requested label Feb 8, 2023
@manjavacas
Copy link
Owner

Hi @Chenxwi,

Although the tool is currently under development, there are already functionalities that can be used.

These are:

  • Reading Control Volumes (CVs) and Flow Paths (FLs) and converting them to objects.
  • Writing, deleting and editing CVs and FLs.
  • Plotting files generated by the EDF package.
  • Extraction of final values for variables monitored by EDF.
  • Obtaining the list of available/used IDs for certain objects (CVs, FLs).
  • Remove all comments from an input file.
  • Search for objects by their ID.
  • Search for duplicate objects in a given list.

You simply need to instantiate a Toolkit with the name of the MELGEN file to manipulate and call those functions. For example:

toolkit = Toolkit(filename)
cvs = toolkit.read_cvs()

I recommend writing your code in the run_melkit.py script, but feel free to use the tool as you wish.

Furthermore, if you have any suggestions and you wish to collaborate in the project, please do so through Issues and Pull requests. If it is of interest, I could restructure the project and undertake a more "formal" development.

Any help is welcome! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants