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

the empty value for cuds in output_results.txt #1

Open
ebrahimnorouzi opened this issue Jul 28, 2021 · 2 comments
Open

the empty value for cuds in output_results.txt #1

ebrahimnorouzi opened this issue Jul 28, 2021 · 2 comments
Assignees

Comments

@ebrahimnorouzi
Copy link

The values of cuds objects after the simulation are empty in the output_results.txt file.

Here is one example:

- Cuds object:
  uuid: 4c7756a8-5003-496c-b85c-709157e2ab90
  type: cmcl.MEAN_PARTICLE_SIZE
  superclasses: cmcl.MEAN_PARTICLE_SIZE, cmcl.PHYSICAL_QUANTITY, cuba.Class, cuba.Entity
  values: VALUE: 0.0
          UNIT: 
  description: 
    To Be Determined

- Cuds object:
  uuid: ba0bf9e9-5207-4057-a121-19f2e67856dc
  type: cmcl.PARTICLE_NUMBER_DENSITY
  superclasses: cmcl.PARTICLE_NUMBER_DENSITY, cmcl.PHYSICAL_QUANTITY, cuba.Class, cuba.Entity
  values: VALUE: 0.0
          UNIT: 
  description: 
    To Be Determined

- Cuds object:
  uuid: c3f62ba7-373e-4306-836d-d1d57355676d
  type: cmcl.PARTICLE_VOLUME_FRACTION
  superclasses: cmcl.PARTICLE_VOLUME_FRACTION, cmcl.PHYSICAL_QUANTITY, cuba.Class, cuba.Entity
  values: VALUE: 0.0
          UNIT: 
  description: 
    To Be Determined

This output file is generated by running python cb_momic_example.py

Here is the output of that.

New 'CarbonBlackEngine' instantiated!
Model flag changed to #2.

===== Start: KineticsSession =====
CUDS representation of inputs written to: ./input_results.txt
Detected simulation template as CarbonBlack_MoMICSolver
JSON data successfully generated from CUDS objects.
Job submitted successfully, resulting job ID is localhost_2611777339647353
Job still running (attempt 1 of 60)...
Job still running (attempt 2 of 60)...
Job still running (attempt 3 of 60)...
Job still running (attempt 4 of 60)...
Job still running (attempt 5 of 60)...
Job still running (attempt 6 of 60)...
Job finished successfully, output data received.
Job completed, returning JSON representation of output data
CUDS objects have now been populated with simulation results.
CUDS representation of results written to: ./output_results.txt
===== End: KineticsSession =====
@mdhillman
Copy link
Contributor

I've now run each example 3 times (from the head of the 'main' branch), and I cannot reproduce this issue. All output variables are populated with non-zero results.

If @ebrahimnorouzi cannot reproduce the issue on a subsequent try, then I will close it.

@ebrahimnorouzi
Copy link
Author

Thank you @mdhillmancmcl , you can close the issue.
The error was for the version of osp-core. I used v3.4.0-beta version before.
And there isn't any error with the latest version of osp-core.

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

No branches or pull requests

2 participants