A new framework for physically based modeling of solid oxide fuel cells