资源简介
这个是斯坦福大学开源软件SU2的源码,可以直接在Linux系统上进行编译安装。亲测可用
代码片段和文件信息
/*!
* \file config_structure.cpp
* \brief Main file for managing the config file
* \author F. Palacios T. Economon B. Tracey
* \version 3.2.9 “eagle“
*
* SU2 Lead Developers: Dr. Francisco Palacios (francisco.palacios@boeing.com).
* Dr. Thomas D. Economon (economon@stanford.edu).
*
* SU2 Developers: Prof. Juan J. Alonso‘s group at Stanford University.
* Prof. Piero Colonna‘s group at Delft University of Technology.
* Prof. Nicolas R. Gauger‘s group at Kaiserslautern University of Technology.
* Prof. Alberto Guardone‘s group at Polytechnic University of Milan.
* Prof. Rafael Palacios‘ group at Imperial College London.
*
* SU2 is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License or (at your option) any later version.
*
* SU2 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with SU2. If not see .
*/
#include “../include/config_structure.hpp“
CConfig::CConfig(char case_filename[MAX_STRING_SIZE] unsigned short val_software unsigned short val_iZone unsigned short val_nZone unsigned short val_nDim unsigned short verb_level) {
int rank = MASTER_NODE;
#ifdef HAVE_MPI
MPI_Comm_rank(MPI_COMM_WORLD &rank);
#endif
/*--- Initialize pointers to Null---*/
SetPointersNull();
/*--- Reading config options ---*/
SetConfig_Options(val_iZone val_nZone);
/*--- Parsing the config file ---*/
SetConfig_Parsing(case_filename);
/*--- Configuration file postprocessing ---*/
SetPostprocessing(val_software val_iZone val_nDim);
/*--- Configuration file boundaries/markers setting ---*/
SetMarkers(val_software);
/*--- Configuration file output ---*/
if ((rank == MASTER_NODE) && (verb_level == VERB_HIGH) && (val_iZone != 1))
SetOutput(val_software val_iZone);
}
CConfig::CConfig(char case_filename[MAX_STRING_SIZE] unsigned short val_software) {
/*--- Initialize pointers to Null---*/
SetPointersNull();
/*--- Reading config options ---*/
SetConfig_Options(1 1);
/*--- Parsing the config file ---*/
SetConfig_Parsing(case_filename);
/*--- Configuration file postprocessing ---*/
SetPostprocessing(val_software 1 1);
}
CConfig::CConfig(char case_filename[MAX_STRING_SIZE] CConfig *config) {
bool runtime_file = false;
/*--- Reading config options ---*/
SetRunTime_Options();
/*--- Parsing the config file ---*/
runtime_file = SetRunTime_Parsing(case_filename);
/*--- Update config file ---*/
i
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-03-20 03:12 SU2-3.2.9\
文件 407 2015-03-20 03:12 SU2-3.2.9\.gitignore
文件 24485 2015-03-20 03:12 SU2-3.2.9\COPYING
目录 0 2015-03-20 03:12 SU2-3.2.9\Common\
目录 0 2015-03-20 03:12 SU2-3.2.9\Common\doc\
文件 4090 2015-03-20 03:12 SU2-3.2.9\Common\doc\docmain.hpp
目录 0 2015-03-20 03:12 SU2-3.2.9\Common\include\
文件 214631 2015-03-20 03:12 SU2-3.2.9\Common\include\config_structure.hpp
文件 53148 2015-03-20 03:12 SU2-3.2.9\Common\include\config_structure.inl
文件 38207 2015-03-20 03:12 SU2-3.2.9\Common\include\dual_grid_structure.hpp
文件 12744 2015-03-20 03:12 SU2-3.2.9\Common\include\dual_grid_structure.inl
文件 59851 2015-03-20 03:12 SU2-3.2.9\Common\include\geometry_structure.hpp
文件 12919 2015-03-20 03:12 SU2-3.2.9\Common\include\geometry_structure.inl
文件 14834 2015-03-20 03:12 SU2-3.2.9\Common\include\grid_adaptation_structure.hpp
文件 1498 2015-03-20 03:12 SU2-3.2.9\Common\include\grid_adaptation_structure.inl
文件 59494 2015-03-20 03:12 SU2-3.2.9\Common\include\grid_movement_structure.hpp
文件 12035 2015-03-20 03:12 SU2-3.2.9\Common\include\grid_movement_structure.inl
文件 8727 2015-03-20 03:12 SU2-3.2.9\Common\include\linear_solvers_structure.hpp
文件 1573 2015-03-20 03:12 SU2-3.2.9\Common\include\linear_solvers_structure.inl
文件 23313 2015-03-20 03:12 SU2-3.2.9\Common\include\matrix_structure.hpp
文件 4578 2015-03-20 03:12 SU2-3.2.9\Common\include\matrix_structure.inl
文件 103242 2015-03-20 03:12 SU2-3.2.9\Common\include\option_structure.hpp
文件 45765 2015-03-20 03:12 SU2-3.2.9\Common\include\primal_grid_structure.hpp
文件 12283 2015-03-20 03:12 SU2-3.2.9\Common\include\primal_grid_structure.inl
文件 1588 2015-03-20 03:12 SU2-3.2.9\Common\include\su2mpi.hpp
文件 12906 2015-03-20 03:12 SU2-3.2.9\Common\include\vector_structure.hpp
文件 2110 2015-03-20 03:12 SU2-3.2.9\Common\include\vector_structure.inl
目录 0 2015-03-20 03:12 SU2-3.2.9\Common\lib\
文件 3247 2015-03-20 03:12 SU2-3.2.9\Common\lib\Makefile.am
文件 46132 2015-03-20 03:12 SU2-3.2.9\Common\lib\Makefile.in
目录 0 2015-03-20 03:12 SU2-3.2.9\Common\src\
............此处省略914个文件信息
- 上一篇:RC522中文数据手册
- 下一篇:机器学习及其应用
相关资源
- star-ccm+基础教程2013版
- 精通CFD动网格工程仿真与案例实战光
- FLUENT中文帮助完整版
- An Introduction to Computational Fluid Dynamic
- Numerical Computation of INTERNAL AND EXTERNAL
- The Finite Volume Method in Computational Flui
- ANSYS+Fluent+Tutorial+Guide16.0
- ICEM 中文教程
- Numerical Computation of Internal and External
- CFD-FASTRAN中文培训算例文档
- Handbook_of_grid_generation
- 《ICEM CFD简明教程(流沙经典)》pd
- ICEM CFD简明教程-流沙.pdf
- 2维euler流场求解器
- ANSYS ICEM CFD从入门到精通
- ANSYS ICEM CFD工程详解[扫描版PDF电子书
- 精通CFD工程仿真与案例实战
- ANSYSICEMCFD从入门到精通.pdf
- ICEMCFD教程.pdf
- FLUENT 15.0流场分析实战指南
- 8bd41aa69cfd0ca155ebcfa513c37e1c.txt
- EDEM_2.5_CFD_Coupling_Fluent_13.0.0_Hikey耦合接
- 南航CFD大作业报告
- 2d simple cfd c代码
- Ansys.Products.PDF.Docs.2020R2第一部分用户
- CFD编程作业
- 同位网格的SIMPLE算法计算阶梯流体
- LBM boiling
- CFD论坛 —双能量方程
- CFD_EDEM耦合方法在气固两相流研究中的
评论
共有 条评论