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/

Hello I hope you are doing great
i got some error and i dont know what to do
image

Maybe you forgot to call the function SetMedium of ViewMedium?

Dear @Asmmaa_Muhammeed please attach your full code here, that will be easier for us to understand which step you are missing.
Thanks
Piet

thank you very much and thank you for your time

but how can i convert of electric field V/cm to Townsend Td ? :sweat_smile:

You can convert a value of an electric field in V/cm to Td by dividing by the gas numberdensity (you can ask from mediumMagboltz) and multiplying with 1E17 to obtain the electric field in Td.

thank you for your reply
last question , how can i get the mean energy ?

mean energy of what?
you can explore all avaliable methods here:
https://garfieldpp.web.cern.ch/documentation/doxygen/html/namespaceGarfield.html
greets
Piet

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.