Strain-dependent active stress model - #245
KatrinKoesler wants to merge 44 commits into
Conversation
…lver into ventricle_gr_144
…ype and CMakeLists File. Removed comments from ChamberSphere_StrainDepActStress files
…based on Caruel 2013
…lver into ventricle_gr_144
…d changed runtime error to warning in case of non-convergence of the non-linear solver.
…tress, changed parameters to Caruel paper parameters in test file for strain dependent active stress
modified: scripts/ChamberSphere_StrainDepActStress.yaml
modified: scripts/jacobian_strainDependence.py
modified: src/model/ChamberSphere_StrainDepActStress.cpp
modified: tests/cases/chamber_sphere_closed_loop_straindep.json
ChamberSphere_StrainDepActStress.cpp: now implemented so strain depenedency works and simulation running
Outputs are pv loop like with decreasing cardiac volume, crashes in 10th cycle
…es for closed loop and Caruel circulations
…ss spherical model (results don't change much but timing wise now corresponds better to Caruel et al. 2013); added test cases with piecewise valves and split vessels to change the order of the resistance and capacitance in the circulation (better end diastolic behavior when compliance before resistance)
…lver into ventricle_gr_144
…unction and not inside ChamberSphere
…active stress models now can be chosen for ChamberSphere via input file
… structure. Added result files for strain-dependent test case
…n case activation_function is missing
| // strain-dependent active-stress model (Caruel 2013) | ||
| // ============================================================ | ||
|
|
||
| double PiecewiseRateActivation::compute(double time) { |
There was a problem hiding this comment.
This differs from other activation functions in that it returns values outside [0,1] and has a physical unit (1/s). Is there a way to consolidate these? Or should the rate activation have its own class?
There was a problem hiding this comment.
The activation function is a function summarizing the chemical activation of the cardiomyocytes and needs to be defined in this way so that the model works. I could make its own class because it doesn't really make sense to use it with the strain-independent active stress models, we currently have implemented
There was a problem hiding this comment.
But if this activation function is parametrized, it could also be used to create activation functions that are piecewise linear and between [0,1]
…rain dependent values via break point vectors in the input file
…ve stress case. Change 6 valve_status values in the results file that now differed from the prior results file by around 1e-6 (these might have be affected due to the numerical instabilities in this test case). all other values remain unchanged to prior test case!
Added strain-dependent active stress model for ChamberSphere
Current situation
Active stress generation in physiology is strain-dependent. There is no strain-dependent active stress model implemented in svZeroDSolver yet. This addresses #244.
Release Notes
Documentation
All additions are documented, documentation check passes in Github.
Testing
All tests pass, including the newly instated strain-dependent active stress test case
Code of Conduct & Contributing Guidelines