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

clib sim1D_save/restore broken #1447

Closed
ischoegl opened this issue Feb 28, 2023 · 0 comments · Fixed by #1448
Closed

clib sim1D_save/restore broken #1447

ischoegl opened this issue Feb 28, 2023 · 0 comments · Fixed by #1448

Comments

@ischoegl
Copy link
Member

Problem description

Recently merged work in #1385 broke clib methods used for saving and restoring of oneD data. The new methods are routed through SolutionArray; as there is no underlying Solution available at the moment (see Cantera/enhancements#158), the methods no longer work.

Steps to reproduce

  1. Open '...' matlab
  2. Run '....' flame1 sample
  3. See error '....' below

Behavior

[...]
..............................................................................
no new points needed in flow
Error using ctmethods

*******************************************************************************
CanteraError thrown by SolutionArray::SolutionArray:
Unable to create SolutionArray from invalid Solution object.
*******************************************************************************


Error in stack_methods (line 15)
    v = ctmethods(90, n, job, a, b, c);

Error in Stack/saveSoln (line 28)
stack_methods(s.stack_id, 107, fname, id, desc);

Error in flame1 (line 95)
saveSoln(fl,'h2flame.yaml','energy',['solution with energy equation']);

System information

  • Cantera version: 3.0.0a4 (main)
  • OS: Windows 10
  • Python/MATLAB/other software versions: Matlab R2022a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant