Skip to content

Fix examples in samples folder #774

@ischoegl

Description

@ischoegl

Please fill in the following information to report a problem with Cantera.
If you have a question about using Cantera, please post it on our
Google Users' Group.

System information

  • Cantera version: 2.5.0a3 (master branch)
  • OS: Linux
  • Python/MATLAB version: N/A

Expected behavior

All samples work without errors/warnings.

Actual behavior

One sample fails (missing input file)

$ ./LiC6_electrode 

***********************************************************************
CanteraError thrown by Application::findInputFile:

Input file LiC6_electrodebulk.xml not found in directories 
'.', 
'/usr/local/share/cantera/data'

To fix this problem, either:
    a) move the missing files into the local directory;
    b) define environment variable CANTERA_DATA to
         point to the directory containing the file.
***********************************************************************

and another raises a warning (issue caused by PR #632)

$ ./combustor 
DeprecationWarning: FlowDevice::setMassFlowRate(): To be removed after Cantera 2.5. Use device-specific functions (e.g. Valve::setValveCoeff) instead.
DeprecationWarning: Valve::setParameters(): To be removed after Cantera 2.5. Use Valve::setValveCoeff instead.

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Compile cantera from master (e.g. c4c30e3)
  2. Run scons samples
  3. Run examples in build/samples

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions