Skip to content

OpenFOAM

OpenFOAM交流区

4.6k Topics 26.6k Posts
  • 3 Posts
    502 Views
    C

    1693360823669.png还需要添加其他限制条件,具体可以查看这个网站的说明
    https://openfoamwiki.net/index.php/Parameter_Definitions_-_dynamicMotionSolverFvMesh

  • MPPICInterFoam中的bug?

    35
    35 Posts
    17k Views
    A

    @linhan-ge 我觉得也应该是这样,但我还没理解李老师说的,您理解了吗?

  • 6 Posts
    927 Views
    李东岳

    如果你的d是个dimensionedScalar,那We是个dimensionedScalar

  • waves2foam孤立波造波衰减

    5
    5 Posts
    899 Views
    C

    好的,我试一下1912版本的试一下

  • 4 Posts
    679 Views
    李东岳

    @Banbor 温度是个场。你要修改哪部分温度数据

  • 15 Posts
    4k Views
    李东岳

    我看到了一个bug修复,可以用新版看看还有没有负数

    https://github.com/OpenFOAM/OpenFOAM-dev/commit/1ae52882748922f4e02c92ba52301c416954e426

  • 挡板案例求助paraview中显示不对

    3
    3 Posts
    495 Views
    W

    @李东岳 好的老师,谢谢您

  • OpenFoam安装报错

    7
    7 Posts
    1k Views
    W

    @李东岳 多谢李老师,可惜我现在人在国外向日葵貌似用不了。但是我跟您说下最终测试结果。我们可以使用./Allwmake -j -k把那一步跳过去。这样编译出来的还是能用的。从日志上来看,貌似是这个FoamtoFireMesh这里
    3b01921f-39c2-4d31-a36d-b8310fcd497a-image.png
    而且,如果我不下载代码包,直接用官网的命令在线安装是没有任何报错的。
    我把报错的日志发给您看下,您看看是否有头绪。

    链接:https://pan.baidu.com/s/1RcbLj7qFiBwl3yK4eEhDjA
    提取码:wo84

  • divq中的correction是怎么来的?

    5
    5 Posts
    741 Views
    B

    @李东岳 多谢大佬点拨

  • 1 Posts
    233 Views
    X

    OpenFOAM热解反应中某一种反应物的质量随时间的变化情况,应该怎样去计算呢?还有controlDict下时间步长adjustableRunTime,库朗数从0.5修改到0.8,结果却发生很大变化,这是为什么呢?

  • 5 Posts
    792 Views
    yhdthuY

    @yhdthu 大佬别闹,求赐教:140:

  • foamToVTK后网格总量改变

    1
    1 Posts
    246 Views
    C

    请问大家:

    为什么执行foamToVTK指令之后,流场的cell总数、points总数都发生了变化?其中的原理是什么?

    使用paraview加载的.vtk数据是否为体心变量?谢谢!

    15c3027b-3697-4f52-abf4-80866407053f-image.png

  • 6 Posts
    986 Views
    B

    @李东岳 谢谢李老师的帮助,虽然目前没能解决,但是找到原因了,目前能单核计算也挺好的至少可以用,等之后有能力优化代码再分享解决办法

  • twoLiquidMixingFoam解析

    12
    12 Posts
    2k Views
    J

    @李东岳 好的,谢谢老师

  • reactingTwoPhaseEulerFoam计算面上的力

    3
    3 Posts
    544 Views

    @李东岳 谢谢李老师,interFoam里粘性应力计算我是按上面那几行公式算的,所有的场都输出来验证过,最后得到的devRhoReff和rho()*turb.devReff是一样的;受力的计算方法不统一的话我试试别的公式,找个差别小的就用了。

  • 2 Posts
    455 Views
    李东岳

    @xpc um, 我做surfaceLIC还没遇到过这个问题,也就不知道咋整了,看看别的大佬怎么说

  • 槽道湍流底部微吹

    43
    43 Posts
    6k Views
    2

    @李东岳 好的李老师

  • 7 Posts
    978 Views
    H

    Fine. Give me more details about performance. Reducing switch is expected to reduce communication delay which is benifit to mpi. To what extend will the smaller delay improve the performance when running CFD application. Is this another advantage of ring topology infiniband network?

    The performance improvement due to the reduced communication delay in a ring topology compared to a star topology depends largely on the specifics of your CFD application.

    With the InfiniBand protocols, the primary factor that contributes to the delay is not the time it takes for the packet to traverse the physical network (which is typically less than a few microseconds), but the time it takes for the packet to get through the software stack. The overhead of software in sending and receiving messages can be a significant component of the total latency.

    MPI-based CFD applications often require large scale, synchronized computing. If your application often needs to exchange small amounts of data between all nodes (such as boundary values or synchronization barriers), then minor latency improvements might accumulate and contribute to significant overall performance improvement.

    However, if your CFD application is structured so that most of the time is spent in computation, and communication is relatively infrequent (typical for methods where each node can work on a discrete part of the problem for much of the time), then the improvement might be marginal.

    Furthermore, if your CFD application is using collective communication, like MPI_Bcast or MPI_Reduce, or if it's using non-blocking sends/receives, then it may be intelligent enough to take advantage of the network topology to minimise communication delays.

    So, it can potentially be an advantage of ring topology, but the magnitude of this advantage is highly dependent on the specifics of your CFD code. Thorough testing will be necessary to calculate the potential benefit in your own case.

  • 3 Posts
    812 Views
    李东岳

    一楼那个好像还没有。目前还没有哪种算法可以处理类似这种某个变量依附于某个变量的东西。OpenFOAM这面组分就是定义了个Y,如果你要某个变量依附于Y,那就是重新定义一个方程,但是传输的时候,要完完全全的按照Y的求解植入,要不然会不一致。

  • 3 Posts
    510 Views
    杨英狄

    @杨英狄 感谢感谢!