Conversation
|
Results are qualitatively looking good. I will do comparison runs to the analytic solutions. |
|
Great. I just pushed another commit to allow for the generation of an elliptical inkbottle addressing the second part of #74 . This is based of your previous example where |
|
I also went through the correct paper and all seems good. Their modifications are only to include the contact angle when determining the probe radius. They also state they use a distance transform instead of morphological operators but those yield identical results and the |
d202d0a to
d2fc7b3
Compare
… in Schulz method and breaks into the two approaches
|
@kbruning okay. So there was a bug in the "contact_angle" method. In the 2015 paper, Schulz uses a different radius for the erosion and dilation step of the algorithm. This is not part of the 2007 paper and I have removed it from the "contact_angle" method. They have some fine print about the 2015 algorithm ("extended_contact_angle") that I would need to read more into if you would also like this approach implemented correctly. All methods are identical if the contact angle is set to 0. Happy to chat tomorrow. |
As to #74, the drainage algorithm has been modified so the Schulz algorithm operates on the fully saturated system for each given capillary pressure.
@kbruning also mentioned we were using a different reference. I am going to go through that and make sure this all makes sense as it doesnt currently.