<?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/4004.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: Flux in Convection and diffusion module : A quick question</title>
  <link>http://www.comsol.com/community/forums/general/thread/4004/</link>
  <description>Most recent forum messages</description>
  <pubDate>Thu, 08 Apr 2010 19:58:18 +0000</pubDate>
  <image>
   <title>COMSOL Forums: Flux in Convection and diffusion module : A quick question</title>
   <url>http://www.comsol.com/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.com/community/forums/general/thread/4004/</link>
  </image>
  <item>
   <title>Re: Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p11726</link>
   <description>It seems that nobody, even the support, knows how to calculate the flux using the weak form (lagrange multipliers), nor reacf() form.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Just to make sure one last time, does anybody know how to calculate flux in convection-diffusion using LMs or reacf()?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
ps. reacf(c) always gives zero value (weak form is off)</description>
   <pubDate>Thu, 08 Apr 2010 19:58:18 +0000</pubDate>
   <guid isPermaLink="false">4004.1270756698.11726</guid>
  </item>
  <item>
   <title>Re: Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p10598</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Correct to point out the subtilities to consider with moving boundaries, I overlooked that one, some interesting references in this domain are for me:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Principles of computational Fluid Dynamicsby P. Wesseling, Springer 2009 (soft) and&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Computational Fluid Mechanics and heat Transfer, by J.C. Tannehill, D.A. Anderson, R.H. Pletcher, Tylor&amp;amp;Fletcher, 1997&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Have a nice reading&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Tue, 23 Mar 2010 05:42:39 +0000</pubDate>
   <guid isPermaLink="false">4004.1269322959.10598</guid>
  </item>
  <item>
   <title>Re: Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p10568</link>
   <description>Here is an idea that might help under some special circumstances:&lt;br /&gt;&#13;
You can use the divergence theorem and re-express your boundary flux as a domain integral which you can calculate easily. Catch is, this way you cannot figure out individual boundary contributions; what you get is the total net flux across all boundaries enclosing your domain.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Even in cases when boundary integrals are calculable, domain integral is supposed to be more accurate so this should be the preferred way of calculating total net flux across boundaries.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
By the way, I noticed you are talking about flux across moving boundaries. Not sure how COMSOL implementation is but mathematically this requires caution too. For example convective flux of a scalar quantity b is [b*n dot (v-vb)] where n is unit normal and v and vb are velocity vectors of the fluid and moving boundary with respect to a fixed eulerian frame. That is, you should check to see how it is implemented and account for this boundary &amp;quot;sweeping&amp;quot; effect.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ozgur</description>
   <pubDate>Mon, 22 Mar 2010 16:33:37 +0000</pubDate>
   <guid isPermaLink="false">4004.1269275617.10568</guid>
  </item>
  <item>
   <title>Re: Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p10565</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
If I record correctly, lagrange multipliers &amp;quot;lm&amp;quot;s are defined on the nodes and should be &amp;quot;summed&amp;quot; and not integrated, have you tried the posprocessing BC &amp;quot;advanced&amp;quot; feature ? I cannot remember now if they are &amp;quot;automatically&amp;quot; summed rather than integrated.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Dear Ivar,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
They are automatically summed. correct. However, Comsol doesn't let me do any summation/integration on the boundaries for lm of convection &amp;amp; diffusion. So, still the question is how to find flux?&lt;br /&gt;&#13;
</description>
   <pubDate>Mon, 22 Mar 2010 16:27:55 +0000</pubDate>
   <guid isPermaLink="false">4004.1269275275.10565</guid>
  </item>
  <item>
   <title>Re: Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p10514</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
If I record correctly, lagrange multipliers &amp;quot;lm&amp;quot;s are defined on the nodes and should be &amp;quot;summed&amp;quot; and not integrated, have you tried the posprocessing BC &amp;quot;advanced&amp;quot; feature ? I cannot remember now if they are &amp;quot;automatically&amp;quot; summed rather than integrated.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Mon, 22 Mar 2010 07:33:17 +0000</pubDate>
   <guid isPermaLink="false">4004.1269243197.10514</guid>
  </item>
  <item>
   <title>Re: Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p10490</link>
   <description>Hi Ivar,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My question is simple and general.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
How can I calculate the mass flux going inside a subdomain accurately? &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
when I activate non-ideal weak mode for &amp;quot;convection and diffusion&amp;quot;, say lm3, I can not integrate it, like I do with &amp;quot;drag coefficient&amp;quot; in &amp;quot;cylinder in the flow&amp;quot; case.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am using comsol 3.5a, and modeling an oscillating cylinder (ALE) in the flow with reaction inside the cylinder, as a benchmark test. It is just the comsol &amp;quot;cylinder in the flow&amp;quot;, but oscillating one, and reaction happening inside.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Many thanks in advance</description>
   <pubDate>Sun, 21 Mar 2010 16:47:10 +0000</pubDate>
   <guid isPermaLink="false">4004.1269190030.10490</guid>
  </item>
  <item>
   <title>Re: Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p10481</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Is it possible to be slightly more explicit about your model ?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
such as version, application mode name, minimum model info, BC, ...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
It would make life slightly easer for us to understand and perhaps come with a suggestion, or just learn something ourselves.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Have fun with COMSOL&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Sun, 21 Mar 2010 09:53:22 +0000</pubDate>
   <guid isPermaLink="false">4004.1269165202.10481</guid>
  </item>
  <item>
   <title>Re: Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p10454</link>
   <description>update: the fluxes calculated using ntotalflux are wrong, specially when there is a moving boundary. this is frustrating.</description>
   <pubDate>Sat, 20 Mar 2010 09:01:43 +0000</pubDate>
   <guid isPermaLink="false">4004.1269075703.10454</guid>
  </item>
  <item>
   <title>Flux in Convection and diffusion module : A quick question</title>
   <link>http://www.comsol.com/community/forums/general/thread/4004/#p10385</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Is there such flux Lagrange multiplier in this mode, as there is for drag/lift or reacf(u), or I can use nflux_total accurately?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Many thanks</description>
   <pubDate>Fri, 19 Mar 2010 08:27:52 +0000</pubDate>
   <guid isPermaLink="false">4004.1268987272.10385</guid>
  </item>
 </channel>
</rss>

