<?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.fr/community/forums/general/rss/thread/3404.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: A simple question...</title>
  <link>http://www.comsol.fr/community/forums/general/thread/3404/</link>
  <description>Most recent forum messages</description>
  <pubDate>Tue, 27 Apr 2010 10:03:12 +0000</pubDate>
  <image>
   <title>COMSOL Forums: A simple question...</title>
   <url>http://www.comsol.fr/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/</link>
  </image>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p13205</link>
   <description>Hi &lt;br /&gt;&#13;
then catch Duncan, and Niklas if he is there, and discuss it thoroughfully&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Tue, 27 Apr 2010 10:03:12 +0000</pubDate>
   <guid isPermaLink="false">3404.1272362592.13205</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p13172</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
...&lt;br /&gt;&#13;
I can only say: pls take it up with the local Comsol people when they passes by, (and I see that is for tomorrow and thursday for the real north of the US ;)&lt;br /&gt;&#13;
...&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
Yes, the regional (Palo Alto for Alaska) Comsol rep is conducting a workshop here on campus tomorrow. There are quite a large number of people (&amp;gt;25) who have signed up for it, not bad for such an out of the way place, eh? VERY excited about this!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Tue, 27 Apr 2010 05:47:30 +0000</pubDate>
   <guid isPermaLink="false">3404.1272347250.13172</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p13100</link>
   <description>Dear all&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I can only say: pls take it up with the local Comsol people when they passes by, (and I see that is for tomorrow and thursday for the real north of the US ;) &lt;br /&gt;&#13;
I have noticed that Comsol is still a &amp;quot;small&amp;quot; company with reactive people, so long we explain to them what we need and that we are clearly understood. On the other side they must balance the number of request versus their total user group, so the more we are with constructive suggestions if possible similar, the more we will get back ;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
So pls play the game ...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Have fun Comsoling&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Mon, 26 Apr 2010 16:15:45 +0000</pubDate>
   <guid isPermaLink="false">3404.1272298545.13100</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p13088</link>
   <description>Dear Antti,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Many thanks for the tip! If fact, I do have an earlier set of FEMLAB 2.x manuals. One of the complaints I, too, have had is that the new version of Comsol does not ship with a hard copy of the Reference Manual. Also, their Help function needs to be updated with something better than just a set of pdf or html files. Something along the lines of the Matlab Help function would be great.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Beyond these, there is also a need for a set of structured tutorials that focus on elementary concepts. They don't necessarily have to correspond to any particular &amp;quot;real world&amp;quot; example, but instead focus on a single concept at a time. The Model files included with the software are great and work spectacularly as advertised, but many of them are too complicated to be of much use when trying to learn how things work. There are too many things going on at once - change a parameter setting and nothing works any more, and we're left without a clue as to why. It's a matter of pedagogy. Start simple, and then work up from there. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Another thing that is desirable is better error reporting, with error messages that give some indication about where the source of the error might be in the model, and reporting something more widely understandable than the somewhat cryptic traceback strings. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks,&lt;br /&gt;&#13;
Dave</description>
   <pubDate>Mon, 26 Apr 2010 14:05:26 +0000</pubDate>
   <guid isPermaLink="false">3404.1272290726.13088</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p13049</link>
   <description>&lt;br /&gt;&#13;
Hi all,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Just a short note (I'm really sorry, I didn't read through the whole thread)...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
Thanks Ivar for your comment. What I haven't been able to find anywhere&lt;br /&gt;&#13;
is a good tutorial discussion with diagrams that show PRECISELY the relationship&lt;br /&gt;&#13;
between such things as, but not limited to, normal vectors and the underlying cells, &lt;br /&gt;&#13;
and diagrams to supplement the words on the definitions of &amp;quot;up&amp;quot; and &amp;quot;down&amp;quot;, etc. &lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
...but I from time to time return back to the documents (Reference Manual) of early FEMLAB versions, even 2.x, which, in my opinion, have nice and detailed documents, even examples, of how the &amp;quot;matrices fly&amp;quot; inside the COMS... I mean... the old computation engine. Of course, these are officially obsolete, but at least they've helped me get some picture of a few rather detailed problems I've sometimes wondered about COMSOL. Naturally all specifics aren't covered as features have expanded and naturally caution must be taken... but it helps you get a picture, is what I'm saying.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
If you can get your hands on some, I recommend you to have a look. Imo, it's a shame the newer versions of COMSOL don't have such &amp;quot;Reference Manuals&amp;quot;. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks,&lt;br /&gt;&#13;
Antti&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Mon, 26 Apr 2010 07:38:24 +0000</pubDate>
   <guid isPermaLink="false">3404.1272267504.13049</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p11018</link>
   <description>Hi Ivar,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks for the tip. I haven't used the private message, but will keep&lt;br /&gt;&#13;
your advice in mind.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I've been busy with the simple question, and have learned a lot by&lt;br /&gt;&#13;
just setting up small examples. A couple things of possible interest&lt;br /&gt;&#13;
to others.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
1. The free space solution to the 2-D Poisson's equation using&lt;br /&gt;&#13;
coupling variables seems to hold up (I had to iron out some sign&lt;br /&gt;&#13;
questions, but otherwise it works.) I assume this technique, which&lt;br /&gt;&#13;
uses the Green's function, is commonly known.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
2. Getting the definition of the unit normal vector on boundaries&lt;br /&gt;&#13;
required just experimenting. The rule is, the unit normal vector is outward&lt;br /&gt;&#13;
away from a domain on the boundaries, as you indicated previously.&lt;br /&gt;&#13;
But it's different for an internal boundary INSIDE a domain. Here, &lt;br /&gt;&#13;
it depends on the direction of the arc or line segment. Basically, &lt;br /&gt;&#13;
each line segment, whether it is of a simple line or as part of a &lt;br /&gt;&#13;
2-D shape such as a square or circle, is drawn from, say, A to B. &lt;br /&gt;&#13;
&amp;quot;Up&amp;quot; is defined to be toward the left side of this segment, and &lt;br /&gt;&#13;
&amp;quot;down&amp;quot; toward the other side. This means that a circle, say, &lt;br /&gt;&#13;
has half of its unit vectors along its  boundaries pointing outward &lt;br /&gt;&#13;
and half inward. You can see all this in action by turning on the &lt;br /&gt;&#13;
boundary vector display in post processing mode. It is apparently&lt;br /&gt;&#13;
this behavior that necessitates some of the complexities in coding &lt;br /&gt;&#13;
weak terms involving boundaries, especially the domain ultra weak&lt;br /&gt;&#13;
(bd.weak) terms. Understanding these has helped resolve some &lt;br /&gt;&#13;
of the mysteries of the coding of the upwinding scheme.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Let me pose another question. Instead of using the integration&lt;br /&gt;&#13;
coupling variables to solve the free space Poisson's problem,&lt;br /&gt;&#13;
is it possible to solve it by requiring the gradient along the boundary&lt;br /&gt;&#13;
be the same as in the next immediate inward group of cells, which&lt;br /&gt;&#13;
would be accesses using he up() or down() functions?</description>
   <pubDate>Mon, 29 Mar 2010 10:47:42 +0000</pubDate>
   <guid isPermaLink="false">3404.1269859662.11018</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10973</link>
   <description>Hi Dave&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
A note for everyone here: pls do not abuse with &amp;quot;private messages&amp;quot; as us others cannot follow.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
And have you noticed, that your &amp;quot;simple question&amp;quot; has rapidly become the longest thread on the forum !&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
As I have always been told, there is no simple question, and the simpler the more replies ;)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Have a nice day&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Sun, 28 Mar 2010 06:43:19 +0000</pubDate>
   <guid isPermaLink="false">3404.1269758599.10973</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10880</link>
   <description>{Note to self: pause before posting...)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
It SHOULD read &amp;quot;...behavior for |grad(u)|...&amp;quot;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
My apologies for the confusion.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
(Addendum - now testing the edit function...Thanks Sven.)</description>
   <pubDate>Fri, 26 Mar 2010 08:34:34 +0000</pubDate>
   <guid isPermaLink="false">3404.1269592474.10880</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10877</link>
   <description>Correction to the above post:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&amp;quot;..the asymptotic solution should have behavior for |abs(u)|&lt;br /&gt;&#13;
(the electric field magnitude) that goes as 1/r...&amp;quot;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
should read&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&amp;quot;...the asymptotic solution should have behavior for |ux|&lt;br /&gt;&#13;
(the electric field magnitude) that goes as 1/r as measured&lt;br /&gt;&#13;
radially away from the point source...&amp;quot;</description>
   <pubDate>Fri, 26 Mar 2010 08:25:11 +0000</pubDate>
   <guid isPermaLink="false">3404.1269591911.10877</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10874</link>
   <description>The above model for the free space solution to the 2-D Poisson&lt;br /&gt;&#13;
equation needs to be checked. Although the solution has the&lt;br /&gt;&#13;
correct azimuthal symmetry about the point source, the actual&lt;br /&gt;&#13;
boundary values don't match the adjacent domain values. Also,&lt;br /&gt;&#13;
the asymptotic solution should have behavior for |abs(u)| &lt;br /&gt;&#13;
(the electric field magnitude) that goes as 1/r, which it does &lt;br /&gt;&#13;
not appear to have.  Any help from anyone to explain this &lt;br /&gt;&#13;
would be greatly appreciated.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks,&lt;br /&gt;&#13;
Dave&lt;br /&gt;&#13;
</description>
   <pubDate>Fri, 26 Mar 2010 07:58:16 +0000</pubDate>
   <guid isPermaLink="false">3404.1269590296.10874</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10859</link>
   <description>About the free space solution of Poisson's equation in 2-D:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I found an elegant solution that uses integration coupling variables&lt;br /&gt;&#13;
and does not require auxiliary surfaces.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The basic idea is to use coupling variables to map the solution to&lt;br /&gt;&#13;
the boundaries, using the Green's function kernel and the dest()&lt;br /&gt;&#13;
operator, and then use these to specify the Dirichlet &lt;br /&gt;&#13;
BC. The specific form of the integration coupling expression is:&lt;br /&gt;&#13;
rho*log(sqrt((x-dest(x))^2 + (y-dest(y))^2))/2/pi, which&lt;br /&gt;&#13;
is the kernal of the Green's function. The 2Pi factor is very&lt;br /&gt;&#13;
important. These are mapped to each of the surfaces in the&lt;br /&gt;&#13;
geometry.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Attached is a model created in 3.5a  showing  the solution for &lt;br /&gt;&#13;
a point source inside a square, with a number of holes inside &lt;br /&gt;&#13;
the domain and a notch out of the corner. The equipotential &lt;br /&gt;&#13;
contours are circular about the source, as they should be.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The &amp;quot;point&amp;quot; source here is actually a very small square, so the&lt;br /&gt;&#13;
integration is domain-to-boundary, and this is how it would be&lt;br /&gt;&#13;
used in an actual application with distributed charge. But an&lt;br /&gt;&#13;
illustrative example could also be set up using an actual point,&lt;br /&gt;&#13;
for which the coupling would be point-to-boundary integration, &lt;br /&gt;&#13;
instead of a domain-to-boundary as has been done here.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The basic idea should be extendable to 3-D, with appropriate&lt;br /&gt;&#13;
modification of the Green's function kernel.</description>
   <pubDate>Fri, 26 Mar 2010 04:24:04 +0000</pubDate>
   <guid isPermaLink="false">3404.1269577444.10859</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10604</link>
   <description>I agree 100% with you Ivar.&lt;br /&gt;&#13;
As for the weak term I have recently spent a significant amount of [ unbilled  :-)] hours testing various example in 1d so if you have something written and want a fresh eye feel free to throw it at me. I have the same mindset as you in finding valuable for myself to look at other people problems..&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
and I now I will come back soon with question of my own   :-)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
JF</description>
   <pubDate>Tue, 23 Mar 2010 06:54:42 +0000</pubDate>
   <guid isPermaLink="false">3404.1269327282.10604</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10601</link>
   <description>Hi Davis&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I would say again thanks for the question, there are no &amp;quot;simple/trivial&amp;quot; questions, I learned also a lot with this one.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I'm now still fighting how to present simply the LM's and different weak terms contributions on a simple 1D second order diff-equation (thermal Fourier law is a good starting point to have the physicsal link), one should alws start simple, but who hase time ? &lt;br /&gt;&#13;
I notice that we use so many implicit assumptions on functi, mostly we forget them too, and different ones if we are thinking math or physics.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
By the way I have seen that COMSOL is changing the way to access the Langrange multipliers in V4, I understand they are not removing any functionality, just trying to improve the logic. I was very sceptical going to the conference last fall, but once haing been explained the new approach/methodology, I ended up finding it much clearer, even if it demanded me to turn somewhat up sidedown what I had learned myself so far.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Have nice day&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Tue, 23 Mar 2010 05:54:55 +0000</pubDate>
   <guid isPermaLink="false">3404.1269323695.10601</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10595</link>
   <description>Thanks very much Sven. You and Ivar and Jean have given me enough to keep me busy for a while. I appreciate very much your patiently responding to questions that must no doubt seem trivial to you, but they were very helpful to getting me pointed in the right direction. Thanks again. Dave</description>
   <pubDate>Tue, 23 Mar 2010 03:38:40 +0000</pubDate>
   <guid isPermaLink="false">3404.1269315520.10595</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10592</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
As a quick reply, I would say that working on the interiour boundaries is exactly what the &amp;quot;assembly&amp;quot; mode is for, the only thing is that by default COMSOL puts no assumptions on the continuity between the adjacent faces so its up to you to set the correct physics and equations. &lt;br /&gt;&#13;
This is OK so long there are a few of them, getting tedious if you have dozens or far more, but by using cleaverly the combine geometry you can draw complex geometries, and have only a few common &amp;quot;assembly&amp;quot; boundaries, while you remain with many &amp;quot;continuous&amp;quot; by default interiour boundaries in your construction, where this is OK.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thaks for coming with this example, it has allowed me to learn a couple of things, that really is only showing up when you start really simple (that is why I like the forum, by decomposing the issues of the other to very simple cases you learn quite a lot yourself, that is also why I'm &amp;quot;hooked&amp;quot; on the forum). I notice for my own problems, at work, I have no time and (want to) go directly to the results, sometimes cutting too quickly through the bushes ;)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Have fun with COMSOL, I'm really enjoying doing physics again&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Ivar&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks Ivar. I'm learning a lot, but can now see that I need to spend some more time with the documentation. I hadn't considered the assembly modes. Thanks again.</description>
   <pubDate>Tue, 23 Mar 2010 03:36:37 +0000</pubDate>
   <guid isPermaLink="false">3404.1269315397.10592</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10535</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Free space problems are very common to COMSOL users (especially in electromagnetics, heat transfer hydrology, to name just a few). We have implemented powerful tools to cope witch such situtations efficiently:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
1) Infinite elements: If you have for instant a 2D Poisson eq. on a circle of radius R you would add an ring outside of R. The inifinte elements map the region between [R, R+dR] to [R, infinity]. The resulting solutions are highly accurate as you can check with samples. &lt;br /&gt;&#13;
http://www.comsol.com/showroom/documentation/model/1412/&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
2) Reduced potential formulation: The fundamental solution of a poissons equation is well known, i.e. we know the analytical solution V(k) in a homogeneous space say of conductivity k. Now, if we want to know the solution for an inhomogeneous space with conductivity k+dk only the inhomogeneities will contribute. The equation can be solved for the disturbance only. For the distrubed potential we can conventionally assume that it is zero at infinity (Dirichlet conditions) but can also set more exotic ones.&lt;br /&gt;&#13;
http://www.comsol.com/shared/downloads/products/new_feature_highlights.pdf&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Both concepts are provided (including tutorials) in the COMSOL ACDC Module and 1) is provided also in the Heat Transfer Module and the Earth Science Module.  Although you might try to re-implement such tools starting from the equation base modes, most people interested in efficiently solvoing their problem will propbably not do so.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
To answer the general question:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&amp;quot;Is it possible to programatically create and destroy boundaries that may be embedded at arbitrary locations in the computational domain, and which could then be pressed into service to solve problems.&amp;quot;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Yes - you have reading and e.g. integrating access on internal boundaries. Furthermore you can also acrivate internal boundaries to have different settings than the typical continuity. Moreover - as Ivar has pointed out - you can also use the assembly concept to set non-classical discontinuous boundary conditions.&lt;br /&gt;&#13;
However - to solve the above problem of infinite domains, all this is not necessary. I highly recommend 1) and 2).&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Sven&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Mon, 22 Mar 2010 12:38:49 +0000</pubDate>
   <guid isPermaLink="false">3404.1269261529.10535</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10523</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
As a quick reply, I would say that working on the interiour boundaries is exactly what the &amp;quot;assembly&amp;quot; mode is for, the only thing is that by default COMSOL puts no assumptions on the continuity between the adjacent faces so its up to you to set the correct physics and equations. &lt;br /&gt;&#13;
This is OK so long there are a few of them, getting tedious if you have dozens or far more, but by using cleaverly the combine geometry you can draw complex geometries, and have only a few common &amp;quot;assembly&amp;quot; boundaries, while you remain with many &amp;quot;continuous&amp;quot; by default interiour boundaries in your construction, where this is OK.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thaks for coming with this example, it has allowed me to learn a couple of things, that really is only showing up when you start really simple (that is why I like the forum, by decomposing the issues of the other to very simple cases you learn quite a lot yourself, that is also why I'm &amp;quot;hooked&amp;quot; on the forum). I notice for my own problems, at work, I have no time and (want to) go directly to the results, sometimes cutting too quickly through the bushes ;)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Have fun with COMSOL, I'm really enjoying doing physics again&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Mon, 22 Mar 2010 07:48:55 +0000</pubDate>
   <guid isPermaLink="false">3404.1269244135.10523</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10487</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
Hi again&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I had a discussion here with our local COMSOL specialist Sven (and head of the local COMSOL office), he pointed out that if we read carefully the modelling.pdf page 247 and on (v3.5a) the BVP the way it is defined in COMSOL, which is a widely accepted way, require that the external boudaries  = dOmega to be define. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
It is mathematiacally proved that in this way we have then an unique solution inside, while if we take and only define the internal boundaries, in all generality (and not restricting us to 1D), the solution might not be unique.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
In 2D the issue is perhaps more evident, as the flux is defined only projected on the perpendicular vector &amp;quot;n&amp;quot; that means that one dimension is still free and we are not defining enough DoF's. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Now, what I have discovered with this is that by default when I define fluxes on interiour boundaries they have no direct effect (they only scale the Langrange multiplers, if we look at them), due to the condition of continuity of flux on interiour boundaries.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
This clearly limits the mathematical extend to solve for all cases in full generality, but by reexpressing the equations as above as two first order we can still get the desired result out.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I have already read through, numerous times, the modelling.pdf doc, but I still learn new things ;)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Remains to find how to correctly find the third path: &amp;quot;float&amp;quot; the fluxes at the boundaries, via I expect a weak formulation, and force a flux on the interiour, and solve this 1D issue, as example, something for next week-end ;)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Have a nice day&lt;br /&gt;&#13;
Ivar&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Hi Ivar,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I'll post my thanks here to all your posts concerning this &amp;quot;simple question.&amp;quot; Thank you for pursing this and bringing it Sven's attention. I've responded to him separately on another post.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
As I indicated to him, I'm really interested in free space problems, specifically, modeling a lighting discharge, for which there are no outer boundaries. The specific problem that has to be solved is the free space 3-D Poisson's equation, for which there are no outer boundaries. Of course, one has to establish a computational domain, but one would like the solution within that domain to be the free space solution.  One of the standard ways of doing this using FD modeling is in two steps: (1) First, solve Poisson's equation using the integral form for the potential on the boundaries, and then (2) with the BVs so derived, solve the Dirichlet BV problem, typically with SOR methods. Presumably this same procedure could be carried out in Comsol, although I haven't yet tried it. (I'm still on training wheels, as you probably noticed.)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The more general question is, though, how to solve PDEs with BCs that are specified elsewhere than on the actual outer boundaries. One question I had is whether it is possible to programatically create and destroy boundaries that may be embedded at arbitrary locations in the computational domain, and which could then be pressed into service to solve problems. </description>
   <pubDate>Sun, 21 Mar 2010 10:23:04 +0000</pubDate>
   <guid isPermaLink="false">3404.1269166984.10487</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10484</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
...&lt;br /&gt;&#13;
First we need to understand that the problem constitutes not a classical boundary value problem as typically solved with COMSOL. Nevertheless it can easily be solved with very simple means - you dont need any dest() operator or splitting into two equations and the way is just as straightworward as writing it down with pencil an paper. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I attach a brief description and two models for COMSOL 3.5a.&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you very much Sven. Very helpful.  I think I see the way forward now for this simple problem.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
There are useful applications for which the BV cannot a priori be defined. For example, consider the 1-D Poisson's equation for a delta function source at some location in the interior, but for which you would like to determine the free space solution. In this case, one could certainly calculate the Green's function form of the potential and then evaluate them at the boundaries and manually insert them as Dirichlet conditions. But it would seem that a cleaner way, and in the spirit of the example you provided, would be to calculate them, not on the actual boundaries, but rather at, say, two points close to the source and then integrate out to the boundaries. If then one had a continuous distribution of sources one could then solve the general problem by simple summation.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
One would think this could then be extended to 2-D, where one now constructs a small circle of fixed radius around each point source, for which the potential would be known, and then march on out to the boundaries the same as with the 1-D solution. The same would hold for 3-D.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Of course, this would require being able to programatically construct the interior boundaries in these cases. Is there a way to do this? The ability to do this would be very useful for solving free space geometries, which is my primary interest, and for which there are no outer boundaries (except at infinity).</description>
   <pubDate>Sun, 21 Mar 2010 09:55:55 +0000</pubDate>
   <guid isPermaLink="false">3404.1269165355.10484</guid>
  </item>
  <item>
   <title>Re: A simple question...</title>
   <link>http://www.comsol.fr/community/forums/general/thread/3404/#p10478</link>
   <description>Hmmm...I was away for a few days and just discovered the great responses above. It'll take a while to digest them all, but thanks to everyone for jumping into the fray.  BTW, I also have Zimmerman's book and it's really pretty good, typos and all (and even despite the fact that he gets &amp;quot;contours&amp;quot; and &amp;quot;streamlines&amp;quot; confused, and the index could be more detailed). </description>
   <pubDate>Sun, 21 Mar 2010 08:46:36 +0000</pubDate>
   <guid isPermaLink="false">3404.1269161196.10478</guid>
  </item>
 </channel>
</rss>
