CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   Geometry translation (https://www.cfd-online.com/Forums/siemens/63914-geometry-translation.html)

wei April 23, 2009 06:43

Geometry translation
 
I want to rotate and translate a geometry to a new location. How do I do that?
:confused:

vishyaroon April 23, 2009 09:14

If you are using STAR CD use the vgen command. For translation you can use this directly. The syntax of this command (explained through an example is):

cset all
vset news cset
vgen,2,0,vset,,,dx,dy,dz (replace dx, dy and dz accordingly)

The above example is for translating. You'd have the Cartesian co-ordinate system on in such a case.
If you want to rotate the geometry activate the cylindrical co-ordinate system and then use the vgen command to rotate.

vishyaroon April 23, 2009 09:16

Sorry forgot to mention that if you are using STAR CCM+, it is straight forward. Right click on the region and you'd see the transform option. This has rotate, scale, translate options.

wei April 23, 2009 10:38

It is working well. Thank you. I am using starcd 3.26.

If I want to add a new mesh using current surface model on top of the top layer of a previous mesh, what can I do?

A_Lyaskin April 27, 2009 11:30

You can create a surface mesh (shells) at the top and then extrude it (see help for VCEXTRUDE command)

wei April 28, 2009 04:50

what commands are normally used to create a surface mesh (shell) from vertices?

thank you.

A_Lyaskin April 28, 2009 06:59

If you already have a 3D mesh, you can use CFIN command with SHELL option (from GUI: Tools->Cell Tool->Add Shells->Surface (New edge Vertex Set)...)


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