-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implement rigid IBM algorithm #736
Comments
Hi all (in particular @timmkrueger), Apologies for the lengthy comment, but I thought it might be useful to present my notes here. I've been looking through HemeLB, and taking note of parts of the code which I may (or may not) need to modify. Having identified where the steps noted above by Miguel are implemented, I've now begun looking at how Emmanouil's algorithm would be implemented. As you'll see I've not got terribly far, but I think it would be useful to have someone who knows HemeLB well confirm or deny my suspicions about what's already implemented. It would be also useful to discuss with Emmanouil if he thinks existing code correlates to his algorithmic steps. Is he on here? I can send this separately to him if not. All comments and questions welcomed! Cheers, Current Ordering(Assuming
* Does StreamAndCollide, so not sure it makes sense to separate these two steps. Actual StreamAndCollide operation is dependent on location (near a wall, mid-fluid, etc) and provided Special mention: Proposed ordering
|
Following from #569 and #684, the current algorithmic ordering in HemeLB is:
\vec{F}(\vec{x}, t)
)\vec{u}^*(\vec{x}, t-1)
and\vec{F}(\vec{x}, t)
, see Implement changes arising from validation of RBC code against Timm's reference code #684)Note:
\vec{u}^*(\vec{x}, t-1)=1/\rho \Sum_i f_i(\vec{x}, t-1) \vec{c_i}
is the collided, pre-streamed velocity in the previous timestep.The current RBC development branch is
red_blood_cells/develop
. The relevant files areCode/redblood/CellController.h
for the first four steps andCode/lb/lb.hpp
for the last three steps. Both are subclasses of the IteratedAction infrastructure, which will require some study to understand how things are orchestratred together. Documentation is sparse so I'm happy to give more details. No harm in adding some more documentation as we go along.There are some known issues with unit tests not passing in #693.
The text was updated successfully, but these errors were encountered: