<div dir="ltr"><div><br></div><div>In a 2D flow simulation I would like to make manually some spectral analysis on spacial fields of temperature, velocity etc.</div><div>Spacial field must be on a regular uniform rectangular mesh.</div><div>Schematically I need a procedure like</div><div>T=getfield('foo0.f00009'),</div><div>where T is in the matrix form, f.e. for 3 point in one dimension and 2 in the other:</div><div>T11 T12 T13</div><div>T21 T22 T23</div><div><br></div><div>In tools there is an interpolation tool int_tp that could solve the problem.</div><div>But to get it work you have to supply .box files.</div><div><br></div><div>The problem is complicated with the fact that though the geometry  is quadrilateral, it is not rectangular and  nonuniform. I have created it in prex. There you have "Multi-SPLIT" in menu which refines the opposite sides of quadrilateral the same way, just what I needed (first I divided the whole domain to four parts by quadsplit and after I refine each part nonuniformly to make it more dense towards the boundary).</div><div><br></div><div>Finally I have trapezuim domain in which mesh is refined towards each of the four boundaries. You can see the picture following the link.</div><div><a href="https://www.dropbox.com/s/7sb2njt6ju2qo1b/mesh24x24.png?dl=0">https://www.dropbox.com/s/7sb2njt6ju2qo1b/mesh24x24.png?dl=0</a></div><div>I would be happy to interpolate this mesh to "uniform" (the sides are meshed uniformly) and get it in matrix form.</div><div><br></div><div>But in terms of .box files I don't know how to set the quadrilateral geometry.</div><div><br></div><div>So is there a way to create this type of geometry scriptwize?</div><div><br></div><div>I saw in mailing list that  there a utility sem2lex. But I could not find it.</div><div><br></div><div>As a temporary solution I think about <a href="http://hpts.in">hpts.in</a>. Though there will be 10^4 points in hpts.out for each time.</div><div><br></div><div>Thank you, Ilias</div><div><br></div></div>