Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    如何对OF算的旋转机械查看轴面投影图与B2B视图?

    OpenFOAM
    3
    10
    4079
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 夜
      夜阑烟寒 last edited by

      RT,叶轮机械后处理一般要看轴面投影图与B2B视图,但是OpenFoam能导出的Tecplot与Ensight中貌似没有可以专门可以在圆柱坐标系查看云图的功能,CFD-post有专门的turbo后处理模块,但是openfoam不支持导出该格式,求教大家是将叶轮机械的数据导出的哪个后处理软件查看子午视图与B2B视图的?

      1 Reply Last reply Reply Quote
      • 夜
        夜阑烟寒 last edited by

        @cfd-china @dzw05 看过两位大佬讨论过关于MRF的问题,可否指导一下

        1 Reply Last reply Reply Quote
        • 李东岳
          李东岳 管理员 last edited by

          我目前想到一个方法是你写个程序转换一下坐标系 :expressionless:

          线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
          CFD高性能服务器 http://dyfluid.com/servers.html

          夜 1 Reply Last reply Reply Quote
          • 夜
            夜阑烟寒 @李东岳 last edited by 李东岳

            @李东岳 在cfdonline上找到方法了,原来tecplot09版以前本有该功能,然后之后将其隐藏到放到了macro中,画图需要转换坐标系时执行一下macro即可。PS:tecplot脚本指南中有该方法的说明。

            现在公布一下macro写法:

            #!MC 1400
            
            $!TRANSFORMCOORDINATES 
            TRANSFORMATION = RECTTOPOLAR
            ANGLESPEC = RADIANS
            CREATENEWVARIABLES = YES
            XVAR = 1
            YVAR = 2
            

            另存为 .mcr格式即可
            执行后就会出来theta与R这两个变量了。

            1 Reply Last reply Reply Quote
            • 夜
              夜阑烟寒 last edited by

              另外RADIANS也可以指定为DEGREES,即弧度与角度两种表达方式。

              1 Reply Last reply Reply Quote
              • 李东岳
                李东岳 管理员 last edited by

                1024,楼主好人,感谢分享!

                线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
                CFD高性能服务器 http://dyfluid.com/servers.html

                夜 1 Reply Last reply Reply Quote
                • 夜
                  夜阑烟寒 @李东岳 last edited by

                  @李东岳 东岳师兄客气了,您是我的榜样!

                  1 Reply Last reply Reply Quote
                  • Q
                    qinglonger last edited by 李东岳

                    您好,最近看到了您分享的坐标转换,我现在正在将一个B2B面进行展开成一个平面,但是遇到了一个问题。

                    QQ截图20190420003532.png,

                    但是出来是这样的,

                    QQ截图20190420003827.png
                    如何才能变成一个平面呢

                    夜 1 Reply Last reply Reply Quote
                    • 夜
                      夜阑烟寒 @qinglonger last edited by

                      @qinglonger 你的一个平面的意思是只看一个流道的吗?

                      Q 1 Reply Last reply Reply Quote
                      • Q
                        qinglonger @夜阑烟寒 last edited by

                        @夜阑烟寒 您好,我是把这个曲面展开成这个样子的,之前的在tecplot里面变换了坐标,还是曲面,想变成这种平面
                        QQ截图20190423005626.png

                        1 Reply Last reply Reply Quote
                        • First post
                          Last post

                        CFD中文网 | 东岳流体 | 京ICP备15017992号-2
                        论坛登录问题反馈可联系 li.dy@dyfluid.com