Skip to content

Fluent

Fluent交流区

996 主题 4.4k 帖子
  • 1 帖子
    163 浏览
    I

    计算的是气液混输泵的气液两相流计算,air-water(25℃)的混合介质,air为离散相给定体积分数和固定的气泡直径,water为连续项,湍流模型为SST k-w,欧拉双流体模型。计算出来之后总感觉残差是不是波动有点大了。
    有没有这方面的大佬教教我,是不是设置有问题还是其他的问题。下面是计算得出的残差
    47a7ac58-69fe-4db7-a71d-e8ba6fd07ebc-image.png
    800b8c63-4b22-47a5-9131-cc03980b1291-image.png
    05ca6207-15dd-45ab-bb5e-9628346b8a9e-image.png
    e252f689-2fd6-4d82-b46a-77c7453a624a-image.png

  • 6 帖子
    611 浏览
    S

    udf有问题,你试试这个

    #include "udf.h" DEFINE_PROFILE(inlet_velocity, t, i) { real x[ND_ND],y,vel; face_t f; begin_f_loop(f,t) { F_CENTROID(x, f, t); y = x[1]; if(y>0.0393) vel = 29.5; else vel = 29.5 * pow((y / 0.0393), 1/7); F_PROFILE(f, t, i) = vel; } end_f_loop(f,t) }
  • Fluent中PBM模型中怎么输入已知的粒径分布

    4
    4 帖子
    3k 浏览
    S

    @深蓝 请问您找到输入粒径分组的方式了吗?我最近也要做这方面,如果您看到了请您教我一下

  • UDF函数求助

    6
    6 帖子
    2k 浏览
    西湖冷月西

    @bestucan 厉害,第一次知道这种用法!:146:

  • fluent三维圆柱绕流问题

    1
    1 帖子
    483 浏览

    请问各位,我在做Re=3900的三维圆柱绕流时发现升力系数和文献差不多,但阻力系数却一直在0.6附近,和文献中1.1差距很大,这是什么原因啊?

  • 想知道如何通过设置边界条件输出一道斜激波

    1
    1 帖子
    292 浏览
    R

    想解决IV型激波,入射激波如何通过边界条件设置产生

  • 1 帖子
    500 浏览
    G

    在使用Fluent 6dof+overset+隐式更新时,发现写出的motion history中的重心坐标与实际明显不符,差的很大,而在udf中通过DT_CG得到的却是正确的重心坐标,不知道有没有人遇到过这样的问题,是什么原因导致的呢?

  • 超临界Co2回流

    2
    2 帖子
    606 浏览
    羽之下

    跟出口速度有关系,延长出口计算域试试?

  • 1 帖子
    251 浏览
    Z

    如题,在FLUENT的用户手册里写到可以在单元区域条件里打开,但是我的2024R2似乎没有或者没找到,我用的是多相流模型

    417c3160-424b-42e4-bbf0-0f81e52c3b97-image.png 说

  • 2 帖子
    1k 浏览
    L

    @冬天大太阳 请问博主找到设置方法了吗?找到了,能不能向您请教一下,有偿答疑,谢谢您,打扰了。

  • 关于化学反应带来的质量源项的udf编写

    2
    2 帖子
    712 浏览
    G

    有一节叫Advanced Multiphase Macro,也许有帮助。

    For most standard UDFs written for multiphase models (for example, source term, material property, profile functions), variables that your function needs (domain pointers, thread pointers, and so on) are passed directly to your UDF as arguments by the solver in the solution process. All you need to do is hook the UDF to your model and everything is taken care of. For example, if your multiphase UDF defines a custom profile for a particular boundary zone (using DEFINE_PROFILE) and is hooked to the appropriate phase or mixture in Ansys Fluent in the relevant boundary condition dialog box, then appropriate phase or mixture variables will be passed to your function by the solver at run time.

    There may, however, be more complex functions you want to write that require a variable that is not directly passed through its arguments. DEFINE_ADJUST and DEFINE_INIT functions, for example, are passed mixture domain variables only. If a UDF requires a phase domain pointer, instead, then it will need to use macros presented in this section to retrieve it. ON_DEMAND UDFS are not directly passed any variables through their arguments. Consequently, any on demand function that requires access to phase or domain variables will also need to use macros presented in this section to retrieve them.

  • 粘性方程中的阻力损失

    1
    1 帖子
    531 浏览
    A

    最近在做过滤器的仿真计算,计算后对得到的压降损失的来源有些疑惑,请问大家我只打开了粘性模型Realizable k -ε,并用了增强壁面函数,计算得到的压降损失都来自哪些?目前我学习到的应该是包括了流动过程中流体微团的变形所损耗的压降,但不知道还有没有其他压降损失来源,主要要的是壁面的摩擦阻力造成的压降损失有没有考虑进去,为此求教下大家

  • 2 帖子
    629 浏览
    M

    fluent边界里是有质量流入和质量流出的,主要是可压问题用。不过理论手册并没有提及是怎么处理的。

  • 质量不守恒

    2
    2 帖子
    765 浏览
    M

    信息太少了

  • UDF对边界附近的单元赋值

    1
    1 帖子
    510 浏览
    Z

    请教各位,该怎么对边界附近的单元赋值,比如下面这个UDF.我想将一个区域的 C_UDMI(c, tt, 0)全部设置为0,然后边界附近的 C_UDMI(c, tt, 0)设置为1,该怎么操作?谢谢!

    void set_zone(Thread* t) { cell_t c; real vol; Thread *tt = THREAD_SUPER_THREAD(t); begin_c_loop(c, t) { if (THREAD_ID(t) == 1047) { C_UDMI(c, tt, 0) = 1; } end_c_loop(c, lct) } void set_cells(Thread *t) { Thread *tt = THREAD_SUPER_THREAD(t); face_t f; Thread *t_nbr; cell_t c0, c1; Domain *mix_domain = Get_Domain(1); for (int i = 0; i < num_boundaries; i++) { t_nbr = Lookup_Thread(mix_domain, 1); begin_f_loop(f, t_nbr){ c0 = F_C0(f, t_nbr); c1 = F_C1(f, t_nbr); if (c0 != -1 && THREAD_ID(THREAD_T0(t_nbr)) == 1047) { C_UDMI(c0, tt, 1) = 0.0; } if (c1 != -1 && THREAD_ID(THREAD_T1(t_nbr)) == 1047) { C_UDMI(c1, tt, 1) = 0.0; } } end_f_loop(f, t_nbr) } } DEFINE_ADJUST(aaa, mix_domain) { Thread* mix_thread; int phase_domain_index = 0; thread_loop_c(mix_thread, mix_domain) { Thread* t = THREAD_SUB_THREAD(mix_thread, phase_domain_index); if (t != NULL) { set_capillary_pressure_sources(t); set_boundary_cells(t); } } }
  • 请问这是重叠网格什么情况

    1
    1 帖子
    518 浏览
    C

    想做重叠网格的入水仿真,然后前景网格导入进背景网格后,显示云图时出现弹体之外的网格缺失了。是什么情况,这是负体积么d05b8f7a-a478-4841-8d82-e89bd4f376fb-image.png 290f4ec5-7312-4d2f-bc4a-9233470b86dd-image.png

  • fluent计算流固耦合时传热太快

    2
    2 帖子
    834 浏览
    R

    你这一会1250 一会1350 到底多少度的,而且你这个截面是截的多高处的呢,另外得看一下你的残差图

  • Fluent版权问题

    2
    2 帖子
    820 浏览
    R

    打电话警告怕啥 先用再说

  • 关于Fluent大涡模拟

    22
    22 帖子
    17k 浏览
    L

    @cccrrryyy 大神,想问问轴向尺寸指的是网格吗还是管道长度呀

  • fluent的壁面如何通过UDS自定义第三类边界条件

    1
    1 帖子
    229 浏览
    S

    有个问题想问问大伙,如题