A general numerical model for simulating the long-term response of two-layer composite systems in partial interaction