CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Wiki > Icomm 1.f90 - include module

Icomm 1.f90 - include module

From CFD-Wiki

Jump to: navigation, search

!Sample program for solving Smith-Hutton Test using different schemes 
!of covective terms approximation -  "include" modul
!Copyright (C) 2005  Michail Kirichkov

!This program is free software; you can redistribute it and/or
!modify it under the terms of the GNU General Public License
!as published by the Free Software Foundation; either version 2
!of the License, or (at your option) any later version.

!This program is distributed in the hope that it will be useful,
!but WITHOUT ANY WARRANTY; without even the implied warranty of
!MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
!GNU General Public License for more details.

!You should have received a copy of the GNU General Public License
!along with this program; if not, write to the Free Software
!Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

!***************************************************************************

parameter nx=500, ny=500

Common /var/ U(nx,ny),V(nx,ny),PP(nx,ny),F(nx,ny,10), &
	     Xp(nx,ny),Yp(nx,ny),X(nx,ny),Y(nx,ny),Gam(nx,ny),Ro(nx,ny)

Common /var_Geom/ X_xi(nx,ny),    &

				  Y_xi(nx,ny),    &
				  X_et(nx,ny),    &
				  Y_et(nx,ny),	  &

				  Del_X_xi(nx,ny),  &
				  Del_Y_xi(nx,ny),  &
				  Del_X_et(nx,ny),  &
				  Del_Y_et(nx,ny)     

Common /koeff/ Ap(nx,ny),   &
			   As(nx,ny),   &
			   An(nx,ny),   &
			   Aw(nx,ny),   &
			   Ae(nx,ny),   &
			   Sp(nx,ny)

Common /geomt/ NXmax,NYmax,NXmaxP,NYmaxP
My wiki