CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

Reducing all vertices in 'x' direction

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 22, 2007, 08:29
Default Reducing all vertices in 'x' direction
  #1
Yehia
Guest
 
Posts: n/a
I would like to know whether there is an easy way of reducing the 'x' direction of all vertices within a spcified range, i.e. if you have say 1000 verticies, how can you reduce the 'x' co-ordinates of all the verticies from 500 - 1000 by a fixed number without having to do it manually?

Is there anybody that could help please?

Thanks

Best Regards

Yehia
  Reply With Quote

Old   January 22, 2007, 08:41
Default Re: Reducing all vertices in 'x' direction
  #2
Balduin Bankerotti
Guest
 
Posts: n/a
vgen 2 0 vset ,,, dx , dy , dz

  Reply With Quote

Old   January 22, 2007, 08:50
Default Re: Reducing all vertices in 'x' direction
  #3
Yehia
Guest
 
Posts: n/a
Thanks for that, but if it's possible can you explain to me what the command means, i.e. i know v gen means and the dx, dy, dz, but what do the 2 0 represent?

Here is my problem:

I have a total of 43718 verticies, and want to reduce all verticies from 58-121 and then from 30421-end by 0.522m in the 'x' direction, how can I do that?

I don't want to add new verticies, rather just manipulate the ones I already have.

Thanks for your help

Regards

Yehia
  Reply With Quote

Old   January 22, 2007, 09:22
Default Re: Reducing all vertices in 'x' direction
  #4
Balduin Bankerotti
Guest
 
Posts: n/a
vset news vran 58 121

vgen 2 0 vset ,,, -0.522

which means, that you recreate the vertices in the vertex set at a news position

what about "help vgen"

  Reply With Quote

Old   January 22, 2007, 10:51
Default Re: Reducing all vertices in 'x' direction
  #5
Yehia
Guest
 
Posts: n/a
Ok,

Thanks

I'll try that

Regards

Yehia
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
reducing grid size Marjon van Ginneken FLOW-3D 4 January 12, 2009 10:18
Reducing diffusion associated with VOF billy OpenFOAM 0 June 24, 2008 14:23
Reducing residuals with PDF combustion model Don FLUENT 0 January 7, 2008 10:06
Reducing NOx in biyodisel fuels emir aydar CD-adapco 1 September 24, 2007 19:37
Drag reducing additives Chris Main CFD Forum 0 June 21, 2005 05:21


All times are GMT -4. The time now is 23:20.