CFD中文网

    CFD中文网

    • 登录
    • 搜索
    • 最新
    1. 主页
    2. Rachel0096
    R
    • 资料
    • 关注 6
    • 粉丝 0
    • 主题 9
    • 帖子 33
    • 群组 0

    Rachel0096

    @Rachel0096

    3
    资料浏览
    33
    帖子
    0
    粉丝
    6
    关注
    注册时间 最后登录

    Rachel0096 取消关注 关注

    Rachel0096 发布的最新帖子

    • RE: CompressibleInterIsoFoam边界条件设定

      好的好的,我去试试,谢谢李老师

      发布在 OpenFOAM
      R
      Rachel0096
    • RE: CompressibleInterIsoFoam边界条件设定

      @Rachel0096 省流版就是 IBM他等不及了:136:

      发布在 OpenFOAM
      R
      Rachel0096
    • RE: CompressibleInterIsoFoam边界条件设定

      @李东岳 李老师,我上个周刚刚被我导师换课题了,现在做横射流雾化:zoule: 因为后期想要做到燃烧,所以需要改到可压缩的求解器里面

      发布在 OpenFOAM
      R
      Rachel0096
    • CompressibleInterIsoFoam边界条件设定

      各位老师,晚上好。
      我根据一个interIsoFoam的case,想把他按照原来的工况在compressibleInterIsoFoam中重新跑一下,主要是模拟横射流的,示意图如下图所示,但是出现以下问题:
      4c57c806-b84b-40cf-a865-1dd47c5e5315-image.png
      ce6cd039-c22a-4e54-91cb-d80161d41194-image.png
      其中,p_rgh、U和alpha.water都是之前interIsoFoam的设置
      0/p:

      dimensions      [1 -1 -2 0 0 0 0];
      
      internalField   uniform 0;
      
      boundaryField
      {
          INLET_AIR
          {
              type        fixedFluxPressure;
              value		uniform 0;
          }
      
          INLET_LIQUID
          {
              type        fixedFluxPressure;
              value		uniform 0;
          }
      
          WALL
          {
              type        fixedFluxPressure;
              value		uniform 0;
          }
      
          SYMMETRY
          {
              type        symmetry;
          }
        
          OUTLET
          {
              type            totalPressure;
              p0              uniform 0;
              U               U;
              phi             phi;
              rho             rho;
              psi             none;
              gamma           1;
              value           uniform 0;
          }
      }
      
      

      0/alpha.water

      dimensions      [0 0 0 0 0 0 0];
      
      
      internalField   uniform 0;
      
      boundaryField
      {
          INLET_AIR
          {
              type            inletOutlet;
              inletValue      uniform 0;
              value           uniform 0;
          }
          INLET_LIQUID
          {
              type            fixedValue;
              value           uniform 1;
          }
          OUTLET
          {
              type            zeroGradient;
          }
          SYMMETRY
          {
              type            symmetry;
          }
          WALL
          {
              type            zeroGradient;
          }
      }
      

      0/U

      /*--------------------------------*- C++ -*----------------------------------*\
      | =========                 |                                                 |
      | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
      |  \\    /   O peration     | Version:  4.x                                   |
      |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
      |    \\/     M anipulation  |                                                 |
      \*---------------------------------------------------------------------------*/
      FoamFile
      {
          version     2.0;
          format      ascii;
          class       volVectorField;
          location    "0";
          object      U;
      }
      // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
      
      dimensions      [0 1 -1 0 0 0 0];
      
      internalField   uniform (0 0 0);
      
      boundaryField
      {
          INLET_AIR
          {
              type            fixedValue;
              value           uniform (10 0 0);
          }
                        
          INLET_LIQUID
          {
              type            fixedValue;
              value           uniform (0 0 1);
          }
                        
          WALL
          {
              type            noSlip;
          }
          
          SYMMETRY
          {
              type            symmetry;
          }
          
          OUTLET
          {
      
              type            inletOutlet;
              inletValue	    uniform (0 0 0);
              value           uniform (0 0 0);
          }
      }
      
      
      // ************************************************************************* //
      

      我自己主要添加了p、T、thermophysicalProperties.air和thermophysicalProperties.water文件,主要设置如下
      p

      dimensions      [1 -1 -2 0 0 0 0];
      
      internalField   uniform 101325;
      
      boundaryField
      {
          INLET_AIR
          {
              type            calculated;
              value           $internalField;
          }
      
          INLET_LIQUID
          {
              type            calculated;
              value           $internalField;
          }
      
          WALL
          {
              type            calculated;
              value           $internalField;
          }
      
          SYMMETRY
          {
              type        symmetry;
          }
        
          OUTLET
          {
              type            inletOutlet;
              inletValue	    uniform 0;
              value           uniform 0;
          }
      }
      

      T

      dimensions      [0 0 0 1 0 0 0];
      
      internalField   uniform 300;
      
      boundaryField
      {
          INLET_AIR
          {
              type        fixedValue;
              value	     uniform 300;
          }
      
          INLET_LIQUID
          {
              type        fixedValue;
              value	     uniform 300;
          }
      
          WALL
          {
             type            zeroGradient;
          }
      
          SYMMETRY
          {
              type        symmetry;
          }
        
          OUTLET
          {
              type            inletOutlet;
              inletValue	    uniform 300;
              value           uniform 300;
          }
      }
      

      thermophysicalProperties.water

      thermoType
      {
          type            heRhoThermo;
          mixture         pureMixture;
          transport       const;
          thermo          hConst;
          equationOfState rhoConst;//认为其不可压缩,或许采用perfectfluid也可以?
          specie          specie;
          energy          sensibleInternalEnergy;
      }
      
      mixture
      {
          specie
          {
              molWeight   18.0;
          }
          equationOfState
          {
              rho         1000;
          }
          thermodynamics
          {
              Cp          4195;
              Hf          0;
          }
          transport
          {
              mu          1e-3;
              Pr          7;
          }
      }
      

      thermophysicalProperties.air

      thermoType
      {
          type            heRhoThermo;
          mixture         pureMixture;
          transport       const;
          thermo          hConst;
          equationOfState perfectGas;
          specie          specie;
          energy          sensibleInternalEnergy;
      }
      
      mixture
      {
          specie
          {
              molWeight   28.9;
          }
          thermodynamics
          {
              Cp          1013;
              Hf          0;
          }
          transport
          {
              mu          16.337e-06;
              Pr          0.7;
          }
      }
      

      想问一下我的这些设置是否存在不合理的地方,当出现报错的时候,有没有什么方法可以找到出错的原因(我每次总是百度+论坛),怎么能够查看自己的边界条件是否合理呢,以及在thermophysicalProperties中的Pmin应该根据什么来进行设置?
      问题有点多,麻烦各位老师啦!:xinxin:

      发布在 OpenFOAM
      R
      Rachel0096
    • interFoam求解器统计出口液相的质量

      在验证质量守恒,计算域内的质量可以求出,想请教一下,出口液相的质量应该怎么计算呢

      发布在 OpenFOAM
      R
      Rachel0096
    • RE: interFoam求解器和interIsoFoam求解器

      @ir77 好的,谢谢大佬,我去看看!

      发布在 OpenFOAM
      R
      Rachel0096
    • RE: interFoam求解器和interIsoFoam求解器

      @李东岳 李老师,有没有和interIsoFoam类似的可压缩VOF求解器呀,我看compressibleInterFoam它是一种基于 VOF 模型的可压、绝热、不可溶两相界面捕获求解器,但好像也是MULES:zoule: 如果自己修改算法的话,感觉工程量也不小:136:

      发布在 OpenFOAM
      R
      Rachel0096
    • interFoam求解器和interIsoFoam求解器

      请问OpenFOAM v1912中的interFoam求解器和interIsoFoam求解器有什么不一样呀
      692e05e8-e485-461b-90f6-26bcb3c5fbfa-image.png

      发布在 OpenFOAM
      R
      Rachel0096
    • RE: 请教关于浸入边界法的问题,IBM方法的问题

      @eason 谢谢大佬!我去看看!

      发布在 OpenFOAM
      R
      Rachel0096
    • RE: 请教关于浸入边界法的问题,IBM方法的问题

      @eason 我看还有做啥复杂机翼的,压根不知道咋生成的拉格朗日点:zoule:
      961591c9-dbff-4af6-81f7-520f17b26cf7-image.png

      发布在 OpenFOAM
      R
      Rachel0096