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.

How to have different mesh densities on a simple, 1D geometry?

Please login with a confirmed email address before reporting spam

Hi. This may be a very obvious question, but I can't seem to be able to find the solution.

I have a very simple 1D geometry: a line segment from 1 to 7 i.e. 1<x<7.

I want to have an extremely fine user controlled mesh for 1<x<2.25, and a much coarser mesh for 2.25<x<7. How do I do this? I assume it is easy and that I'm just missing the obvious. If there isn't an obvious way of doing it, I can reply here with that I've tried already.

Thanks.

1 Reply Last Post 2016年2月7日 GMT-5 13:05
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2016年2月7日 GMT-5 13:05
Paul,

just add a point at x = 2.25 and you get two segments that can be meshed individually.

Cheers
Edgar

--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Paul, just add a point at x = 2.25 and you get two segments that can be meshed individually. Cheers Edgar -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.