<?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.co.in/community/forums/general/rss/thread/3769.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: How to set boundary conditions from parametric solver</title>
  <link>http://www.comsol.co.in/community/forums/general/thread/3769/</link>
  <description>Most recent forum messages</description>
  <pubDate>Mon, 15 Mar 2010 10:07:28 +0000</pubDate>
  <image>
   <title>COMSOL Forums: How to set boundary conditions from parametric solver</title>
   <url>http://www.comsol.co.in/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.co.in/community/forums/general/thread/3769/</link>
  </image>
  <item>
   <title>Re: How to set boundary conditions from parametric solver</title>
   <link>http://www.comsol.co.in/community/forums/general/thread/3769/#p10012</link>
   <description>Hello&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
We have understood how define the parameters of the solver to associate  as boundary conditions as parameters. For example, if we take param1=1 param2=0 param3=-1, we can fix a current entering on a first border, an electric insulation on the second and an outgoing current on the third. Thus, the problem will be solved for these boundary conditions. If we add three new values in the window parameter value, Comsol will start up a second resolution, ect…&lt;br /&gt;&#13;
But in our case, we would wish to associate a set of 1064 boundary conditions (or less if we are able to group them by function: current entering, outgoing, insulation…)with only one value parameter. For that, parameter would be the number of a line of matrix made up of 1064 values. These data could be in an additional file that we call in the window parameter sweep  or could be generated  by a function connecting a number of parameter has a set of number of border.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
 It is this passage which we do not manage to format in Comsol.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks for your help!&lt;br /&gt;&#13;
</description>
   <pubDate>Mon, 15 Mar 2010 10:07:28 +0000</pubDate>
   <guid isPermaLink="false">3769.1268647648.10012</guid>
  </item>
  <item>
   <title>Re: How to set boundary conditions from parametric solver</title>
   <link>http://www.comsol.co.in/community/forums/general/thread/3769/#p9862</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My way (there are many) is to define a variable &amp;quot;param&amp;quot; as range(0,0.1,1) (typically from 0 to 1) and then I multiply the amplitude of my signal by &amp;quot;*param&amp;quot;.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
So if you have several electrodes, and you have grouped them into a &amp;quot;group&amp;quot; you can define a BC (boundary condition) as Voltage = Vamplitude*param (Vamplitude being defined i.e. in the Constants as Vamplitude = 10[V] or whateverfits you) and normally off you go&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
But you can also define the parameter directly as a voltage value, just check the units, as noramlly the parameter is unitless&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
And when thing fails, try it out on the simplest model you can imagine, to learn the principle behind, one often fails because of the complexity of the multiphysics, its not always just to jump in and &amp;quot;play winner&amp;quot;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Fri, 12 Mar 2010 19:55:08 +0000</pubDate>
   <guid isPermaLink="false">3769.1268423708.9862</guid>
  </item>
  <item>
   <title>How to set boundary conditions from parametric solver</title>
   <link>http://www.comsol.co.in/community/forums/general/thread/3769/#p9823</link>
   <description>hello,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
We want to successivly run a DC_model by changing only some boundary conditions (i.e. current density on a face) on only some geometric objects  (i.e. electrods).&lt;br /&gt;&#13;
We want to use parametric solver to perform this operation. For that:  &lt;br /&gt;&#13;
We tried to group together boundaries in Options/Boundary Expressions and linked them to a variable. This variable was defined in Options/Constant as a value of current density. In the menu Solve/parametric sweep, we typed in the window &amp;quot;parametric name&amp;quot; the group name of the boundaries we want to change value. In the window &amp;quot;parametric value&amp;quot; we typed the constant name which represents the value of current density. &lt;br /&gt;&#13;
But it doesn't work! help!!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks for your help&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Fri, 12 Mar 2010 13:28:07 +0000</pubDate>
   <guid isPermaLink="false">3769.1268400487.9823</guid>
  </item>
 </channel>
</rss>

