Skip to content
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

Randomized Initial-Condition and New IO Function #8

Merged
merged 7 commits into from
Jan 17, 2024

Conversation

smullangi3
Copy link
Contributor

This pull request contains 2 new features:

  1. The randomized_case directory contains code and related input files for randomly generating an initial condition of Red Blood Cells in a tube and then simulating them. In initcond_random.F90, parameters are specified for the tube's dimensions, hematocrit, and number of blood cells. After make, running initcond_random generates restart.LATEST.dat in the D/ directory. From here, we can simulate like usual by running the tube file.

  2. The common/ModIO.F90 library code has been modified to add a new WriteManyRBCsByType subroutine. This subroutine takes in the celltype as the parameter (1 = RBC, 2 = WBC, 3 = Sickle Cell in provided example), in addition to a filename and the blood cells. Then, it will write the data out to a file, but only for the cells of the specified celltype.

Note that since both of these changes are additions, not modifications, they should not impact any previous work or file formats. So, pulling this new change should not interfere with current progress.

@sbryngelson sbryngelson merged commit c882b30 into comp-physics:master Jan 17, 2024
@smullangi3 smullangi3 deleted the SickleMargination branch February 11, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants