-
Notifications
You must be signed in to change notification settings - Fork 37
Added option to specify cardiac period #127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 42 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
1b49978
Added Reg CRL, Vessel, and Chambers
RickyAwesomeMan 52ee76a
added CRL test cases
RickyAwesomeMan b782a5f
added a test case for CRL blood vessel block
rjrios915 65c0c80
Added option to specify cardiac period
rjrios915 7b13f3f
updated code
rjrios915 02bb791
Fixes clang error on cardiac period #126
rjrios915 71b638c
Fixes second clang error #126
rjrios915 77a2d07
Colon switched for semi-colon #126
rjrios915 2098a15
Merge branch 'SimVascular:master' into RegChamber
rjrios915 7b4e2fa
Removed cardiac period
rjrios915 812c01f
Merge branch 'RegChamber' of https://github.com/rjrios915/svZeroDSolv…
rjrios915 f7aabf6
merging RegChamber
rjrios915 8709431
Merge branch 'SimVascular:master' into period
rjrios915 7455579
Merge branch 'SimVascular:master' into master
rjrios915 e2bf417
Merge branch 'SimVascular:master' into period
rjrios915 fe5a83a
(IN PROGRESS) working on code consistency
rjrios915 f1b1691
Updated Cardiac Period Implementation
rjrios915 0e0e831
Clang Update
rjrios915 ad5b74a
Clang Update
rjrios915 6778e7b
Clang Update
rjrios915 8c1fa18
Clang Update
rjrios915 d33854e
Merge branch 'SimVascular:master' into master
rjrios915 9eed24f
Tests added
rjrios915 f2b4e8a
Added test cases and documentation
rjrios915 0467002
Artifact Error
rjrios915 a24fbb5
Artifact Fix?
rjrios915 4a0bdb1
Adds test
rjrios915 4aacac1
fixing test cases
rjrios915 c3a160c
Clang fix
rjrios915 6a8c252
Clang fix
rjrios915 dd1d132
Merge pull request #1 from SimVascular/master
rjrios915 e387654
updated testing
rjrios915 066f777
codechecks
rjrios915 69be278
codechecks
rjrios915 d6a866e
Merge branch 'master' into period
rjrios915 3a8093f
CMake Updates
rjrios915 c4de55b
CodeCheck
rjrios915 cb0e485
Testing Fixes
rjrios915 de92134
Model definition clean up
rjrios915 60a9e75
Merge branch 'master' into period
ncdorn d7eefac
Cleaned up period branch
rjrios915 2b58e1f
More Cleanup
rjrios915 7070a51
clang
rjrios915 7cab59a
Merge branch 'master' into period
ncdorn 225d8ed
Removed .github
rjrios915 404bfcb
Removed .github
rjrios915 e545d85
Update .gitignore
rjrios915 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
tests/cases/closedLoopHeart_singleVessel_mistmatchPeriod.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| { | ||
| "description": { | ||
| "description of test case" : "Closed-loop circulation with one vessel (aorta) connected on either side to the heart model." | ||
| }, | ||
| "simulation_parameters": { | ||
| "number_of_cardiac_cycles": 1, | ||
| "number_of_time_pts_per_cardiac_cycle": 10000, | ||
| "steady_initial": false, | ||
| "cardiac_period": 0.67 | ||
| }, | ||
| "boundary_conditions": [ | ||
| { | ||
| "bc_name": "RCR_aorta", | ||
| "bc_type": "ClosedLoopRCR", | ||
| "bc_values": { | ||
| "_comment_": "R_total = 1.570879*0.948914 = 1.490629075", | ||
| "_comment_": "Rp = 0.09*R_total", | ||
| "_comment_": "Rd = 0.91*R_total", | ||
| "Rp": 0.134156617, | ||
| "Rd": 1.356472458, | ||
| "_comment_": "C = 0.228215*1.044637", | ||
| "C": 0.238401833, | ||
| "closed_loop_outlet": true | ||
| } | ||
| } | ||
| ], | ||
| "vessels": [ | ||
| { | ||
| "_comment_": "aorta", | ||
| "vessel_name": "branch0_seg0", | ||
| "boundary_conditions": { | ||
| "outlet": "RCR_aorta" | ||
| }, | ||
| "vessel_id": 0, | ||
| "vessel_length": 10.0, | ||
| "zero_d_element_type": "BloodVessel", | ||
| "zero_d_element_values": { | ||
| "_comment_": "R = 4.464119/1333.34", | ||
| "R_poiseuille": 0.003348073, | ||
| "_comment_": "L = 5.25/1333.34", | ||
| "L": 0.004 | ||
| } | ||
| } | ||
| ], | ||
| "closed_loop_blocks": [ | ||
| { | ||
| "outlet_blocks": [ | ||
| "branch0_seg0" | ||
| ], | ||
| "closed_loop_type": "ClosedLoopHeartAndPulmonary", | ||
| "cardiac_cycle_period": 1.0169, | ||
| "parameters": { | ||
| "Tsa": 0.407420, | ||
| "tpwave": 8.976868, | ||
| "Erv_s": 2.125279, | ||
| "Elv_s": 3.125202, | ||
| "iml": 0.509365, | ||
| "imr": 0.806369, | ||
| "_comment_": "Lrv_a = 0.249155/pConv", | ||
| "Lrv_a": 0.000186865, | ||
| "_comment_": "Rrv_a = 0.993637 * this->Rrv_base /pConv", | ||
| "Rrv_a": 0.035061704, | ||
| "_comment_": "Lra_v = 0.289378/pConv", | ||
| "Lra_v": 0.000217032, | ||
| "_comment_": "Rra_v = 10.516664/pConv", | ||
| "Rra_v": 0.007887459, | ||
| "_comment_": "Lla_v = 0.469052/pConv", | ||
| "Lla_v": 0.000351787, | ||
| "_comment_": "Rla_v = 7.081136/pConv", | ||
| "Rla_v": 0.005310825, | ||
| "_comment_": "Rlv_ao = 0.972624 * this->Rlv_base /pConv", | ||
| "Rlv_ao": 0.034320234, | ||
| "_comment_": "Llv_a = 0.147702/pConv", | ||
| "Llv_a": 0.000110776, | ||
| "Vrv_u": 9.424629, | ||
| "Vlv_u": 5.606007, | ||
| "_comment_": "Rpd = 1.120725 * this->Rpd_base /pConv", | ||
| "Rpd": 0.098865401, | ||
| "Cp": 1.090989, | ||
| "Cpa": 0.556854, | ||
| "Kxp_ra": 9.222440, | ||
| "Kxv_ra": 0.004837, | ||
| "Emax_ra": 0.208858, | ||
| "Vaso_ra": 4.848742, | ||
| "Kxp_la": 9.194992, | ||
| "Kxv_la": 0.008067, | ||
| "Emax_la": 0.303119, | ||
| "Vaso_la": 9.355754 | ||
| } | ||
| } | ||
| ], | ||
| "initial_condition": { | ||
| "V_RA:CLH": 38.43, | ||
| "V_RV:CLH": 96.07, | ||
| "V_LA:CLH": 38.43, | ||
| "V_LV:CLH": 96.07, | ||
| "P_pul:CLH": 8.0 | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.