<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That depends on the numbers that gmsh gives to the surfaces of your
geometry.<br>
The easiest way to do it is using the GUI of gmsh. You choose the
surfaces that close your volume with the mouse for getting the surface
loop.<br>
Gmsh will add the line to your .geo file.<br>
<br>
Regards,<br>
Ruth<br>
<br>
<br>
Eliam wrote:
<blockquote cite="mid:49E4A759.6020307@free.fr" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Thank You.<br>
<br>
I don't understand what I must put at :<br>
"Surface Loop(2) = {******};"<br>
<br>
<br>
<br>
Ruth V. Sabariego a écrit :
<blockquote cite="mid:49E4A310.8050200@ulg.ac.be" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
You have to add a box around your geometry in Gmsh and define the
volume between the surfaces.<br>
For doing that, you should use a .geo file where your stl file with the
conected surfaces of your plane are defined.<br>
<br>
For instance:<br>
Merge 'yourfile.stl' ;<br>
Point(201) = {*,*,*};<br>
Point(202) = {*,*,*};<br>
Point(203) = {*,*,*};<br>
Point(204) = {*,*,*};<br>
<br>
Line(203) = {202,204};<br>
Line(204) = {204,203};<br>
Line(205) = {203,201};<br>
Line(206) = {201,202};<br>
Line Loop(207) = {203,204,205,206};<br>
Plane Surface(208) = {207};<br>
Extrude {0,***,0} { Surface{208}; }<br>
<br>
Surface Loop(1) = {1};<br>
Surface Loop(2) = {******};<br>
Volume(1) = {2,1};<br>
<br>
<br>
Where the stars should be replaced by the suitable dimensions, line
numbers and surface numbers.<br>
<br>
Regards,<br>
Ruth<br>
<br>
<br>
Eliam wrote:
<blockquote cite="mid:49E49F9A.9030107@free.fr" type="cite">Hi all<br>
<br>
I must study the airflow around a car using OpenFOAM and I have my
model as a STL file.<br>
<br>
I would like to know how can I obtain a volume mesh around the car
using Gmesh. The expected results would be something like what there is
on the screenshots <a moz-do-not-send="true"
href="http://www.geuz.org/gmsh/gallery/a319_4.png">A319_1</a> and <a
moz-do-not-send="true"
href="http://www.geuz.org/gmsh/gallery/a319_2.png">A319_2</a>.<br>
<br>
Thank you for helping.<br>
<br>
Eliam<br>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
gmsh mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Ir. Ruth V. Sabariego
University of Liege, Institut Montefiore,
Dept. of Electrical Engineering & Computer Science,
Applied & Computational Electromagnetics (ACE),
Sart Tilman Campus, Grande Traverse, 10 (B28), B-4000 LIEGE, Belgium
phone: +32-4-3663737 -- fax: +32-4-3662910 -- <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://elap.montefiore.ulg.ac.be/">http://elap.montefiore.ulg.ac.be/</a></pre>
</blockquote>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
gmsh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>
<a class="moz-txt-link-freetext" href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Ir. Ruth V. Sabariego
University of Liege, Institut Montefiore,
Dept. of Electrical Engineering & Computer Science,
Applied & Computational Electromagnetics (ACE),
Sart Tilman Campus, Grande Traverse, 10 (B28), B-4000 LIEGE, Belgium
phone: +32-4-3663737 -- fax: +32-4-3662910 -- <a class="moz-txt-link-freetext" href="http://elap.montefiore.ulg.ac.be/">http://elap.montefiore.ulg.ac.be/</a></pre>
</body>
</html>