CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Boat not rotating on roll axis

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2023, 23:05
Default Boat not rotating on roll axis
  #1
New Member
 
Join Date: Sep 2023
Posts: 1
Rep Power: 0
volticshipping is on a distinguished road
Hi, Im stuck on this issue I've been having. I took the DTCHullWave case and want to simulate waves hitting the side of the hull so it can roll. I changed the setup so that the waves flow from inlet to outlet against a rotated version of the hull. I then added a joint in the dynamic mesh dict to allow the hull to roll along its center of mass lengthwise. However, when I run the simulation, the hull is still stationary, and the alpha.water looks super weird. I attached a picture to show. I also pasted my dynamic mesh dict below as well. Would appreciate any help

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2306                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh   dynamicMotionSolverFvMesh;

motionSolverLibs ("librigidBodyMeshMotion.so");

motionSolver    rigidBodyMotion;

report          on;

solver
{
    type Newmark;
}

accelerationRelaxation 0.4;

bodies
{
    hull
    {
        type            rigidBody;
        parent          root;

        centreOfMass    (-5.288 29.582 -1.955);
        mass            345159.856;
        //inertia         (40 0 0 921 0 921);
       inertia         (1.118e8 0.299 0.011 0.299 5.963e6 -740826.865 0.011 -740826.865 1.156e8);
        transform       (1 0 0 0 1 0 0 0 1) (9.90268 -84.9027 0.0110973);

        joint
        {
            type    composite;
            joints
            (
                {
                    type Pz;
                }
                {
                    type Ry;
                }
            );
        }

        patches         (hull);
        innerDistance   0.3;
        outerDistance   1;
    }
}

restraints
{
    translationDamper
    {
        type linearDamper;
        body hull;
        coeff 8596;
    }

    rotationDamper
    {
        type sphericalAngularDamper;
        body hull;
        coeff 11586;
    }
}


// ************************************************************************* //
Attached Images
File Type: jpg Screen Shot 2023-09-14 at 11.01.40 PM.jpg (46.1 KB, 5 views)
volticshipping is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" ds4719 Main CFD Forum 14 February 18, 2022 18:05
Car external aerodynamic with wheel spinning issue hokhay FloEFD, FloWorks & FloTHERM 2 August 18, 2016 04:23
simulating a stationary axis gas turbine with blades fixed in a rotating shell lawbambace OpenFOAM 0 January 5, 2016 09:35
Vertical Axis Wind Turbine Rotating Domain Problems TWaung CFX 4 May 1, 2012 03:14
rotating domain in rotating domain, different axis Robert Stringer CFX 3 December 4, 2006 07:04


All times are GMT -4. The time now is 11:01.