⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 global.h

📁 Lattice Boltzmann用于模拟方腔流的程序。 生成的plt文件需用tecplot软件打开。
💻 H
字号:
#include <iostream.h>
#include <stdio.h>
#include <string.h>     
#include <malloc.h>      //分配内存的头文件
#include <stdlib.h>      //分配内存的头文件
#include "define.h"

/* global variables 全局变量*/

extern  double 	f[9][max_y][max_x],         
		        pressure[max_y][max_x],				/* 3d matrix made up of 9 2D matrices */   
                tau;				                /* 松弛时间*/
		
extern   char 	wall[max_y][max_x];				/* Flag array to indicate no-slip nodes */

/* prototype declarations 原型声明 */

extern void collision();
extern void init();
extern void init_geo();
extern int  main();
extern int  check_convergence(int);
extern void propagate();
extern void write_tecplot_field_file(int);
   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -