two layer solar hydrodynamics model for comparison with simulations