# Scaling Laplacian from 2D to 3D

**URL:** <https://fenicsproject.discourse.group/t/scaling-laplacian-from-2d-to-3d/13767>\
**Category:** mesh\
**Created:** [February 29, 2024, 3:14pm UTC](https://fenicsproject.discourse.group/t/scaling-laplacian-from-2d-to-3d/13767 "2024-02-29T15:14:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![francesco-ballarin](https://avatars.discourse-cdn.com/v4/letter/f/f05b48/32.png) [@francesco-ballarin](https://fenicsproject.discourse.group/u/francesco-ballarin)\
**Post date:** [February 29, 2024, 3:33pm UTC](https://fenicsproject.discourse.group/t/scaling-laplacian-from-2d-to-3d/13767/2 "2024-02-29T15:33:40Z")

</div>

Welcome to the FEniCS discourse forum. As a general suggestion, when you post code please make sure that it contains all required imports. Without those, it is harder for people to run your code and, in this specific case, realize that you are generating the mesh through mshr.

You can use

```auto
domain = Box(Point(0, 0, 0), Point(4, 2, 2))

```

to get the 3D domain. The PDE will be solved in the interior of the box.

If you are new to FEniCS, you may want to read [The new DOLFINx solver is now recommended over DOLFIN](https://fenicsproject.discourse.group/t/the-new-dolfinx-solver-is-now-recommended-over-dolfin/8249).

---

_[View the full topic](https://fenicsproject.discourse.group/t/scaling-laplacian-from-2d-to-3d/13767)._
