Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    sixDoFRigidBodyMotion设置参数

    OpenFOAM
    5
    6
    2526
    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.
    • L
      lv1995 last edited by 李东岳

      constraints
          {
              zAxis
              {
                  sixDoFRigidBodyMotionConstraint line;
                  direction     (0 0 1);
              }
              yPlane
              {
                  sixDoFRigidBodyMotionConstraint axis;
                  axis          (0 1 0);
              }
          }
      
          restraints
          {
              translationDamper
              {
                  sixDoFRigidBodyMotionRestraint linearDamper;
                  coeff         8596;
              }
              rotationDamper
              {
                  sixDoFRigidBodyMotionRestraint sphericalAngularDamper;
                  coeff         11586;
              }
          }
      

      请问constraints和 restraints什么区别呢?如果我要设置物体只有垂荡运动应该怎么设置?请各位大神指教

      1 Reply Last reply Reply Quote
      • M
        maoyanjun_dut last edited by 李东岳

        在Linux下用OpenOffice 写的,在word里乱版了。哪天整理一下挂在我的博客上。下面的简单总结仅做参考。应该可以解决你的问题。

        Selecting sixDoFSolver Newmark
        Translational constraint tensor (0 0 0 0 0 0 0 0 1)
        Rotational constraint tensor (0 0 0 0 1 0 0 0 0)
        

        这个约束采用的是二阶张量形式,在设定约束的时候,1 意味着开放这个方向的自由度。0意味着关闭自由度

        plane 只能约束Translation ,且当y=1时,意味着放开x,和z,不能约束rotation
        line:   只能约束Translation ,且当y=1时,意味着放开y,不能约束rotation
        Aix  :只能来约束Rotation ,且当y=1时,意味着放开了y方向摇动,不能约束translation
        

        最后,Aix和line的方向矢量不能为零,所以当需要限制两个方向摇动的时候可以,设置两个aix。

        Blog:http://maoyanjun.top
        厚德如海,纳川有藏。上善若水,利物不张。大哉斯言,勤勉勿忘。

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

          是的,constraints可以理解为限制,人工的限制。起源于你的人为干涉。restraints可以理解为约束,算例的约束。起源于物理上的力。

          我要设置物体只有垂荡运动应该怎么设置?

          这属于constraints。在2D下应该限制line,在3D下应该限制plane。下面这个是我n年前施加了横向限制的模拟。你可以参考OpenFOAM的自带算例随意改一些参数试试理解下。

          替代文字

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

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

            @李东岳 李老师,能否把您n年前施加了横向限制的模拟,这个算例的相关文件给我参考一下?十分感谢
            798458969@qq.com

            李东岳 F 2 Replies Last reply Reply Quote
            • 李东岳
              李东岳 管理员 @fireztw last edited by

              @fireztw 过去太久了,那个估计是我2015年做的,早已消失..

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

              1 Reply Last reply Reply Quote
              • F
                Fu @fireztw last edited by

                @fireztw

                https://openfoamwiki.net/index.php/Parameter_Definitions_-_dynamicMotionSolverFvMesh

                https://forum.cfdac.com/t/topic/660/2

                这两个网站可以参考一下~~

                1 Reply Last reply Reply Quote
                • First post
                  Last post

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