Trust has been noted as a key component for the success of knowledge management. Recent research on affection in interpersonal trust using empirical research suggests that affection plays a critical role on team effectiveness, knowledge transfer and sharing in team. Yet, the empirical research only obtains a certain period of affection reflecting interpersonal trust; it can not observe the dynamic change of affection. The empirical data lacks universality, which is merely focused on a designated team. In this paper, we give a primitive attempt, by using an agent-based computational model, to explore interpersonal trust, especially to study the quantitative method of emotion and affection generated by knowledge exchange and factors on emotional and affective intensity. We hope that our bold attempt improves the understandings of affection generation and development, and provides agent-based modelling simulations as a supplement of the empirical research to study team effectiveness in future.