Virtual material approach to self-healing CMCs