CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Help in pdetool box of matlab (https://www.cfd-online.com/Forums/main/6284-help-pdetool-box-matlab.html)

Radhika June 25, 2003 18:55

Help in pdetool box of matlab
 
Hi,

Background: If you type the following in matlab,

pdetool; pderect([0 1 0 1]); pderect([1 2 0 1]);

you will get two rectangle geometry in matlab.

Problem: Now I want to somehow export this geometry to a g.m file so that, I can use it in poimesh('g', nx, ny); function.

What I know: I know that one can export the three geometry param from the top menu to generate dl=decsg(gd,sf,ns); but dl can't be used by function poimesh.

Please Help !

thanks,

-Radhika


All times are GMT -4. The time now is 15:01.