CSIMPLE2d CFD C源程序

源代码在线查看: extern.h

软件大小: 26 K
上传用户: a1102882595
关键词: CSIMPLE2d CFD 源程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
				* extern.h : declare all the extern variables and extern functoins used in user.c
				*
				* Copyright  2000  Xu Xianghua Department of Engineering Mechanichs.  All Rights Reserved.
				*/
				
				#ifndef _EXTERN_H
				#define _EXTERN_H
				
				extern	void fnGrid();
				extern	void fnStart();
				extern	void fnDense();
				extern	void fnOutPut();
				extern	void fnGamSor();
				extern	void fnBound();
				
				extern	void fnUGrid();
				extern	void fnPrint();
				
				extern	short nMode;
				extern	short nF;
				extern	short nTimes[NFMAX];
				extern	short L1;
				extern	short L2;
				extern	short L3;
				extern	short M1;
				extern	short M2;
				extern	short M3;
				extern	short nFMax;
				extern	short nGam;
				extern	short nP;
				extern	short nRho;
				
				extern	int iIter;
				extern	int iLast;
				
				extern	double Dt;
				extern	double RhoCon;
				extern	double Time;
				extern	double XL;
				extern	double YL;
				extern	double SMax;
				extern	double SSum;
				
				extern	double (*PC)[NSIZE];//PC[i][j]
				extern	double (*U)[NSIZE];//U[i][j]
				extern	double (*V)[NSIZE];//V[i][j]
				extern	double (*P)[NSIZE];//P[i][j]
				extern	double (*Rho)[NSIZE];//Rho[i][j]
				extern	double (*Gam)[NSIZE];//Gam[i][j]
				
				extern	double AIM[NSIZE][NSIZE];
				extern	double AIP[NSIZE][NSIZE];
				extern	double AJM[NSIZE][NSIZE];
				extern	double AJP[NSIZE][NSIZE];
				extern	double AP[NSIZE][NSIZE];
				extern	double ARX[NSIZE];
				extern	double ARXJ[NSIZE];
				extern	double ARXJP[NSIZE];
				extern	double Con[NSIZE][NSIZE];
				extern	double DU[NSIZE][NSIZE];
				extern	double DV[NSIZE][NSIZE];
				extern	double F[NFMAX+3][NSIZE][NSIZE];//!!!
				extern	double FV[NSIZE];
				extern	double FVP[NSIZE];
				extern	double FX[NSIZE];
				extern	double FXM[NSIZE];
				extern	double FY[NSIZE];
				extern	double FYM[NSIZE];
				extern	double R[NSIZE];
				extern	double Relax[NFMAX+3];//
				extern	double RMN[NSIZE];
				extern	double SX[NSIZE];
				extern	double SXMN[NSIZE];
				extern	double X[NSIZE];
				extern	double XCV[NSIZE];
				extern	double XCVI[NSIZE];
				extern	double XCVIP[NSIZE];
				extern	double XCVS[NSIZE];
				extern	double XDif[NSIZE];
				extern	double XU[NSIZE];
				extern	double Y[NSIZE];
				extern	double YV[NSIZE];
				extern	double YCV[NSIZE];
				extern	double YCVR[NSIZE];
				extern	double YCVRS[NSIZE];
				extern	double YCVS[NSIZE];
				extern	double YDif[NSIZE];
				
				extern	BOOL	bBlk[NFMAX];
				extern	BOOL	bPrint[NFMAX+3];//
				extern	BOOL	bSolve[NFMAX];
				
				extern	char*	szTitle[NFMAX+3];
				extern  char*	szFileName;
				
				extern	FILE*	pFileOut;
				
				#endif			

相关资源