Text this: Investigation of the imbibition/drainage of two immiscible fluids in capillaries with arbitrary axisymmetric cross-sections