next up previous
Next: Cubit input file Up: Box grid example Previous: Box grid example

x,y file

Suppose you want a square domain with a rotated square within it, both being meshed. Create a file consisting of x,y pairs, preceeded by the number of x,y pairs in that object. For instance, we want:
     4
     0         0
     1000000   0
     1000000   1000000
     0         1000000
     4
     500000    146446.6
     853553.4   500000
     500000    853553.4
     146446.6   500000
This defines an outer square and an inner square, each defined by four points. The distances here are in meters.



Kate Hedstrom
2001-05-09