Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    Python

    Algorithm
    7
    11
    8967
    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.
    • Elibathe康
      Elibathe康 last edited by

      在CFD中Python用的多吗?主要是干什么用?

      活在当下

      Y 1 Reply Last reply Reply Quote
      • C
        CFD中文网 last edited by

        手头没有计算器的话,Python可以当科学计算器使用。。。。
        我用的很浅,停留在计算器阶段~国外友人用python做CFD简单算例。

        CFD中国标准用户测试帐号
        目前由徐笑笑登录

        Elibathe康 1 Reply Last reply Reply Quote
        • Elibathe康
          Elibathe康 @CFD中文网 last edited by

          @cfd-china 复杂的算例不可以用吗?据说功能还挺强大的,而且用起来比matlab还要简单。

          活在当下

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

            @Elibathe康
            Python和C++不同。用起来简单不一定适用于高性能并行计算。:big_mouth: CFD计算一定要考虑效率的问题。当然简单算例就无所谓了。

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

            Elibathe康 1 Reply Last reply Reply Quote
            • Elibathe康
              Elibathe康 @李东岳 last edited by

              @李东岳 嗯,所以在CFD中一般不会用到对吧?

              活在当下

              C 1 Reply Last reply Reply Quote
              • C
                CFD中文网 @Elibathe康 last edited by

                @Elibathe康
                只是说CFD高性能计算用的少,因为效率不高,单纯CFD,python, matlab都可以算,手算也可以!:big_mouth: Lorena组有用CFD计算简单的python问题。

                CFD中国标准用户测试帐号
                目前由徐笑笑登录

                1 Reply Last reply Reply Quote
                • 硫
                  硫酸亚铜 last edited by

                  楼主可以看看这个开源代码,用Python写的CFD程序。
                  https://github.com/barbagroup/CFDPython
                  希望对你有帮助

                  1 Reply Last reply Reply Quote
                  • W
                    wwzhao 教授 last edited by

                    Python 用来做数据处理和画图挺好的,ParaView 还提供 Python 接口呢。

                    1 Reply Last reply Reply Quote
                    • Y
                      youmengtian @Elibathe康 last edited by

                      @Elibathe康 python的确如李博士所言还是存在计算效率问题。但是目前很多基于数据处理的工作均可以通过Python完成。在cfd领域前后处理我觉得python还是有很大一片天地的。另外作为一种很厉害的胶水语言为openfoam提供本地gui都未尝不可。不过说到求解器python可能的确不能用来做工程计算,但是作为教学或者演示确实很赞的!

                      天命之谓性;率性之谓道;修道之谓教。
                      道也者,不可须臾离也;可离,非道也。是故君子戒慎乎其所不睹,恐惧乎其所不闻。
                      莫见乎隐,莫显乎微。故君子慎其独也

                      1 Reply Last reply Reply Quote
                      • A
                        arctan last edited by arctan

                        看看这个 PyFR
                        帝国理工开源的基于Python的新一代流体求解器,高阶通量重构,大规模并行计算。有以下特点:

                        • Governing Equations - Euler, Navier Stokes
                        • Dimensionality - 2D, 3D
                        • Element Types - Triangles, Quadrilaterals, Hexahedra, Prisms, Tetrahedra, Pyramids
                        • Platforms - CPU Clusters, Nvidia GPU Clusters, AMD GPU Clusters, Intel Xeon Phi Clusters
                        • Spatial Discretisation - High-Order Flux Reconstruction
                        • Temporal Discretisation - Explicit and Implicit (via Dual Time-Stepping)
                        • Precision - Single, Double
                        • Mesh Files Imported - Gmsh (.msh), CGNS (.cgns)
                        • Solution Files Exported - Unstructured VTK (.vtu, .pvtu)
                        Elibathe康 1 Reply Last reply Reply Quote
                        • Elibathe康
                          Elibathe康 @arctan last edited by

                          @arctan 非常感谢!

                          活在当下

                          1 Reply Last reply Reply Quote
                          • First post
                            Last post

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