Skip to content

Fluent

Fluent交流区

1.0k Topics 4.5k Posts
  • 1 Posts
    333 Views
    Z

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

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

  • 2 Posts
    2k Views
    L

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

  • 2 Posts
    1k Views
    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 Posts
    723 Views
    A

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

  • 2 Posts
    808 Views
    M

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

  • 质量不守恒

    2
    2 Posts
    996 Views
    M

    信息太少了

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

    1
    1 Posts
    697 Views
    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 Posts
    727 Views
    C

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

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

    2
    2 Posts
    1k Views
    R

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

  • Fluent版权问题

    2
    2 Posts
    1k Views
    R

    打电话警告怕啥 先用再说

  • 关于Fluent大涡模拟

    22
    22 Posts
    19k Views
    L

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

  • 1 Posts
    306 Views
    S

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

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

    1
    1 Posts
    815 Views
    L

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

  • 1 Posts
    805 Views
    C

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

  • 翼型升阻力计算

    5
    5 Posts
    2k Views
    A

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

  • 9 Posts
    6k Views
    K

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

  • 3 Posts
    416 Views
    2

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

  • 1 Posts
    377 Views

    情况描述:一个叶片模型;操作压力设置为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
    所以现在很疑惑。

  • 3 Posts
    2k Views
    L

    @Ivan 速度为10 ,管径0.075m 粘度0.2 雷诺数5000多,计算误差不大昂,直接用SSTkOmega计算的,压降取充分发展段,与达西公式计算相符。WALLSHEARSTRESS也是符合的。

  • 1 Posts
    370 Views
    L

    fluent无论设置周期边界(控制质量流率),还是速度入口压力出口,都算不出湍流,结果和层流相近,是什么原因哇。