<?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/32181.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: wrong number of function arguments </title>
  <link>http://www.comsol.com/community/forums/general/thread/32181/</link>
  <description>Most recent forum messages</description>
  <pubDate>Fri, 12 Oct 2012 21:32:54 +0000</pubDate>
  <image>
   <title>COMSOL Forums: wrong number of function arguments </title>
   <url>http://www.comsol.com/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.com/community/forums/general/thread/32181/</link>
  </image>
  <item>
   <title>Re: wrong number of function arguments </title>
   <link>http://www.comsol.com/community/forums/general/thread/32181/#p87974</link>
   <description>I think I figured out the error... I was trying to use the analytic function in the model in an anisotropic flow field. I was defining the flow field like &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
f(x) f(y) f(z) &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
but I think I needed to do &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
f(x,x,x) f(y,y,y) f(z,z,z) &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
for there to be 3 arguments in the model. Does that sound correct? &lt;br /&gt;&#13;
or should it be defined &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
f(x,y,z) for each flow direction (xx, yy, zz)? </description>
   <pubDate>Fri, 12 Oct 2012 21:32:54 +0000</pubDate>
   <guid isPermaLink="false">32181.1350077574.87974</guid>
  </item>
  <item>
   <title>Re: wrong number of function arguments </title>
   <link>http://www.comsol.com/community/forums/general/thread/32181/#p87972</link>
   <description>Here is a simplified (but very similar) model with the same error. Maybe I am misunderstanding how to define the arguments? &lt;br /&gt;&#13;
</description>
   <pubDate>Fri, 12 Oct 2012 21:07:33 +0000</pubDate>
   <guid isPermaLink="false">32181.1350076053.87972</guid>
  </item>
  <item>
   <title>Re: wrong number of function arguments </title>
   <link>http://www.comsol.com/community/forums/general/thread/32181/#p87845</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
no, not like that, probably you must make a simple model example and post that too (you do not need to give the full model, &amp;quot;just&amp;quot; reproduce the error in a simple new model&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Thu, 11 Oct 2012 09:30:18 +0000</pubDate>
   <guid isPermaLink="false">32181.1349947818.87845</guid>
  </item>
  <item>
   <title>wrong number of function arguments </title>
   <link>http://www.comsol.com/community/forums/general/thread/32181/#p87819</link>
   <description>Hello, &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I keep getting the same error for my analytical function &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&amp;quot;Wrong number of function arguments &lt;br /&gt;&#13;
Number of arguments expected: 3&amp;quot; &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
But as far as I can tell, I have defined 3 arguments in my function.. so I don't understand the error! &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
expression: a_c*pore_V(x,y,z)&lt;br /&gt;&#13;
Arguments: x, y, z &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
(a_c = a variable and pore_V(x,y,z) = random fxn) &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Does anyone know whats happening? &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you! &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Kelley </description>
   <pubDate>Wed, 10 Oct 2012 22:57:31 +0000</pubDate>
   <guid isPermaLink="false">32181.1349909851.87819</guid>
  </item>
 </channel>
</rss>
