|
[Sponsors] |
March 19, 2017, 14:49 |
reportToFile not working - dynamicMeshDict
|
#1 |
New Member
Behzad
Join Date: Nov 2010
Posts: 4
Rep Power: 15 |
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 ); // } // } } // ************************************************************************* // Thanks - Behzad |
|
July 28, 2017, 05:28 |
|
#2 |
New Member
Join Date: Jun 2017
Posts: 4
Rep Power: 8 |
Hello Behazad,
I have the same problem with the option "reportToFile" . Did you solve it? Thanks |
|
August 7, 2018, 08:35 |
|
#3 |
New Member
i-chen,tsai
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
check the log file,
then you can see angular velocity and center of mass right away. |
|
September 14, 2018, 07:10 |
|
#4 | |
Senior Member
|
Quote:
I have the same problem.
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
||
September 21, 2019, 12:42 |
|
#5 |
New Member
Join Date: Jan 2018
Posts: 18
Rep Power: 8 |
||
September 24, 2019, 03:45 |
|
#6 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15 |
Can you possibly try this in a newer version? For me, the reportToFile works in OpenFOAM 6. I remember that I had the same problem and it might have been a version issue but I can't recall exactly.
|
|
September 25, 2019, 14:43 |
|
#7 |
New Member
Bruno de Almeida Regina
Join Date: Jul 2019
Location: Brazil
Posts: 6
Rep Power: 6 |
Hey there!
I am trying with version 6 and have the same problem. My dynamicMeshDict uses dynamicMotionSolverFvMesh as dynamicFvMesh and the used motionSolver is rigidBodyMotion. Hope someone can shed a light in this matter! Bruno |
|
September 26, 2019, 03:24 |
|
#8 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15 |
Can you upload the relevant files and the output of the log?
|
|
Tags |
dynamicmeshdict, openfoam 3.0.1, reporttofile |
|
|
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 22:16 |
[Other] 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 |