Explicit solutions for heat and fluid flow in cylindrical porous domains