A growing independent oil and gas company has come to the aid of an Aberdeen charity after its premises were severely damaged by flooding.