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

reportToFile not working - dynamicMeshDict

Register Blogs Members List Search Today's Posts Mark Forums Read

Sponsored Links

Reply
 
LinkBack Thread Tools Display Modes
Old   March 19, 2017, 15:49
Default reportToFile not working - dynamicMeshDict
  #1
New Member
 
Behzad
Join Date: Nov 2010
Posts: 4
Rep Power: 8
Behzad60 is on a distinguished road
Sponsored Links
Hello all,

I am simulating a solid-fluid interaction case and I wanted to write the data associated with solid body motion like angular velocity and center of mass. But, the option "reportToFile" is not writing any output (following explanations in https://openfoamwiki.net/index.php/P...onSolverFvMesh).

I am using OpenFoam 3.0.1 and sixDoFRigidBodyMotion in dynamicMeshDict as follows:

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

dynamicFvMesh   dynamicMotionSolverFvMesh;

motionSolverLibs ( "libsixDoFRigidBodyMotion.so" );

solver          sixDoFRigidBodyMotion;

diffusivity     quadratic inverseDistance 5 ( slat );

sixDoFRigidBodyMotionCoeffs
{
    patches         ( slat );

    innerDistance   0.03;

    outerDistance   0.1;

//=== slat info

    centreOfMass     (0.04 0 0);

    rhoName         rhoInf;
    rhoInf          7700; //2800;

    mass            0.0462; //0.0168;

    momentOfInertia (1.9992 1.8342 0.1658); //( 0.727 0.667 0.0603 );

    orientation
    (
       1 0 0
       0 1 0
       0 0 1
    );

//===

    g               (0 0 -9.81);

    velocity        (0 0 0);

    accelerationRelaxation 0.9;

    accelerationDamping 0.7;

    report          on;
    reportToFile    on;

    solver
    {
        type    CrankNicolson;
        aoc     0.5;    // Acceleration off-centering coefficient
        voc     0.5;    // Velocity off-centering coefficient
    }

    constraints
    {
         fixedPoint
         {
             sixDoFRigidBodyMotionConstraint point;
             centreOfRotation (0 0 0); 
         }

        rotationAxis
        {
            sixDoFRigidBodyMotionConstraint axis;
            axis (0 1 0);
        }
    }

//    restraints
//    {
//        Weight
//        {
//            sixDoFRigidBodyMotionRestraint constantForce;
//            refAttachmentPt ( 0 0 -0.04 );
//            constantForce   ( 0 0 -0.165 );
//        }
//    }

}

// ************************************************************************* //
I appreciate any idea and help regarding this issue.

Thanks - Behzad
Behzad60 is offline   Reply With Quote
Sponsored Links

Reply

Tags
dynamicmeshdict, openfoam 3.0.1, reporttofile

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't understand the moving function of "libfvMotionSolver.so" in dynamicMeshDict Jung hoo OpenFOAM Programming & Development 0 July 13, 2016 03:36
Is the subsetMotionSolver working in parallel? Arnoldinho OpenFOAM Running, Solving & CFD 7 April 27, 2016 04:38
two (rival) dynamicMeshDict & objectRegistry (??) codder OpenFOAM Running, Solving & CFD 1 January 27, 2014 23:16
Question about DynamicMeshDict jordi.muela OpenFOAM Meshing & Mesh Conversion 1 April 24, 2012 11:46
DPM parallel is not working but serial is working johnwinter FLUENT 1 March 27, 2012 02:01

Sponsored Links


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