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

fortran subroutine

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 4, 2010, 19:33
Default fortran subroutine
  #1
Senior Member
 
Hassan
Join Date: Apr 2009
Posts: 106
Rep Power: 9
HaKu is on a distinguished road
hey

i want to give at inflow parabolic velocity profile... does anyone has fortran code for this..

regards
HaKu is offline   Reply With Quote

Old   February 4, 2010, 21:26
Default
  #2
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 183
Rep Power: 9
Pauli is on a distinguished road
SUBROUTINE V_PARA(X,Y,V)
C
Xn = X - 12.6
Yn = Y + 3.5
C
X2 = Xn * Xn
Y2 = Yn * Yn
C
V = 5 * X2 + 3 * Y2
C
RETURN
END
Pauli is offline   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
Fortran Subroutine Error sergiorbrett CFX 12 September 3, 2012 07:40
Fortran subroutine (Perl not found) gillou_sk8@hotmail.com CFX 0 June 20, 2008 09:59
error on CFX compile fortran subroutine billpeace CFX 0 May 18, 2006 04:44
FORTRAN Subroutine Neser25 CFX 3 October 20, 2005 14:55
Fortran subroutine Thomas CFX 10 March 18, 2005 08:42


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