# How to combine two grids into a single grid

**URL:** <https://fenicsproject.discourse.group/t/how-to-combine-two-grids-into-a-single-grid/14085>\
**Category:** mesh\
**Created:** [April 1, 2024, 12:09pm UTC](https://fenicsproject.discourse.group/t/how-to-combine-two-grids-into-a-single-grid/14085 "2024-04-01T12:09:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dokken](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/dokken/32/1560_2.png) [@dokken](https://fenicsproject.discourse.group/u/dokken)\
**Post date:** [April 1, 2024, 12:16pm UTC](https://fenicsproject.discourse.group/t/how-to-combine-two-grids-into-a-single-grid/14085/2 "2024-04-01T12:16:54Z")

</div>

This is your second post today that does not follow the guidelines in

> [@Read before posting: How do I get my question answered?](https://fenicsproject.discourse.group/t/read-before-posting-how-do-i-get-my-question-answered/21):
>
> Here are a few tips to help get your question answered: Write your message in English. Phrase the title of your post as a question and make it meaningful. Check that your question hasn’t been asked before using the search functionality. Post a “minimum working code example” (MWE) to illustrate the problem: A MWE is the simplest piece of code that reproduces or explains the problem you have. It must be possible to take the MWE, paste it into a file and run it, without any extra modifications.…

and does not explain what version of fenics you are using, and does not provide a minimal attempt to solve the problem.

Please also check the forum for similar posts:

> [@How to combine meshes in dophinx?](https://fenicsproject.discourse.group/t/how-to-combine-meshes-in-dophinx/10123/17):
>
> You cant define two unrelated meshes. I would suggest you use MeshView to create the 1D mesh as part of the 2D mesh, and then use the assemble\_mixed command. See for instance which contains links to relevant papers and changes in API

---

_[View the full topic](https://fenicsproject.discourse.group/t/how-to-combine-two-grids-into-a-single-grid/14085)._
