OpenFoam——foamSearch使用

我们可以使用openfoam自带的foamSearch工具进行搜索

在某个文件夹内搜索文件的某个内容

foamSearch $FOAM_TUTORIALS fvSchemes "divSchemes/div(phi,U)"

输出结果

div(phi,U)      bounded Gauss limitedLinear 0.2;
div(phi,U)      bounded Gauss limitedLinearV 1;
div(phi,U)      bounded Gauss linear;
div(phi,U)      bounded Gauss linearUpwind grad;
div(phi,U)      bounded Gauss linearUpwind grad(U);
div(phi,U)      bounded Gauss linearUpwind limited;
div(phi,U)      bounded Gauss linearUpwind unlimited;
div(phi,U)      bounded Gauss linearUpwindV grad(U);
div(phi,U)      bounded Gauss upwind;
div(phi,U)      Gauss cubic;
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
div(phi,U)      Gauss limitedLinearV 1;
div(phi,U)      Gauss linear;
div(phi,U)      Gauss linearUpwind grad(U);
"div\(phi.*,U.*\)" Gauss linearUpwind limited;
div(phi,U)      Gauss linearUpwind limited;
div(phi,U)      Gauss linearUpwindV grad(U);
div(phi,U)      Gauss LUST grad(U);
div(phi,U)      Gauss LUST unlimitedGrad(U);
div(phi,U)      Gauss upwind;

显示次数

foamSearch -c $FOAM_TUTORIALS  fvSchemes interpolationSchemes

输出结果

    252 {
    252 }
      2     default         cubic;
    227     default         linear;
     14     default         none;
      2     fi              upwind alphaRhoPhi.particles;
      1     interpolate(HbyA) linear;
      1     interpolate(U)  linear;
    252 interpolationSchemes
      1     reconstruct(rho) vanAlbada;
      6     reconstruct(rho) vanLeer;
      1     reconstruct(T)  vanAlbada;
      6     reconstruct(T)  vanLeer;
      1     reconstruct(U)  vanAlbadaV;
      6     reconstruct(U)  vanLeerV;
posted @ 2023-04-06 20:55  摩天仑  阅读(146)  评论(0编辑  收藏  举报