CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Pointwise & Gridgen (http://www.cfd-online.com/Forums/pointwise/)
-   -   run pointwise with matlab (http://www.cfd-online.com/Forums/pointwise/123785-run-pointwise-matlab.html)

h_h1991 September 21, 2013 00:40

run pointwise with matlab
 
hi,
i need to open a mesh generator and run a journal file to generate grid autonomously in windows OS using Matlab.
i tried Gambit and it did 'nt work. now i am trying to use pointwise, but i dont know how to open and run journal file in it using Matlab .
i will be thankful for any help. ;)

cnsidero September 21, 2013 09:55

Quote:

Originally Posted by h_h1991 (Post 452830)
hi,
i need to open a mesh generator and run a journal file to generate grid autonomously in windows OS using Matlab.
i tried Gambit and it did 'nt work. now i am trying to use pointwise, but i dont know how to open and run journal file in it using Matlab .
i will be thankful for any help. ;)

To run Pointwise in batch mode with the GUI from a DOS prompt would be:

Code:

C:\Program Files\Pointwise\PointwiseV17.1R4\win64\bin\Pointwise.exe my_script.glf
or without the GUI:

Code:

C:\Program Files\Pointwise\PointwiseV17.1R4\win64\bin\tclsh.exe my_script.glf
Note: This is just an example. The path to your Pointwise bin directory might be different. Also, for the second option, you need to use Pointwise's tcl shell and not another one you might have installed because its own is setup to load the appropriate libraries so Pointwise commands work.

Now you'll just have to figure out how to call an external program from Matlab. It's been a long time since I've used Matlab and I don't own it so you're on your own in this regard.


All times are GMT -4. The time now is 18:33.