Commit Graph
3014 Commits
Author SHA1 Message Date
Ingmar Schoegl ca88f08c3e [Python] Use unicode superscripts in docstrings 2025-09-10 10:04:30 -04:00
Ingmar Schoegl 0259280dfd [Python] Check infile when creating Solution 2025-09-10 10:04:30 -04:00
Ingmar Schoegl 28ed297399 [Python] Address reviewer comments from #1964 2025-09-10 10:04:30 -04:00
Ray Speth d09da9689d [SCons] Indicate compatibility with Python 3.14 2025-09-09 09:01:16 -05:00
Ray Speth 0c561b64ea Fix miscellaneous documentation typos 2025-09-08 07:38:44 -05:00
Ray Speth 72d21e1c7f Bump version to 3.2.0a3 2025-09-08 07:38:44 -05:00
Martijn Ruijzendaal ba8d45c14b Correct heat transfer coefficient unit in docstring
The [C++ documentation](https://cantera.org/dev/cxx/db/d1e/classCantera_1_1Wall.html) specifies that param U is actually of unit [W/m^2/K].

The [current Python documentation](https://cantera.org/dev/python/zerodim.html#walls) of the calculation of the heat transfer q [W/m^2] involves U * deltaT, with deltaT of unit [K], also implying U is of unit [W/m^2/K].

From some practical experience, it seems that the current Python documentation is inaccurate with respect to U. I could not find any other references to U in the `cantera` or `cantera-website` repositories, so I'm assuming the documentation is generated from the python docstrings. If that's the case, this edit should fix the issues.
2025-09-08 07:13:09 -05:00
Ray Speth 57b15843a3 [Python/1D] Fix auto-solve after restoring from Pandas
Fixes #1889
2025-09-07 20:55:14 -04:00
ssun30 04ac6fba75 [MATLAB] Renamed Sim1D.display to Sim1D.show 2025-09-07 19:26:29 -04:00
ssun30 26c34ce995 [MATLAB] Removed savepath behavior from ctPaths 2025-09-07 19:26:29 -04:00
ssun30 a66e2f8373 [MATLAB] Changed installation guide and docs
for installing the MATLAB toolbox
2025-09-07 19:26:29 -04:00
ssun30 44b491108c [MATLAB] Changed how ctPaths work
Now it only uses relative paths to the environment
where cantera is installed.
2025-09-07 19:26:29 -04:00
ssun30 028b457e67 [MATLAB] Changed installation instructions 2025-09-07 19:26:29 -04:00
ssun30 8394b16eb2 [MATLAB] Added checks for Func1 class destructor
Currently Func1 may have a partially constructed
object that gets destructed when checks for the
types of input arguments fail, a warning will pop
up when the destructor is called.
2025-09-07 19:26:29 -04:00
ssun30 96351731d3 [MATLAB] Removed ctRoot 2025-09-07 19:26:29 -04:00
ssun30 eda1ba4f2f [MATLAB] Changed how search paths are set
Replaced ctRoot with ctPaths, this will allow the
user to set paths to the shared libraries, header
files, and toolboxes more freely, instead of
relying on relative paths to a fixed path for
a certain conda environment.
2025-09-07 19:26:29 -04:00
ssun30 ed52e8050a [MATLAB] Added massDensity property to ThermoPhase
Modified several samples to include this change
2025-09-07 19:26:29 -04:00
ssun30 bdcf4f8043 [MATLAB] Fixed Sim1D.display
Changed refine criteria for Diff_flame
2025-09-07 19:26:29 -04:00
Ingmar Schoegl aa8a385766 [Python] Some edits on SolutionArray pickling 2025-09-07 18:52:55 -04:00
Martijn Ruijzendaal 7b7a5380f6 style: implement feedback on pickling SolutionArrays (#1964) 2025-09-07 18:52:55 -04:00
Martijn Ruijzendaal 7fcd38e8e2 style: fix whitespace linter errors (2/2) 2025-09-07 18:52:55 -04:00
Martijn Ruijzendaal ffb134dd75 style: fix whitespace linter errors 2025-09-07 18:52:55 -04:00
Martijn Ruijzendaal 54285bd3f5 feat: pickling of SolutionArray objects (fixes #543) 2025-09-07 18:52:55 -04:00
Ray Speth 593f6ec6f7 Use new location for HighFive 2025-09-03 19:48:02 -04:00
Ray Speth 4fbbb1611e [1D] Fix and simplify options for solving electric field/ion diffusion
Fix "electric_field_enabled" property to have it actually control
whether the electric field is solved for.

Deprecated the "stage" option to the "solve" method which previously
was the only way to control this.

Fixes #1957
2025-09-02 14:44:29 -04:00
Ray Speth a0ee011540 [Doc] Fix description of binary diffusion coefficient fits
Fixes #1488
2025-08-31 06:19:16 -05:00
Ray Speth a0f9205a78 [Python] Fix SolutionArray.from_csv for Pandas 3.0
Fixes #1935
2025-08-26 15:32:30 -05:00
Martijn Ruijzendaal 2c5b843cf4 Fix flowcontroller visualisation (#1938) 2025-08-23 07:38:42 -05:00
unknown 708fa79066 addressed comments on PR 2025-08-23 07:15:07 -05:00
Ray Speth 58856eb67e [Plasma] Cleanup of EEDF solver and PlasmaPhase classes 2025-08-23 07:15:07 -05:00
Matthew Quiram f549ac6653 fixed docstringstring in plasmatest and removed whitespace 2025-08-23 07:15:07 -05:00
Matthew Quiram 377609887b Removed redundant normalized elastic electron energy loss rate calcs 2025-08-23 07:15:07 -05:00
Bang-Shiuh Chen 46966524f1 Restore elastic power loss after adding EEDF solver 2025-08-23 07:15:07 -05:00
Quentin MaleandNicolas Barleon fd31fd500e Initial implementation of two-term approximation EEDF solver
Co-authored-by: Nicolas Barleon <barleon@cerfacs.fr>
2025-08-23 07:15:07 -05:00
Ray SpethandIngmar Schoegl 376bf742c3 [Python] Eliminate star imports in pure-Python files
(with the exception of __init__.py)

Co-authored-by: Ingmar Schoegl <ischoegl@lsu.edu>
2025-08-22 10:13:08 -04:00
Ray Speth 1fe9fa0d2d [Python] Make imports of external modules private 2025-08-22 10:13:08 -04:00
Ray Speth c7c3d393a8 [Python] Remove obsolete setting of PYTHON_CMD 2025-08-22 10:13:08 -04:00
Ray Speth 018c9c9f46 Fix link to compilation instructions 2025-08-15 20:22:39 -05:00
ThorstenZirwes 0a794e20ac Add Soret model for mixture-averaged diffusion
Model based on the formulation by Chapman and Cowling (1970). For more
information about this implementation and its validation, see T. Zirwes,
A. Kronenburg (2025) (https://doi.org/10.1007/s10494-025-00680-5)
2025-07-30 07:05:43 -05:00
Ingmar Schoegl 44225f3290 [sourcegen] Enforce utf8 encoding 2025-07-23 09:45:26 -04:00
ssun30 94b457dc6a [MATLAB] Separated normalized and unnormalized coverage setter 2025-07-07 15:43:31 -06:00
ssun30 5631e20049 [MATLAB] Removed dt property from ReactorNet 2025-07-07 15:43:31 -06:00
ssun30 0bac329185 [MATLAB] Fixed some docstrings and typos 2025-07-07 15:43:31 -06:00
ssun30 8087648070 [MATLAB] Removed unncessary object ID checks 2025-07-07 15:43:31 -06:00
ssun30 61df74e5ce [MATLAB] Changed error handling for Water 2025-07-07 15:43:31 -06:00
ssun30 f28f442209 [MATLAB] Interface class now call its superclass
destructor to prevent double deleting
2025-07-07 15:43:31 -06:00
ssun30 16f76dd8d6 [MATLAB] Removed add reactor from ReactorNet 2025-07-07 15:43:31 -06:00
ssun30 3d6629b8a3 [MATLAB] No longer move test data files 2025-07-07 15:43:31 -06:00
ssun30 fe4b2a443e [MATLAB] Changed description of Interface Constructor 2025-07-07 15:43:31 -06:00
ssun30 510889fe89 [MATLAB] Fixed Connector Class Issues 2025-07-07 15:43:31 -06:00