Heat transfer through fins of complex geometry