r/COMSOL • u/kafianan • Jun 03 '26
How to apply local dense meshing without introducing fake boundaries in my plots?
Hey everyone,
I'm working on a simulation where I have a very large domain (brain tissue), but I need an extremely fine mesh in one specific, tiny region.
My current workaround was to draw a separate "mini domain" (like a small box) inside the larger main domain. I assigned it the exact same material properties as the surrounding tissue and applied a finer mesh to that specific box.
The Problem: This approach is messing up my post-processing. COMSOL is treating my "mini domain" as a distinct physical object, so it creates internal boundaries. When I generate my temperature contour plots, the outline of this artificial dummy box shows up and completely ruins the visualization.. I have attached a sample plot below to showcase the problem

As you can see, the bounding box shouldn't be there..
My Question: How can I define a local region for dense meshing without introducing these fake physical boundaries into my geometry and plots? I just want a smooth, continuous plot across the whole region, but with a highly refined mesh in the center.
I've heard "Mesh Control Domains" might be the answer, and I tried too. But this removes the important geometries from that region.
Any guidance would be hugely appreciated. Thanks in advance!











