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.

Axis/Grid Lower Bounds

Please login with a confirmed email address before reporting spam

Hi Again,

I am wondering what controls the lower bound on the grid size setting. I have a model that requires a resolution of atleast 1e-7 (1e-9 would be better) in order to mesh properly. However when I attempt to set the grid size to anything below 1e-4 it won't let me (just automatically sets it back to 1e-4).

Does anyone know why this is, or how to work around it?

Note the largest item in my model is on the order of 1e-3 and the smallest 1e-9.

Thanks again,
Jon

3 Replies Last Post Apr 17, 2010, 3:30 a.m. EDT
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Aug 4, 2009, 5:22 a.m. EDT
Hi Jon

Indeed the grid ratio between X and Y seems to be limited to 3 orders of magnitude (in 2D without "EQUAL" axis spacings i.e. doble click on the lower border word "EQUAL" at the side to the "GRID" then rescale the scren).

Well it has some logic, you cannot really draw on the screen with a resolution higher than the pixel dots.

As the drawing feature does not acept units I usually draw my parts in the default unit (SI [m] for me) and then use the "scale" function to convert to [mm] or [um], then I do mostly not bother about axis and grid scale settings, furthermore I draw most of my items by entering the numerical values, not with the mouse this does not need any particular grid scale factor.
If not in COMSOL I use my CAD software (SolidWorks for me).

I beleive you can set the axis and grids locally do your mouse drawings at small scale and then reset to a larger axi/grid settings and finalise the "macro items". You can also use the scale factor only in on direction (non homogenious scaling). There are several ways around.

If you are working in 3D, you should also check your repair / knit surface absolute tolerance, if you use these features, as it might make some of the small details dissapear

Do not forget that you can easily get numerical roundoff errors with 6 order of magnitude scale factors between your items, so check your results carefully.

Good luck
Ivar
Hi Jon Indeed the grid ratio between X and Y seems to be limited to 3 orders of magnitude (in 2D without "EQUAL" axis spacings i.e. doble click on the lower border word "EQUAL" at the side to the "GRID" then rescale the scren). Well it has some logic, you cannot really draw on the screen with a resolution higher than the pixel dots. As the drawing feature does not acept units I usually draw my parts in the default unit (SI [m] for me) and then use the "scale" function to convert to [mm] or [um], then I do mostly not bother about axis and grid scale settings, furthermore I draw most of my items by entering the numerical values, not with the mouse this does not need any particular grid scale factor. If not in COMSOL I use my CAD software (SolidWorks for me). I beleive you can set the axis and grids locally do your mouse drawings at small scale and then reset to a larger axi/grid settings and finalise the "macro items". You can also use the scale factor only in on direction (non homogenious scaling). There are several ways around. If you are working in 3D, you should also check your repair / knit surface absolute tolerance, if you use these features, as it might make some of the small details dissapear Do not forget that you can easily get numerical roundoff errors with 6 order of magnitude scale factors between your items, so check your results carefully. Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 16, 2010, 11:10 a.m. EDT
Hi Ivar,

In view of your post below, your constants, do you leave them in SI units too?

Thanks
Hi Ivar, In view of your post below, your constants, do you leave them in SI units too? Thanks

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 17, 2010, 3:30 a.m. EDT
Hi

Yes I use as far as possible only SI, I have seen in prerelease of V4 at the last conference, that you might change basic units and start in mm or um, which is easier for your graphics, but then for your physics it's easy to get a scale factor out of range.

=> always double check by two means your results ;)

Have fun Comsolng
Ivar
Hi Yes I use as far as possible only SI, I have seen in prerelease of V4 at the last conference, that you might change basic units and start in mm or um, which is easier for your graphics, but then for your physics it's easy to get a scale factor out of range. => always double check by two means your results ;) Have fun Comsolng Ivar

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.