Skip to content

OpenFOAM

OpenFOAM交流区

5.3k 主题 31.8k 帖子
  • 合集:OpenFOAM安装准备工作贴

    已固定
    28
    28 帖子
    42k 浏览
    N

    请问那个含有很多版本的离线的虚拟机,怎么设置共享文件夹啊,VMtools设置了出错呢?

  • OpenFOAM教程 初级入门建议

    已固定
    55
    55 帖子
    197k 浏览
    李东岳

    新版的transportProperties改成了physicalProperties,你改个名

  • 热压通风p_rgh边界条件设置

    13
    13 帖子
    102 浏览
    李东岳

    但理论上窗外的热空气也会随高度下降而总压下降的

    你那个尺度比较小,基本可以忽略,当做恒定。

  • 基于PIMPLE算流固耦合的数值方法优化

    4
    4 帖子
    63 浏览
    李东岳

    你这个压力确实残差没下去 :-)

  • 2 帖子
    23 浏览
    李东岳

    感谢分享!!

  • OpenFOAM编译时内部编译器出错

    22
    22 帖子
    214 浏览
    李东岳

    我看你之前报错是OSstream的错误。这个一般跟硬盘读写有关。比如文件满了可能报错。

    最后一个图那个log基本啥都没说,判断不出来

  • tecplot Linux版安装

    5
    5 帖子
    2k 浏览
    A

    @陶震 谷歌搜一下tecplot 360 ex 和关键字SSQ, SSQ是破解组的名字

  • 加密网格周围的结果不连续

    6
    6 帖子
    93 浏览
    李东岳

    160万太难debug。你可以用2D网格,做个3000-5000的,然后也是类似这种非均一细化。看看有没有问题。

  • interIsofoam射流问题

    3
    3 帖子
    46 浏览
    X

    @李东岳 感谢东岳老师的回复,设置我也贴一下:

    FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { "alpha.phase1.*" { nAlphaCorr 3; nAlphaSubCycles 1; alphaOuterCorrectors yes; cAlpha 0; isoFaceTol 1e-6; surfCellTol 1e-6; nAlphaBounds 3; snapTol 1e-12; clip true; gardAlphaNormal false; MULESCorr yes; nLimiterIter 3; solver smoothSolver; smoother symGaussSeidel; tolerance 1e-8; relTol 0; orientationMethod LS; //RDF splitWarpedFace false; writePlicFields false; mapAlphaField true; nAlphaSubCycles 1; cAlpha 1; } "pcorr.*" { solver GAMG; tolerance 1e-08; relTol 0.01; smoother DIC; cacheAgglomeration no; } p_rgh { solver GAMG; tolerance 1e-08; relTol 0.01; smoother DIC; cacheAgglomeration no; } p_rghFinal { $p_rgh; relTol 0; tolerance 1e-9; } U { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-07; relTol 0; } UFinal { $U; tolerance 1e-06; relTol 0; } kFinal { $k; solver smoothSolver; smoother symGaussSeidel; tolerance 1e-06; relTol 0; } epsilonFinal { $epsilon; solver smoothSolver; smoother symGaussSeidel; tolerance 1e-06; relTol 0; } epsilon { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-06; relTol 0; } k { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-06; relTol 0; } } PIMPLE { momentumPredictor yes; nOuterCorrectors 3; nCorrectors 5; nNonOrthogonalCorrectors 1; pRefPoint (0.01 0.01 0.01); pRefValue 0; } reconstructionSchemes { alpha.phase1 { method isoAlpha; isoAlphaMethod isoAlpha; alpha alpha.phase1; isoValue 0.5; surfaceCellSize 0; linearCorrection true; smoothNormals true; nSmoothNormals 3; cellNormalMethod corrected; faceNormalMethod corrected; } } relaxationFactors { fields { } equations { ".*" 1; } } FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default CrankNicolson 1; } gradSchemes { default Gauss linear ; } divSchemes { div(Phi,U) Gauss linearUpwind grad(U); div(rhoPhi,U) Gauss limitedLinearV 1; div(phi,alpha.phase1) Gauss interfaceCompression vanLeer 3; div(phirb,alpha) Gauss interfaceCompression; div(phi,k) Gauss upwind; div(phi,epsilon) Gauss upwind; div((muEff*dev(T(grad(U))))) Gauss linear; div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } interfaceCompression { cAlpha 2; } wallDist { method meshWave; } fluxRequired { default no; p_rgh; pcorr; alpha.phase1; } FoamFile { version 2.0; format ascii; class dictionary; location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // defaultFieldValues ( volScalarFieldValue alpha.phase1 1 ); regions ( cylinderToCell { p1 (0 0 0); p2 (0 0 0.004); radius 0.0003925; fieldValues ( volScalarFieldValue alpha.phase1 0 ); } ); FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application interIsoFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 0.2; deltaT 0.0001; writeControl adjustableRunTime; writeInterval 0.005; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep yes; maxCo 5; maxAlphaCo 1; maxDeltaT 0.01; libs ("libfiniteVolume.so" "libsampling.so"); functions { bubbleTracking { type surfaces; libs ("libsampling.so"); surfaceFormat vtk; fields (alpha.phase1 U); surfaces ( bubbleSurface { type isoSurface; isoField alpha.phase1; isoValue 0.5; interpolate true; } ); executionInterval 5; } gasVolumeFraction { type volFieldValue; libs ("libfieldFunctionObjects.so"); enabled true; operation average; fields (alpha.phase1); mean on; base time; writeControl timeStep; writeInterval 1; log true; valueOutput true; writeFields false; surfaceFormat none; format csv; } FoamFile { format ascii; class volScalarField; location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -3 0 0 0 0]; internalField uniform 1e-6; boundaryField { outlet { type zeroGradient; } inlet { type fixedValue; value uniform 1.04e5; } nozzlewall { type epsilonWallFunction; value uniform 1e-6; } bottom { type epsilonWallFunction; value uniform 1e-6; } pipewall { type epsilonWallFunction; value uniform 1e-6; } } FoamFile { version 2.0; format ascii; class volScalarField; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 1e-6; boundaryField { outlet { type zeroGradient; } inlet { type fixedValue; value uniform 11.34; } nozzlewall { type kqRWallFunction; value uniform 1e-6; } bottom { type kqRWallFunction; value uniform 1e-6; } pipewall { type kqRWallFunction; value uniform 1e-6; } } FoamFile { version 2.0; format ascii; class volScalarField; object nut; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -1 0 0 0 0]; internalField uniform 1e-6; boundaryField { outlet { type calculated; value uniform 0; } inlet { type calculated; value uniform 0; } nozzlewall { type nutkWallFunction; value uniform 0; } bottom { type nutkWallFunction; value $internalField; } pipewall { type nutkWallFunction; value uniform 0; } } FoamFile { version 2.0; format ascii; class volScalarField; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { outlet { type totalPressure; p0 uniform 0; } inlet { type fixedFluxPressure; value uniform 0; } nozzlewall { type fixedFluxPressure; value uniform 0; } bottom { type fixedFluxPressure; value uniform 0; } pipewall { type fixedFluxPressure; value uniform 0; } }

    具体就是这样,设定喷气体,容器里面充满液体,改了一个月也没怎么收敛,头大得很,之前画了个200w的网格,△t很小就调粗网格了,能够调成功的话打算在捕获相界面的方法上下点功夫。

  • 单空泡溃灭

    8
    8 帖子
    1k 浏览
    S

    @李东岳 在 单空泡溃灭 中说:

    bubbleCollapse.tar.gz

    适配openfoam10

    @李东岳 在 单空泡溃灭 中说:

    bubbleCollapse.tar.gz

    适配openfoam10

    非常感谢

  • 请教一下关于openfoam湍流模型的设置问题

    5
    5 帖子
    89 浏览
    C

    假如约束太弱的话,就是会漂出去一段距离,也和实际情况相符。可以提高约束刚度试试。

  • 15 帖子
    3k 浏览
    C

    @Prometheus10 对,“界面褶皱”的问题一直存在的,加密三相接触线附近网格会好一些,但是不能完全祛除,原因未知。

  • Openfoam虚拟机全系列压缩包损坏

    4
    4 帖子
    73 浏览
    C

    好嘞谢谢您

  • 三维圆柱绕流案例

    6
    6 帖子
    115 浏览
    P

    @李东岳 好的 那我换个版本吧

  • vmware虚拟机 复制粘贴不成功

    4
    4 帖子
    120 浏览
    C

    东岳老师,我之前电脑坏了现在电脑在重新下载Openfoam虚拟机全系列,发现你那个保存到百度网盘上的虚拟机全系列好像坏了,您能再上传一下吗,我解压的时候说压缩包已损坏

  • 使用sprayFoam求解器设置多喷雾入口算例

    8
    8 帖子
    3k 浏览
    R

    或许可以在createClouds.H中声明多个basicSprayCloud对象,并将相应的源项添加进去

  • OpenFoam柴油机模拟求指导

    8
    8 帖子
    182 浏览
    L

    @李东岳 感谢老师,我已在那个帖子上上传了

  • 免费帮助debug算例

    4
    4 帖子
    3k 浏览
    L

    老师您好,这是我请教的问题

    case在这里下载链接

    感谢老师

  • 请教一个关于两相流激波的问题

    8
    8 帖子
    1k 浏览
    A

    @Lubing 好的好的,十分感谢

  • 求教换热器表面换热功率的计算

    4
    4 帖子
    118 浏览
    李东岳

    我对paraview那个操作也不熟悉。我只对openfoam代码稍微熟悉。paraview我只会看结果复杂的我也不会