How to create mesh like this in Comsol?

Please login with a confirmed email address before reporting spam

I am intending to model the indentation test using comsol. How to create mesh like this with comsol?

may need to visit this site of research gate if the picture is not properly shown.


6 Replies Last Post Nov 24, 2023, 8:50 a.m. EST
Bjorn Bretz COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 months ago Nov 22, 2023, 3:16 a.m. EST

It is possible to create such a quad mesh but it will require some manual work. Please contact support for assistance.

It is possible to create such a quad mesh but it will require some manual work. Please contact support for assistance.

Please login with a confirmed email address before reporting spam

Posted: 5 months ago Nov 22, 2023, 4:52 a.m. EST
Updated: 5 months ago Nov 22, 2023, 4:53 a.m. EST

It is possible to create such a quad mesh but it will require some manual work. Please contact support for assistance.

Thanks for the reply, @Bjorn.

>It is possible to create such a quad mesh but it will require some manual work. Please contact support for assistance. Thanks for the reply, @Bjorn.

Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 months ago Nov 22, 2023, 9:00 a.m. EST

I don't think there is a way to create this mesh in Comsol without programming a bit.

The Programming Reference Manual has a section called "Setting or Modifying Mesh Data" that you need to study.

Using LiveLink for Matlab I've created part of the mesh to show one of the method that can be used to make the mesh. I'm not sure if the left side of the mesh is supposed to be created manually the way it looks or the mesh in intended to be created to form a rectangle and then deformed using solid mechanics so I've left that part as an exercise to the reader ;-) A derformed mesh can be exported to be used as a basis for futher modelling.

I've attached the Matlab script I used. As you can see it requires some work to create such a mesh, but it can be done.

-------------------
Lars Gregersen
Comsol Denmark
I don't think there is a way to create this mesh in Comsol without programming a bit. The Programming Reference Manual has a section called "Setting or Modifying Mesh Data" that you need to study. Using LiveLink for Matlab I've created part of the mesh to show one of the method that can be used to make the mesh. I'm not sure if the left side of the mesh is supposed to be created manually the way it looks or the mesh in intended to be created to form a rectangle and then deformed using solid mechanics so I've left that part as an exercise to the reader ;-) A derformed mesh can be exported to be used as a basis for futher modelling. I've attached the Matlab script I used. As you can see it requires some work to create such a mesh, but it can be done.


Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 months ago Nov 22, 2023, 9:23 a.m. EST

However, an important question is whether you actually need to actually replicate the mesh or not. For most practical purposes, it shoud suffice to replicate the mesh in the most dense region (which is a plain mapped mesh) and then use arbitrary transitions to coarser mesh further away.

-------------------
Henrik Sönnerlind
COMSOL
However, an important question is whether you actually need to actually replicate the mesh or not. For most practical purposes, it shoud suffice to replicate the mesh in the most dense region (which is a plain mapped mesh) and then use arbitrary transitions to coarser mesh further away.

Please login with a confirmed email address before reporting spam

Posted: 5 months ago Nov 24, 2023, 8:44 a.m. EST

I don't think there is a way to create this mesh in Comsol without programming a bit.

The Programming Reference Manual has a section called "Setting or Modifying Mesh Data" that you need to study.

Using LiveLink for Matlab I've created part of the mesh to show one of the method that can be used to make the mesh. I'm not sure if the left side of the mesh is supposed to be created manually the way it looks or the mesh in intended to be created to form a rectangle and then deformed using solid mechanics so I've left that part as an exercise to the reader ;-) A derformed mesh can be exported to be used as a basis for futher modelling.

I've attached the Matlab script I used. As you can see it requires some work to create such a mesh, but it can be done.

Thanks @Lars, your script is really impressive!

>I don't think there is a way to create this mesh in Comsol without programming a bit. > >The Programming Reference Manual has a section called "Setting or Modifying Mesh Data" that you need to study. > >Using LiveLink for Matlab I've created part of the mesh to show one of the method that can be used to make the mesh. I'm not sure if the left side of the mesh is supposed to be created manually the way it looks or the mesh in intended to be created to form a rectangle and then deformed using solid mechanics so I've left that part as an exercise to the reader ;-) >A derformed mesh can be exported to be used as a basis for futher modelling. > >I've attached the Matlab script I used. As you can see it requires some work to create such a mesh, but it can be done. Thanks @Lars, your script is really impressive!

Please login with a confirmed email address before reporting spam

Posted: 5 months ago Nov 24, 2023, 8:50 a.m. EST

However, an important question is whether you actually need to actually replicate the mesh or not. For most practical purposes, it shoud suffice to replicate the mesh in the most dense region (which is a plain mapped mesh) and then use arbitrary transitions to coarser mesh further away.

Thanks @Henrik, and I agree. I use mapped mesh in both the most dense region and the coarse one, between which triangluar mesh is located for transition. It seems to work well.

>However, an important question is whether you actually need to actually replicate the mesh or not. For most practical purposes, it shoud suffice to replicate the mesh in the most dense region (which is a plain mapped mesh) and then use arbitrary transitions to coarser mesh further away. Thanks @Henrik, and I agree. I use mapped mesh in both the most dense region and the coarse one, between which triangluar mesh is located for transition. It seems to work well.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.