A framework for multi-physics simulations using four-chamber cardiac models