文件名称:matlab_FEM_dismesh
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:36.71kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
DistMesh giving a singular FEM matrix?-Hi
Anyone here with some experience of using DistMesh in finite element code? I m solving the scalar Helmoltz equation in an annular region in 2D:
rho_1 < rho < rho_2
where rho_1 is the radius of a Perfect Electric Conducting cylinder and rho_2 is where the mesh is truncated using an Absorbing Boundary condition.
Now, I ve written code to mesh the region myself (by dividing the region into annular rings and picking a fixed number of points on each ring) and I ve written another program which uses DistMesh to mesh the region. I get a nice solution using my own meshing code but the FEM matrix becomes singular when I use DistMesh. This is the DistMesh Code I used:
Circle with hole
rABC=1.5
rCyl=0.5
fdstring=sprintf( ddiff(dcircle(p,0,0, f),dcircle(p,0,0, f)) ,rABC,rCyl)
fd=inline(fdstring, p )
box=[-2,-2 2,2]
[p,N]=distmesh2d(fd,@huniform,0.04,box,[])
I tried changing box and the 0.04 value (initial edge length). But every time, the matrix becomes sin
Anyone here with some experience of using DistMesh in finite element code? I m solving the scalar Helmoltz equation in an annular region in 2D:
rho_1 < rho < rho_2
where rho_1 is the radius of a Perfect Electric Conducting cylinder and rho_2 is where the mesh is truncated using an Absorbing Boundary condition.
Now, I ve written code to mesh the region myself (by dividing the region into annular rings and picking a fixed number of points on each ring) and I ve written another program which uses DistMesh to mesh the region. I get a nice solution using my own meshing code but the FEM matrix becomes singular when I use DistMesh. This is the DistMesh Code I used:
Circle with hole
rABC=1.5
rCyl=0.5
fdstring=sprintf( ddiff(dcircle(p,0,0, f),dcircle(p,0,0, f)) ,rABC,rCyl)
fd=inline(fdstring, p )
box=[-2,-2 2,2]
[p,N]=distmesh2d(fd,@huniform,0.04,box,[])
I tried changing box and the 0.04 value (initial edge length). But every time, the matrix becomes sin
相关搜索: fem
helmoltz equation
(系统自动生成,下载前可以参看下载内容)
下载文件列表
boundedges.m
circumcenter.m
COPYRIGHT.TXT
dblock.m
dcircle.m
ddiff.m
dellipse.cpp
dellipse.dll
dellipse.mexglx
dellipsoid.cpp
dellipsoid.dll
dellipsoid.mexglx
dexpr.m
dintersect.m
distmesh2d.m
distmeshnd.m
dmatrix3d.m
dmatrix.m
dpoly.m
drectangle0.m
drectangle.m
dsegment.cpp
dsegment.dll
dsegment.mexglx
dsphere.m
dunion.m
fixmesh.m
hmatrix3d.m
hmatrix.m
huniform.m
meshdemo2d.m
meshdemond.m
mkt2t.m
protate.m
pshift.m
simpplot.m
simpqual.m
simpvol.m
surftri.m
uniformity.m
circumcenter.m
COPYRIGHT.TXT
dblock.m
dcircle.m
ddiff.m
dellipse.cpp
dellipse.dll
dellipse.mexglx
dellipsoid.cpp
dellipsoid.dll
dellipsoid.mexglx
dexpr.m
dintersect.m
distmesh2d.m
distmeshnd.m
dmatrix3d.m
dmatrix.m
dpoly.m
drectangle0.m
drectangle.m
dsegment.cpp
dsegment.dll
dsegment.mexglx
dsphere.m
dunion.m
fixmesh.m
hmatrix3d.m
hmatrix.m
huniform.m
meshdemo2d.m
meshdemond.m
mkt2t.m
protate.m
pshift.m
simpplot.m
simpqual.m
simpvol.m
surftri.m
uniformity.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.