Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Segmentation Fault using geomcsg()
Posted 24 févr. 2010, 22:23 UTC−5 0 Replies
Please login with a confirmed email address before reporting spam
Kevin
% COMSOL Multiphysics Model M-file
% Generated by COMSOL 3.5a (COMSOL 3.5.0.603, $Date: 2008/12/03 17:02:19 $)
flclear fem
% COMSOL version
clear vrsn
vrsn.name = 'COMSOL 3.5';
vrsn.ext = 'a';
vrsn.major = 0;
vrsn.build = 603;
vrsn.rcs = '$Name: $';
vrsn.date = '$Date: 2008/12/03 17:02:19 $';
fem.version = vrsn;
% Geometry
g1=rect2('4.29','2.43','base','corner','pos',{'0','0'},'rot','0');
g2=curve2([0,0],[0.18,2.25]);
parr={point2(2.145,1.215)};
g3=geomcoerce('point',parr);
% Analyzed geometry
clear p c s
p.objs={g3};
p.name={'PT1'};
p.tags={'g3'};
c.objs={g2};
c.name={'B1'};
c.tags={'g2'};
s.objs={g1};
s.name={'R1'};
s.tags={'g1'};
fem.draw=struct('p',p,'c',c,'s',s);
fem.geom=geomcsg(fem);
Hello Kevin Barnhart
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.