COMSOL Forums: wrong number of function arguments
http://www.comsol.com/community/forums/general/thread/32181/
Most recent forum messagesFri, 12 Oct 2012 15:32:54 +0000COMSOL Forums: wrong number of function arguments http://www.comsol.com/shared/images/logos/comsol_logo.gif
http://www.comsol.com/community/forums/general/thread/32181/
Re: wrong number of function arguments
http://www.comsol.com/community/forums/general/thread/32181/#p87974
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 <br />
<br />
f(x) f(y) f(z) <br />
<br />
but I think I needed to do <br />
<br />
f(x,x,x) f(y,y,y) f(z,z,z) <br />
<br />
for there to be 3 arguments in the model. Does that sound correct? <br />
or should it be defined <br />
<br />
f(x,y,z) for each flow direction (xx, yy, zz)? Fri, 12 Oct 2012 15:32:54 +000032181.1350055974.87974Re: wrong number of function arguments
http://www.comsol.com/community/forums/general/thread/32181/#p87972
Here is a simplified (but very similar) model with the same error. Maybe I am misunderstanding how to define the arguments? <br />
Fri, 12 Oct 2012 15:07:33 +000032181.1350054453.87972Re: wrong number of function arguments
http://www.comsol.com/community/forums/general/thread/32181/#p87845
Hi<br />
<br />
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, "just" reproduce the error in a simple new model<br />
<br />
--<br />
Good luck<br />
IvarThu, 11 Oct 2012 03:30:18 +000032181.1349926218.87845wrong number of function arguments
http://www.comsol.com/community/forums/general/thread/32181/#p87819
Hello, <br />
<br />
I keep getting the same error for my analytical function <br />
<br />
"Wrong number of function arguments <br />
Number of arguments expected: 3" <br />
<br />
But as far as I can tell, I have defined 3 arguments in my function.. so I don't understand the error! <br />
<br />
expression: a_c*pore_V(x,y,z)<br />
Arguments: x, y, z <br />
<br />
(a_c = a variable and pore_V(x,y,z) = random fxn) <br />
<br />
Does anyone know whats happening? <br />
<br />
Thank you! <br />
<br />
Kelley Wed, 10 Oct 2012 16:57:31 +000032181.1349888251.87819