********************************************************************************
U N S T R U C T 2 D
(c) 1997-2014 Jiri Blazek, CFD Consulting & Analysis, www.cfd-ca.de
********************************************************************************
Program for the solution of 2-D Euler and Navier-Stokes equations on
unstructured triangular grids. Median-dual finite-volume scheme is employed
for the spatial discretisation together with Roe's upwind scheme. The
equations are integrated in time using an explicit multistage time-stepping
scheme. The program also offers the possibility to simulate incompressible
flows at very low Mach numbers. Further details are provided in Subsection
12.7 of the book.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
--------------------------------------------------------------------------------
Files
--------------------------------------------------------------------------------
doc - HTML documentation (files, modules, functions and variables; point your
browser to doc/html/index.html)
run - test cases (grids and topology files, user input files, results)
src - source code
The following test cases are provided in the directory "run":
channel - inviscid, transonic flow in a channel with 10% circular bump
fplate - laminar viscous flow past a flat plate
n0012 - inviscid, transonic flow around NACA 0012 airfoil
n4415_20 - inviscid, incompressible flow around NACA 4415 airfoil with flap
vki1 - inviscid, transonic flow inside VKI-1 turbine cascade (Kiock, R.;
Lehthaus, F.; Baines, N.C.; Sieverding, C.H.: "The Transonic Flow
Through a Plane Turbine Cascade as Measured in Four European Wind
Tunnels". ASME J. Engineering Gas Turbines and Power, 108 (1986),
pp. 277-284)
Files with the extension "ugr" contain the grid. Files with "_input" added
to the case name represent user input files. Furthermore, "iso" in the name
signifies a plot file containing the complete 2-D flow-field, whereas "surf"
stands for the surface only. The directory "run" contains in "Unstruct2D.exe"
the executable program for 64-bit Windows platforms (Win 7 and higher).
--------------------------------------------------------------------------------
How to compile "Unstruct2D"
--------------------------------------------------------------------------------
For the compilation of the sources in "src", any decent Fortran-90 compiler
is sufficient. If you have none installed, GNU's freely available gfortran
compiler is highly recommendable for the purpose. On Windows, the compiler
is provided in the MinGW package. An easy to install distribution can be
downloaded at: www.tdm-gcc.tdragon.net/download. It offers the possibility
to compile the sources to either 32- or 64-bit executable.
The directory "src" contains also project file for the Code::Blocks
(www.codeblocks.org) integrated development environment, which has a very
nice plug-in for Fortran-90 projects. The IDE is available for free for all
major platforms. But of course, you can use your favorite IDE or just an
editor as well. For this purpose, a Makefile is provided in "src". The file
"main.f90" contains the main program, module files are named "mod*.f90".
--------------------------------------------------------------------------------
How to run "Unstruct2D"
--------------------------------------------------------------------------------
The program requires a number of user input parameters which determine the
fluid properties, set the boundary conditions, control the program
execution, and the output of the results. The user parameters are stored in
a plain ASCII file. Examples are provided in the files "*_input_*" in the
directory "run". In order to run "Unstruct2D", open a terminal window
(Command Prompt on Windows), change to the directory where the grid and user
input files are located and type at the prompt:
> Unstruct2D input_file
where "input_file" is the path and name of the file with user parameters
(e.g., "channel_input"). Depending on how your environment is set up (PATH
variable), you might have to specify the full path to the executable as
well. During and after the run, the program generates four output files:
convergence history, data for isoplots, distribution of flow quantities
along wall(s) and a restart file. The data in the convergence and in the
both plot files are stored in Vis2D format and can be visualized using the
commercial plotting software available from CFD Consulting & Analysis
(www.cfd-ca.de).
In the case of external flows, file with the convergence history contains the
following quantities:
step - iteration number
resid - density based convergence measure (see Eq. (12.1))
resmax - maximum difference between new and old density [kg/m^3]
i-res - index of the grid node where resmax is found
cl - lift coefficient }
cd - drag coefficient } considering pressure forces only!
cm - moment coefficient }
Lift, drag and moment coefficients are replaced by:
mass-flow - average mass flow rate [kg/s]
mass-ratio - ratio of mass flow at outlet to mass flow at inlet
for internal flows.
The file for the generation of isoplots always contains the grid coordinates
(denoted as x, y). Additionally, the following quantities are written out for
each grid point, if switched on in the user input file (last section):
density - density [kg/m^3]
u - x-component of the velocity [m/s]
v - y-component of the velocity [m/s]
p - static pressure [Pa]
p-tot - total pressure [Pa]
T - static temperature [K]
T-tot - total temperature [K]
M - local Mach number
M-isen - isentropic Mach number
pt-loss - total pressure loss
visc-lam - laminar viscosity coefficient (dynamic) [kg/ms]
cf - skin friction coefficient (boundaries only)
-Cp - pressure coefficient (boundaries only)
Variables in the convergence and in the plot files are stored column-wise.
Please note that all physical quantities are defined in SI units.
In order to run "Unstruct2D", a grid file must be provided. The grid file
contains the dimensions of the grid, the description of the boundary faces,
the Cartesian coordinates of the nodes and the nodes of the triangles. The
format of the grid file is as follows:
(1) dimensions (one line):
- number of grid nodes (NO dummy nodes)
- number of triangular cells,
- number of boundary conditions
(2) for each boundary condition (two lines):
- type
100-199 = inflow
200-299 = outflow
300-399 = viscous wall
400-499 = inviscid wall
500-599 = symmetry line
600-699 = farfield
700-799 = periodic boundary
- index of the last boundary face (NOT used for periodic boundaries)
- index of the last boundary point
- name (on new line)
(3) list of boundary faces (2 nodes of a face, arbitrary oriented) for all
boundary conditions except if the corresponding boundary is periodic,
then the list contains the two related periodic nodes instead
(4) Cartesian coordinates of the nodes (first column is x, second is y)
(5) indices of three nodes defining a triangle; the orientation is arbitrar
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
2维euler流场求解器 (648个子文件)
Unstruct2d.cbp 5KB
channel_input 4KB
doxygen.css 23KB
search.css 4KB
navtree.css 2KB
tabs.css 1KB
Unstruct2d.depend 6KB
Doxyfile 99KB
Unstruct2D.exe 174KB
precondMatrices.f90 17KB
main.f90 9KB
modInterfaces.f90 8KB
plotSurfaces.f90 7KB
gradientsVisc.f90 7KB
solver.f90 7KB
initMetricsBound.f90 6KB
dissipRoe2Prec.f90 6KB
limiter.f90 6KB
gradients.f90 6KB
bcondFarfield.f90 6KB
dissipRoe1Prec.f90 6KB
printParams.f90 5KB
fluxViscous.f90 5KB
dissipRoe2.f90 5KB
plotFlow.f90 5KB
timeStep.f90 5KB
readParams.f90 5KB
modGeometry.f90 4KB
irsmoo.f90 4KB
dissipRoe1.f90 4KB
readGrid.f90 4KB
initMetrics.f90 4KB
dependentVars.f90 4KB
modPhysics.f90 4KB
modNumerics.f90 4KB
dummyNodes.f90 4KB
limiterInit.f90 4KB
edgesInitialize.f90 4KB
checkMetrics.f90 4KB
fluxRoe2.f90 4KB
initSolution.f90 3KB
allocateMemory.f90 3KB
bcondInflow.f90 3KB
volumeProjections.f90 3KB
edgesFinalize.f90 3KB
boundaryConditions.f90 3KB
bcondOutflow.f90 3KB
faceVectorsSymm.f90 3KB
convergence.f90 3KB
fluxRoe1.f90 3KB
massflow.f90 3KB
forces.f90 3KB
modPlotQuant.f90 2KB
limiterRefvals.f90 2KB
initConstants.f90 2KB
readSolution.f90 2KB
zeroResiduals.f90 2KB
fluxWalls.f90 2KB
modFiles.f90 2KB
writeSolution.f90 2KB
bcondWallns.f90 2KB
periodic.f90 2KB
readChar.f90 2KB
modControl.f90 2KB
error.f90 2KB
modDataTypes.f90 1KB
fplate_input 4KB
precond_matrices_8f90.html 142KB
dir_68267d1309a1af8e8297ef4c3efbcdba.html 141KB
annotated.html 137KB
classmodnumerics.html 135KB
mod_interfaces_8f90.html 134KB
classmodphysics.html 133KB
files.html 133KB
classmodinterfaces.html 133KB
classmodgeometry.html 133KB
functions.html 129KB
classes.html 129KB
functions_vars.html 129KB
globals.html 126KB
globals_func.html 125KB
classmodplotquant.html 124KB
classmodfiles.html 123KB
modulemodnumerics-members.html 122KB
modulemodphysics-members.html 122KB
modulemodgeometry-members.html 121KB
limiter_8f90.html 120KB
dissip_roe2_prec_8f90.html 119KB
dissip_roe1_prec_8f90.html 119KB
classmodcontrol.html 119KB
bcond_farfield_8f90.html 119KB
dissip_roe2_8f90.html 119KB
dissip_roe1_8f90.html 119KB
modulemodfiles-members.html 119KB
modulemodplotquant-members.html 119KB
dependent_vars_8f90.html 119KB
edges_initialize_8f90.html 118KB
irsmoo_8f90.html 118KB
edges_finalize_8f90.html 118KB
init_metrics_8f90.html 118KB
共 648 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
- 幸运的三叶草2020-07-18这是病毒吗?朋友
qq_36501886
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Screenshot_20240427_031602.jpg
- 网页PDF_2024年04月26日 23-46-14_QQ浏览器网页保存_QQ浏览器转格式(6).docx
- 直接插入排序,冒泡排序,直接选择排序.zip
- 在排序2的基础上,再次对快排进行优化,其次增加快排非递归,归并排序,归并排序非递归版.zip
- 实现了7种排序算法.三种复杂度排序.三种nlogn复杂度排序(堆排序,归并排序,快速排序)一种线性复杂度的排序.zip
- 冒泡排序 直接选择排序 直接插入排序 随机快速排序 归并排序 堆排序.zip
- 课设-内部排序算法比较 包括冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序和堆排序.zip
- Python排序算法.zip
- C语言实现直接插入排序、希尔排序、选择排序、冒泡排序、堆排序、快速排序、归并排序、计数排序,并带图详解.zip
- 常用工具集参考用于图像等数据处理
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功