Another way to cook beans, along with many other foods, is on top of a wood stove. Mine has a flat top, I’ve done it many times. Growing up, we always kept a large pot of water sitting on top of ours, it adds some humidity to the air during winter.