<?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/34365.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: Using step function in kinetic reaction simulation</title>
  <link>http://www.comsol.com/community/forums/general/thread/34365/</link>
  <description>Most recent forum messages</description>
  <pubDate>Tue, 29 Jan 2013 14:01:45 +0000</pubDate>
  <image>
   <title>COMSOL Forums: Using step function in kinetic reaction simulation</title>
   <url>http://www.comsol.com/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.com/community/forums/general/thread/34365/</link>
  </image>
  <item>
   <title>Re: Using step function in kinetic reaction simulation</title>
   <link>http://www.comsol.com/community/forums/general/thread/34365/#p94763</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
    Thank you so much for all advices. It works now :)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Best Regards,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Pattamon</description>
   <pubDate>Tue, 29 Jan 2013 14:01:45 +0000</pubDate>
   <guid isPermaLink="false">34365.1359468105.94763</guid>
  </item>
  <item>
   <title>Re: Using step function in kinetic reaction simulation</title>
   <link>http://www.comsol.com/community/forums/general/thread/34365/#p94755</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The step function uses the concentration as the input argument (the switch), but that should be the time t. Also the step amplitude is the concentration c0, so I don't see why that value is multiplied with the step output in the variable intl: c0*step1((c0-0)[m^3/mol])&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I think that you should use: &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
step1(t[1/s])[mol/m^3]&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
where &amp;quot;[1/s]&amp;quot; is used to make the argument unitless and the unit of the output is mol/m^3 for a concentration.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Also, perhaps the initial value should be c0 rather than 0? Now the initial value and the boundary condition for the concentration don't match at the start of the simulation.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Best regards,&lt;br /&gt;&#13;
Magnus Ringh, COMSOL&lt;br /&gt;&#13;
</description>
   <pubDate>Tue, 29 Jan 2013 12:57:22 +0000</pubDate>
   <guid isPermaLink="false">34365.1359464242.94755</guid>
  </item>
  <item>
   <title>Re: Using step function in kinetic reaction simulation</title>
   <link>http://www.comsol.com/community/forums/general/thread/34365/#p94713</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
first of all your shape is very thin, with only 1 element across you do not resolve a lot, try to scale the vertical axis by i.e 100 in the mesh advanced tab.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Then your process is over in 4 seconds, your solver steps seem to be far too long, what about cutting your rectangle with a layer (geometry tab) at te half height of 0.3 um, then solve and look at the concentration along this central line in a line plot&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Tue, 29 Jan 2013 01:12:10 +0000</pubDate>
   <guid isPermaLink="false">34365.1359421930.94713</guid>
  </item>
  <item>
   <title>Re: Using step function in kinetic reaction simulation</title>
   <link>http://www.comsol.com/community/forums/general/thread/34365/#p94675</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
    I have tried to put the step function where I want to change the inlet concentration from c0 to 0 at time = 400s.&lt;br /&gt;&#13;
I defined the step function for concentration in the variables. It didn't not work for now. I guess my function is not correct or I need to add something more. I also attached my short simulation model here.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you for your advice.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Pattamon</description>
   <pubDate>Mon, 28 Jan 2013 19:21:29 +0000</pubDate>
   <guid isPermaLink="false">34365.1359400889.94675</guid>
  </item>
  <item>
   <title>Re: Using step function in kinetic reaction simulation</title>
   <link>http://www.comsol.com/community/forums/general/thread/34365/#p94553</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
in v4 you find these under root-Globa-Definitions, or better: Model-Definitions-Functions, use the dynamic doc and search the HTML or PDF doc&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Sat, 26 Jan 2013 05:38:02 +0000</pubDate>
   <guid isPermaLink="false">34365.1359178682.94553</guid>
  </item>
  <item>
   <title>Using step function in kinetic reaction simulation</title>
   <link>http://www.comsol.com/community/forums/general/thread/34365/#p94507</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am trying to simulate the kinetic reaction of biomolecule interaction in fludic channel expecting to have association and dissociation phase (concentration of complex versus time) in the same curve. I knew that it is possible to use step function or smoothed Heaviside step function  from COMSOL in order to change the concentration of analyte species at the inlet from C=x mol/m3 to C=0 mol/m3 at a certain time. I have no idea how to find this function and what kind of variables I need to defind. Anyone has any experience on this? &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Regards,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Pattamon</description>
   <pubDate>Fri, 25 Jan 2013 19:26:30 +0000</pubDate>
   <guid isPermaLink="false">34365.1359141990.94507</guid>
  </item>
 </channel>
</rss>
