CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Wiki > Contr gem1.f90

Contr gem1.f90

From CFD-Wiki

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
-
''This subroutine make only output of all geometrical date. (it was be done in order to control all geometry)''
+
''This subroutine make only output of all geometrical date. (it was done in order to control all geometry)''
<pre>
<pre>
-
Sample program for solving Smith-Hutton Test using different schemes of covective terms approximation - Geometry control modul
+
!Sample program for solving Smith-Hutton Test using different schemes  
-
Copyright (C) 2005  Michail Kirichkov
+
!of covective terms approximation - Geometry control modul
 +
!Copyright (C) 2005  Michail Kirichkov
-
This program is free software; you can redistribute it and/or
+
!This program is free software; you can redistribute it and/or
-
modify it under the terms of the GNU General Public License
+
!modify it under the terms of the GNU General Public License
-
as published by the Free Software Foundation; either version 2
+
!as published by the Free Software Foundation; either version 2
-
of the License, or (at your option) any later version.
+
!of the License, or (at your option) any later version.
-
This program is distributed in the hope that it will be useful,
+
!This program is distributed in the hope that it will be useful,
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
+
!but WITHOUT ANY WARRANTY; without even the implied warranty of
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+
!MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-
GNU General Public License for more details.
+
!GNU General Public License for more details.
-
You should have received a copy of the GNU General Public License
+
!You should have received a copy of the GNU General Public License
-
along with this program; if not, write to the Free Software
+
!along with this program; if not, write to the Free Software
-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+
!Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 +
!***********************************************************************
Subroutine Control_gem
Subroutine Control_gem
include 'icomm_1.f90'
include 'icomm_1.f90'

Latest revision as of 14:46, 21 September 2005

This subroutine make only output of all geometrical date. (it was done in order to control all geometry)


!Sample program for solving Smith-Hutton Test using different schemes 
!of covective terms approximation - Geometry control 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.

!***********************************************************************
Subroutine Control_gem
include 'icomm_1.f90'

Dimension F_out(nx,ny)
Character  Filename*10

!----------------------------------------------------------------
	NImax = NXmax
	NJmax = NYmax

	F_out     = X

 	Filename  ='X_ooo.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmax
	NJmax = NYmax

	F_out     = Y

 	Filename  ='Y_ooo.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = Xp

 	Filename  ='X_poo.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = Yp

 	Filename  ='Y_poo.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = Del_X_xi

 	Filename  ='DX_xi.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = Del_Y_xi

 	Filename  ='DY_xi.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = Del_X_et

 	Filename  ='DX_et.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = Del_Y_et

 	Filename  ='DY_et.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = X_et

 	Filename  ='7X_et.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = Y_et

 	Filename  ='7Y_et.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = X_xi

 	Filename  ='7X_xi.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------
!----------------------------------------------------------------
	NImax = NXmaxP
	NJmax = NYmaxP

	F_out     = Y_xi

 	Filename  ='7Y_xi.txt' 

    Call  Out_array(F_out,NImax,NJmax,Filename)
!-------------------------------------------------------------------

Return
End

My wiki