# Simscale cloud tool for mesh and electric field production. Integration in Garfield++

**URL:** <https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044>\
**Category:** Garfield++\
**Created:** [June 28, 2024, 8:56am UTC](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044 "2024-06-28T08:56:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mole.luca](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mole.luca/32/25073_2.png) [@mole.luca](https://root-forum.cern.ch/u/mole.luca)\
**Post date:** [June 28, 2024, 8:56am UTC](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044/1 "2024-06-28T08:56:39Z")

</div>

Hi.  
I found that [Simscale](https://www.simscale.com) is a great online tool for producing meshes and electric field finite element solutions. the biggest advantage to me is that it is naturally integrated with [onshape](https://www.onshape.com/en/). Both of them are online and (relatively) free tools.  
Is anyone interested in helping me to integrate the Simscale output files in Garfield++?  
Thank you  
Best regards

Luca

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [June 28, 2024, 11:21am UTC](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044/2 "2024-06-28T11:21:45Z")

</div>

Hi Luca,

Adding in the loop @hschindl .

Best,  
D

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [June 28, 2024, 1:27pm UTC](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044/3 "2024-06-28T13:27:31Z")

</div>

Thanks @mole.luca that looks like an item to be discussed in DRD1 Workgroup 4 [1]. Maybe if you are already a Simscale/onshape user, you might show/share your expertise in WG4 working meeting to see if anyone is interested to join this effort. Can you maybe share the output files of a electric field FEM calculation, such that we can already have a look how they are structured?  
greets  
Piet

[1] [Working group 4 | DRD1](https://drd1.web.cern.ch/activities-wg4)

---

<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:** [June 29, 2024, 8:56am UTC](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044/4 "2024-06-29T08:56:19Z")

</div>

Hi Luca,  
sure, we can give it a try. As a starting point you can use the existing `ComponentAnsys*`, `ComponentElmer*` and `ComponentComsol` classes which allow one to import field maps exported from a finite-element solver by reading a set of text files containing:

- the coordinates of the mesh nodes,
- the potential at each node,
- a description of the mesh elements (i. e. the nodes corresponding to each element),
- the material/region/domain associated to each element.

At the moment, the types of finite-element meshes supported by Garfield++ are (quadratic curved) tetrahedra (in 3D) and eight-node curved quadrilaterals (in 2D). Does Simscale offer these types of mesh? If not, we would also need to implement the shape functions and Jacobian of the mesh elements used by Simcale.

---

<div class="post-metadata">

**Author:** ![mole.luca](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mole.luca/32/25073_2.png) [@mole.luca](https://root-forum.cern.ch/u/mole.luca)\
**Post date:** [July 1, 2024, 11:51am UTC](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044/5 "2024-07-01T11:51:14Z")

</div>

Hi. Thank you for your response.  
Actually I figured out that it is currently not possible to download field map results from Simscale. The support told me that they put this in a todo list, but I am waiting their response about possible timelines. So, unfortunately Simscale is not an option for Garfield at the moment.

I will keep you posted.

Thank you

Luca

---

<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:** [July 15, 2024, 11:51am UTC](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044/6 "2024-07-15T11:51:46Z")

</div>

Closed on July 15, 2024, 11:51am UTC

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