<?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/3976.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: Using different Geometries in a model</title>
  <link>http://www.comsol.com/community/forums/general/thread/3976/</link>
  <description>Most recent forum messages</description>
  <pubDate>Fri, 19 Mar 2010 06:58:47 +0000</pubDate>
  <image>
   <title>COMSOL Forums: Using different Geometries in a model</title>
   <url>http://www.comsol.com/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.com/community/forums/general/thread/3976/</link>
  </image>
  <item>
   <title>Re: Using different Geometries in a model</title>
   <link>http://www.comsol.com/community/forums/general/thread/3976/#p10382</link>
   <description>Hi Martin&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Indeed I had forgotten about that, some time since I last played with mesh revolve and multiple geometries ;)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Basically, you are limited to extrude or revolve from one geometry into one other but that one should/must be empty; any previously revolved or extruded geometry in the destionation &amp;quot;GeomN&amp;quot; will dissapear. This I beleive (I do not know truely the interiour of COMSOL I'm just an user as you) is related to the way COMSOL normall generates a mesh:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
1) the Draw mode geometry = assembly of shapes that might even overlap that you define&lt;br /&gt;&#13;
2) the analysed geometry (no overlaps, common borders etc, all based on a &amp;quot;geomanalyse()&amp;quot; of the Drawn geometry, this is where you define the item indexes and later apply the physics and BC's&lt;br /&gt;&#13;
3) the mesh generated from the analysed geometry, mesh nodes and elements are associated with the corresponding sub-domains = volumes and boundaries = faces, respectively edges and points&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
For the end user he seldom sees the difference between the geoemtry and the analysed geometry, but when you generate a mesh from another &amp;quot;Geom&amp;quot; COMSOL must create an analysed geometry from the mesh to allow you to derfine physics and BC's. This is done automatically by COMSO, but you do not necessarily generate a &amp;quot;Draw geometry&amp;quot; backwards from the analysed geometry. &lt;br /&gt;&#13;
You can, there is the command Mesh - Create Geometry from Mesh - slelect Mesh, analysed geoemtry and Draw mode. If you do it you populate your &amp;quot;GeomN&amp;quot; and COMSOL will not allow you to generate a new revolved mesh therein.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
now you can draw many shap in one 2D-axi geometry and revolve all in one go into a new 3D GeomN geoemtry but you cannot mix a revovle and an extrude, as these are two separate operations.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
How to get around:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
1) you can generate several 3D geometries, and just link some equations on the Boundaries to get a global model (it's tedious, but could give some gain in solving time and complexity this gives some kind of &amp;quot;superelement&amp;quot; approach as each geometry is a &amp;quot;superelement&amp;quot; in the terms of some other FEm software.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
2) But this loses your nice revolve mesh&lt;br /&gt;&#13;
you can generate the draw geometry and define your physics separately, then save each geometry and open a new session to &amp;quot;add/merge&amp;quot; them together &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
When I use &amp;quot;Add components&amp;quot; you add the new GeomN's and you are in the case 1)just above,&lt;br /&gt;&#13;
If you &amp;quot;Merge component&amp;quot; your 2D axi geom is lost and the new geoemtry created is there but the mesh has gone, as well as the &amp;quot;link&amp;quot; between the 2Daxi and the 3D domain.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Basically, I come to:&lt;br /&gt;&#13;
create all your geometry in 2D-axi and then revolve all together (this works) but it might not allow you to create the full model the way you wanted it, I do not see how t0 add some simple extruded or prism blocks&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
So this is worth a question to support on:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
How to mix revolved and extruded mes in one geometry&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks for the tip, I learned something, hope ihelps you on the way&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Fri, 19 Mar 2010 06:58:47 +0000</pubDate>
   <guid isPermaLink="false">3976.1268981927.10382</guid>
  </item>
  <item>
   <title>Using different Geometries in a model</title>
   <link>http://www.comsol.com/community/forums/general/thread/3976/#p10309</link>
   <description>Hi,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I need some basic advice on the workflow with different geometries.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I want to make a 3D Model extruded from 2D with a mesh also extruded from 2D Mesh.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I start a new 3D simulation and add a 2D geometry (GEOM2) in the model navigator. I then draw in 2D and extrude to GEOM1 what results in a 3D Solid in GEOM1.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Then I create a mesh in the 2D GEOM2 and choose extrude mesh. In the extrude dialog, I can only specify &amp;quot;Extrude to geometry: To new geometry&amp;quot;. This creates a mesh in GEOM3.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Now I have the solids (on which I can define the subdomain and boundary settings) in GEOM1 and the mesh in GEOM3.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
When I solve the geometry from GEOM1 is taken and a new (default) mesh is created and solved.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
How can I tell Comsol to use the mesh in GEOM3 instead?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks for your advice,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Martin</description>
   <pubDate>Thu, 18 Mar 2010 06:47:19 +0000</pubDate>
   <guid isPermaLink="false">3976.1268894839.10309</guid>
  </item>
 </channel>
</rss>

