From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fem mesh
Date: Tue, 30 Apr 2013 15:43:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 32
Message-ID: <klooqe$2qi$>
References: <klmc42$o32$> <kloeqv$r1c$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1367336590 2898 (30 Apr 2013 15:43:10 GMT)
NNTP-Posting-Date: Tue, 30 Apr 2013 15:43:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2418038
Xref: comp.soft-sys.matlab:794631

Alan_Weiss <> wrote in message <kloeqv$r1c$>...
> On 4/29/2013 1:54 PM, Sashankh Rao wrote:
> > Hello,
> >
> > I am trying to mesh a geometry using the initmesh and refinemesh 
> > functions. I would like to control the location of nodes on the 
> > boundary of the domain. Is there anyway to do this?
> >
> > Thanks,
> > Sashankh
> I am sorry, Shashankh, but I do not know of a way to specify particular 
> points on the mesh.
> There are a few workarounds you can try, but I don't know how well any 
> of them will work for you:
> * Make some extra subdomains that intersect the boundary at the points 
> you want. These subdomains should have the same overall geometry and 
> boundary conditions as before, this is just a way to have the mesher use 
> the points you want. Or:
> * Export the points in the mesh, and manually edit them. Move the 
> closest point in the mesh to the point that you want. This might lead to 
> difficulties, if the resulting triangulation is no longer Delaunay, but 
> I think it should work OK if you just need to move a few points and not 
> very far.
> Good luck,
> Alan Weiss
> MATLAB mathematical toolbox documentation

Thanks Alan.