You mean a valve that will pass gas, but stop liquids?
You need an anal sphincter valve.
You're sitting on one. ;-)
They are not produced commercially.
;---
Seriously, please tell us just a little more about what you're trying to do, so maybe we can translate it into words that we understand. Thanks.
Mike Halloran
Ft. Lauderdale, FL, USA