Re: [Gmsh] Question about adding new solver in onelab
> On 27 Aug 2020, at 03:15, cean wang wrote: > > Sorry last post seems not working. It says An HTML attachment was > scrubbed..., So I try to post with another email program. Here it is. > > > > > > I opened myinput.dat with gmsh and clicked on my solver to solver it, got a > message saying: > > > Calling ‘“d:\mysolver.exe” -onelab “mysolver” 127.0.0.1:53927’ > > Abnormal server termination(Socket listening timeout on socket 127.0.0.1:0) > > > I was expecting something like Calling ‘“d:\mysolver.exe myinput.dat”. Like > run in an terminal. > > > Just wondering does a normal solver exe could be called directly? Or have to > be modified like the Double pendulum in C++ demo solver? But my solver is an > Fortran program. > The goal of the ONELAB interface is to provide a simple communication layer between the solver(s) and Gmsh. You could e.g. take the simple Python solver example, and call your Fortran code from there with a simple system call. Since the Python code will have access to the ONELAB parameters, you could use it to generate the input file for your Fortran solver. Christophe > > > From: Max Orok > Sent: Tuesday, August 25, 2020 8:18 PM > To: cean wang > Cc: Gmsh > Subject: Re: [Gmsh] Question about adding new solver in onelab > > > It's in the options list, to get to the list: > > Open Gmsh -> Help -> Current Options and Workspace > > Edit the value > > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh — Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] Question about adding new solver in onelab
Sorry last post seems not working. It says An HTML attachment was scrubbed..., So I try to post with another email program. Here it is. I opened myinput.dat with gmsh and clicked on my solver to solver it, got a message saying: Calling ‘“d:\mysolver.exe” -onelab “mysolver” 127.0.0.1:53927’ Abnormal server termination(Socket listening timeout on socket 127.0.0.1:0) I was expecting something like Calling ‘“d:\mysolver.exe myinput.dat”. Like run in an terminal. Just wondering does a normal solver exe could be called directly? Or have to be modified like the Double pendulum in C++ demo solver? But my solver is an Fortran program. *From: *Max Orok *Sent: *Tuesday, August 25, 2020 8:18 PM *To: *cean wang *Cc: *Gmsh *Subject: *Re: [Gmsh] Question about adding new solver in onelab It's in the options list, to get to the list: Open Gmsh -> Help -> Current Options and Workspace Edit the value ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] Question about adding new solver in onelab
I opened myinput.dat with gmsh and clicked on my solver to solver it, got a message saying: Calling ‘“d:\mysolver.exe” -onelab “mysolver” 127.0.0.1:53927’Abnormal server termination(Socket listening timeout on socket 127.0.0.1:0) I was expecting something like Calling ‘“d:\mysolver.exe myinput.dat”. Like run in an terminal. Just wondering does a normal solver exe could be called directly? Or have to be modified like the Double pendulum in C++ demo solver? But my solver is an Fortran program. From: Max OrokSent: Tuesday, August 25, 2020 8:18 PMTo: cean wangCc: GmshSubject: Re: [Gmsh] Question about adding new solver in onelab It's in the options list, to get to the list: Open Gmsh -> Help -> Current Options and WorkspaceEdit the value ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] Question about adding new solver in onelab
It's in the options list, to get to the list: Open Gmsh -> Help -> Current Options and Workspace Edit the value [image: image.png] To save for next time: Tools->Options->Save options on exit [image: image.png] Sincerely, Max On Tue, Aug 25, 2020 at 12:35 AM cean wang wrote: > Where is the "Solver.AutoMesh = 0" option? > > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh > -- Max Orok Contractor www.mevex.com ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] Question about adding new solver in onelab
Where is the "Solver.AutoMesh = 0" option? ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] Question about adding new solver in onelab
> On 21 Aug 2020, at 02:44, cean wang wrote: > > Hi, > > I am using gmsh 4.5.6 win version. > > I have a fea program (myfea.exe), it runs in a DOS Terminal with the > following command: > > c:/myfea myinput.dat > > myinput.dat includes mesh and boundary conditions. It could be opened by gmsh > and show the mesh correctly. myfea.exe will save the result in an msh file. I > added a new solver in gmsh and specified where myfea.exe is. When I run the > solver, gmsh seems to try to mesh the domain and overwrite myinput.dat file. > The result is myfea.exe can't myinput.dat anymore . > > Wondering how do I disable the meshing, just do the solve? > Set the "Solver.AutoMesh = 0" option. Christophe > Regards, > > Cean > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh — Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh