How can I impalement only gases file like Ar , CO2 or N2

how can I impalement only gases file like Ar , CO2 or N2 ?
how can I get induced electric field ?

Implement gases in what sense?

By using gase file or a function

If your question is about how to create a gas file, maybe this helps:
https://garfieldpp.web.cern.ch/garfieldpp/examples/gasfiles/