Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Meshing two regions with (very) different densities.
Posted Feb 19, 2024, 3:58 a.m. EST Mesh Version 5.6 3 Replies
Please login with a confirmed email address before reporting spam
Hi all,
I'm partitioning a square with side length 300 um into an inner and outer square (see attached model). Domain A is the (inner) square with side length 299.7 um, and domain B is the remainig part of the geometry.
I need to mesh domain A extremely finely (max. element size 20 nm). For that, I use the "Mapped" node, which yields a regular structure mesh with the desired element size.
I don't really care about the mesh in domain B (it can be super coarse).
My problem is that once domain A is (successfully) meshed, domain B doesn't mesh, pretty much regardless of the parameters (triangular mesh, quadrilateral mesh, structured mesh, different element sizes or growth rates) for that domain. Here, "doesn't mesh" means that the mesh either takes super long and COMSOL crashes, or I get error messages like "there are too many elements to mesh".
Do you have any suggestions that include keeping domain A as it is (i.e. meshed with e = 20 nm), but enabling the meshing of domain B (which can be very coarse) ?
The relevant mesh in the attached model is named "Mesh - 8 domains".
Attachments: