This from several webpages:
"Zappa and Van Vliet began collaborating on pop song parodies and a movie script called Captain Beefheart vs. the Grunt People, the first appearance of the Beefheart name. It came from a term used by his Uncle Alan. Alan had a habit of exposing himself to Don's girlfriend, Laurie. Alan would urinate with the bathroom door open and, if she was walking by, mumble about his penis, saying "Ahh, what a beauty! It looks just like a big, fine beef heart."
I suppose Bluebeard's account is a narrow winner over mine, because it goes more to the original inspiration. Now I'm going off to be sick...