-from-inlet-boundary-condition-for-OpenFOAM-2.3
所属分类:工具库
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2019-03-27 07:48:50
上 传 者:
sh-1993
说明: 该存储库包含OpenFOAM 2.3.0中入口边界条件的湍流发生器。
(This repository contains a turbulence generator for inlet boundary condition in OpenFOAM 2.3.0.)
文件列表:
Make/ (0, 2019-03-27)
Make/files (198, 2019-03-27)
Make/options (146, 2019-03-27)
genericInflowGeneratorFvPatchVectorField.C (5373, 2019-03-27)
genericInflowGeneratorFvPatchVectorField.H (5160, 2019-03-27)
inflowGeneratorFvPatchVectorField.C (13377, 2019-03-27)
inflowGeneratorFvPatchVectorField.H (5024, 2019-03-27)
inflowGeneratorFvPatchVectorFieldFwd.C (3911, 2019-03-27)
spots/ (0, 2019-03-27)
spots/hat/ (0, 2019-03-27)
spots/hat/hat.C (4849, 2019-03-27)
spots/hat/hat.H (3513, 2019-03-27)
spots/hat/hat.dep (10896, 2019-03-27)
spots/homogeneousTurbulence/ (0, 2019-03-27)
spots/homogeneousTurbulence/homogeneousTurbulence.C (6711, 2019-03-27)
spots/homogeneousTurbulence/homogeneousTurbulence.H (4038, 2019-03-27)
spots/homogeneousTurbulence/homogeneousTurbulence.dep (16548, 2019-03-27)
# A-library-to-generate-turbulence-from-inlet-boundary-condition-for-OpenFOAM-2.3.X
This repository contains a turbulence generator for inlet boundary condition, developed for OpenFOAM 2.3.X based on two papers by Kornev et al.:
N Kornev, H Kröger, J Turnow, and E Hassel. Synthesis of artificial turbulent fields with prescribed second-order statistics using the random-spot method. Proceedings in Applied Mathematics and Mechanics, 7(1):2100047-2100048, 2007.
- N Kornev, H Kröger, and E Hassel. Synthesis of homogeneous anisotropic turbulent fields with prescribed second-order statistics by the random spots method. Communications in Numerical Methods in Engineering, 24(10):875-877, 2008.
## Prerequisites
This library is developed for OpenFOAM 2.3.X, and requires the latter version of the Open Source CFD Toolbox. For more information on how to install this version, the reader is referred to this web page.
## Instructions on program
Compile the library using:
wmake libso
This will create the library
libInflowTurbulence.so in your $FOAM_USER_LIBBIN folder.
Add this to the case controlDict:
libs ("libInflowTurbulence.so");
And specify for U at inlet with settings fitting your case
inlet
{
overlap 0.5; // How much the vortons can overlap each other
L 0.01; // Integral length scale
eta 1e-04; // Kolmogorov length
Cl 6.783; // Constant used for E(k) 6.783 in paper
Ceta 0.4; // Constant used for E(k) 0.4 in paper
type inflowGenerator
;
fluctuationScale (1 1 1); // Fluctuation scale in each direction
referenceField uniform (10 0 0); // Reference value for inlet
R uniform (1 0 0 1 0 1); // Reynolds stress tensor
value uniform (10 0 0);
}
近期下载者:
相关文件:
收藏者: