<?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.fi/community/forums/physics/rss/thread/9197.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: Setting up solver loop for 2 physics.</title>
  <link>http://www.comsol.fi/community/forums/general/thread/9197/</link>
  <description>Most recent forum messages</description>
  <pubDate>Thu, 20 Oct 2011 13:30:17 +0000</pubDate>
  <image>
   <title>COMSOL Forums: Setting up solver loop for 2 physics.</title>
   <url>http://www.comsol.fi/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.fi/community/forums/general/thread/9197/</link>
  </image>
  <item>
   <title>Re: Setting up solver loop for 2 physics.</title>
   <link>http://www.comsol.fi/community/forums/general/thread/9197/#p61987</link>
   <description>I could not get it to work.</description>
   <pubDate>Thu, 20 Oct 2011 13:30:17 +0000</pubDate>
   <guid isPermaLink="false">9197.1319117417.61987</guid>
  </item>
  <item>
   <title>Re: Setting up solver loop for 2 physics.</title>
   <link>http://www.comsol.fi/community/forums/general/thread/9197/#p61887</link>
   <description>Dear Varat and Ivar,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Did either of you get this working? I have the same dilema but slightly different physics - I am trying to get the distribution of charges (from transport of diluted species) as a result of an electric potential over time, so that the charge distribution updates the electric potential at each time step. Any help will be greatly appreciated!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Regards,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Richard</description>
   <pubDate>Wed, 19 Oct 2011 06:14:13 +0000</pubDate>
   <guid isPermaLink="false">9197.1319004853.61887</guid>
  </item>
  <item>
   <title>Re: Setting up solver loop for 2 physics.</title>
   <link>http://www.comsol.fi/community/forums/general/thread/9197/#p23803</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
then I believe we are basically in line and agree, and I would also use your approach, for me this is a compined solving but with a segregation sequence EM - ST, so you should look after the setting of a multiphyiscs segregation solver settings.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I would have to set it all up and test it out mayself, but I have no time now, nor in the coming days, so I can only suggest to take a look at the solver doc, and try to find another example in the library having two coupled physics with a segregated solver example&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Wed, 08 Sep 2010 03:15:39 +0000</pubDate>
   <guid isPermaLink="false">9197.1283915739.23803</guid>
  </item>
  <item>
   <title>Re: Setting up solver loop for 2 physics.</title>
   <link>http://www.comsol.fi/community/forums/general/thread/9197/#p23782</link>
   <description>Dear Ivar,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you for a quick response. I actually forgot to mention one important thing, that is the force from the EM field is independent of phase, so that means the force is static as long as the structure does not move much (ie. the force does not oscillate at the frequency for the EM wave but will only change roughly at the same rate the structure moves physically). This independence of the force on the phase is the justification to use frequency domain for EM wave part.  (For more concrete example, if I calculate the force to be 1N in +y direction, that means 1N steady in+y, not 1N*cos(omega t) in +y. )&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I tried two solver steps. I set the first solver to be RF frequency domain solver to solve the EM field and I wrote an expression to calculate the force (remember it's phase independent, so it's just a static number with no time-dependence). Then I set the second solver to be time-dependent solid mechanics solver. It is my understanding that if I set the solvers like this, after the 1st solver is done, the 2nd solver will just take the force from the first solver and use the force as a steady force for all time steps, without updating the 1st solver with deformation at each time step, am I right? That is, after 1st solver is done, 2nd solver won't go back to 1st solver at all, am I right?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My goal is to have the time-dependent solver, at each time step, go back and update the RF frequency domain solver with the deformation, and have the RF solver recalculate the EM force (because the field distorts due to the structure's movement), and use this new force for the next time step in the time-dependent solver. How can I do that?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Sorry for the lengthy post but this problem is hard to describe.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you,&lt;br /&gt;&#13;
Varat Intaraprasonk&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Tue, 07 Sep 2010 17:07:27 +0000</pubDate>
   <guid isPermaLink="false">9197.1283879247.23782</guid>
  </item>
  <item>
   <title>Re: Setting up solver loop for 2 physics.</title>
   <link>http://www.comsol.fi/community/forums/general/thread/9197/#p23710</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
a few commens on your model:&lt;br /&gt;&#13;
1) I'm not sure the air should be part of your SolidMechanics analysis&lt;br /&gt;&#13;
2) I'm neither not sur how the RF forces at that frequency can act on your srtucture, the structural eigenmodes starts at 0.8E8Hz, while your RF freuqnecy is six orders of magnitude higher, but OK I'm not 100% sure what you are testing anyhow, so I leave that to you&lt;br /&gt;&#13;
3) if you use a frequency domain solver you are in what I call the modal domain, you define an amplitude and the equations are developped for continuous sinus type excitation of frequency freq (and perhaps a phase factor, in same cases). The resulting forces are averages over a period, this is then what you couple to the other physics&lt;br /&gt;&#13;
4) When you have several physics, COMSOL cannot always tell with solver to use for which physics, specially when you mix solver types, then you can override the &amp;quot;automatic&amp;quot; choice in the &amp;lt;&amp;lt;main physics node - Advanced settings - Equation form&amp;gt;&amp;gt;: change from Automatic to i.e. frequency domain or static. &lt;br /&gt;&#13;
5) when you define your physics, and add a new one you should then define the default solvers, you intend to use&lt;br /&gt;&#13;
6) n the solver tree you might have to set up the sequence manually to get a segregated sequence, all depends on what you are doing&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Tue, 07 Sep 2010 04:48:11 +0000</pubDate>
   <guid isPermaLink="false">9197.1283834891.23710</guid>
  </item>
  <item>
   <title>Setting up solver loop for 2 physics.</title>
   <link>http://www.comsol.fi/community/forums/general/thread/9197/#p23693</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I have a problem that involves EM wave (frequency around 10^14 Hz) and mechanical movement (frequency 10^6 - 10^8 Hz). Basically the EM wave will give a force on the structure, and the force depends on the current movement/bending of the structure. However, because the frequency of EM wave is much higher than that of mechanical movement, it's ok to calculate the EM wave at each time step as if the mechanical structures are static in time.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Therefore,  my plan is to have a time-dependent solver for solid mechanics, and for each time step, I calculate the EM part using RF module's frequency domain solver, with moving mesh (ALE) connecting the solid mechanics and EM parts. I then have an expression that will calculate force from EM field configuration and use it as the load in solid mechanics for the next time step.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My question is how do I set up the solver as described above. How can I have the frequency domain solver at each time step of the time-dependent solver?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you in advanced. My version is 4.0. I wouldn't mind if I really have to use livelink to Matlab or something along that line.</description>
   <pubDate>Mon, 06 Sep 2010 17:30:02 +0000</pubDate>
   <guid isPermaLink="false">9197.1283794202.23693</guid>
  </item>
 </channel>
</rss>

