# Get the weight field file of COMSOL

**URL:** <https://root-forum.cern.ch/t/get-the-weight-field-file-of-comsol/47865>\
**Category:** Garfield++\
**Created:** [November 29, 2021, 3:12pm UTC](https://root-forum.cern.ch/t/get-the-weight-field-file-of-comsol/47865 "2021-11-29T15:12:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![changjh12](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Post date:** [November 29, 2021, 3:12pm UTC](https://root-forum.cern.ch/t/get-the-weight-field-file-of-comsol/47865/1 "2021-11-29T15:12:49Z")

</div>

Hello, I want to know how to get the weight field file of COMSOL (similar to WPOT.lis in ANSYS). I guess it is by setting the collecting electrode to 1V and the other electrodes to 0V. Then derive the field norm (V/m) distribution?

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [November 29, 2021, 3:23pm UTC](https://root-forum.cern.ch/t/get-the-weight-field-file-of-comsol/47865/2 "2021-11-29T15:23:25Z")

</div>

I guess @hschindl can help.

---

<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:** [November 29, 2021, 3:25pm UTC](https://root-forum.cern.ch/t/get-the-weight-field-file-of-comsol/47865/3 "2021-11-29T15:25:12Z")

</div>

Hi,  
yes, that’s right. You should use the same mesh as for the calculation of the “main/real” electric field, then set the electrode to be read out to 1 V and the other electrodes to 0V and re-solve.

---

<div class="post-metadata">

**Author:** ![changjh12](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Post date:** [November 29, 2021, 3:36pm UTC](https://root-forum.cern.ch/t/get-the-weight-field-file-of-comsol/47865/4 "2021-11-29T15:36:52Z")

</div>

I get it, thank you

---

<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 13, 2021, 3:37pm UTC](https://root-forum.cern.ch/t/get-the-weight-field-file-of-comsol/47865/5 "2021-12-13T15:37:49Z")

</div>

Closed on December 13, 2021, 3:37pm UTC

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