# LinearSolve error: encountering machine-number overflow in PDEs resolution

**URL:** <https://community.wolfram.com/t/linearsolve-error-encountering-machine-number-overflow-in-pdes-resolution/18354>\
**Category:** Questions\
**Tags:** calculus, equation-solving, numerical-computation\
**Created:** [June 28, 2021, 5:30pm UTC](https://community.wolfram.com/t/linearsolve-error-encountering-machine-number-overflow-in-pdes-resolution/18354 "2021-06-28T17:30:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![enricodilucente](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@enricodilucente](https://community.wolfram.com/u/enricodilucente)\
**Post date:** [June 28, 2021, 5:30pm UTC](https://community.wolfram.com/t/linearsolve-error-encountering-machine-number-overflow-in-pdes-resolution/18354/1 "2021-06-28T17:30:27Z")

</div>

Hi everyone, I am new of Mathematica.. I am trying to solve a set of partial differential equations in 4 four variables (x,y,z,t).

When I set up the resolution as follows:

[…]

PD equations

[…]

```
bcs = {DirichletCondition[{Ux[x, y, z, t] == 0., Uy[x, y, z, t] == 0.,
      Uz[x, y, z, t] == 0.}, True]};
ics = {Ux[x, y, z, 0] == 0, Uy[x, y, z, 0] == 0, Uz[x, y, z, 0] == 0, 
   T[x, y, z, 0] == 
    Piecewise[{{Subscript[T, 
       hot], (x - (l/2.0))^2 + (y - (d/2.0))^2 + (z - (h/2.0))^2 <= 
        hotSphereRadius^2}}, Subscript[T, eq]]};

pde = Operator == {0, 0, 0, 0};

{Ux0, Uy0, Uz0, T0} = 
  NDSolveValue[{pde, ics, bcs}, {Ux, Uy, Uz, T}, {t, 0, Subscript[tt, 
    last]}, {x, y, z} \[Element] mesh, 
   DependentVariables -> {Ux, Uy, Uz, T}, Method -> Automatic];

```

I get the following error:

LinearSolve::mcovl: The computation encountered machine-number overflow. Only machine-number code is available for sparse matrices. If your matrix is not too large, consider trying again after using Normal on the matrix.

Have you ever encountered this error? What would you try to do to solve this issue? I can provide more infos if needed. Thanks in advance!

Enrico

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [June 29, 2021, 9:06pm UTC](https://community.wolfram.com/t/linearsolve-error-encountering-machine-number-overflow-in-pdes-resolution/18354/2 "2021-06-29T21:06:48Z")

</div>

Crossposted [here](https://mathematica.stackexchange.com/q/250299/58370).
