Thread Subject: How to get 2D Triangular Mesh

Subject: How to get 2D Triangular Mesh

From: dulip

Date: 25 Nov, 2009 03:10:22

Message: 1 of 3

Here is my problem. I want to mesh 1x1 square domain using some
unstructured mesh technique. I'm trying to do it using triangular
elements. The problem is I haven't played much with matlab and hence
facing difficulties doing this. I tried to play with 'delaunay'
command and ended up with some triangles over the region. However for
my problem still I need to vertex locations of each triangle which I
don't know yet(to find the location of triangle to apply BCs). Also
I'm not clear with the out put of this command whether there is any
order for triangles or not. I appreciate if you could help me to get
this done. I don't mind if you have any other better mesh generator
which gives the same(able to run in matlab).
Thanks!
Dulip

Subject: How to get 2D Triangular Mesh

From: kinor

Date: 25 Nov, 2009 09:14:05

Message: 2 of 3

dulip <dulipsa@gmail.com> wrote in message <5a4a4e43-99b5-4c78-b182-3ec731cdeb30@z41g2000yqz.googlegroups.com>...
> Here is my problem. I want to mesh 1x1 square domain using some
> unstructured mesh technique. I'm trying to do it using triangular
> elements. The problem is I haven't played much with matlab and hence
> facing difficulties doing this. I tried to play with 'delaunay'
> command and ended up with some triangles over the region. However for
> my problem still I need to vertex locations of each triangle which I
> don't know yet(to find the location of triangle to apply BCs). Also
> I'm not clear with the out put of this command whether there is any
> order for triangles or not. I appreciate if you could help me to get
> this done. I don't mind if you have any other better mesh generator
> which gives the same(able to run in matlab).
> Thanks!
> Dulip

Hi Dulp,

as I have no good idea I searched ..

look here

http://www.mathworks.com/matlabcentral/fileexchange/25555-mesh2d-automatic-mesh-generation

hth
kinor

Subject: How to get 2D Triangular Mesh

From: dulip

Date: 25 Nov, 2009 12:46:28

Message: 3 of 3

On Nov 25, 4:14 am, "kinor " <kinor.removethiswith...@gmx.de> wrote:
> dulip <duli...@gmail.com> wrote in message <5a4a4e43-99b5-4c78-b182-3ec731cde...@z41g2000yqz.googlegroups.com>...
> > Here is my problem. I want to mesh 1x1 square domain using some
> > unstructured mesh technique. I'm trying to do it using triangular
> > elements. The problem is I haven't played much with matlab and hence
> > facing difficulties doing this. I tried to play with 'delaunay'
> > command and ended up with some triangles over the region. However for
> > my problem still I need to vertex locations of each triangle which I
> > don't know yet(to find the location of triangle to apply BCs).  Also
> > I'm not clear with the out put of this command whether there is any
> > order for triangles or not. I appreciate if you could help me to get
> > this done. I don't mind if you have any other better mesh generator
> > which gives the same(able to run in matlab).
> > Thanks!
> > Dulip
>
> Hi Dulp,
>
> as I have no good idea I searched ..
>
> look here
>
> http://www.mathworks.com/matlabcentral/fileexchange/25555-mesh2d-auto...
>
> hth
> kinor

Hi Kinor,

Seems this is useful. Thanks a lot my friend.

Dulip

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com