An approach to integrate numerical simulation within KBE applications