Skip to content

OpenFOAM

OpenFOAM交流区

5.3k 主题 31.1k 帖子
  • 挡板案例求助paraview中显示不对

    3
    3 帖子
    2k 浏览
    W

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

  • OpenFoam安装报错

    7
    7 帖子
    4k 浏览
    W

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

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

  • 1 帖子
    746 浏览
    X

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

  • 求问,有没有两相可压缩等熵流的验证算例?

    5
    5 帖子
    3k 浏览
    yhdthuY

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

  • foamToVTK后网格总量改变

    1
    1 帖子
    850 浏览
    C

    请问大家:

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

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

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

  • 6 帖子
    4k 浏览
    B

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

  • twoLiquidMixingFoam解析

    12
    12 帖子
    7k 浏览
    J

    @李东岳 好的,谢谢老师

  • reactingTwoPhaseEulerFoam计算面上的力

    3
    3 帖子
    2k 浏览

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

  • paraview中Surface LIC 马赛克区域该如何消除?

    2
    2 帖子
    2k 浏览
    李东岳

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

  • 槽道湍流底部微吹

    43
    43 帖子
    27k 浏览
    2

    @李东岳 好的李老师

  • 7 帖子
    4k 浏览
    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.

  • OpenFoam中怎么对每个组分分别定义一个变量

    3
    3 帖子
    2k 浏览
    李东岳

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

  • 3 帖子
    2k 浏览
    杨英狄

    @杨英狄 感谢感谢!

  • interfaceHeight函数运行过慢

    4
    4 帖子
    3k 浏览
    李东岳

    @tidedrinker :146: :146: :146: :146:

  • ercoftac泵,OpenFOAM可压缩算例

    1
    1 帖子
    2k 浏览
    李东岳

    稳态算例点击下载 | 瞬态算例点击下载

    瞬态算例下载地址

  • 效率公式植入openfoam的问题

    1
    1 帖子
    898 浏览
    G

    大家好,我将文献中的公式植入到foam—extend4.1的force.C文件中发现算出来的数据与文献的数据相差较大,下面是我的代码和公式,希望有大佬帮我看一下我编的是否正确。ps:我用的是浸没边界法,不知道这个速度这样获取可以不。
    be1e4612d51ceea1f453b513f11f757.png
    1.png
    2.png ```

  • lagrangian库如何跟踪一个颗粒

    11
    11 帖子
    6k 浏览

    @lrl3512 这你就遇到了难点,比如parcel穿过processor怎么办?你想想有没有其他的方法能单独对每个parcel赋值?

  • 求测试GPU算力的case

    2
    2 帖子
    2k 浏览
    李东岳

    https://www.cfd-china.com/topic/6237

    你可以看看这个

  • 3 帖子
    2k 浏览
    G

    @wuyukai 请问你这个问题解决了吗?我遇到同样的问题

  • 搅拌罐的出口边界设置问题

    2
    2 帖子
    2k 浏览

    另外有没有可能是这类边界只适用于稳态求解器来忽略气体鼓入之后移动到液面这一过程的影响,对于multiphaseEulerFoam这种瞬态求解器而不适用呢?