# Problem solving partial differential equation

**URL:** <https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176>\
**Category:** Questions\
**Tags:** calculus, equation-solving, graphics-and-visualization, numerical-computation\
**Created:** [July 4, 2024, 9:39am UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176 "2024-07-04T09:39:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirkbroemme](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@dirkbroemme](https://community.wolfram.com/u/dirkbroemme)\
**Post date:** [July 4, 2024, 9:39am UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176/1 "2024-07-04T09:39:02Z")

</div>

Hello, I have a problem solving the heat equation with NDSolve in zylindrical coordinates.  
Can anyone tell me what I have done wrong?

Thanks in advance and best regards  
Dirk

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/f3c8162d-0ab5-43b0-835f-b6707a4808a8)

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [July 4, 2024, 1:36pm UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176/2 "2024-07-04T13:36:40Z")

</div>

What is the probem? The code runs fine on my system.

---

<div class="post-metadata">

**Author:** ![george1](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/george1/32/37181_2.png) [@george1](https://community.wolfram.com/u/george1)\
**Post date:** [July 4, 2024, 2:29pm UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176/3 "2024-07-04T14:29:13Z")

</div>

No problem running it on my system.

---

<div class="post-metadata">

**Author:** ![dirkbroemme](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@dirkbroemme](https://community.wolfram.com/u/dirkbroemme)\
**Post date:** [July 15, 2024, 1:44pm UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176/4 "2024-07-15T13:44:20Z")

</div>

Hello, I am using Version 11.3.0.0 and my code does not show the temperature distribution.  
What Software versions are you using?

Dirk

---

<div class="post-metadata">

**Author:** ![dirkbroemme](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@dirkbroemme](https://community.wolfram.com/u/dirkbroemme)\
**Post date:** [July 15, 2024, 1:44pm UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176/5 "2024-07-15T13:44:59Z")

</div>

Hello, I am using Version 11.3.0.0 and my code does not show the temperature distribution. What Software versions are you using?

Dirk

---

<div class="post-metadata">

**Author:** ![george1](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/george1/32/37181_2.png) [@george1](https://community.wolfram.com/u/george1)\
**Post date:** [July 15, 2024, 8:21pm UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176/6 "2024-07-15T20:21:25Z")

</div>

I am using 14

---

<div class="post-metadata">

**Author:** ![mroge02](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mroge02/32/28775_2.png) [@mroge02](https://community.wolfram.com/u/mroge02)\
**Post date:** [July 16, 2024, 12:51am UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176/7 "2024-07-16T00:51:36Z")

</div>

The error messages suggest that there may be a problem with `ToElementMesh` in one of the following:

```
Needs["NDSolve`FEM`"];

ToElementMesh[\[CapitalOmega]]

ToElementMesh[NumericalRegion[\[CapitalOmega]]]

```

I can’t check V11.3.0.0, but you might see if either produces an element mesh for you. If neither does, then that may indicate where the problem is.

Alternatively, you could try coding the region `Ω` as a `Rectangle[]` or a `Polygon[]` instead of as an `ImplicitRegion[]`.

That it is working in later versions suggests it might be that there was a bug which has been fixed.

---

<div class="post-metadata">

**Author:** ![dirkbroemme](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@dirkbroemme](https://community.wolfram.com/u/dirkbroemme)\
**Post date:** [July 16, 2024, 7:27am UTC](https://community.wolfram.com/t/problem-solving-partial-differential-equation/24176/8 "2024-07-16T07:27:15Z")

</div>

Hi Michael,

thanks for your advice.  
Rectangle[] instead of ImplicitRegion[] works..

Kind regards  
Dirk
