<?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.it/community/forums/4-0a/rss/feed.rss" rel="self" type="application/rss+xml"/>
  <title>4.0a - Latest Discussions - COMSOL Forums</title>
  <link>http://www.comsol.it/community/forums/</link>
  <description>Most recent forum discussions</description>
  <pubDate>Wed, 16 May 2012 18:31:00 +0000</pubDate>
  <image>
   <title>4.0a - Latest Discussions - COMSOL Forums</title>
   <url>http://www.comsol.it/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.it/community/forums/</link>
  </image>
  <item>
   <title>question</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28671/</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My name is Yahya. I know you from COMSOL forum. I tried to do similar simulations calculating electric field distribution between two copper electrodes, but got  problem. I was wondering if you would not mind to give some tips? If you kindly agree, I attached a pdf file with detailed steps I did. At the end it gives an error which I do not understand what (see attachment). I would be very happy to get help from you. Thank you very much in advance!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Yahya.</description>
   <pubDate>Wed, 16 May 2012 18:31:00 +0000</pubDate>
   <guid isPermaLink="false">.1337193060.28671</guid>
  </item>
  <item>
   <title>question</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28669/</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My name is Yahya. I am a new user of COMSOL, I tried to simulate electric field distribution between two copper electrodes, but got some problem. Would not you be able to give a help with this? I attached a pdf file with detailed steps I did. At the end it gives an error which I do not understand what (see attachment). I would be very happy if you could take a look to see what I did wrong. Thank you very much in advance!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Yahya.</description>
   <pubDate>Wed, 16 May 2012 18:09:12 +0000</pubDate>
   <guid isPermaLink="false">.1337191752.28669</guid>
  </item>
  <item>
   <title>question</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28667/</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My name is Yahya. I am a new user of COMSOL, I tried to simulate electric field distribution between two copper electrodes, but got some problem. Would not you be able to give a help with this? I attached a pdf file with detailed steps I did. At the end it gives an error which I do not understand what (see attachment). I would be very happy if you could  take a look to see what I did wrong. Thank you very much in advance!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Yahya.&lt;br /&gt;&#13;
</description>
   <pubDate>Wed, 16 May 2012 18:01:14 +0000</pubDate>
   <guid isPermaLink="false">.1337191274.28667</guid>
  </item>
  <item>
   <title>Thermal Dispersion in a Poreus Medium Module Problem</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28514/</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am working on simulation an Aquifer Thermal Energy Storage (ATES) [1] system. In this I am trying to use thermal dispersion, which is part of the heat transfer module. However I cant get it to work. I have tried the manual and the internet, but I cant figure out what the problem is and let alone solve it. Maybe one of you guys can see what the problem is, and how I would be able to solve it?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I've included the error log and the model, which is a 4.0a model. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Greetings Nick &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
[1] http://www.iftech.co.uk/index.php?option=com_content&amp;amp;task=view&amp;amp;id=21&amp;amp;Itemid=33&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Attempt to evaluate negative power of zero.&lt;br /&gt;&#13;
	- Function: ^&lt;br /&gt;&#13;
Failed to evaluate temporary symbolic derivative variable.&lt;br /&gt;&#13;
	- Variable: mod1.ht2.k_dispxx@VDN$mod1.py&lt;br /&gt;&#13;
	- Defined as: (((1/max(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))),eps))*((mod1.ht2.rho*mod1.ht2.Cp)*(((((1/(mod1.dl.g*mod1.dl.rho))*(-mod1.dl.Kyy))))*(mod1.ht2.uy*2))))+((((((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))^-0.5)*0.5)*(((((1/(mod1.dl.g*mod1.dl.rho))*(-mod1.dl.Kyy))))*(mod1.ht2.uy*2)))*(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2)))&amp;gt;eps))*((-((mod1.ht2.rho*mod1.ht2.Cp)*(((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))))/(max(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))),eps)^2))))&lt;br /&gt;&#13;
Failed to evaluate temporary symbolic derivative variable.&lt;br /&gt;&#13;
	- Variable: mod1.ht2.k_eqxx@VDN$mod1.py&lt;br /&gt;&#13;
	- Defined as: ((((1/max(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))),eps))*((mod1.ht2.rho*mod1.ht2.Cp)*(((((1/(mod1.dl.g*mod1.dl.rho))*(-mod1.dl.Kyy))))*(mod1.ht2.uy*2))))+((((((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))^-0.5)*0.5)*(((((1/(mod1.dl.g*mod1.dl.rho))*(-mod1.dl.Kyy))))*(mod1.ht2.uy*2)))*(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2)))&amp;gt;eps))*((-((mod1.ht2.rho*mod1.ht2.Cp)*(((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))))/(max(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))),eps)^2)))))&lt;br /&gt;&#13;
Failed to evaluate temporary symbolic derivative variable.&lt;br /&gt;&#13;
	- Variable: mod1.ht2.k_effxx@VDN$mod1.py&lt;br /&gt;&#13;
	- Defined as: (((((1/max(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))),eps))*((mod1.ht2.rho*mod1.ht2.Cp)*(((((1/(mod1.dl.g*mod1.dl.rho))*(-mod1.dl.Kyy))))*(mod1.ht2.uy*2))))+((((((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))^-0.5)*0.5)*(((((1/(mod1.dl.g*mod1.dl.rho))*(-mod1.dl.Kyy))))*(mod1.ht2.uy*2)))*(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2)))&amp;gt;eps))*((-((mod1.ht2.rho*mod1.ht2.Cp)*(((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))))/(max(sqrt((((mod1.ht2.ux^2)+(mod1.ht2.uy^2))+(mod1.ht2.uz^2))),eps)^2))))))&lt;br /&gt;&#13;
Failed to evaluate expression.&lt;br /&gt;&#13;
	- Expression: d(d((-mod1.ht2.k_effxx*mod1.T2x*test(mod1.T2x)-mod1.ht2.k_effyy*mod1.T2y*test(mod1.T2y))*(dvol),{test@3}),mod1.py)</description>
   <pubDate>Thu, 10 May 2012 11:33:25 +0000</pubDate>
   <guid isPermaLink="false">.1336649605.28514</guid>
  </item>
  <item>
   <title>Divergence of gradient of a variable calculation</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28503/</link>
   <description>Dear Support,&lt;br /&gt;&#13;
I need to calculate, in the post-processing stage, the divergence of the gradient (it is the laplacian) of a known variable, in a specified volume.&lt;br /&gt;&#13;
May you help me, please?</description>
   <pubDate>Thu, 10 May 2012 09:04:52 +0000</pubDate>
   <guid isPermaLink="false">.1336640692.28503</guid>
  </item>
  <item>
   <title>problems with the linear buckling analysis</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28454/</link>
   <description>hei,&lt;br /&gt;&#13;
I am trying to calculate the critical loads using the linear buckling analysis. I have two problems:&lt;br /&gt;&#13;
1. when the model is not to include geometric nonlinearity, the critical factor computed is negative value, is it valid? What does it mean?&lt;br /&gt;&#13;
2. when the model is to include geometric nonliearity, do I need to select it in both study's steps? There are different values of the critical factors if I select it only one of the study's steps. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
thanks!&lt;br /&gt;&#13;
Dazhuo</description>
   <pubDate>Tue, 08 May 2012 11:30:18 +0000</pubDate>
   <guid isPermaLink="false">.1336476618.28454</guid>
  </item>
  <item>
   <title>can comsol support multilayer shell?</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28316/</link>
   <description>Dear all,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am trying to model a membrane using shell element because thickness is quite thin compared to length and width. But the membrane is lamated with three to five different materials and thickness at different location. It seems impossible to use 3D solid model  that will lead  too many mesh elements. Do anyone know how to do multilayer shell in comsol? </description>
   <pubDate>Thu, 03 May 2012 05:31:22 +0000</pubDate>
   <guid isPermaLink="false">.1336023082.28316</guid>
  </item>
  <item>
   <title>Integration over a filtered volume</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28254/</link>
   <description>Dear Support,&lt;br /&gt;&#13;
I kindly ask you to help me to solve the following problem.&lt;br /&gt;&#13;
I am able to plot a user-defined quantity with an element filter in a 3D domain: the logical expression I use for the filter of this quantity is :&amp;quot;quantity&amp;gt;0&amp;quot;.&lt;br /&gt;&#13;
Then, my 3D domain is &amp;quot;restricted&amp;quot; to the only elements where this quantity is larger than zero.&lt;br /&gt;&#13;
My question is: how can I do a volume integration in this &amp;quot;restricted&amp;quot; 3D domain?&lt;br /&gt;&#13;
I am not able to identify this restricted 3D domain as a specific entity, but I am only able to plot it.&lt;br /&gt;&#13;
Please, help me to fix this problem.&lt;br /&gt;&#13;
With my best regards,&lt;br /&gt;&#13;
Alessandro</description>
   <pubDate>Mon, 30 Apr 2012 15:19:58 +0000</pubDate>
   <guid isPermaLink="false">.1335799198.28254</guid>
  </item>
  <item>
   <title>Cyclic MW Heating</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28241/</link>
   <description>Hi all,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Can we perform cyclic microwave heating in COMSOL?&lt;br /&gt;&#13;
By cyclic, I mean switching on the power for some time and then swittching it off for some time, the way the original microwave oven works in real life.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I think the model given for microwave oven performs a continuous heating, is it?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks for any help.</description>
   <pubDate>Mon, 30 Apr 2012 08:48:47 +0000</pubDate>
   <guid isPermaLink="false">.1335775727.28241</guid>
  </item>
  <item>
   <title>problem creating a model using a Matlab function from COMSOL model </title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28189/</link>
   <description>&lt;br /&gt;&#13;
Hello Sir, &lt;br /&gt;&#13;
I readed you answer about loading comsol code to matlab function.&lt;br /&gt;&#13;
I have a question about loading model from comsol to matlab function in order to simplify my equations .&lt;br /&gt;&#13;
Am working with windows and the software (matlab) is not installed in my PC am working with it on line (in a laboratory).&lt;br /&gt;&#13;
So can't found the &amp;quot; COMSOL with MATLAB &amp;quot; in the Start Menu !!! &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
It's my frist time working with this software am trying to read and understand the steps but i s a diffecult language  so am asking you if you can give simple instructions to help me .&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Sorry fo my stupid question &amp;amp; hope that you will help me .&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you very much </description>
   <pubDate>Fri, 27 Apr 2012 10:08:41 +0000</pubDate>
   <guid isPermaLink="false">.1335521321.28189</guid>
  </item>
  <item>
   <title>converting COMSOL code to the MATLAB ???</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28153/</link>
   <description>&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Hi ,&lt;br /&gt;&#13;
Sorry for inconvenience, it's my first time working with whis software so sorry for my stupid question !!&lt;br /&gt;&#13;
am working with matlab on line and i didn't find anything about runing comsol with matlab only pdf documentation as you can see in attach file . &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Do you speek frensh ??? &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
 </description>
   <pubDate>Thu, 26 Apr 2012 12:30:30 +0000</pubDate>
   <guid isPermaLink="false">.1335443430.28153</guid>
  </item>
  <item>
   <title>converting COMSOL code to the MATLAB ???</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28149/</link>
   <description> Hello,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I'm working with COMSOL to simulate a chemical  experience, but it takes too much time to display the results.&lt;br /&gt;&#13;
So i want to find a link between comsol and matlab if i can convert the code of comsol to matlab that will be faster than using comsol alone !!!&lt;br /&gt;&#13;
So am asking if i can do this and how ????&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
watting your answer &lt;br /&gt;&#13;
thank you very much :)&lt;br /&gt;&#13;
</description>
   <pubDate>Thu, 26 Apr 2012 11:21:43 +0000</pubDate>
   <guid isPermaLink="false">.1335439303.28149</guid>
  </item>
  <item>
   <title>multiparameter model with comsol  ???</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/28145/</link>
   <description>hello,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Am trying to do a model with comsol but my problem is that whenever I enter a parameter value manually and it takes alot of time  . I want to know how I can enter a range of values ​​once and for all.&lt;br /&gt;&#13;
thank you for your answer </description>
   <pubDate>Thu, 26 Apr 2012 11:08:13 +0000</pubDate>
   <guid isPermaLink="false">.1335438493.28145</guid>
  </item>
  <item>
   <title>How to choose the MATLAB version that ran by &quot;COMSOL 4.2 with MATLAB&quot;?</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/26095/</link>
   <description>Hello all,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I have two versions of MATLAB on my computer, R2010a and R2011b. When I launch the COMSOL 4.2 with MATLAB shortcut (C:\COMSOL42\bin\win64\comsolserver.exe matlab), R2010a is launched. I am wondering if there is a way to let this shortcut and LiveLink run R2011b instead of R2010a.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Best,&lt;br /&gt;&#13;
Kan</description>
   <pubDate>Mon, 13 Feb 2012 19:31:28 +0000</pubDate>
   <guid isPermaLink="false">.1329161488.26095</guid>
  </item>
  <item>
   <title>Out of Memory while creating mesh!!</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/25322/</link>
   <description>Hi,&lt;br /&gt;&#13;
I am trying to create a 2D model, wherein I import geometry from AutoCad. &lt;br /&gt;&#13;
The Problem is that the geometry is so huge,  that I cannot form mesh on it, even with a very high element size.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Now, I cannot use symmetry BC, because it isnt symmetric bout any axis and I cannot scale it or redesign it.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
So is there any way, I can solve this?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Is there a way to increase the memory allotment of comsol?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Will running the program on a supercomputer cluster help solve the problem?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
-Rohan.</description>
   <pubDate>Wed, 11 Jan 2012 02:37:36 +0000</pubDate>
   <guid isPermaLink="false">.1326249456.25322</guid>
  </item>
  <item>
   <title>Varying capacitance due to thickness reduction</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/17144/</link>
   <description>Hello,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am simulating a capacitor with a compliant dielectric and compliant electrodes in COMSOL 3.5a, using the Structural mechanics and electrostatics modes. I am using 2D axial symmetry&lt;br /&gt;&#13;
I wanted to know whether it is possible to plot the change in capacitance which occurs due to structural deformation of the capacitor, e.g. increase in surface area and consequent reduction in thickness.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Any suggestions would be helpful.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you,&lt;br /&gt;&#13;
Aseem</description>
   <pubDate>Tue, 19 Apr 2011 09:34:55 +0000</pubDate>
   <guid isPermaLink="false">.1303205695.17144</guid>
  </item>
  <item>
   <title>how to solve ODE in comsol 4.0a</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/15562/</link>
   <description>Dear all , &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I want to solve coupled following ODE for specific geometry  , is comsol capable of solving this ?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
dT/dt=(Qg-H-T*C*M)&lt;br /&gt;&#13;
dh/dt=-G*B*(Ys)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
G,F,C=const &lt;br /&gt;&#13;
H=M*(C*T+F)&lt;br /&gt;&#13;
T=Temperature&lt;br /&gt;&#13;
Ys=Temperature dependant&lt;br /&gt;&#13;
B &amp;amp; Qg = Temperature and Height dependant&lt;br /&gt;&#13;
h=Height&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Is there any stepwise toturial exists in this regard? I tried global equation in ODE but I do not know how could I define coupling and temperature and height dependant variables ?</description>
   <pubDate>Thu, 17 Mar 2011 08:33:58 +0000</pubDate>
   <guid isPermaLink="false">.1300350838.15562</guid>
  </item>
  <item>
   <title>material definition</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/12971/</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Currently COMSOL is unable to define frequency dependent metals. I want to define a new material for frequency dependent effective refractive index of a metal based on Johnson, P. and R. Christy (1972) Physical Review B 6(12): 4370-4379. But being a newbie I am not sure how to do go about it. Can anyone please explain this to me?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Amin</description>
   <pubDate>Sat, 15 Jan 2011 16:41:56 +0000</pubDate>
   <guid isPermaLink="false">.1295109716.12971</guid>
  </item>
  <item>
   <title>PML and RF Module</title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/9803/</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am trying to find the eigenmodes of a grated ring waveguide. To do so I simulate a segment of the ring and use periodic boundary conditions. Since light should be radiated upwards and downwards PMLs should be added to avoid reflections. However after adding the PMLs the solver always crashes, giving the message: &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
-------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&#13;
    Exception:&lt;br /&gt;&#13;
	com.femlab.jni.FlNativeException: Undefined value found Solvermodel&lt;br /&gt;&#13;
Messages:&lt;br /&gt;&#13;
	Undefined value found Solvermodel&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Stack trace:&lt;br /&gt;&#13;
	at solvermodel.cpp, row 1837, (Undefined value found in the stiffness matrix.&lt;br /&gt;&#13;
There are 6328 equations giving NaN/Inf in the matrix rows for the variable tExEyEz10&lt;br /&gt;&#13;
at coordinates: (0.000189496,-1.0796e-06,1.474e-05), (0.000189496,-9.39261e-07,1.474e-05), (0.000189696,-1.07929e-06,1.474e-05), (0.000189696,-9.37368e-07,1.474e-05), (0.000189563,-9.3969e-07,1.474e-05), ... &lt;br /&gt;&#13;
There are 4445 equations giving NaN/Inf in the matrix rows for the variable tExEyEz20&lt;br /&gt;&#13;
at coordinates: (0.000189496,-1.00943e-06,1.4809e-05), (0.000189563,-1.08003e-06,1.474e-05), (0.000189629,-9.38529e-07,1.474e-05), (0.000189746,-1.00978e-06,1.474e-05), (0.000189846,-8.70737e-07,1.474e-05), ... &lt;br /&gt;&#13;
There are 4445 equations giving NaN/Inf in the matrix rows for the variable tExEyEz21&lt;br /&gt;&#13;
at coordinates: (0.000189496,-1.00943e-06,1.4809e-05), (0.000189563,-1.08003e-06,1.474e-05), (0.000189629,-9.38529e-07,1.474e-05), (0.000189746,-1.00978e-06,1.474e-05), (0.000189846,-8.70737e-07,1.474e-05), ... &lt;br /&gt;&#13;
and similarly for the degrees of freedom, NaN/Inf in the matrix columns&lt;br /&gt;&#13;
)&lt;br /&gt;&#13;
	at com.femlab.solver.FlSolver.femEig(Native Method)&lt;br /&gt;&#13;
	at com.femlab.solver.FemEig.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.server.FlRunner.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.util.i.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.util.aa.run(Unknown Source)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
	at com.femlab.solver.FlSolver.femEig(Native Method)&lt;br /&gt;&#13;
	at com.femlab.solver.FemEig.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.server.FlRunner.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.util.i.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.util.aa.run(Unknown Source)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
-------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I dont know what to do about that, maybe someone could give me a hint&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
thanks in advance &lt;br /&gt;&#13;
tobias&lt;br /&gt;&#13;
</description>
   <pubDate>Wed, 29 Sep 2010 16:17:59 +0000</pubDate>
   <guid isPermaLink="false">.1285777079.9803</guid>
  </item>
  <item>
   <title>Tip: Batch calculations with Matlab + Comsol 4.0a </title>
   <link>http://www.comsol.it/community/forums/4-0a/thread/9299/</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I just wanted to share my experience regarding batch-type (i.e., non-interactive) calculations using comsol 4.0a and the matlab livelink. I lost quite some time trying to run a comsol matlab script (.m file) on a linux cluster, and I thought some people might be interested in hearing the workaround I found.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
When working with the cluster, I have two major constraints:&lt;br /&gt;&#13;
1. I do not have any kind of display (X) support,&lt;br /&gt;&#13;
2. I have to submit the calculation via  a simple bash script.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
In 3.5a, running a .m file in batch mode was very easy (At the very least, it was nicely documented : http://www.comsol.com/support/knowledgebase/980/), One would use: &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
comsol matlab -ml -nodesktop -ml -nosplash -mlr &amp;quot;myscript, exit&amp;quot;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
In comsol 4.0a, using something along the lines of&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
comsol server matlab -nodesktop -nosplash -r myfile &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
does not lead to similar behavior. First, an xterm is spawned, and the 'nodesktop' matlab runs in this new terminal. The '-r myfile' option is ignored, and matlab does not run my .m file on startup. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
To work around the fact that 'comsol server matlab' spawns an xterm, I was told by comsol support to do the following:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
1. Start the comsol server&lt;br /&gt;&#13;
2. Start matlab, and connect to the server using mphstart&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
To be able to do this within one bash script, I basically had to launch the server in the background. However, I could not use&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
comsol server &amp;amp;&lt;br /&gt;&#13;
matlab -nodesktop -nosplash -r myfile&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
as the server process would stop before matlab could connect to it whenever it was launched as a background process. By using instead&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
comsol server &amp;lt;/dev/null &amp;gt; /dev/null  &amp;amp;&lt;br /&gt;&#13;
matlab -nodesktop -nosplash -r myfile&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
instead of simply  &amp;quot;comsol server &amp;amp;&amp;quot; then the server process is not stopped and you can run matlab, connect to comsol server, and run your .m script, without any user-intervention nor need for X support. Also, the comsol server exits when running ModelUtil.disconnect in Matlab, so I don't leave any process on the compute node..&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Hoping this might be useful for someone ;)&lt;br /&gt;&#13;
By the way, if anyone has a better (cleaner?) way of achieving the same thing, I'd be happy to hear it!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Charles&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Thu, 09 Sep 2010 11:26:48 +0000</pubDate>
   <guid isPermaLink="false">.1284031608.9299</guid>
  </item>
 </channel>
</rss>

