Commit Graph

23 Commits

Author SHA1 Message Date
b2d32ba9f2 Enhance makeDoperator to support higher-order central gradient schemes and improve boundary handling 2025-06-30 12:50:02 +02:00
8215c5ed9a Add checks for NaN values in Reactor_PFR calculations and update hydrolysis rate calculation to handle division by zero 2025-06-28 19:19:38 +02:00
bb74fc86c2 Refactor dispersion and boundary condition handling in Reactor_PFR 2025-06-27 16:56:37 +02:00
9f13229785 Fix boundary conditions in gradient and second derivative operators for Reactor_PFR 2025-06-24 16:38:07 +02:00
2e76f733a8 Working on fixing the Derivative operators and BCs 2025-06-24 16:23:33 +02:00
f2d94b26c5 Add dispersion setting in advanced-reactor and initialize axial dispersion to zero in Reactor_PFR 2025-06-24 13:28:45 +02:00
6b57a46aab Add typed input fields for reactor length and resolution in advanced-reactor, fixed NaN bug in reactor length 2025-06-24 12:32:11 +02:00
e5c9010093 Fixed various bugs 2025-06-24 11:20:28 +02:00
e6c1e21c16 Implement Danckwerts boundary condition in tick_fe method for Reactor_PFR 2025-06-23 17:46:55 +02:00
70531a3a59 Add support for multiple reactor types (CSTR and PFR) with corresponding properties (Dichelet BC for now) 2025-06-23 16:58:02 +02:00
62b034fb76 Added speed-up factor 2025-06-19 20:55:42 +02:00
85df04e215 Fix major bug in calculation of dC_out in tick_fe method to account for outflow 2025-06-19 00:16:54 +02:00
5bd094f4a6 Prevent negative values in reactor state 2025-06-18 12:34:19 +02:00
1da7a9f602 Add optional kLa input and calculation to advanced-reactor node 2025-06-17 11:13:38 +02:00
5281696a21 Add recirculation pump node with input handling and flow management 2025-06-16 16:53:07 +02:00
d0f8ada144 Add number of inlets input handling to advanced-reactor node 2025-06-16 14:01:19 +02:00
5b7f7a3cef Add effluent output handling 2025-06-13 15:31:31 +02:00
d71698d94e Refactor advanced-reactor node to improve input handling and initialize reactor properties 2025-06-13 15:10:57 +02:00
05d33b7f39 Add fluid volume and initial component inputs to advanced-reactor node edit dialogue 2025-06-13 12:56:30 +02:00
91482c564d Fixed bugs and hard coded config for now. 2025-06-12 16:56:28 +02:00
b210a71657 Fix structure and improve comments in ASM3 and Reactor_CSTR classes 2025-06-11 17:18:27 +02:00
603a1d2283 Expand reactor class to build a simple CSTR model. Moved some functionality from asm3_class to reactor. 2025-06-11 16:24:27 +02:00
341af6db4d Refactor ASM3 constructor to remove state parameter and update compute_dC method to use state directly; add Reactor_CSTR class for reactor simulation with forward Euler method 2025-06-11 15:17:09 +02:00