# How to plot the 3D model field map mesh

**URL:** <https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886>\
**Category:** Garfield++\
**Created:** [November 30, 2021, 12:47pm UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886 "2021-11-30T12:47:11Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 3, 2021, 8:14am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/21 "2021-12-03T08:14:29Z")

</div>

Hi ,the detector is made up of 13 panels stacked on top of each other, there are contact surfaces between each board. If I set up the contact surfaces ,the analysis become nolinear solution, otherwise the results is linear. so what should I do, and would you please help me, thanks again.

---

<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:** [December 3, 2021, 8:26am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/22 "2021-12-03T08:26:17Z")

</div>

Sorry, I don’t follow. If you are plotting a field map where all potentials are zero, then it’s not surprising that the plot shows zero everywhere, no?

Also I don’t understand what the choice of the element type (Solid123) has to do with the boundary conditions.

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 3, 2021, 8:38am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/23 "2021-12-03T08:38:07Z")

</div>

Thanks a lot for your reply, Can I delete the zero voltage on the copper bar array? only keep one board zero voltage, and after import the model successfully, I set the geometric cathode and voltage.

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 3, 2021, 8:40am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/24 "2021-12-03T08:40:00Z")

</div>

when I set the contact area, the element type will be updated to the picture below.

 ![1](https://root-forum.cern.ch/uploads/default/original/3X/b/2/b224562dc45c6c87125d6c14591c31a9e9e99403.png)

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 3, 2021, 8:54am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/25 "2021-12-03T08:54:33Z")

</div>

If the contour plot is empty, can I see the 3D model to make sure the ansys model works. Such as the picture in the below.  
 ![2](https://root-forum.cern.ch/uploads/default/original/3X/e/c/ec0de606c00012efb87d31769312fdef6381f956.png)

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 3, 2021, 1:39pm UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/26 "2021-12-03T13:39:12Z")

</div>

![3](https://root-forum.cern.ch/uploads/default/original/3X/5/0/5097cddc1fed1887dc0caa91924c060727900020.png)  
Hi, the results of the last words “killed”, I don’t know what dose it mean. I will try to modify my model and do the finite analysis again, and see whether it could be work.

---

<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:** [December 4, 2021, 11:20am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/27 "2021-12-04T11:20:19Z")

</div>

I don’t know if this answers your question, but you cannot modify the boundary conditions after importing the field map, this is something you need to do in Ansys.

---

<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:** [December 4, 2021, 11:21am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/28 "2021-12-04T11:21:48Z")

</div>

What you can do to reduce the size of the field map is to not export the metallic volumes since they are typically not active volumes and you know that the field inside is zero.

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 4, 2021, 11:25am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/29 "2021-12-04T11:25:30Z")

</div>

Ok, thanks a lot, but I can set up the gas area after importing the field map, right? I will try some other methods, and would you please tell me how to invoke the ROOT’s GL viewer, is that a way to show the 3D field mesh?

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 4, 2021, 11:38am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/30 "2021-12-04T11:38:27Z")

</div>

the metallic volumes are really important in the detector, if my model is right, the gas ionized in the model (such as electron)will transferred to the metallic volumes and generate induced current, and that’s the data I want to know.

---

<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:** [December 4, 2021, 11:47am UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/31 "2021-12-04T11:47:00Z")

</div>

> [@XiCheng](#):
>
> thanks a lot, but I can set up the gas area after importing the field map, right?

It depends what you mean by that. If your field map includes a gas region then you can use Garfield++ to simulate electrons, ions, charged particle tracks, etc. in this region.

> [@XiCheng](#):
>
> the gas ionized in the model (such as electron)will transferred to the metallic volumes and generate induced current

The ionisation electrons/ions produced in the gas will indeed drift to the metal electrodes and induce a current. But you don’t need the mesh elements inside the metal regions for that. Once an electron reaches the metal, the signal induced by this electron is over.

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 4, 2021, 12:51pm UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/32 "2021-12-04T12:51:27Z")

</div>

Hi，this is a really a useful information for me. but some of my metal electrodes are penetrable,some are not. when the proton comes, it has to penetrate aluminum film to ionize the gas.

---

<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:** [December 18, 2021, 12:52pm UTC](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886/33 "2021-12-18T12:52:09Z")

</div>

Closed on December 18, 2021, 12:52pm UTC

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

[Previous page](https://root-forum.cern.ch/t/how-to-plot-the-3d-model-field-map-mesh/47886.md?page=1)
