User Activity

  • Posted a comment on discussion Open Discussion on Cantera

    Hi, I'm doing some cerfacs tutorials on Cantera using python interface, I'm trying to plot time vs temperature graph and times vs O2 species fraction graph, but I've no clue how to do it, I've tried using import matplotlib.ply as plt and then used plt.figure()\ plt.plot(sim.time,r.T),\ plt.show().... But this somehow doesn't work at all and am getting a blank graph. Please help me thank you. This is the code: gri3 = ct.Solution('gri30.xml') air = ct.Solution('air.xml') gri3.TPX = 1000.0, ct.one_atm,...

View All

Personal Data

Username:
ardmunna
Joined:
2018-02-27 09:45:05

Projects

  • No projects to display.

Personal Tools