<?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.com/community/forums/general/rss/thread/31956.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: density variable</title>
  <link>http://www.comsol.com/community/forums/general/thread/31956/</link>
  <description>Most recent forum messages</description>
  <pubDate>Wed, 03 Oct 2012 14:47:28 +0000</pubDate>
  <image>
   <title>COMSOL Forums: density variable</title>
   <url>http://www.comsol.com/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.com/community/forums/general/thread/31956/</link>
  </image>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87361</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
you can then &amp;quot;define&amp;quot; a cylindrical coordinate and refer to sys2.r or whatever your radial vector name is ;)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Wed, 03 Oct 2012 14:47:28 +0000</pubDate>
   <guid isPermaLink="false">31956.1349275648.87361</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87328</link>
   <description> I applied from the center to the outside of all the geometry,a material with a density that varies linearly with a decreasing from the center towards the outside of it!So my geometry is in 3D! I can, however, define this edge in 2D? I can not understand under which entry you can do this!&lt;br /&gt;&#13;
I can not find a tutorial to provide guidance&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
thanks</description>
   <pubDate>Wed, 03 Oct 2012 11:08:40 +0000</pubDate>
   <guid isPermaLink="false">31956.1349262520.87328</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87325</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I'm not sure we understand us all correctly, but if you select an Edge in 2D then you have access to a variable &amp;quot;s&amp;quot; that goes from 0 to 1 along the edge in the direction of the &amp;quot;edge&amp;quot; arrow, you can use this to define a variable along an edge. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
If it is for a domain in 2D (surface) then by selecting this entity, you implicitly define an &amp;quot;(x,y)&amp;quot; coordinate and if you define a variable on this entity it can be seen as a field i.e &amp;quot;rho(x,y)&amp;quot;, with the trivial case &amp;quot;rho&amp;quot; is a scalar hence independent of (x,y)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
This is why and how material properties are dependent in T and pA ...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Wed, 03 Oct 2012 09:41:34 +0000</pubDate>
   <guid isPermaLink="false">31956.1349257294.87325</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87320</link>
   <description>can I define a vector in which the distance from the center varies between 0 and R? cause  the problem is to vary the r small!&lt;br /&gt;&#13;
Thanks</description>
   <pubDate>Wed, 03 Oct 2012 08:08:46 +0000</pubDate>
   <guid isPermaLink="false">31956.1349251726.87320</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87287</link>
   <description>Hi Nagi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Très perspicace I see ;) As often I read through the question a bit too quickly ;)&lt;br /&gt;&#13;
Thanks for the correction, with COMSOL I check the units, but I'm not by my WS, and obviously getting lazy ...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Having fun COMSLing, &lt;br /&gt;&#13;
but only from tomorrow morning off &lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Tue, 02 Oct 2012 19:08:05 +0000</pubDate>
   <guid isPermaLink="false">31956.1349204885.87287</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87283</link>
   <description>Thank Ivar, that gives 100% at the middle and 80% at the extremes. I want to fix a type though: &amp;quot;rho*(0.8+0.2*4*(r-rmin)*(rmax-r) / (rmax-rmin)^2)&amp;quot;.</description>
   <pubDate>Tue, 02 Oct 2012 18:02:08 +0000</pubDate>
   <guid isPermaLink="false">31956.1349200928.87283</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87269</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
what about a density of something like (assuming rho is a scalar) &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&amp;quot;rho*(0.8+0.2*2*(r-rmin)*(rmax-r) / (rmax-rmin))&amp;quot;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
this should make a nice parabola, non ?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Tue, 02 Oct 2012 16:39:04 +0000</pubDate>
   <guid isPermaLink="false">31956.1349195944.87269</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87252</link>
   <description>if I had a cylinder, assuming that I know the radius and the radius max min and the density to 100% and the density to 80! how should I define this variability?</description>
   <pubDate>Tue, 02 Oct 2012 13:34:00 +0000</pubDate>
   <guid isPermaLink="false">31956.1349184840.87252</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87236</link>
   <description>I define a function variable analytic form? or assign material at certain points thus giving the coordinates?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
thanks for reply!!!</description>
   <pubDate>Tue, 02 Oct 2012 11:26:33 +0000</pubDate>
   <guid isPermaLink="false">31956.1349177193.87236</guid>
  </item>
  <item>
   <title>Re: density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87230</link>
   <description>Specify the density to be a function of the spatial coordinates, X, Y and/or Z.</description>
   <pubDate>Tue, 02 Oct 2012 10:10:51 +0000</pubDate>
   <guid isPermaLink="false">31956.1349172651.87230</guid>
  </item>
  <item>
   <title>density variable</title>
   <link>http://www.comsol.com/community/forums/general/thread/31956/#p87222</link>
   <description>how to define a variable density in the same piece? I give 100% at the center of the piece and the edges 70, 80!</description>
   <pubDate>Tue, 02 Oct 2012 08:14:54 +0000</pubDate>
   <guid isPermaLink="false">31956.1349165694.87222</guid>
  </item>
 </channel>
</rss>
