Skip to content

OpenFOAM

OpenFOAM交流区

5.4k Topics 32.3k Posts
  • 3 Posts
    3k Views
    L

    感谢您的建议。确实是这样,没有基础,感觉OF的代码短时间内难以深入。

  • 拉格朗日粒子在平行運算下的問題

    8
    8 Posts
    7k Views

    @r07522121 google MPI load balance

  • 1 Posts
    2k Views

    如果在不考虑体积分数的情况下,颗粒粒径大于网格单元,会带来哪些影响呢?

    基于DPMFoam自定义求解器,取消了对于体积分数的求解,颗粒粒径为0.45mm,计算模型为弯管(边界层网格0.2mm),入口采用patchinjection,颗粒数为10000,从inlet入射,结果进行颗粒求解时,50%的颗粒直接由inlet escape?

  • OpenFOAM 结冰计算

    4
    4 Posts
    4k Views

    @sibo @东岳 多谢!

  • OF4.1这行代码释义,动网格问题

    4
    4 Posts
    6k Views
    V

    您好,您现在还有做SIXDOF得问题吗?有的话我们可以交流一下,谢谢啦

  • LPT-VOF coupling in OF 7

    3
    3 Posts
    3k Views
    Q

    @东岳 但是那个貌似是在v1906这种版本,我现在用的是OpenFoam 7, 貌似没有MPPICInterFoam

  • 关于interfoam出口压力设置的问题

    3
    3 Posts
    3k Views
    F

    @东岳 老师您好!是由于实际模型太大,为了减少计算量,截取了关键的部分作为计算域,但是由于是水下注汽,在实际模型中,该计算域最上方还有40mm的水深,我想设置一下该压力。

  • 进口通量等于出口通量的边界条件

    10
    10 Posts
    8k Views

    @东岳 嗯嗯嗯,我去在这个方向上面试一试,这些李老师

  • DNS求解VOF

    9
    9 Posts
    9k Views
    linhan.geL

    @东岳 感谢!

  • 4 Posts
    4k Views
    N

    我转换ensight完成之后发现,只能读出几何模型,里面并没有数据,这是怎么回事

  • 11 Posts
    13k Views
    Jack QQJ

    您好!我遇到类似问题,准备采用上述的第二种方法即topoSet + createPatch,但不太清楚具体应该如何操作,希望能指点一下,谢谢!@赵一铭 @小龙

  • 怎么把mapfields的code写进solver里?

    2
    2 Posts
    2k Views
    L

    您好,这里两种网格求解的方程形式一样吗?您是研究多尺度模拟的吗?我也想尝试OpenFoam里植入一种多尺度算法,是否方便交流一下

  • reactingtwophaseeulerfoam?

    23
    23 Posts
    20k Views
    李东岳

    alpha was solved in twoPhaseSystem.C

  • createPatch创建cyclic边界条件的问题

    7
    7 Posts
    8k Views
    cfd_xfxC

    @一颗橙子 您好,想问一下您这个问题解决了嘛?后续是如何操作的。。我似乎遇到了和您完全一样的问题

  • Rhie-Chow interplation

    1
    1 Posts
    1k Views
    C

    Original RC interplation
    No time dependency, No relaxation of the velocity field:

    // Rhie-Chow interplation phi = (U_avg_f & mesh.Sf()) - ( (DUf*( gradp_f - gradp_avg_f)) & mesh.Sf() );

    Time dependency, relaxation of the velocity field:

    // Rhie-Chow interplation phi = (U_avg_f & mesh.Sf()) - ( (DUf*( gradp_f - gradp_avg_f)) & mesh.Sf() ) + (scalar(1) - URFU)*(phi.prevIter() - (U_avg_prevIter_f & mesh.Sf())) + DTf*( phi_old - (U_old_f& mesh.Sf()));

    OpenFOAM
    No time dependency, with or without relaxation of the velocity field (check simpleFoam solver):

    surfaceScalarField phiHbyA("phiHbyA", fvc::interpolate(HbyA) & mesh.Sf());

    Questions: Where is the second term of the original RC? Where is the third term of the original RC if taking the relaxation of the velocity field into consideration?

    Time dependency, relaxation of the velocity field (check pisoFoam solver):

    surfaceScalarField phiHbyA ( "phiHbyA", (fvc::interpolate(HbyA) & mesh.Sf()) + fvc::ddtPhiCorr(rAU, U, phi) );

    Questions: ddtPhiCorr takes the function of (the third term+the fourth term of the original RC)? I guess NO. Let's recall the definition of ddtPhiCorr:

    tmp<fluxFieldType> ddtPhiCorr ( new fluxFieldType ( ddtIOobject, rDeltaT * this->fvcDdtPhiCoeff(U.oldTime(), phiAbs.oldTime()) * ( fvc::interpolate(rA*rho.oldTime())*phiAbs.oldTime() - ( fvc::interpolate(rA*rho.oldTime()*U.oldTime()) & mesh().Sf() ) ) ) );

    Look like ddtPhiCorr returns the following codes:

    fvcDdtPhiCoeff*DTf*( phi_old - (U_old_f& mesh.Sf()));

    Last question: How to take the effect of relaxation of the velocity field into ddtPhiCorr?
    谢谢

  • 2 Posts
    3k Views
    李东岳

    meshToMeshInterpolate.C 可以看看这个内容,对,就是插值

  • interFoam droplet

    4
    4 Posts
    4k Views
    同学博

    @东岳 :xinlei:

  • 15 Posts
    13k Views
    疾风GAVIN

    @东岳
    老师这是我目前算出来的一些结果:
    链接: https://pan.baidu.com/s/163fY1uXF_sCCcN9nt1MiCQ
    提取码: w3gp
    网格量很少的,我现在只是想通过调试把路给走通,方便以后的使用

  • 《无痛苦N-S方程笔记》求指导

    3
    3 Posts
    3k Views
    Z

    @东岳 谢谢老师,这个问题当时思维定式了,把U_p提出来,立马就懂了。

  • TopoSet关于action的疑问

    2
    2 Posts
    3k Views
    B

    @D-Benjamin 求交集的意思

京ICP备15017992号-2