Boundary conditions in Fluent

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

  1. Specified Values. Spatially varying profiles can be specified using UDFs or boundary profiles
  2. Intensity and Length Scale
  3. Intensity and Viscosity Ratio
    • free stream boundaries in external flow, intensity <=1%, turbulent viscosity ratio =2
  4. 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:

  1. 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.

  1. 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:

  1. Explicitly input Values, k, ε, ω Spatially varying profiles

can be specified using UDFs or boundary profiles

  1. 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
  2. Intensity and Viscosity Ratio
    • External flow, 1<μt/μ < 10
    • Turbulence intensity, I=urms ' /U <20%
  3. 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

  1. 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.

  1. 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.

  1. 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.

  1. 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.
  2. 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.

Author: kaiming

Created: 2019-04-16 Tue 20:01

Emacs 24.5.1 (Org mode 8.2.10)

Validate

BC in fluent的更多相关文章

  1. 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 ...

  2. 在Visual Studio中直接编译Fluent的UDF

    VS版本:Visual Studio 2013 Fluent版本:Fluent18.2 首先我们启动VS Studio中直接编译Fluent的UDF" title="在Visual ...

  3. fluent加载第三方(C++,Fortan等)动态链接库

    这里我介绍一种比较简单的方法,首先我们从ANSYS Fluent UDF Manual上随便找一段正确的UDF,下面这段UDF取自ANSYS 18的ANSYS Fluent UDF Manual,位于 ...

  4. 全自动迁移数据库的实现 (Fluent NHibernate, Entity Framework Core)

    在开发涉及到数据库的程序时,常会遇到一开始设计的结构不能满足需求需要再添加新字段或新表的情况,这时就需要进行数据库迁移. 实现数据库迁移有很多种办法,从手动管理各个版本的ddl脚本,到实现自己的mig ...

  5. 1.【使用EF Code-First方式和Fluent API来探讨EF中的关系】

    原文链接:http://www.c-sharpcorner.com/UploadFile/3d39b4/relationship-in-entity-framework-using-code-firs ...

  6. fluent批量处理——模型参数的设置

    对于常见的工程应用来说,计算的工况很多,尤其优化工作,少则几百,多则上千,面对如此之多的case文件要写,假如按照一个一个的读写的话,相信你一定会为这么机械的工作烦躁,甚至影响今后好几天的心情,那么有 ...

  7. 数据库设计范式2——BC范式和第四范式

    我在很久之前的一篇文章中介绍了数据库模型设计中的基本三范式,今天,我来说一说更高级的BC范式和第四范式. 回顾 我用大白话来回顾一下什么是三范式: 第一范式:每个表应该有唯一标识每一行的主键. 第二范 ...

  8. 【FLUENT案例】06:与EDEM耦合计算

    折腾了很久才把耦合模块搞定,用的还是网上别人编译好的UDF,不完美.自己编译的时候,老是提示无法找到fluent中的一些头文件,个人怀疑是操作系统和visual studio的问题,有时间换个系统和V ...

  9. 【FLUENT案例】05:DDPM模型

    本例利用FLUENT的DDPM模型对提升管进行模拟. 1 介绍 本案例演示在FLUENT中利用稠密离散相模型(Dense discrete phase model,DDPM)模拟2D提升管.DDPM模 ...

随机推荐

  1. [Codeforces 466C] Number of Ways

    [题目链接] https://codeforces.com/contest/466/problem/C [算法] 维护序列前缀和 , 枚举中间一段即可 , 详见代码 时间复杂度 : O(N) [代码] ...

  2. 【174】C#添加非默认字体

    参考:C# WinForm程序安装字体或直接调用非注册字体 参考:百度知道 在Debug文件夹下面新建一个font的文件夹,然后将字体的文件复制到里面,使用的时候,直接调用字体文件! private ...

  3. chrome 跨域设置-(完善博客内容)

    目的完善自己的一套 ajax前端开发流程,在网上扒了一份成功的案例. 出于一些原因往往需要将浏览器设置成支持跨域的模式,好在chrome浏览器就是支持可跨域的设置,网上也有很多chrome跨域设置教程 ...

  4. E20180115-hm

    auxiliary  adj. 辅助的; 备用的,补充的; 附加的; 副的;                n. 助动词; 辅助者,辅助人员; 附属机构,附属团体; 辅助设备;  departure  ...

  5. 405 Convert a Number to Hexadecimal 数字转换为十六进制数

    给定一个整数,编写一个算法将这个数转换为十六进制数.对于负整数,我们通常使用 补码运算 方法.注意:    十六进制中所有字母(a-f)都必须是小写.    十六进制字符串中不能包含多余的前导零.如果 ...

  6. 258 Add Digits 各位相加

    给一个非负整数 num,反复添加所有的数字,直到结果只有一个数字.例如:设定 num = 38,过程就像: 3 + 8 = 11, 1 + 1 = 2. 由于 2 只有1个数字,所以返回它.进阶:你可 ...

  7. 专题八:P2P编程

    引言: 前面的介绍专题中有朋友向我留言说介绍下关于P2P相关的内容的,首先本人对于C#网络编程也不是什么大牛,因为能力的关系,也只能把自己的一些学习过程和自己的一些学习过程中的理解和大家分享下的,下面 ...

  8. CF848A From Y to Y

    思路1: 每次贪心地选择满足i * (i - 1) / 2 <= k最大的i并从k中减去i * (i - 1) / 2,直至k为0.由于函数x * (x - 1) / 2的增长速度比2x要慢,所 ...

  9. 2559. [NOIP2016]组合数问题

    [题目描述] [输入格式] 从文件中读入数据. 第一行有两个整数t, k,其中t代表该测试点总共有多少组测试数据,k的意义见[问题描述]. 接下来t行每行两个整数n, m,其中n, m的意义见[问题描 ...

  10. struts2之actionSupport学习

    actionSupport在手工完成字段验证,显示错误消息,国际化等情况下推荐使用.