CFD中文网

    CFD中文网

    • 登录
    • 搜索
    • 最新

    如何设置水体密度随深度线性变化?

    OpenFOAM
    2
    2
    707
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • chengan.wang
      chengan.wang 最后由 编辑

      大家好,如何在interFoam或compressibleinterFoam中设置水体密度随深度线性变化呢

      1 条回复 最后回复 回复 引用
      • 李东岳
        李东岳 管理员 最后由 编辑

        interFoam加不了,compressibleInterFoam你在物性里面修改

        thermoType
        {
            type            heRhoThermo;
            mixture         pureMixture;
            properties      liquid;//here
            energy          sensibleInternalEnergy;
        }
        

        里面的properties改成不同的状态方程试试,

        2023年线下CFD课 报名正式启动 http://dyfluid.com/class.html
        CFD高性能服务器 http://dyfluid.com/servers.html

        1 条回复 最后回复 回复 引用
        • First post
          Last post