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

Alter coordinate system

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 11, 2009, 03:49
Default
  #5
Member
 
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 17
olauer is on a distinguished road
There are two provided subroutines which could be used.

DIMENSION CIN(3),COUT(3)
CALL GLOLOC(CIN,COUT,ICOR)
CALL LOCGLO(COUT,CIN,ICOR)


Example from newxyz.f:

ICOR=5
do iv=1,nvert
CIN(1)=VCORN(1,IV)
CIN(2)=VCORN(2,IV)
CIN(3)=VCORN(3,IV)

CALL GLOLOC(CIN,COUT,ICOR)

any operation on local coordinates possible
COUT(2)=COUT(2)+OFFSET

CALL LOCGLO(COUT,CIN,ICOR)
VCORN(1,IV)=CIN(1)
VCORN(2,IV)=CIN(2)
VCORN(3,IV)=CIN(3)

enddo

Attention: all vertex values are in SI coordinates, local coordinate systems
could be defined in mm
olauer is offline   Reply With Quote

 


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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Coordinate System selim CFX 1 October 26, 2007 21:08
Equation in which coordinate system zubin Main CFD Forum 8 April 30, 2004 10:33
On Coordinate system used in Fluent varghese FLUENT 9 March 22, 2002 11:16
Coordinate system Franch Siemens 2 March 6, 2002 07:56


All times are GMT -4. The time now is 14:36.