CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

copy and paste....

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2003, 09:44
Default 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...
  Reply With Quote

Old   February 20, 2003, 12:34
Default 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.

  Reply With Quote

Old   February 20, 2003, 13:24
Default Copy / Move
  #3
Murali
Guest
 
Posts: n/a
<font face = "Courier New">

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

</font>

  Reply With Quote

Old   March 3, 2003, 06:16
Default 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?
  Reply With Quote

Old   March 3, 2003, 11:42
Default 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).
  Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy/paste of Mesh and geometry Gabbel CFX 3 January 1, 2018 19:22
copy and paste mesh in comet clo Siemens 0 October 19, 2006 09:10
Copy and Paste in Gambit Azman FLUENT 1 January 5, 2006 13:14
Top20Auto - anyone got a copy? Steve Siemens 2 August 1, 2005 08:27
looking for a free copy zakaria Siemens 3 November 9, 2004 11:49


All times are GMT -4. The time now is 17:48.