Lyman E. Krekel, a retired Navy captain who commanded a destroyer and a minesweeper at sea and served on the advisory staffs of two chiefs of naval operations in shore assignments, died Feb. 8 at a hospital in Miami. He was 79

The cause was congestive heart failure, said his wife, Kathleen M. Monahan.

Capt. Krekel served 24 years in the Navy, retiring in 1979. His service included duty in Vietnam during the Southeast Asian war. In his final Navy assignment, he delivered advice to top Navy brass on optimizing Navy force structure. His decorations included the Legion of Merit, Bronze Star and Joint Service Commendation Medal.

Lyman Edward Krekel was born in Burlington, Iowa, and graduated in 1956 from the University of Iowa. He received a master’s degree in operations research at the Naval Postgraduate School at Monterey, Calif., in 1969.

In retirement, Capt. Krekel lived in McLean, Va., and in Islamorada in the Florida Keys.

His marriage to the former Mary Jo Anderson ended in divorce. Their daughter, Melanie Krekel, died in 1979.

Survivors include his wife since 2006, Kathleen M. Monahan of Islamorada; a daughter from his first marriage, Mary Ellen Holt of Winston-Salem, N.C.; two stepchildren, Edward H. Barker IV of Arlington County and Christian M. Eldringhoff of Kingwood, Tex.; and five grandchildren.

— Bart Barnes