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

Report MotionState in dynamicMultiMotionSolver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2023, 22:40
Default Report MotionState in dynamicMultiMotionSolver
  #1
New Member
 
JMRS
Join Date: Aug 2023
Posts: 3
Rep Power: 3
KW95 is on a distinguished road
Hi, I have a case where I have two rotating bodies in two different dynamic meshes, so for each one I use the AMI method with the dynamicMotionSolver.

According to this site: https://openfoamwiki.net/index.php/P...onSolverFvMesh
This solver has the ability to report for each time step in the uniform file inside each timestep file.

However when I run it with two bodies this no longer works. Anyone here know why this happens & how I can fix it?

Sorry I'm new to OpenFOAM.


Here you have the DynamicMeshDictFile I'm using:


/*--------------------------------*- 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 dynamicMultiMotionSolverFvMesh;
motionSolverLibs ("libfvMotionSolvers.so");

reportToFile on;

dynamicMultiMotionSolverFvMeshCoeffs
{
generator1
{

dynamicFvMesh dynamicMotionSolverFvMesh;
cellZone innerCylinder1;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");

solver sixDoFRigidBodyMotion;

sixDoFRigidBodyMotionCoeffs
{
patches (generator1);
innerDistance 51;
outerDistance 51.5;
rho rhoInf;
rhoInf 1.293;
mass 994523.68572;
momentOfInertia (72280656.68796 124473124.00092 72280656.68568);
centreOfMass (0 -1.395 0);
g ( 0 0 -9.8065 );
// orientation
// (
// 1 0 0
// 0 1 0
// 0 0 1
// );
velocity (0 0 0);
acceleration (0 0 0);
angularMomentum (0 262638291.6419412 0);
torque (0 0 0);
report on;
reportToFile on;

accelerationRelaxation 1.0; //1.0;
accelerationDamping 0.3; //1.0;

solver
{
type Newmark;
}

constraints
{
zAxis
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 1 0);
}
fixedPt
{
sixDoFRigidBodyMotionConstraint point;
point (0 0.1 0);
}
}
restraints
{
sixDoFRigidBodyMotionRestraint sphericalAngularDamper;
coeff 0.02;
}
}
}
generator2
{

dynamicFvMesh dynamicMotionSolverFvMesh;
cellZone innerCylinder2;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");

solver sixDoFRigidBodyMotion;

sixDoFRigidBodyMotionCoeffs
{
patches (generator2);
innerDistance 51;
outerDistance 51.5;
rho rhoInf;
rhoInf 1.293;
mass 994523.68572;
momentOfInertia (72280656.68796 124473124.00092 72280656.68568);
centreOfMass (0 -701.395 0);
g ( 0 0 -9.8065 );
// orientation
// (
// 1 0 0
// 0 1 0
// 0 0 1
// );
velocity (0 0 0);
acceleration (0 0 0);
angularMomentum (0 262638291.6419412 0);
torque (0 0 0);
report on;
reportToFile on;

accelerationRelaxation 1.0; //1.0;
accelerationDamping 0.3; //1.0;

solver
{
type Newmark;
}

constraints
{
zAxis
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 1 0);
}
fixedPt
{
sixDoFRigidBodyMotionConstraint point;
point (0 -700.1 0);
}
}
restraints
{
sixDoFRigidBodyMotionRestraint sphericalAngularDamper;
coeff 0.02;
}
}
}
}

// ************************************************** *********************** //
Attached Files
File Type: h dynamicMeshDict .h (5.6 KB, 0 views)
KW95 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
monitor report file mooving FLUENT 7 May 28, 2020 09:12
Report Forces vs Report Definitions iakov1703 ANSYS 0 April 4, 2020 20:55
Different calc for lift between: force coefficient report and 6-DOF body force report hxax STAR-CCM+ 3 January 16, 2020 11:08
Publish REPORT from a CFD-Post macros rubiconf CFX 0 August 8, 2014 05:58
Report > Discrete Phase > Report > How to commands Francesco Micchetti FLUENT 1 January 23, 2008 07:10


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