# copy and paste....

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 20, 2003, 09:44 copy and paste.... #1 giosue Guest   Posts: n/a Another question.... I'have a computational domain in which is possible to identify a single entity repeating 3 times. I generated the first, does anybody knows how can I repeat it and attach it to the firstone? thank...

 February 20, 2003, 12:34 Re: copy and paste.... #2 cjtune Guest   Posts: n/a Try using the command CGEN. Supplying it with the correct range of cells, vertex offset, and coordinate offsets, you can copy and paste a block of cells. You need to specify its last parameter to 'create vertices'. Put it within a loop that also increments the cell number range and I think you can copy and paste n times. To attach all of them together, try merging vertices or creating couples -CGEN won't automatically bind them together for you.

 February 20, 2003, 13:24 Copy / Move #3 Murali Guest   Posts: n/a To copy: The command CGEN creates as many copies as you want in whatever location. You can also reflect the cells through CGEN. U can use the following code: *get mxv1 mxve ! Obtain the maximum vertex number CSET NEWS ..... ! Put the cells you want to copy in the cset CGEN, 2, mxv1 + 1,CSET,,,VGEN,1,xoff,yoff,zoff ! where xoff, yoff and zoff are the various offsets you want to use for creating the cells. 2 is the number of sets you generate "including" the original set. Hence using the number 2 you generate 1 copy of the original cells. To move: Sometimes without copying you just want to move a set of cells. As fas as I know this cannot be achieved by the command CGEN. Use VGEN: CSET NEWS ..... ! Put the cells you want to copy in the cset VSET NEWS CSET ! Make new vset with the vertices of cset VGEN, 2, 0,VSET,,,xoff,yoff,zoff ! xoff, yoff and zoff are similar to the one mentioned above

 March 3, 2003, 06:16 Re: Copy / Move #4 giosue Guest   Posts: n/a Thank Murali... but I'm trying to use the command cgen as you mentioned above but the problem is that I have problem when I try to replicate my cset ten times about, it results in corrupted cells like cubist sculpture mmmmhh... insted of the number of copy is little (4,5)everything is Ok!!! Does anybody have suggestions?

 March 3, 2003, 11:42 Re: Copy / Move #5 cjtune Guest   Posts: n/a Check your offset vertex number supplied to CGEN. Should be the max used vertex number (eg. vertex no. 35676 is the last vertex on the vlist for all vertices, then 35676 is your vertex number offset to use).

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post clo CD-adapco 0 October 19, 2006 08:10 Azman FLUENT 1 January 5, 2006 13:14 Steve CD-adapco 2 August 1, 2005 07:27 Gabbel CFX 1 January 8, 2005 11:04 zakaria CD-adapco 3 November 9, 2004 11:49

All times are GMT -4. The time now is 11:21.