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

how to change the number of cset and vset

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2005, 05:57
Default how to change the number of cset and vset
  #1
lenson
Guest
 
Posts: n/a
I have a set of cells.Its' number ranges from 1~1000. Now.Because of (pre-processing software called gambit) model importing ,I need to transform the orginal cell set number from (1~1000)to (20001~21000).how can I do? another question is also similar . I want to change the VSET whose numbers is from 500 to 700. I must transform the original vset range to 20500~20700. how can I do?

concludely~ (Q1)change the CSET number(1~1000)to (20001~21000). (Q2)change the VSET number(500~700)to (20500~20700).

thanks for help~

  Reply With Quote

Old   October 7, 2005, 11:18
Default Re: how to change the number of cset and vset
  #2
Pauli
Guest
 
Posts: n/a
It sounds like you are importing a grid from Gambit. If so, why don't you enter the offsets during the import process (see the offset command).

If the grid is all ready in Prostar, you have two options. You can write the cells & vertices to a file & then read them back in with an offset - see cwri, vwri, crea & vrea commands (you can also do this from the Nav Center using Export Data->Export Grids then Create and Import Grids->Import Grids). Or you can use cgen & vren to make a copy of the cells & vertices with the desired offsets. The commands would look something like this:

cset news crange 1 1000 1 *set coff 2000 *get cnum ncse cgen,2,0,cset cset,news,crange,coff + 1,coff + cnum + 1 vren,disc,mxv,cset

Either way you'll end up with two copies of the cells & vertices. So you'll have to delete the originals.

cset news crange 1 1000 1 vset news cset cdel cset vdel vset

Be careful if this is a block embedded in some other grid. You don't want to delete adjoining vertices!!

  Reply With Quote

Old   October 10, 2005, 07:16
Default Re: how to change the number of cset and vset
  #3
bv
Guest
 
Posts: n/a
try Vgen command

  Reply With Quote

Old   October 10, 2005, 07:40
Default Re: how to change the number of cset and vset
  #4
lenson
Guest
 
Posts: n/a
thank you very much!!! the export&import command is good to use. thanks for help~

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[snappyHexMesh] SnappyHexMesh No change of the number of cells christoph OpenFOAM Meshing & Mesh Conversion 1 February 16, 2009 04:12
how to change CFL number in FLUENT using command xiaofish FLUENT 0 November 11, 2007 22:55
change timestep after a certain iteration number Sans CFX 5 June 3, 2007 06:17
cave cset vs vave vset MK Siemens 1 October 29, 2006 21:44
Change Courant number from UDF HS FLUENT 0 December 1, 2005 06:16


All times are GMT -4. The time now is 09:44.