-
matlab_FEM_dismesh
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)
- 2010-06-05 09:17:55下载
- 积分:1
-
Matlabzlclcx
Matlab直流潮流程序,Matlab直流潮流程序(Matlab直流潮流程序Matlab直流潮流程序)
- 2010-07-21 16:47:46下载
- 积分:1
-
Erlang-B-formula
Erlang B formula ,traffic intensity, number of channels,blocking probability
- 2011-12-22 04:45:11下载
- 积分:1
-
GAOTs
说明: 这是用MATLAB 编写的有关各种遗传算法的程序,非常的全,非常的有效。(MATLAB preparation of the various genetic algorithm procedures, very full, very effective.)
- 2006-03-24 20:44:27下载
- 积分:1
-
matlab_image_cancer
癌细胞的识别,实现阈值分割,细胞核分割,膨胀与腐蚀,形态学分类识别(Identification of cancer cells to achieve threshold segmentation, nuclear division, expansion and corrosion, morphological classification)
- 2010-05-20 15:42:18下载
- 积分:1
-
fullwave_Inverters
DESIGN and IMPLEMENTATION of a SHUNT ACTIVE POWER FILTER with REDUCED DC LINK VOLTAGE
- 2013-11-23 04:40:48下载
- 积分:1
-
NOMA (2)
说明: NOMA的吞吐量的计算,可以正确计算出结果。实测有效。(The throughput of NOMA can be calculated correctly. The measured results are effective.)
- 2021-04-19 10:08:51下载
- 积分:1
-
preprocessing
图像空域预处理算法汇总:有增强,去噪,锐化等,对初学者可作参考(err)
- 2007-07-14 11:06:47下载
- 积分:1
-
5esempi_C++
quinto esempi vari per c++ (schemi base)
- 2009-05-13 03:34:35下载
- 积分:1
-
love
用matlab画心形图,根据函数来画图,很漂亮,可以修改代码来改名字,给女朋友一个惊喜(Matlab painted heart-shaped diagram, according to the function to draw very beautiful, can modify the code to change the name to give his girlfriend a surprise)
- 2012-06-02 22:13:18下载
- 积分:1