# How to simulate heating coil ?

**URL:** https://discourse.vtk.org/t/how-to-simulate-heating-coil/2344
**Category:** Support
**Created:** [December 27, 2019, 12:30am UTC](https://discourse.vtk.org/t/how-to-simulate-heating-coil/2344 "2019-12-27T00:30:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![stasbar](https://discourse.vtk.org/user_avatar/discourse.vtk.org/stasbar/32/1221_2.png) [@stasbar](https://discourse.vtk.org/u/stasbar)
#### Post date: [December 27, 2019, 12:30am UTC](https://discourse.vtk.org/t/how-to-simulate-heating-coil/2344/1 "2019-12-27T00:30:19Z")

</div>

Hello,  
After a few days of research, I feel quite confused by what tool is responsible for what problem. That’s why I decided to ask here for help in finding out the directions where should I go. I would just like to know, If it’s possible, and what tools should I use.  
There are 3 functionalities I would like to achieve (most important first):

1. I want to create webapp in which users will be able to visualize a coil heater (which look like this):  

2. User can parametrize wire material (resistivity, mass) number of turns, wire diameter, legs length, resistivity, mass, applied power, etc. In return, the app would visualize (or maybe “simulate” is a better word here) the heater with applied power.  

3. I would like to measure temperature and/or heat flux at each place on the coil, or just the highest values globally.

I’ve found this [example](https://gitlab.onelab.info/doc/models/-/wikis/Magnetodynamics-with-cohomology-conditions) on gmsh/onelab/getdp stack, that looks very similar to what I want to achieve.  
I assume that processing heat transfer on this kind of structure is possible only with finite element solver like [getdp](http://getdp.info/).

My current idea is to create a webapp that will send a request to the backend, which then starts python script and generates this kind of mesh with [pygmsh](https://github.com/nschloe/pygmsh). Then process it with getdp/onelab or somehow (here is the place where I don’t know how to do it), and send the processed data back to webapp which will visualize it using vtk.js.

What confuse me the most, is the fact that examples on [vtk in action](https://vtk.org/vtk-in-action/#image-gallery) suggest that, vtk alone is able to do this kind of operations, without gmsh/getdp/onelab stack behind.

What is the best way to achieve those functionalities?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [January 2, 2020, 10:31pm UTC](https://discourse.vtk.org/t/how-to-simulate-heating-coil/2344/2 "2020-01-02T22:31:13Z")

</div>

VTK/vkt.js excel at showing the results of a finite element solver. Meshing, modeling, and simulation capabilities are not available in VTK.
