This paper shows that control logic may be separated from analysis software and that a knowledge-based expert system can use this logic to perform interactive computation. Heuristics that control a simple interactive finite element analysis program are represented using a rule-based format and are used by a goal-driven logic processor to invoke analysis activity.Traditional algorithm-oriented control and the proposed knowledge-based control are compared in a simple displacement computation scenario to identify the advantages/disadvantages of the two approaches. General activities and constraints, practical methods of reasoning and representation, and knowledge-based expert systems are discussed with emphasis on applications to interactive finite element analysis.An analysis control expert system has been developed for use in the numerical analysis of two-dimensional linear problems in solid and structural mechanics. An example problem is used to clarify the methods used to direct activity and to identify the problems associated with conditional task processing for interactive analysis.The main difference between the analysis program described in this paper and conventional analysis programs is related to the control architecture. The general conclusion of this paper is that knowledge-based control is more effective and flexible than algorithm-oriented control.