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.

define maximum mesh size which is a function of the independent variable?

Please login with a confirmed email address before reporting spam

Is it possible to define the maximum size of a mesh near a boundary to be a known function of position along that boundary? For example, in the problem of free convection at a vertical flat plate, it would be optimum to define a mesh which grows as z^(1/4), where z is vertical position along the plate. This way the mesh scales with the thickness of the boundary layer.

1 Reply Last Post Dec 7, 2010, 8:34 a.m. EST
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 Dec 7, 2010, 8:34 a.m. EST
Hi

Have you tried defining the mesh size within a function defined w.r.t. {x.y.z} ?
in v4.1 you should be able to do that (must admit I havent tried so Iexpect it should work, cannot really tell ;)

--
Good luck
Ivar
Hi Have you tried defining the mesh size within a function defined w.r.t. {x.y.z} ? in v4.1 you should be able to do that (must admit I havent tried so Iexpect it should work, cannot really tell ;) -- Good luck 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.