<html><head></head><body><div class="ydp45e1f813yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div></div>
        <div>Hi Christophe,</div><div><br></div><div>Many Thanks. I've solved the gmsh part as per your advice. However, I tried to import it to OpenFOAM.</div><div><br></div><div>-----from OpenFOAM</div><div><span><div>Starting to read mesh format at line 2</div><div>Read format version 4  ascii 0</div><div><br></div><div>Starting to read physical names at line 5</div><div>Physical names:8</div><div>    Surface 1   inlet</div><div>    Surface 2   outlet</div><div>    Surface 3   top</div><div>    Surface 4   bottom</div><div>    Surface 5   cylinder1</div><div>    Surface 6   cylinder2</div><div>    Surface 7   front&back</div><div><br></div><div>Skipping tag $Entities at line 16</div><div>Starting to read points at line 344</div><div>Vertices to be read:259</div><div>Vertices read:194</div><div><br></div><div><br></div><div>--> FOAM FATAL IO ERROR:</div><div>wrong token type - expected word, found on line 0 the label 198</div><div><br></div><div>file: IStringStream.sourceFile at line 0.</div><div><br></div><div>    >From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::word&)</div><div>    in file primitives/strings/word/wordIO.C at line 74.</div><div><br></div><div>FOAM exiting</div><div><br></div></span>----------------------------------------------------------</div><div>Anything wrong with my gmsh file?</div><div><br></div><div>sorry to trouble you again.</div>
        
        </div><div id="yahoo_quoted_9879311353" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, 18 October 2018, 1:15:39 PM GMT+8, Christophe Geuzaine <cgeuzaine@uliege.be> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr"><br clear="none"><br clear="none">> On 18 Oct 2018, at 05:02, koh kelvin <<a shape="rect" ymailto="mailto:kelvin882002@yahoo.com" href="mailto:kelvin882002@yahoo.com">kelvin882002@yahoo.com</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> Hi,<br clear="none">> <br clear="none">> Greatly Thankful. <br clear="none">> Please find the file I have attached. <br clear="none"><br clear="none">There's no error in your file. However as you only define physical surfaces, only quads are saved in the output mesh file. To save the volume elements, add <br clear="none"><br clear="none">Physical Volume("the volume") = {1:22};<br clear="none"><br clear="none">Christophe<br clear="none"><br clear="none">> Please advise me.<br clear="none">> Thanks.<br clear="none">> On Thursday, 18 October 2018, 2:34:10 AM GMT+8, Christophe Geuzaine <<a shape="rect" ymailto="mailto:cgeuzaine@uliege.be" href="mailto:cgeuzaine@uliege.be">cgeuzaine@uliege.be</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> > On 17 Oct 2018, at 06:10, koh kelvin <<a shape="rect" ymailto="mailto:kelvin882002@yahoo.com" href="mailto:kelvin882002@yahoo.com">kelvin882002@yahoo.com</a>> wrote:<br clear="none">> > <br clear="none">> > Hi,<br clear="none">> > <br clear="none">> > I have encountered an error. I have done the 3D meshing completed. Everything looks fine. But after save it as .msh file and re-run the 3D mesh, the error appears.<br clear="none">> > <br clear="none">> > Error: No tetrahedra in region 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21<br clear="none">> > <br clear="none">> <br clear="none">> Can you send an example file + the exact commands that you are running?<br clear="none">> <br clear="none">> <br clear="none">> > Initially, I was intended to import file to OpenFOAM. Error appear too. So I decided to open the msh file in gmsh to check. <br clear="none">> > <br clear="none">> > I don't understand. the geo file shows no error at all. Save in msh error prone.<br clear="none">> > <br clear="none">> > I need your advice to resolve the issue urgently.<br clear="none">> > <br clear="none">> > Many Thanks.<br clear="none">> > <br clear="none">> > Regards,<br clear="none">> > Kelvin Xu<br clear="none">> <br clear="none">> > <br clear="none">> > _______________________________________________<br clear="none">> > gmsh mailing list<br clear="none">> > <a shape="rect" ymailto="mailto:gmsh@onelab.info" href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br clear="none">> > <a shape="rect" href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br clear="none">> <br clear="none">> — <br clear="none">> Prof. Christophe Geuzaine<br clear="none">> University of Liege, Electrical Engineering and Computer Science <br clear="none">> <a shape="rect" href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br clear="none">> <br clear="none">> Free software: <a shape="rect" href="http://gmsh.info " target="_blank">http://gmsh.info </a>| <a shape="rect" href="http://getdp.info " target="_blank">http://getdp.info </a>| <a shape="rect" href="http://onelab.info" target="_blank">http://onelab.info</a><br clear="none">> <br clear="none">> <untitled2.geo><untitled2.msh>_______________________________________________<div class="yqt8366008616" id="yqtfd21697"><br clear="none">> gmsh mailing list<br clear="none">> <a shape="rect" ymailto="mailto:gmsh@onelab.info" href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br clear="none">> <a shape="rect" href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br clear="none"><br clear="none">— <br clear="none">Prof. Christophe Geuzaine<br clear="none">University of Liege, Electrical Engineering and Computer Science <br clear="none"><a shape="rect" href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br clear="none"><br clear="none">Free software: <a shape="rect" href="http://gmsh.info " target="_blank">http://gmsh.info </a>| <a shape="rect" href="http://getdp.info " target="_blank">http://getdp.info </a>| <a shape="rect" href="http://onelab.info" target="_blank">http://onelab.info</a><br clear="none"></div></div></div>
            </div>
        </div></body></html>