|
[Sponsors] |
October 27, 2017, 06:06 |
Z-dimension for 2D 6DoF simulation
|
#1 |
New Member
Laurent Fieschi
Join Date: Aug 2017
Posts: 6
Rep Power: 9 |
Hello,
I am trying to model a plate with a -5 deg origin angle on z axis. It is an overset 2D simulation using the sixDoFRigidBodyMotion solver in a domain with a fixed velocity in x-direction. I use OpenFOAM V1706. Domaine_6ddl.jpg The blue block is my background (fixed block) and my object is inside a moving cylinder which is my overset (red). The center of mass and center of rotation are at the same point : the plate's lower-left corner. I would like to leave my object in a free motion so this is my dynamicMeshDict : Code:
FoamFile { version 2.0; format ascii; class dictionary; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // motionSolverLibs ("libsixDoFRigidBodyMotion.so"); dynamicFvMesh dynamicOversetFvMesh; dynamicOversetFvMeshCoeffs { } solver sixDoFRigidBodyMotion; sixDoFRigidBodyMotionCoeffs { patches (object); innerDistance 100.0; outerDistance 101.0; centreOfMass (0.0 0.0 0.125); // Cuboid dimensions Lx 1.0; Ly 0.1; Lz ?; // Density of the solid rhoSolid 1000; // Cuboid mass mass #calc "$rhoSolid*$Lx*$Ly*$Lz"; momentOfInertia #codeStream { codeInclude #{ #include "diagTensor.H" #}; code #{ scalar sqrLx = sqr($Lx); scalar sqrLy = sqr($Ly); scalar sqrLz = sqr($Lz); os << $mass *diagTensor(sqrLy + sqrLz, sqrLx + sqrLz, sqrLx + sqrLy)/12.0; #}; }; g (0 -9.81 0); rho rhoInf; rhoInf 1; report on; reportToFile on; accelerationRelaxation 0.1; solver { type Newmark; } constraints { fixedPoint { sixDoFRigidBodyMotionConstraint point; centreOfRotation (0.0 0.0 0.125); } fixedAxis { sixDoFRigidBodyMotionConstraint axis; axis (0 0 1); } } } // ************************************************************************* // The domain's size in Z-direction (I have read this on an other post but it was to calculate force coefficient and I am not sure that it is the same thing) or 1 meter ? Any help would be appreciated !
Regards Last edited by Fieschi; October 31, 2017 at 12:10. |
|
March 30, 2020, 00:01 |
|
#2 | |
New Member
Join Date: Jan 2018
Posts: 19
Rep Power: 8 |
Hi, have you understand the Z direction distance in the 2d sixdof, it seems it's related to the density, mass of the soild, which means the forces acting on the surface is different. Do you have knowledge about this?
ZHI CHENG Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Surface Source - Fixed Temperature? | robtheslob | FloEFD, FloWorks & FloTHERM | 18 | May 12, 2017 03:28 |
Simulation FPEs - turbulence for transient and steady-state? | DaveR | OpenFOAM Running, Solving & CFD | 5 | March 5, 2017 16:06 |
Waterbell Simulation | o.b.m | Fluent Multiphase | 1 | November 5, 2015 06:55 |
Simulation of a complex wing in solidworks flow simulation | niels1900 | FloEFD, FloWorks & FloTHERM | 6 | April 20, 2011 11:44 |
3-D Contaminant Dispersal Simulation | Apple L S Chan | Main CFD Forum | 1 | December 23, 1998 11:06 |