A Second Order Cone Programming Approach for Simulating Biphasic Materials