Sorry, did not answer properly to the list.<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Ivan Vicente Janvrot Miranda</b> <<a href="mailto:janvrot@gmail.com">
janvrot@gmail.com</a>><br>Date: Aug 8, 2007 10:04 PM<br>Subject: Re: [Gmsh] Question<br>To: Cynthia Maxwell <<a href="mailto:cynthia.maxwell@mac.com">cynthia.maxwell@mac.com</a>><br><br></span>Hello<br><br>With gmsh you can use variables as point coordinates.
<br>The real numeric values may be defined in a small file named, say: par.inc.<br>This file may be easily generated by a shell script or by some other program such as octave.
<br>then you include this file in the beginning of the .geo file.<br>You can also control gmsh and the solver with a shell script or octave, automating the whole process in a loop, by changing the parameters at each iteration. 
<br><br>par.inc:<br>a = 0.01;<br>b = 0.02;<br>cl = 1;<br><br>.geo:<br>Include "par.inc";<br>Point( 1) = {a, b, 0, cl};<br>... etc...<br><br>I've done a lot of automation with this scheme. The computer plays all the night, while I sleep.
<br>BTW which solver are you using?<br><br>Regards<br>Janvrot<br><br><br><div><div><span class="e" id="q_1144826f4e1bf5c3_1"><span class="gmail_quote">On 8/8/07, <b class="gmail_sendername">Cynthia Maxwell</b> <<a href="mailto:cynthia.maxwell@mac.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
cynthia.maxwell@mac.com
</a>> wrote:</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_1144826f4e1bf5c3_3"><div>Hello there,
<div><br></div><div>I am thinking of using your product with my solver. 
</div><div>I would like to define a geometry and iteratively change some parameters such as width, height, ellipse center and radii as seen below:</div><div><br></div><div></div></div><br></span></div><div><div></div><div>
<br>
</div><div>You say GMesh can:</div><div>"<font face="Times" size="4"><span style="font-size: 16px;">parameterize these geometries. Gmsh's scripting language enables all commands and command arguments to depend on previous calculations (see 
</span></font><a href="http://www.geuz.org/gmsh/doc/texinfo/gmsh_3.html#SEC12" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font face="Times" size="4"><span style="font-size: 16px;"><font color="#0021e7">

2.1 Expressions</font></span></font></a><font face="Times" size="4"><span style="font-size: 16px;">, and </span></font><a href="http://www.geuz.org/gmsh/doc/texinfo/gmsh_4.html#SEC23" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

<font face="Times" size="4"><span style="font-size: 16px;"><font color="#0021e7">3.1 Geometry commands</font></span></font></a><font face="Times" size="4"><span style="font-size: 16px;">);"</span></font> </div><div>
<br>
</div><div>How would I do this? Do you have any examples of parametrically modifying a geometry say from a script? </div><div><br></div><div>I hope you do, because this would solve my mesh generation problem and allow me to focus on the solver.
</div><div><br></div><div>The sooner the better I know : )</div><div><br></div><div>Thank you,</div><div>Cynthia</div></div><br>_______________________________________________<br>gmsh mailing list<br><a href="mailto:gmsh@geuz.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

gmsh@geuz.org</a><br><a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.geuz.org/mailman/listinfo/gmsh</a><br><br><br clear="all"></blockquote>

</div><br>