Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. ofv2212版本里的rigidbodyhull案例的一些疑问

ofv2212版本里的rigidbodyhull案例的一些疑问

已定时 已固定 已锁定 已移动 OpenFOAM
8 帖子 3 发布者 4.9k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • C 离线
    C 离线
    csj1246957849
    写于 最后由 csj1246957849 编辑
    #1

    在verInterPhaseChangeDyMFoam的rigidbodyhull这个案例里面,移动的船速是怎么确定的,或者是在dynamicmeshdict中给了船舶一个推力让船动起来,这个案例也不像dtchull里面给了流场一个入射速度,以下是这个案例的U和dynamicmeshdict
    U:
    dimensions [0 1 -1 0 0 0 0];

    internalField uniform (0 0 0);

    boundaryField
    {
    #includeEtc "caseDicts/setConstraintTypes"

    "(BLADES|HUB_DISK|HUB|HUB_COVER|HULL*.*)"
    {
        type            movingWallVelocity;
        value           uniform (0 0 0);
    }
    
    inlet
    {
        type            fixedValue;
        value           $internalField;
    }
    
    outlet
    {
        type            inletOutlet;
        value           uniform (0 0 0);
        inletValue      uniform (0 0 0 );
    }
    
    "(atmosphere)"
    {
        type            pressureInletOutletVelocity;
        value           $internalField;
    }
    
    "(overset-1|oversetPatch)"
    {
        type           overset;
    }
    

    }

    dynamicmeshdict如下:
    dynamicFvMesh dynamicOversetFvMesh;

    solvers
    {
    VF
    {
    motionSolverLibs (libfvMotionSolvers);
    motionSolver solidBody;
    solidBodyMotionFunction drivenLinearMotion;
    cellSet c0;
    cOfGdisplacement CofG;
    }

    boat_propeller
    {
        motionSolverLibs    (librigidBodyMeshMotion);
        motionSolver         rigidBodyMotion;
    
        report              on;
        cellSet             cHullProp;
        cOfGdisplacement    CofG;
        bodyIdCofG      1;
    
        solver
        {
            type Newmark;
        }
    
        accelerationRelaxation 0.8;
        accelerationDamping    0.9;
        nIter   3;
    
        bodies
        {
            hull
            {
                type            rigidBody;
                parent          root;
                mass            2787;
    
                centreOfMass     (0.178 0 0.3323);
                inertia         (564 0 0 8535 0 8535);
                // Transformation tensor and centre of rotation
                transform       (1 0 0 0 1 0 0 0 1)  (0.178 0 0.3323);
                joint
                {
                    type            composite;
    
                    joints
                    (
                        {
                            type Pxyz;
                        }
                        {
                            type Ry;
                        }
                    );
                }
                patches
                (
                    HULL
                    HULL_DISK
                );
                innerDistance   100;
                outerDistance   200;
            }
            propeller
            {
                type            rigidBody;
                parent          hull;
                centreOfMass    (-3.405396 -0.000044 0.129544);
                mass            0.3;
                transform       (1 0 0 0 1 0 0 0 1) (-3.583 -0.000044 -0.202706);
                inertia         (0.000556833 0 0 0.36905863 0 0.36858374);
                patches
                (
                    BLADES
                    HUB
                    HUB_DISK
                );
                innerDistance   100;
                outerDistance   200;
                joint
                {
                    type        Rx;
                }
            }
        }
        restraints
        {
            force
            {
                type        externalForce;
                body        hull;
                location    (-3.386 0 0.21);
                force       table
                (
                    (0    (500 0 0))
                    (10   (2000 0 0))
                    (20   (2000 0 0))
                );
            }
        }
    }
    

    }
    有了解这个案例的朋友希望帮忙解读以下,非常感谢!
    4c35d0a2-38c6-49b7-a168-9e131121c886.gif

    1 条回复 最后回复
  • W 离线
    W 离线
    wangwang
    写于 最后由 编辑
    #2
                type        externalForce;
                body        hull;
                location    (-3.386 0 0.21);
                force       table
                (
                    (0    (500 0 0))
                    (10   (2000 0 0))
                    (20   (2000 0 0))
    

    看起来像是这个table起的作用

    C 1 条回复 最后回复
  • C 离线
    C 离线
    csj1246957849
    在 中回复了 wangwang 最后由 编辑
    #3

    @wangwang 在 ofv2212版本里的rigidbodyhull案例的一些疑问 中说:

                type        externalForce;
                body        hull;
                location    (-3.386 0 0.21);
                force       table
                (
                    (0    (500 0 0))
                    (10   (2000 0 0))
                    (20   (2000 0 0))
    

    看起来像是这个table起的作用

    下方的force table下的参数是怎样的运行逻辑呢

    W 1 条回复 最后回复
  • W 离线
    W 离线
    wangwang
    在 中回复了 csj1246957849 最后由 编辑
    #4

    @csj1246957849 你好,我猜可能是这样,我没用过这个,仅供参考。
    37f306ff-e6e6-48bd-8752-a77b929b9a2c-image.png

    C 1 条回复 最后回复
  • C 离线
    C 离线
    csj1246957849
    在 中回复了 wangwang 最后由 编辑
    #5

    @wangwang 谢谢,这个force有可能是螺旋桨给予船舶的推力吗

    W 1 条回复 最后回复
  • W 离线
    W 离线
    wangwang
    在 中回复了 csj1246957849 最后由 编辑
    #6

    @csj1246957849 这个力在x方向上,大概就是推力了

    1 条回复 最后回复
  • H 离线
    H 离线
    hachikoi
    写于 最后由 编辑
    #7

    你好 还有一个问题不知道你有没有注意到:rigidBodyHull算例似乎是把螺旋桨overset嵌在船体overset中,这样不会导致背景网格在与船体overset插值时认为螺旋桨内存在水体吗

    Q8{SM5}0~92})744`TBTFLM.png

    C 1 条回复 最后回复
  • C 离线
    C 离线
    csj1246957849
    在 中回复了 hachikoi 最后由 编辑
    #8

    @hachikoi 注意到了,似乎在螺旋桨与船连接处存在了一个disk薄片,

    1 条回复 最后回复

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]