<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173377</link>
    <title>MATLAB Central Newsreader - gradients in Comsol</title>
    <description>Feed for thread: gradients in Comsol</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 28 Jul 2008 15:17:01 -0400</pubDate>
      <title>gradients in Comsol</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173377#445879</link>
      <author>selim selim</author>
      <description>Hallo,&lt;br&gt;
Is it possible to get gradients of velocity (u,v) in an &lt;br&gt;
incompressible Navier stokes simulation in comsol?&lt;br&gt;
&lt;br&gt;
Thanks a lot,&lt;br&gt;
--Selim</description>
    </item>
    <item>
      <pubDate>Mon, 28 Jul 2008 15:57:05 -0400</pubDate>
      <title>Re: gradients in Comsol</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173377#445891</link>
      <author>Gavrilo Bozovic</author>
      <description>&quot;selim selim&quot; &amp;lt;fthsel@example.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g6kntd$lso$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hallo,&lt;br&gt;
&amp;gt; Is it possible to get gradients of velocity (u,v) in an &lt;br&gt;
&amp;gt; incompressible Navier stokes simulation in comsol?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks a lot,&lt;br&gt;
&amp;gt; --Selim&lt;br&gt;
&lt;br&gt;
First, this is not something that you should ask here, as it&lt;br&gt;
is more a Comsol question than a Matlab question, even if&lt;br&gt;
you are using Matlab for the postprocessing. The Comsol&lt;br&gt;
support can help you with this&lt;br&gt;
&lt;br&gt;
Then, yes, basically if you can think of it, you can do it ;)&lt;br&gt;
&lt;br&gt;
Could you tell more precisely what you are looking for? Do&lt;br&gt;
you want to get simply the repartition of the fluid velocity&lt;br&gt;
along a cross-section in your model? For this you should do:&lt;br&gt;
&lt;br&gt;
data=posteval(fem,'u', [...])&lt;br&gt;
&lt;br&gt;
instead of the [...], you'll have to put the geometric&lt;br&gt;
element in which you want your speed.&lt;br&gt;
&lt;br&gt;
data will then be a structure, containing, among others, the&lt;br&gt;
coordinates of the nodes at which the speed is calculated,&lt;br&gt;
and the values. There is a pretty comprehensive explanation&lt;br&gt;
of posteval in the Comsol help. Just hit F1, go in the HTML&lt;br&gt;
help for Comsol Multiphysics, and search posteval!</description>
    </item>
  </channel>
</rss>

