<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="http://www.comsol.dk/community/forums/geometry/rss/feed.rss" rel="self" type="application/rss+xml"/>
  <title>Geometry - Latest Discussions - COMSOL Forums</title>
  <link>http://www.comsol.dk/community/forums/</link>
  <description>Most recent forum discussions</description>
  <pubDate>Sat, 11 Feb 2012 17:14:18 +0000</pubDate>
  <image>
   <title>Geometry - Latest Discussions - COMSOL Forums</title>
   <url>http://www.comsol.dk/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.dk/community/forums/</link>
  </image>
  <item>
   <title>Problem in assigning boundary and initial conditions</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/26054/</link>
   <description>Hello,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am new to comsol &amp;amp; i want to simulate a very simple system; water in a pipe with a spherical ball kept as a disturbance.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am using comsol multiphysics 4.0a. I opened comsol, clicked on 2D&amp;gt; fluid flow&amp;gt; single phase&amp;gt; laminar flow, then I chose stationary study and finished the initial settings by clicking on the checkered flag.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
In geometry, i created a rectangle and a circle inside it. Under laminar flow, i clicked on wall properties to assign boundary conditions.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Here is the problem. By default, comsol has selected all lines &amp;amp; curves as boundary and the 'Selection:' has been disabled, so I cannot change it manually. I face same problem while assigning initial value conditions. I cannot give 'Initial Values' to my model. The problem remains same even when I switch between 'Form an assembly' to 'Form a union' under Geometry.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The problem remains same even when I try to simulate structural problems or any other physics.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am sure this problem has a very simple answer but as a biginner I am unaware of the features and it'll take me life long to explore each feature all by myself. I appreciate anyone who would like to help me.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you in advance.&lt;br /&gt;&#13;
</description>
   <pubDate>Sat, 11 Feb 2012 17:14:18 +0000</pubDate>
   <guid isPermaLink="false">.1328980458.26054</guid>
  </item>
  <item>
   <title>Cylic Voltammetry</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/26042/</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I want to model a 3 electrode electrochemical cell that I am using in cyclic voltammetry. I wanted to know if anyone had any suggestions on how to get start doing this using COMSOL as I am new.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I would like to be able to plot current vs potential and current vs time.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks&lt;br /&gt;&#13;
J</description>
   <pubDate>Fri, 10 Feb 2012 21:30:27 +0000</pubDate>
   <guid isPermaLink="false">.1328909427.26042</guid>
  </item>
  <item>
   <title>Save comsol file as  M.file, but without any parameter of geometry in script</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/26038/</link>
   <description>Hi everyone, &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I builded my model based on comsol 3.5a version, and then save it as to M.file. But when I save comsol file as to the .m file, the geometry file was produced as flbinary file .mphm (the example I list below). I do not want to get this script (flbilary), since the geometry parameter can not be changed. is there anybody know how to solve this problem?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
% The name of this file is given by the variable 'flbinaryfile'.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
flclear fem&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
% COMSOL version&lt;br /&gt;&#13;
clear vrsn&lt;br /&gt;&#13;
vrsn.name = 'COMSOL 3.5';&lt;br /&gt;&#13;
vrsn.ext = 'a';&lt;br /&gt;&#13;
vrsn.major = 0;&lt;br /&gt;&#13;
vrsn.build = 603;&lt;br /&gt;&#13;
vrsn.rcs = '$Name:  $';&lt;br /&gt;&#13;
vrsn.date = '$Date: 2008/12/03 17:02:19 $';&lt;br /&gt;&#13;
fem.version = vrsn;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
flbinaryfile='1.mphm';&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
% Geometry&lt;br /&gt;&#13;
clear draw&lt;br /&gt;&#13;
g247=flbinary('g247','draw',flbinaryfile);&lt;br /&gt;&#13;
draw.s.objs = {g247};&lt;br /&gt;&#13;
draw.s.name = {'CO1'};&lt;br /&gt;&#13;
draw.s.tags = {'g247'};&lt;br /&gt;&#13;
fem.draw = draw;&lt;br /&gt;&#13;
fem.geom = geomcsg(fem);&lt;br /&gt;&#13;
fem.mesh = flbinary('m1','mesh',flbinaryfile);&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
% (Default values are not included)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I want the form like this so that I can change the geometry parameter.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
g1=ellip2(0.2,0.2,'base','center','pos',[0.4,-0.4]);&lt;br /&gt;&#13;
g2=ellip2(r,r,'base','center','pos',{'0','0'},'rot','0');&lt;br /&gt;&#13;
garr=geomarrayr(g2,pitch,pitch/sqrt(3),5,8);&lt;br /&gt;&#13;
[g40,g41,g42,g43,g44,g45,g46,g47,g48,g49,g50,g51,g52,g53,g54,g55,g56,g57,g58,g59,g60,g61,g62,g63,g64,g65,g66,g67,g68,g69,g70,g71,g72,g73,g74,g75,g76,g77,g78,g79]=deal(garr{:});&lt;br /&gt;&#13;
g80=ellip2(2.0E-4,2.0E-4,'base','center','pos',[-0.0010,6.0E-4]);&lt;br /&gt;&#13;
g81=ellip2(r,r,'base','center','pos',{pitch/2,pitch/(2*sqrt(3))},'rot','0');</description>
   <pubDate>Fri, 10 Feb 2012 20:46:47 +0000</pubDate>
   <guid isPermaLink="false">.1328906807.26038</guid>
  </item>
  <item>
   <title>Defining Geometry Domains</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25987/</link>
   <description>Hi,&lt;br /&gt;&#13;
I've made a closed loop with 4 different Bezier Polygon line segments.  I'm able to select them as a group of boundaries but I can't find a way to define them as a domain to add later physics.&lt;br /&gt;&#13;
Thanks&lt;br /&gt;&#13;
LoongYi</description>
   <pubDate>Wed, 08 Feb 2012 21:24:12 +0000</pubDate>
   <guid isPermaLink="false">.1328736252.25987</guid>
  </item>
  <item>
   <title>import a bmp image into COMSOL geometry</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25940/</link>
   <description>Hey, &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
as stated in this webpage: http://www.comsol.com/products/formats/ Comsol can both read and write few types of images. However, when I tried to import a bmp image as my structure for flow simulation, it was not possible, because the options given include only mphtxt, dxf, etc. Does any one know how I can get a bmp or jpeg image imported? Thanks!  &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Chunyan </description>
   <pubDate>Tue, 07 Feb 2012 14:10:48 +0000</pubDate>
   <guid isPermaLink="false">.1328623848.25940</guid>
  </item>
  <item>
   <title>How to draw a block with rounded corner in geometry?</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25929/</link>
   <description>Hi All,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am trying to draw a round corner cuboid in Comsol 4.2, it will be like a geometry between a cylinder and a block.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I saw somewhere saied &amp;quot;round the corner with fillet radius&amp;quot;, but do not know how to actually make it. I tried making several cylinders and a block, and make boolean calculation, but it does not come out a satisfied result. Can anybody give me a way out, let me know the specific procedure of doing this?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks!!</description>
   <pubDate>Mon, 06 Feb 2012 23:40:37 +0000</pubDate>
   <guid isPermaLink="false">.1328571637.25929</guid>
  </item>
  <item>
   <title>Droplet breakup in a T-Junction in a smaller channel</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25883/</link>
   <description>Hi all,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I have a specific set of parameters for wich I am trying to simulate the breakup of droplets in a T-junction. Entering these parameters for the geometry from the example MEMS module[1] gives fine results (droplets form). &lt;br /&gt;&#13;
However, if I slash the channel size in half (50x50x20 mum) I get no droplets but a coflow regime, where the dispersed phase occupies the upper part of the channel. &lt;br /&gt;&#13;
Now I have a real life system that has exactly the same dimensions (50x50x20 mum) and I can generate droplets for the same set of parameters in that.&lt;br /&gt;&#13;
So, I am somewhat stumped on how to proceed from here. I tried doubling the meshsize and increased the timeframe of the simulation and even fiddled around with the parameters, but it always gives me the cowflow regime.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Any help appreciated.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
[1] The geometry in the example module is a 100x100x50 mum channel.</description>
   <pubDate>Sat, 04 Feb 2012 23:09:38 +0000</pubDate>
   <guid isPermaLink="false">.1328396978.25883</guid>
  </item>
  <item>
   <title>Time Derivation (or model in general) suddenly becomes unstable.</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25761/</link>
   <description>Hello everyone,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am modelling electrical machines with the rotating machinery interface wthin the ACDC module. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
This is my thread about the same model:&lt;br /&gt;&#13;
http://www.comsol.com/community/forums/general/thread/25702/&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My problem is that the model won't solve when the permeability is non linear. Interesting is that after 2ms the simulation becomes very unstable and won't get to the 10ms mark.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
In the attached pictures I want to show how unstable the time derivation of the flux linkage suddenly becomes.&lt;br /&gt;&#13;
You have an overview there and zoomed pictures.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Is it somehow possible to damp that derivation a litte? I'm afraid that this is causing my simulation to become unstable. Could it be that Comsol by default changes something at ca. 2ms that affects the derivation? &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Here is a small overview about how I usually define my variables:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Psiges1  =  4*(intop2(mod1.Az))*...&lt;br /&gt;&#13;
e1             = -d(Psi1ges,TIME)&lt;br /&gt;&#13;
i2               = (u13+e1-e3)/4/Rsg/(-3)-...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Everything, including the derivations, is defined in the Definitions/Variables table.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Does anybody have an idea, why my model is so unstable? : (&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks in advance&lt;br /&gt;&#13;
</description>
   <pubDate>Tue, 31 Jan 2012 21:35:40 +0000</pubDate>
   <guid isPermaLink="false">.1328045740.25761</guid>
  </item>
  <item>
   <title>avoided 2783 inverted elements by using linear geometry shape order</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25753/</link>
   <description>Hello all;&lt;br /&gt;&#13;
when i start running my i get this massage what it should mean and how i can avoid this error?&lt;br /&gt;&#13;
Best regard </description>
   <pubDate>Tue, 31 Jan 2012 17:43:02 +0000</pubDate>
   <guid isPermaLink="false">.1328031782.25753</guid>
  </item>
  <item>
   <title>Point3 boundary settings!</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25743/</link>
   <description>I am using Comsol 3.5a with matlab, I am creating in graphic interface a Point3 and when I want to set the boundary of that point is imposible to put any. The point is created in a 3D geometry and the 3D geometry is a single entity... for the points of this geometry there is no problem to set values but the extra point created does not give this option. Is it the license? I really appreciate any answer...</description>
   <pubDate>Tue, 31 Jan 2012 08:44:56 +0000</pubDate>
   <guid isPermaLink="false">.1327999496.25743</guid>
  </item>
  <item>
   <title>conversion from 2D to 3D</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25716/</link>
   <description>hello,&lt;br /&gt;&#13;
     I am building a 'comb drive' model, in the 'electrostatics' division of the 'AC/DC module' in COMSOL 4.2. I need to 'extrude' a 2D model into a 3D one. How do i do that?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you</description>
   <pubDate>Mon, 30 Jan 2012 11:41:35 +0000</pubDate>
   <guid isPermaLink="false">.1327923695.25716</guid>
  </item>
  <item>
   <title>Time dependent and non linear model takes (too?) long to solve...</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25702/</link>
   <description>Hello everyone,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am simulating electrical machines within the rotating machinery interface in the ACDC module.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The model I calculate right now solves. But the way it solves is not satisfying in my oppinion. As soon as I choose the iron to be nonlinear, the solving takes days to calculate just 50ms with a time step of 100us.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I'm not sure if I'm allowed to upload the model in this forum, since the Geometry is not meant to be public.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The Geometry is a fourth of the motor and periodic boundary conditions are used for this. The current, stamped into the slots, is calculated by time dependent equations which involve the derivation of the flux field linkage. So comsol has to solve the equation for the current and vector potential simultaneously.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I already tried to improve the model this way:&lt;br /&gt;&#13;
http://www.comsol.com/support/knowledgebase/1127/&lt;br /&gt;&#13;
But it didn't really increase the speed.  Actually with it's help the model could first be solved nonlinear...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Does anybody have general advices to get nonlinear time dependent models solved faster?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks in advance.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Sun, 29 Jan 2012 21:52:09 +0000</pubDate>
   <guid isPermaLink="false">.1327873929.25702</guid>
  </item>
  <item>
   <title>Splitting up an imported geometry into different domains</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25676/</link>
   <description>Is it possible to import a geometry from a CAD file into Comsol in such a way that it contains more than 1 domain?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Till now I made all my geometries in comsol itself. But now I need to make a more complex geometry that contains different materials herefor the geometry needs to be more than 1 domain.</description>
   <pubDate>Fri, 27 Jan 2012 13:08:06 +0000</pubDate>
   <guid isPermaLink="false">.1327669686.25676</guid>
  </item>
  <item>
   <title>Small Copper Wire Coil Producing Magnetic Field</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25669/</link>
   <description>Hey all,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
   I'm pretty new to COMSOL, but I tried to build a very simple model which has a small, copper wire loop.  The hope is that when a current is run through the loop there should be a larger magnetic field in the CENTER of the loop.  Unfortunately this sort of &amp;quot;lensing&amp;quot; effect is not observed.  I have consulted the model builder files both the current carrying wires model and the helmholtz coil model without being able to figure out whats wrong.  &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
   When I define the model I simply draw the parallel wires that bring current, and then a small loop and since I'm using the magnetic fields as my physics I then define the domains that make up the coil as having a current density in x,y,z under external current density.  When I solve, I am able to produce a thermal map of the flux but it doesn't seem to make sense, as it implies the highest flux is along the wires and when I change it to magnetic field, it shows some nonsensical surface map that I'm having trouble believing.  I would like to be able to produce data of the magnetic field gradient, the magnetic field, the heat produced by the sample when it's running, and the force produced by the wire, but I still haven't been able to make any reasonable results with the model I have.  I fear that I may have somehow defined the current density incorrectly, but I'm not sure how.  I also tried to build the model in 3D with similar results.  I have attached the file, any help is always greatly appreciated.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Regards  </description>
   <pubDate>Thu, 26 Jan 2012 23:34:48 +0000</pubDate>
   <guid isPermaLink="false">.1327620888.25669</guid>
  </item>
  <item>
   <title>Export Geometry File</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25667/</link>
   <description>I've used Comsol to optimize the geometry of an electrode. I was hoping to export this exact geometry so I can print a mask and then fabricate the electrode. When I've tried to export it, I can only seem to export it as a Comsol file. Is there any way to export it as a .tiff file?</description>
   <pubDate>Thu, 26 Jan 2012 22:20:26 +0000</pubDate>
   <guid isPermaLink="false">.1327616426.25667</guid>
  </item>
  <item>
   <title>effective refractive index RF module</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25664/</link>
   <description>Hi, quick question that may be easy for some of you.  Say I have a fiber with a core of refractive index 1.45 and then I have an array of airholes in a background of refractive index 1.45.  So the airholes lower the refractive index of the cladding region.  How do I find out what this &amp;quot;average&amp;quot; effective refractive index of the cladding is.  I know that I can solve the fiber and get modes with a wide range of effective refractive indices, but I just want to know what the cladding is effectively being &amp;quot;seen as&amp;quot;.  For example, I could then take this average cladding refractive index value and in a new model, place it as a cladding layer around my my core (think step index fiber, instead of a porous cladding) and compute the number of modes and then check this with the previous porous cladding fiber.  Does anyone know how to do this?&lt;br /&gt;&#13;
</description>
   <pubDate>Thu, 26 Jan 2012 20:37:35 +0000</pubDate>
   <guid isPermaLink="false">.1327610255.25664</guid>
  </item>
  <item>
   <title>New (local) coordinate system</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/25629/</link>
   <description>Hi,&lt;br /&gt;&#13;
Can COMSOL define a new coordinate system or a local coordinate system to define analytical functions?  Basically I need to offset an x y z coordinates for my function. In the case where the local coordinate is the same as the global coordinate, the offset coordinates are easy to determine. But in my case, the local coordinates system are rotated at an angle such that these offset coordinates cannot be determined. It will be helfpful if COMSOL has an option that allows us to define the analytical function through a local coordinate ssytem&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
BW,&lt;br /&gt;&#13;
EH</description>
   <pubDate>Wed, 25 Jan 2012 08:47:44 +0000</pubDate>
   <guid isPermaLink="false">.1327481264.25629</guid>
  </item>
  <item>
   <title>No-slip on interior boundary</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/16685/</link>
   <description>I like to solve (Comsol 4.1) Navier-Stokes (incompressible) in a 2D-domain that has an interior boundary (typically a line starting at some point on the exterior boundary and ending at some point inside the domain). On this interior boundary I like to impose a no-slip condition. However, Comsol does not allow me to do so. It says that this interior boundary is &amp;quot;not applicable&amp;quot;. Does anybody know how to enable interior boundaries in order to impose boundary conditions there (I know that this was possible in 3.5)?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Leon</description>
   <pubDate>Fri, 08 Apr 2011 12:07:58 +0000</pubDate>
   <guid isPermaLink="false">.1302264478.16685</guid>
  </item>
  <item>
   <title>Importing Boundary Conditions Using a .nas File</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/13013/</link>
   <description>Is there any way to import boundary conditions into comsol using nastran file .nas mesh import. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Many thanks</description>
   <pubDate>Mon, 17 Jan 2011 12:36:19 +0000</pubDate>
   <guid isPermaLink="false">.1295267779.13013</guid>
  </item>
  <item>
   <title>Calculation of normal vectors on surface</title>
   <link>http://www.comsol.dk/community/forums/geometry/thread/12307/</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I need to calculate normal vectors on a 3D geometry surface to calculate boundary conditions from that (it's a rather complex matlab code). I took the postinterp help to get a starting point and tried to calculate the normal vectors in the center of each element. I used postinterp and tried to determine nx, ny and nz, but, whatever I do, I only get NaNs. In the postinterp help, a parameter s was used to do that, this also works fine in 3D, but I am not sure how I would transform certain points to that parameter... Here's my code:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
% Create sphere surface geometry&lt;br /&gt;&#13;
clear fem&lt;br /&gt;&#13;
fem.geom=geomcoerce('face',sphere3(1,'pos',[0,0,0]));&lt;br /&gt;&#13;
geomplot(fem,'edgelabels','on'), axis equal&lt;br /&gt;&#13;
% Generate mesh&lt;br /&gt;&#13;
fem.mesh = meshinit(fem);&lt;br /&gt;&#13;
fem.shape = 2;&lt;br /&gt;&#13;
fem.xmesh = meshextend(fem);&lt;br /&gt;&#13;
% Get element triangulation&lt;br /&gt;&#13;
a=get(fem.mesh,'el');&lt;br /&gt;&#13;
tri=a{3}.elem;&lt;br /&gt;&#13;
p=fem.mesh.p;&lt;br /&gt;&#13;
% Calculate center point of each triangle&lt;br /&gt;&#13;
pn=(p(:,tri(1,:))+p(:,tri(2,:))+p(:,tri(3,:)))/3;&lt;br /&gt;&#13;
% Calculate normal vectors&lt;br /&gt;&#13;
nx=postinterp(fem,'nx',pn)&lt;br /&gt;&#13;
% this gives only NaNs, why?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Any ideas? Also the interpolation in the mesh points does not work, &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
nx=postinterp(fem,'nx',fem.mesh.p)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
gives me the same NaNs...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Nils</description>
   <pubDate>Wed, 22 Dec 2010 14:10:11 +0000</pubDate>
   <guid isPermaLink="false">.1293027011.12307</guid>
  </item>
 </channel>
</rss>

