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.

fixed interval size in 1D meshing

Please login with a confirmed email address before reporting spam

Hi, I wonder if it is possible to use a fixed size for subintervals when doing 1D meshing. So if the given mesh size is 0.1m, then a line of length 1m would always be divided into 10 subintervals, each with length 0.1m.

I tried to set the maximum and minimum element size be the same (0.1m) in the mesh setting but still get smaller subintervals of length 0.075m. Are there any mesh variables that need to be adjust?

Any help would be appreciated.


1 Reply Last Post Mar 4, 2019, 4:02 p.m. EST

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Mar 4, 2019, 4:02 p.m. EST

The solution is to use the feature 'distribution' in the mesh setting to control the element distribution. It has an option to specify the number of mesh elements along each line.

The solution is to use the feature 'distribution' in the mesh setting to control the element distribution. It has an option to specify the number of mesh elements along each line.

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.