Rank: 146 based on 572 downloads (last 30 days) and 7 files submitted
photo

Darren Engwirda

E-mail
Lat/Long
-33.8833, 151.2

Personal Profile:

 

Watch this Author's files

 

Files Posted by Darren Engwirda View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
17 Dec 2014 Screenshot Robust dual-mesh construction Construct dual meshes from 2-simplex triangulations embedded in R^3 Author: Darren Engwirda mathematics, modeling, 2d, 3d, geometry, mesh 56 2
12 Oct 2009 Screenshot MESH2D - Automatic Mesh Generation Generates unstructured triangular meshes for general 2D geometry. Author: Darren Engwirda mathematics, simulation, modeling, fem, fvm, mesh generation 282 42
  • 5.0
5.0 | 24 ratings
03 Dec 2007 Screenshot Fast points-in-polygon test Fast test to determine points located inside general polygon regions. Should be significantly faster Author: Darren Engwirda points inside polygon, image processing, inpolygon, polygon 73 22
  • 4.41176
4.4 | 18 ratings
30 Nov 2006 Screenshot tinterp - an alternative to griddata Linear and quadratic interpolation for scattered data Author: Darren Engwirda approximation, interpolation, scattered interpolati..., linear, quadratic, 2d 18 4
  • 5.0
5.0 | 3 ratings
15 May 2006 Screenshot Contours for triangular grids Generate smooth contours for functions defined on unstructured triangular grids Author: Darren Engwirda specialized, plotting, unstructured, mesh, contours, graphics 117 16
  • 5.0
5.0 | 17 ratings
Comments and Ratings by Darren Engwirda View all
Updated File Comments Rating
17 Dec 2014 Robust dual-mesh construction Construct dual meshes from 2-simplex triangulations embedded in R^3 Author: Darren Engwirda

@Peter: Thanks for pointing that out. It seems that the behaviour of ISMEMBER has been changed in recent MATLAB releases and will no longer accept empty input arrays. DUALMESH has been updated to workaround this issue and should now run for both new and old MATLAB releases.

09 Aug 2011 MESH2D - Automatic Mesh Generation Generates unstructured triangular meshes for general 2D geometry. Author: Darren Engwirda

Hi Philippe, you may want to have a look at the utility "connectivity" routine. Amongst other things, it will identify the boundary nodes in a mesh.

14 Oct 2009 MESH2D - Automatic Mesh Generation Generates unstructured triangular meshes for general 2D geometry. Author: Darren Engwirda

Author comment: v24 was posted to resolve a licence conflict. The Mathworks no longer allows code to be released under a GNU GPL, so this has been removed for v24.

There are some (minor) revisions to the code, based on user feedback. Specifically, v24 may be slightly slower than v23, but should generally produce higher quality meshes, especially for complex geometries.

Comments/feedback is always welcome - d_engwirda@hotmail.com

Comments and Ratings on Darren Engwirda's Files View all
Updated File Comment by Comments Rating
17 Dec 2014 Robust dual-mesh construction Construct dual meshes from 2-simplex triangulations embedded in R^3 Author: Darren Engwirda Darren Engwirda

@Peter: Thanks for pointing that out. It seems that the behaviour of ISMEMBER has been changed in recent MATLAB releases and will no longer accept empty input arrays. DUALMESH has been updated to workaround this issue and should now run for both new and old MATLAB releases.

16 Dec 2014 Robust dual-mesh construction Construct dual meshes from 2-simplex triangulations embedded in R^3 Author: Darren Engwirda Peter

I get an error (below). I was doing the bunny demo, using R2013b

Error using ismember>ismemberR2012a (line 506)
Inputs A and B must be matrices with the same number of columns in the 'rows' case.

Error in ismember (line 103)
[varargout{1:max(1,nargout)}] = ismemberR2012a(A,B,logical(flaginds(1)));

Error in makedual2>markedge (line 147)
ke = ismember(ee,sort(ec,2),'rows') ;

27 Oct 2014 MESH2D - Automatic Mesh Generation Generates unstructured triangular meshes for general 2D geometry. Author: Darren Engwirda henripes

Hi,
does anyone know why this hit me with this problem:
"Checking Geometry
Undefined function or variable 'wbar'.
Error in meshfaces (line 127)
close(wbar);
Error in facedemo (line 39)
meshfaces(node,edge,face,hdata); "

Im trying to run this:

node = [0.0, 0.0; .4,0.0;0.2,0.5;0.4,0.5;0.2,1; 0.0,1; ...
0.5,0;0.5,1;...
1,0;1,1];

edge = [1,2; 2,3; 3,4; 4,5;5,6;6,1;...
2,7;7,8;8,5;...
9,10;10,11;11,8];

face{1} = [1,2,3,4,5,6];
face{2} = [7,8,9,4,3,2];
face{3} = [10,11,12,8];

hdata.hmax = 0.05;

which should be a sawtooth grating between air layers.

23 Oct 2014 MESH2D - Automatic Mesh Generation Generates unstructured triangular meshes for general 2D geometry. Author: Darren Engwirda henripes

Hi, finally some clear meshing program also for beginners! Thanks! There is anyhow a problem with "DSEARCH" in mesh_collection(6). Is it anyhow possible to repair it?

15 Oct 2014 MESH2D - Automatic Mesh Generation Generates unstructured triangular meshes for general 2D geometry. Author: Darren Engwirda Seth

We have been using this function since early 2010 and has proved very valuable for creating basic 2D meshes for finite element analysis.

The only issue is that with newer releases (since R2012?) the "tsearch" function is no longer supported by Matlab.

We have used the fix proposed by Mike (23 Sep 2013) and it has worked reasonably well for our problems and was fairly simple to fix in the source code.

Thanks again Darren & Mike for the quick fix.

This type of submission is one reason the File Exchange is simply awesome.

Contact us