tomas3svoboda / ChroMo

Chromatography model determination
2 stars 0 forks source link

Lin_Solver.py #13

Closed meloun67 closed 9 months ago

meloun67 commented 2 years ago

Numerical solver of the EDM with Linear Isotherm - linear parabolic PDE

meloun67 commented 2 years ago

@svoboad3 check the mathematical expressions - Linear EDM Solution For the programming u can reuse my script here: https://colab.research.google.com/drive/1zVne1HnJbw1MZlv-4sNCdOfr72W1KC2c?usp=sharing

meloun67 commented 2 years ago

These will be inputs for the function image

meloun67 commented 2 years ago

These needs to be redefined as well as matrixes A and B image

meloun67 commented 2 years ago

do not forget to add cin image image

svoboad3 commented 2 years ago

Mostly done, gonna adjust/remove the report messages once we confirm the output is correct.

meloun67 commented 2 years ago

Amazing! How do I test it?

svoboad3 commented 2 years ago

Just call the function, I kept the outputs of the original script and the default values are same as the original script.

meloun67 commented 2 years ago

I found another mistake in math during testing of the function... there was also error in flowspeed calculation

New version of the math docu

Now it works just fine. Good job

meloun67 commented 1 year ago

I found mistake huge as hell, this is the correct computation of flowspeed: image