# What property should I set to dielectric.dat in ComponentElmer

**URL:** <https://root-forum.cern.ch/t/what-property-should-i-set-to-dielectric-dat-in-componentelmer/51032>\
**Category:** Garfield++\
**Created:** [July 31, 2022, 2:13pm UTC](https://root-forum.cern.ch/t/what-property-should-i-set-to-dielectric-dat-in-componentelmer/51032 "2022-07-31T14:13:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [July 31, 2022, 2:13pm UTC](https://root-forum.cern.ch/t/what-property-should-i-set-to-dielectric-dat-in-componentelmer/51032/1 "2022-07-31T14:13:04Z")

</div>

Dear experts

I calculated an field map by ElmerSolver and want to import it into Garfield++. I noticed that I need to write the relative permittivities to the `dielectric.dat` but I don’t know if I should write for “body” or “material”.  
e.g.: I have 9 wires with 1 sense wire (tungsten) and 8 field wire (Al) and gas (medium body)  
Should I write 10 lines for 1 sense wire line, 8 field wire lines and 1 gas line  
Or: 3 lines for 1 Tungsten line, 1 Al line and 1 gas line?

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [August 1, 2022, 6:43am UTC](https://root-forum.cern.ch/t/what-property-should-i-set-to-dielectric-dat-in-componentelmer/51032/2 "2022-08-01T06:43:57Z")

</div>

@jrenner could you advise?

---

<div class="post-metadata">

**Author:** ![jrenner](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@jrenner](https://root-forum.cern.ch/u/jrenner)\
**Post date:** [August 1, 2022, 11:36am UTC](https://root-forum.cern.ch/t/what-property-should-i-set-to-dielectric-dat-in-componentelmer/51032/3 "2022-08-01T11:36:40Z")

</div>

The lines should match the ElmerSolver “body” numbers. For further description, see section 2.4 of the note on the Garfield++ website which can be found by starting from the Garfield++ homepage, clicking “Examples” (under “Getting started”) → “Elmer and Gmsh” (under “Electric fields”) → “note”

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [August 15, 2022, 11:37am UTC](https://root-forum.cern.ch/t/what-property-should-i-set-to-dielectric-dat-in-componentelmer/51032/4 "2022-08-15T11:37:14Z")

</div>

Closed on August 15, 2022, 11:37am UTC

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