BC in fluent
Boundary conditions in Fluent
Table of Contents
1 Boundary Conditions (BC)
1.1 Turbulence Parameters
1000358 setting Turbulence Parameters at inlet for RANS two categories, those which are very sensitive to the inlet values and those which are less sensitive.
Parameters
- Specified Values. Spatially varying profiles can be specified using UDFs or boundary profiles
- Intensity and Length Scale
- Intensity and Viscosity Ratio
- free stream boundaries in external flow, intensity <=1%, turbulent viscosity ratio =2
- Intensity and Hydraulic Diameter
Perferred Parameters: intensity and length scale
k, ε, ω, or \overline{u_i' u_j'} must be specified for turbulence model > https://www.sharcnet.ca/Software/Fluent6/html/ug/node217.htm
Turbulence intensity: < 1%, low, >10%, high
All CFD simulations performed using a RANS turbulence model require boundary values for turbulence variables at all flow inlets.
It is convenient to divide applications into two groups:
- Applications requiring very accurate description of the boundary profiles
at the inlet in order to obtain an accurate solution. For instance, when simulating flow over a backwards facing step, if the inlet is very close to the step, the predicted reattachment length downstream of the step depends strongly on the turbulence profiles.
- Applications where single, uniform values can be used for the turbulence variables at the inlet.
These can be further divided into two categories, those which are very sensitive to the inlet values and those which are less sensitive.
For instance, some external aerodynamics applications may be sensitive to turbulence levels at free stream inlet boundaries, whereas in flows driven by mechanical input, such as pumps or fans, the solution may be relatively insensitive to the turbulence values so long as they are reasonably realistic.
Backflow values for turbulence values are also required at pressure outlet boundaries.
Outlets should always be located such that they are far enough downstream of any areas of interest in the simulation that backflow values will not have any effect on the converged results.
LES and DES have very different requirements for inlet boundary conditions than those of RANS models.
Model Comparison
- Applies to all RANS models
- Any variation of the k-ε family of models
- Any variation of the k-ω family of models
- The Spalart-Allmaras model
- Reynolds stress models
- v2fmodel
Four options to specify boundary conditions for the turbulence models:
- Explicitly input Values, k, ε, ω Spatially varying profiles
can be specified using UDFs or boundary profiles
- Intensity,I, and Length Scale, l
- Length scale is related to size of large eddies that contain most of energy.
- For boundary layer flows: l ≈ 0.4 δ99
- For flows downstream of grid: l ≈ opening size
- Length scale is related to size of large eddies that contain most of energy.
- Intensity and Viscosity Ratio
- External flow, 1<μt/μ < 10
- Turbulence intensity, I=urms ' /U <20%
- Intensity and Hydraulic Diameter
- Ideally suited for internal flows (duct/pipe flow)
Options 2-4 allow the user the opportunity to provide inflow values in terms of physically intuitive quantities, which Fluent then transforms internally into equivalent values of the turbulence model variables. Interested readers can find the details of these transformations in Section 7.3.2 of the Fluent 12.0 User’s Guide.
The checklist below provides strategies that can be used to determine which option to use in your case and how to determine the values.
1.1.1 Checklist
- Do not ever use the default settings (in Fluent v12.0 or Fluent 6.x or lower) for boundary values for whatever turbulence model was selected.
a. There is one possible exception. The default for the Spalart Allmaras model is modified turbulent viscosity = .001 m2/s. That is approximately equivalent to air at standard temperature and pressure with a turbulent viscosity ratio of 70, which could be a reasonable value in some cases, although it would probably be too high for many external aerodynamics calculations.
- If your application does not require specification of detailed, spatially varying turbulence profiles at the inlet,
choose one of the following options a. Intensity and Hydraulic Diameter – this is the preferred option for duct flows. It can be used for any flow but hydraulic diameter is only meaningful only when the inlet is the cross section of a pipe or duct. Calculate the turbulence intensity as described in the FLUENT 12.0 User’s Guide, Section 7.3.2, Equation 7.3-1.
b. Intensity and Length Scale – this is the preferred approach when it is reasonably easy to estimate the turbulence length scale. Examples include :
- flow downstream of obstructions such as turning vanes or perforated plates (length scale ≈ size of flow openings)
- boundary layer flows (length scale ≈ 40% of boundary layer thickness).
- Downstream of a flow obstruction, turbulence intensity is generally high.
Correlations or data may be available, but in the absence of additional information such as these, a value of 10% will provide a good starting point.
c. Intensity and Viscosity Ratio – in indeterminate cases the turbulent viscosity ratio (TVR) is a useful option. Guidelines suggested in the FLUENT 12.0 User’s Guide, Section 7.3.2, can be summarized as follows:
- i. In flows such as high Reynolds number boundary layers, shear layers, fully developed duct flows the viscosity ratio could be in the range of 100 to 1000.
- ii. For free stream boundaries in external flows, recommended values are intensity <= 1% and TVR = 2.
In a completely indeterminate case, 10 is the recommended value for viscosity ratio.
Turbulence intensity may be known from measurements or values that have been reported for similar flows, but in the absence of such additional information a moderate value for turbulence intensity (4-5%) is recommended.
Whenever there is any uncertainty about one or more of the inputs for turbulence values, a sensitivity study can be performed by recalculating the flow using one or more different values of the unknown variables to determine if they have a significant effect on the simulation results.
- In applications requiring accurate representation of a boundary layer at the inlet,
a spatially varying profile of the turbulence boundary values will be needed. Profiles can be created in a number of ways. If experimental data is available, it can be put into an appropriately formatted boundary profile file; however it is unusual to have measurements for every single variable used by the turbulence model. For instance in the k- model, data might be available for k but would probably not be available for . In certain cases, correlations may be available for profiles of the turbulence model variables. These can be used either alone or in conjunction with a UDF (see Example 2 here for an example of implementing profiles from a correlation through a UDF) for instance a profile of experimental data might be used for turbulence kinetic energy together with a UDF with a correlation for dissipation. For internal flows with a fixed flow rate, a fully developed profile can be generated easily and quickly by performing an auxiliary 3D periodic calculation to generate the inlet profile.
- If you are using the Reynolds stress model and select “K or Turbulent Intensity” to specify the Reynolds stresses, uniform values for each of the individual Reynolds stress components will be assigned based on the value that you have entered for the turbulence kinetic energy or intensity as described in Section 7.3.2 of the FLUENT 6.3 User’s Guide.
- Backflow values at pressure outlets
a. If reversed flow does not take place, either during the iterations or as part of the final solution, then it does not matter what values are entered in the panel.
b. If reversed flow does take place then it is still not so important what values are used unless they are dramatically different from the values in regions of the boundary without reversed flow. That can cause convergence problems in some cases. Intensity and Viscosity Ratio is generally a good choice, starting with values of 10 for intensity and 100 for viscosity ratio. c. After the first few iterations, the solution near the outlet can be inspected and backflow values can be adjusted if necessary
1.1.2 Reference
1000358-turbulent-parameters-inlet-RANS.pdf
1.2 inlet
1.2.1 static pressure
supersonic/initial gauge pressure The Supersonic/Initial Gauge Pressure is ignored by FLUENT whenever the flow is subsonic,
1.3 interior
- interior
- faces have fluid cells on both sides and do not require any boundary conditions to be set.
1.4 pressure outlet
- input: relative static pressure ( gauge pressure)
- the specified static pressure is used only when the
flow is subsonic
1.4.1 operating pressure
use 0 for air >> easy for post use large value for water to reduce roundoff error
1.4.2 Supersonic/Initial Gauge Pressure
Whenever the flow is subsonic, the Supersonic/Initial Gauge Pressure is ignored by ANSYS Fluent, in which case it is calculated from the specified stagnation quantities.
The static pressure (termed the Supersonic/Initial Gauge Pressure) must be specified if the inlet flow is supersonic or if you plan to initialize the solution based on the pressure inlet boundary conditions.
1.5 Periodic BC
periodic BC includes:
- conformal periodic BC: the nodes of the two zones have to match one-for-one.
- Non-conformal Periodic BC : the nodes of the two zones do not have to match one-for-one.
- non-conformal periodic BC can't be used in 3D sliding mesh
1.5.1 Non-conformal interface with the periodic boundary condition option enabled
Non-conformal interfaces can be used to implement a periodic boundary condition (see Periodic Boundary Conditions).
The advantage of using a mesh interface is that, unlike the standard periodic boundary condition, the nodes of the two zones do not have to match one-for-one.
The BC type is setup as interface rather than periodic
> 5.4.1.1. The Periodic Boundary Condition Option > https://www.sharcnet.ca/Software/Ansys/16.2.3/en-us/help/flu_ug/x1-2670007.4.1.html
1.5.2 Creating Conformal Periodic Zones
The conformal periodic boundaries can be created in the meshing mode of Fluent or GAMBIT when you are generating the volume mesh. See the Fluent Meshing User’s Guide or the GAMBIT Modeling Guide for more information. Alternatively, you can create the conformal periodic boundaries in the solution mode of Fluent using the mesh/modify-zones/make-periodic text command
- For conformal periodic boundaries, the periodic zones must have identical meshes.
- mesh nodes should match
> mesh/modify-zones/list-zones >/mesh/modify-zones/make-periodic Periodic zone [()] 10 Shadow zone [()] 9 Rotational periodic? (if no, translational) [yes] yes Create periodic zones? [yes] yes
Note: When you create a conformal periodic boundary, Fluent will check to see if the faces on the selected zones “match” (that is, whether or not the nodes on corresponding faces are coincident). The matching tolerance for a face is a fraction of the minimum edge length of the face. If the periodic boundary creation fails, you can change the matching tolerance using the mesh/modify-zones/matching-tolerance text command, but it should not exceed 0.5 or you may match up the periodic zones incorrectly and corrupt the mesh.
mesh → modify-zones → matching-tolerance
1.6 outflow
Outflow boundary conditions in ANSYS Fluent are used to model flow exits where the details of the flow velocity and pressure are not known prior to solution of the flow problem.
- limitation: outflow boundary conditions are not compatible
with pressure inlets.
BC in fluent的更多相关文章
- Serial Fluent UDF on Windows
test test Table of Contents 1. Serial UDF on Windows OS 1 Serial UDF on Windows OS Note: Udf has to ...
- 在Visual Studio中直接编译Fluent的UDF
VS版本:Visual Studio 2013 Fluent版本:Fluent18.2 首先我们启动VS Studio中直接编译Fluent的UDF" title="在Visual ...
- fluent加载第三方(C++,Fortan等)动态链接库
这里我介绍一种比较简单的方法,首先我们从ANSYS Fluent UDF Manual上随便找一段正确的UDF,下面这段UDF取自ANSYS 18的ANSYS Fluent UDF Manual,位于 ...
- 全自动迁移数据库的实现 (Fluent NHibernate, Entity Framework Core)
在开发涉及到数据库的程序时,常会遇到一开始设计的结构不能满足需求需要再添加新字段或新表的情况,这时就需要进行数据库迁移. 实现数据库迁移有很多种办法,从手动管理各个版本的ddl脚本,到实现自己的mig ...
- 1.【使用EF Code-First方式和Fluent API来探讨EF中的关系】
原文链接:http://www.c-sharpcorner.com/UploadFile/3d39b4/relationship-in-entity-framework-using-code-firs ...
- fluent批量处理——模型参数的设置
对于常见的工程应用来说,计算的工况很多,尤其优化工作,少则几百,多则上千,面对如此之多的case文件要写,假如按照一个一个的读写的话,相信你一定会为这么机械的工作烦躁,甚至影响今后好几天的心情,那么有 ...
- 数据库设计范式2——BC范式和第四范式
我在很久之前的一篇文章中介绍了数据库模型设计中的基本三范式,今天,我来说一说更高级的BC范式和第四范式. 回顾 我用大白话来回顾一下什么是三范式: 第一范式:每个表应该有唯一标识每一行的主键. 第二范 ...
- 【FLUENT案例】06:与EDEM耦合计算
折腾了很久才把耦合模块搞定,用的还是网上别人编译好的UDF,不完美.自己编译的时候,老是提示无法找到fluent中的一些头文件,个人怀疑是操作系统和visual studio的问题,有时间换个系统和V ...
- 【FLUENT案例】05:DDPM模型
本例利用FLUENT的DDPM模型对提升管进行模拟. 1 介绍 本案例演示在FLUENT中利用稠密离散相模型(Dense discrete phase model,DDPM)模拟2D提升管.DDPM模 ...
随机推荐
- redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接
redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接 是由于没有 ...
- IJ:工程配置Tomcat
ylbtech-IJ:工程配置Tomcat 1.返回顶部 1. 1.2. 1.3. 1.4. 2. 2.返回顶部 1. 2. 3.返回顶部 1. 2. 4.返回顶部 0.修改文件位置 D:\work- ...
- gitlab-ce平台调试
SMTP使用QQ exmail 遇到的问题:使用qinrui@easyunion.net对516059158@qq.com能发送验证邮件,但是无法打开验证连接
- 3-1 vue生存指南 - todolist实现-数据渲染
由于Vue.js作者是中国人,会说汉语,所以国内生态会更好一点.Vue.js作者是尤雨溪,
- bzoj 4031: [HEOI2015]小Z的房间【矩阵树定理】
是板子题,因为mod不是质数所以需要辗转相除然而并不知道为啥 高斯消元部分还不知道原理呢--先无脑背过的 #include<iostream> #include<cstdio> ...
- [Swift]Set(集)转换为Array(数组)
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★➤微信公众号:山青咏芝(shanqingyongzhi)➤博客园地址:山青咏芝(https://www.cnblogs. ...
- 使用particles.js实现网页背景粒子特效
得知途径 B3log提供了两套博客系统,一个是用Java开发的,叫做Solo,我也是在网上搜索Java博客系统时发现了它,之后才了解了B3log:还有一个是用Go语言开发的,叫做Pipe.其中Solo ...
- SVN安装失败提示
svnserve: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: 1 ...
- Android 性能优化(10)网络优化( 6)Optimizing General Network Use
Optimizing General Network Use This lesson teaches you to Compress Data Cache Files Locally Optimize ...
- python2 'str' object has no attribute 'decode'
'.decode('hex') 上述代码,报错: 'str' object has no attribute 'decode' 查找原因: https://stackoverflow.com/ques ...