<div dir="ltr">Hi,<div><br><div>I'm using the finite element library deal.II to generate some '.msh' files, and exporting through deal.II. I find that all I can export is the mesh itself, with no boundaries define.d </div><div><br></div><div>I would like to modify the meshes by adding in boundary conditions through using physical entities in gmsh, since I want to import these meshes into OpenFOAM for later manipulation. However, I can't actually find any way to do this. Is it possible to do this in gmsh somehow? I find that all I can do is add a 'volume' physical entity which takes up the entire volume.</div><div><br></div><div>The .msh basically looks like:</div><div>$MeshFormat<br></div><div><div>2.2 0 8</div><div>$EndMeshFormat</div><div>$Nodes</div><div>429</div><div>1 0 0.333333 0.333333</div><div>2 0.333333 0.333333 0.333333</div></div><div>.</div><div>.</div><div>.</div><div><div>428 0.416667 0.583333 0.75</div><div>429 0.583333 0.583333 0.75</div><div>$EndNodes</div><div>$Elements</div><div>248</div><div>1 5 2 2 1 13 107 197 63 110 304 310 199</div><div>.</div></div><div>.</div><div>.</div><div><div>248 5 2 2 1 392 100 260 429 349 11 105 393</div><div>$EndElements</div></div><div><br></div><div><br></div><div>Sincerely,</div><div>James Xie</div></div></div>