Skip to content

Fluent

Fluent交流区

994 主题 4.4k 帖子
  • 1 帖子
    422 浏览
    G

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

  • 超临界Co2回流

    2
    2 帖子
    475 浏览
    羽之下

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

  • 1 帖子
    198 浏览
    Z

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

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

  • 2 帖子
    1k 浏览
    L

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

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

    2
    2 帖子
    575 浏览
    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 帖子
    423 浏览
    A

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

  • 2 帖子
    527 浏览
    M

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

  • 质量不守恒

    2
    2 帖子
    641 浏览
    M

    信息太少了

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

    1
    1 帖子
    419 浏览
    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 帖子
    407 浏览
    C

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

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

    2
    2 帖子
    692 浏览
    R

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

  • Fluent版权问题

    2
    2 帖子
    698 浏览
    R

    打电话警告怕啥 先用再说

  • 关于Fluent大涡模拟

    22
    22 帖子
    16k 浏览
    L

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

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

    1
    1 帖子
    174 浏览
    S

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

  • Fluent-DPM颗粒流sample采样报错

    1
    1 帖子
    449 浏览
    L

    Hi 各位大佬,
    请教一个问题,我在使用DPM颗粒流模型模拟烟气扩散的过程中,计算时只要进行sample采样就会报如下错误,导致无法开始计算,不进行sample采样就能正常计算,请问是什么原因呢?如何解决?希望各位大佬能答疑一下,谢谢!
    73db66a8-1cd7-4487-a31e-70b1eb15929d-image.png

  • Fluent里面如何做子弹在来流中空化的现象

    1
    1 帖子
    441 浏览
    C

    自己做了一个300m/s的来流,然后打在一个子弹形状的壁面上,想观察来流经子弹产生空化现象。但是现在问题是,300m/s的来流经过子弹形状的壁面输出压力云图是全蓝的,不知道是哪里设置错误,有没有大佬帮帮我。

  • 翼型升阻力计算

    5
    5 帖子
    1k 浏览
    A

    你好,想问一下你升阻力和文献对的上吗,我算的误差有12%

  • Fluent中有类似OpenFOAM的inlet/outlet边界条件么

    9
    9 帖子
    5k 浏览
    K

    那么我的波浪在遇到物体之后形成的反射波也会在inlet边界直接流出吗?还是会产生二次反射呢?

  • 3 帖子
    291 浏览
    2

    我设置了interface,check mesh的时候还是显示Unassigned interface zone detected for这是为什么呢?

  • 1 帖子
    235 浏览

    情况描述:一个叶片模型;操作压力设置为0,来流使用Pressure-inlet入口,总压9027.6Pa,总温299K;出口使用Pressure-outlet,使用静压出口。上下壁面使用平移周期边界,在壁面上的静压结果下壁面前缘发现高于9027.6Pa,来流Ma数大概0.3左右。
    总压云图:272e8ab6-c0ca-40a6-a8ae-85289baeec81-b6de291b644f1eae2029ad5d035c97c.png
    壁面静压输出结果:71799acb-1afc-4de1-9b0b-92d1214bef24-eb82740d448428364bb1ed13c86ea1d.jpg
    虽然差距很小,但是却比来流总压还要高;
    出问题的位置:
    aaeda908-0e6a-4dd9-b51c-6c1a826e3282-f3816906934847d300a0cdfbdf0f738.png
    还有很好奇的一点,理想气体的总压-静压公式应该是和Ma数相关的,在壁面上Ma=0,按理说总压应该等于静压,但是实际上并不是;
    计算公式:839a2402-39a1-47b7-822c-dceda0b70b88-1f796c8655497c12e0a5455dd059f99.png
    壁面总静压差△P:
    d4869df2-580e-4051-ac51-1341ca071771-image.png
    所以现在很疑惑。