Lewis Frederick Malcolm, 64, an engineering and management consultant in nuclear energy technology, died Tuesday at Holy Cross Hospital in Silver Spring as the result of a stroke.

Mr. Malcolm came to this area in 1942 to work for the War Production Board and became chief of the railroad division of the National Production Authority. He worked for the American Car Foundry Co. before joining Allis-Chalmers Corp. in the 1950s.

He directed several of the firm's nuclear engineering projects for the Department of the Air Force and was project manager of the firm's La Crosse nuclear power reactor project in Wisconsin.

He left Allis-Chalmers about 1975 to work as a private consultant on nuclear power plant engineering.

Mr. Malcolm was born in Indianapolis. He graduated in 1942 from Purdue University with degrees in science and mechanical engineering.

He was a member of the American Nuclear Society, the Institute of Environmental Engineers and the American Association for the Advancement of Science.

Survivors include his wife, Eve Lavelle Malcolm, and a son, Scott A., of the home in Rockville; three other sons, Lewis F. III, of San Diego, Calif., Bruce D., of Laurel, and David L., of Salt Lake City, Utah; a daughter, Robin Heflin, of Olney; a brother, Donald G., of Santa Monica, Calif.; a sister, Rose M. Flowers, of Fort Pierce, Fla., and four granddaughters.

The family sugests that expressions of sympathy be in the form of contributions to the American Diabetes Association of Washington.