-
Notifications
You must be signed in to change notification settings - Fork 46
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
Possible intersection skip #2
Comments
Thank you for your comment, I am looking into it now. Is it possible to get the mesh and DFN run you are referring to? could you archive it and send it through transfer.lanl.gov to nataliia at lanl.gov. thanks |
Hi, What files would you need in particular? The whole folder is 1.5 GB. Note that the bug can be reproduced in the truncated_power_law_dist test that is already included when installing dfnWorks. |
I am not going to regenerate the fracture network, I am not sure in my computer it will give me exact the same DFN and mesh that you have. It will be great if you can send me exactly the same mesh that you used to get to dfnTrans. If sending files is a problem, then, sure, I can look at the test at dfnWorks package. |
I have sent the folder (I was not sure which files were needed). dfnTrans has already been run, but you can run it again when debugging. |
Got it, thank you. I will look at the problem and answer your questions soon. |
Thanks again for your comment, it let me look again at another pathological case. |
Thank you! If it is a rare event, I guess it does not affect much the results. |
The general structure of a dfnTrans timestep is (lots of details omitted!):
CheckDistance()
is called. Inside it, the particle's distance to the intersection is computed. If it is close to the intersection, aPredictorStep()
is performed and we check if it crossed the intersection. In that case,AcrossIntersection()
is called.PredictorStep()
is always done (sometimes followed by aCorrectorStep()
).If I understand it correctly, the following issue might happen:
PredictorStep()
is called and the particle crosses the intersection. However, it is not detected, as the second call toPredictorStep()
does not check for intersection crossings.That means that a particle can cross an intersection without it being detected. If I'm not mistaken, this happens in the truncated_power_law_dist test, for particle
np=7
when it is at fracture 3 and crosses fracture 169 without noticing. This can only be seen by debugging the code, and seeing that the particle crosses fracture 169 without callingAcrossIntersection()
. However, I do not know if it happens often or it is a rare event.Am I missing something or is it a small bug?
The text was updated successfully, but these errors were encountered: