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

fortran subroutine

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2010, 18:33
Default fortran subroutine
  #1
Senior Member
 
Hassan
Join Date: Apr 2009
Posts: 106
Rep Power: 17
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, 20:26
Default
  #2
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17
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


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
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 07:42


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