solidBodyMotionFunctions: Changed CofG to origin where appropriate and support run-time selectable omega specification in rotatingMotion

This commit is contained in:
Henry 2013-07-30 09:41:27 +01:00
parent c8ac5b19b4
commit f75138d1f6
14 changed files with 481 additions and 469 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -73,7 +73,7 @@ Foam::solidBodyMotionFunctions::axisRotationMotion::transformation() const
{ {
scalar t = time_.value(); scalar t = time_.value();
// Rotation around centre of gravity (in radians) // Rotation origin (in radians)
vector omega vector omega
( (
t*degToRad(radialVelocity_.x()), t*degToRad(radialVelocity_.x()),
@ -83,7 +83,7 @@ Foam::solidBodyMotionFunctions::axisRotationMotion::transformation() const
scalar magOmega = mag(omega); scalar magOmega = mag(omega);
quaternion R(omega/magOmega, magOmega); quaternion R(omega/magOmega, magOmega);
septernion TR(septernion(CofG_)*R*septernion(-CofG_)); septernion TR(septernion(origin_)*R*septernion(-origin_));
Info<< "solidBodyMotionFunctions::axisRotationMotion::transformation(): " Info<< "solidBodyMotionFunctions::axisRotationMotion::transformation(): "
<< "Time = " << t << " transformation: " << TR << endl; << "Time = " << t << " transformation: " << TR << endl;
@ -99,7 +99,7 @@ bool Foam::solidBodyMotionFunctions::axisRotationMotion::read
{ {
solidBodyMotionFunction::read(SBMFCoeffs); solidBodyMotionFunction::read(SBMFCoeffs);
SBMFCoeffs_.lookup("CofG") >> CofG_; SBMFCoeffs_.lookup("origin") >> origin_;
SBMFCoeffs_.lookup("radialVelocity") >> radialVelocity_; SBMFCoeffs_.lookup("radialVelocity") >> radialVelocity_;
return true; return true;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -57,8 +57,8 @@ class axisRotationMotion
{ {
// Private data // Private data
//- Centre of gravity //- Origin
point CofG_; point origin_;
//- Rotational velocity (deg/s) //- Rotational velocity (deg/s)
vector radialVelocity_; vector radialVelocity_;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -82,7 +82,7 @@ transformation() const
eulerAngles *= pi/180.0; eulerAngles *= pi/180.0;
quaternion R(eulerAngles.x(), eulerAngles.y(), eulerAngles.z()); quaternion R(eulerAngles.x(), eulerAngles.y(), eulerAngles.z());
septernion TR(septernion(CofG_)*R*septernion(-CofG_)); septernion TR(septernion(origin_)*R*septernion(-origin_));
Info<< "solidBodyMotionFunctions::oscillatingRotatingMotion::" Info<< "solidBodyMotionFunctions::oscillatingRotatingMotion::"
<< "transformation(): " << "transformation(): "
@ -99,7 +99,7 @@ bool Foam::solidBodyMotionFunctions::oscillatingRotatingMotion::read
{ {
solidBodyMotionFunction::read(SBMFCoeffs); solidBodyMotionFunction::read(SBMFCoeffs);
SBMFCoeffs_.lookup("CofG") >> CofG_; SBMFCoeffs_.lookup("origin") >> origin_;
SBMFCoeffs_.lookup("amplitude") >> amplitude_; SBMFCoeffs_.lookup("amplitude") >> amplitude_;
SBMFCoeffs_.lookup("omega") >> omega_; SBMFCoeffs_.lookup("omega") >> omega_;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -57,7 +57,7 @@ class oscillatingRotatingMotion
// Private data // Private data
//- Centre of gravity //- Centre of gravity
point CofG_; point origin_;
//- Amplitude //- Amplitude
vector amplitude_; vector amplitude_;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -54,10 +54,11 @@ Foam::solidBodyMotionFunctions::rotatingMotion::rotatingMotion
const Time& runTime const Time& runTime
) )
: :
solidBodyMotionFunction(SBMFCoeffs, runTime) solidBodyMotionFunction(SBMFCoeffs, runTime),
{ origin_(SBMFCoeffs_.lookup("origin")),
read(SBMFCoeffs); axis_(SBMFCoeffs_.lookup("axis")),
} omega_(DataEntry<scalar>::New("omega", SBMFCoeffs_))
{}
// * * * * * * * * * * * * * * * * Destructors * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Destructors * * * * * * * * * * * * * * * //
@ -73,16 +74,11 @@ Foam::solidBodyMotionFunctions::rotatingMotion::transformation() const
{ {
scalar t = time_.value(); scalar t = time_.value();
// Motion around a centre of gravity // Rotation around axis
vector eulerAngles = omega_->integrate(0, t)*axis_;
// Rotation around centre of gravity (in degrees)
vector eulerAngles = radialVelocity_*t;
// Convert the rotational motion from deg to rad
eulerAngles *= pi/180.0;
quaternion R(eulerAngles.x(), eulerAngles.y(), eulerAngles.z()); quaternion R(eulerAngles.x(), eulerAngles.y(), eulerAngles.z());
septernion TR(septernion(CofG_)*R*septernion(-CofG_)); septernion TR(septernion(origin_)*R*septernion(-origin_));
Info<< "solidBodyMotionFunctions::rotatingMotion::transformation(): " Info<< "solidBodyMotionFunctions::rotatingMotion::transformation(): "
<< "Time = " << t << " transformation: " << TR << endl; << "Time = " << t << " transformation: " << TR << endl;
@ -98,8 +94,10 @@ bool Foam::solidBodyMotionFunctions::rotatingMotion::read
{ {
solidBodyMotionFunction::read(SBMFCoeffs); solidBodyMotionFunction::read(SBMFCoeffs);
SBMFCoeffs_.lookup("CofG") >> CofG_; omega_.reset
SBMFCoeffs_.lookup("radialVelocity") >> radialVelocity_; (
DataEntry<scalar>::New("omega", SBMFCoeffs_).ptr()
);
return true; return true;
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,8 +25,10 @@ Class
Foam::solidBodyMotionFunctions::rotatingMotion Foam::solidBodyMotionFunctions::rotatingMotion
Description Description
SolidBodyMotionFvMesh 6DoF motion function. Constant SolidBodyMotionFvMesh 6DoF motion function.
velocity rotation around CoG.
The rotation is defined by an origin and axis of rotation and an angular
speed.
SourceFiles SourceFiles
rotatingMotion.C rotatingMotion.C
@ -39,6 +41,8 @@ SourceFiles
#include "solidBodyMotionFunction.H" #include "solidBodyMotionFunction.H"
#include "primitiveFields.H" #include "primitiveFields.H"
#include "point.H" #include "point.H"
#include "DataEntry.H"
#include "autoPtr.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -57,11 +61,14 @@ class rotatingMotion
{ {
// Private data // Private data
//- Centre of gravity //- Origin of the axis
point CofG_; const vector origin_;
//- Rotational velocity (deg/s) //- Axis vector
vector radialVelocity_; const vector axis_;
//- Angular velocty (rad/sec)
autoPtr<DataEntry<scalar> > omega_;
// Private Member Functions // Private Member Functions

View File

@ -33,7 +33,7 @@ outerInlet
meshMotionProperties meshMotionProperties
{ {
radialVelocity (0 0 1440); // deg/s omega 25; // rad/s
} }
#include "${FOAM_CASE}/constant/boundaryConditions" #include "${FOAM_CASE}/constant/boundaryConditions"

View File

@ -26,8 +26,9 @@ solidBodyMotionFvMeshCoeffs
solidBodyMotionFunction rotatingMotion; solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs rotatingMotionCoeffs
{ {
CofG (0 0 0); origin (0 0 0);
radialVelocity $:meshMotionProperties.radialVelocity; axis (0 0 1);
omega $:meshMotionProperties.omega;
} }
} }

View File

@ -20,6 +20,22 @@ FoamFile
104 104
( (
(0.0375 9.18455e-18 0.04)
(2.29614e-18 -0.0375 0.04)
(0.0125 3.06152e-18 0.04)
(-0.0375 -4.59227e-18 0.04)
(7.65379e-19 -0.0125 0.04)
(-6.88841e-18 0.0375 0.04)
(-0.0125 -1.53076e-18 0.04)
(0.0375 9.18455e-18 0.08)
(-2.29614e-18 0.0125 0.04)
(2.29614e-18 -0.0375 0.08)
(0.0125 3.06152e-18 0.08)
(-0.0375 -4.59227e-18 0.08)
(7.65379e-19 -0.0125 0.08)
(-6.88841e-18 0.0375 0.08)
(-0.0125 -1.53076e-18 0.08)
(-2.29614e-18 0.0125 0.08)
(-6.88841e-18 0.0375 0.055) (-6.88841e-18 0.0375 0.055)
(-6.88841e-18 0.0375 0.06) (-6.88841e-18 0.0375 0.06)
(0.0375 9.18455e-18 0.065) (0.0375 9.18455e-18 0.065)
@ -62,65 +78,49 @@ FoamFile
(0.0325 7.95994e-18 0.08) (0.0325 7.95994e-18 0.08)
(-0.0375 -4.59227e-18 0.07) (-0.0375 -4.59227e-18 0.07)
(7.65379e-19 -0.0125 0.07) (7.65379e-19 -0.0125 0.07)
(0.0375 9.18455e-18 0.04)
(0.0375 9.18455e-18 0.045) (0.0375 9.18455e-18 0.045)
(1.98999e-18 -0.0325 0.08) (1.98999e-18 -0.0325 0.08)
(-6.88841e-18 0.0375 0.07) (-6.88841e-18 0.0375 0.07)
(0.0375 9.18455e-18 0.075) (0.0375 9.18455e-18 0.075)
(-0.0125 -1.53076e-18 0.07) (-0.0125 -1.53076e-18 0.07)
(2.29614e-18 -0.0375 0.04)
(2.29614e-18 -0.0375 0.045) (2.29614e-18 -0.0375 0.045)
(0.0125 3.06152e-18 0.04)
(0.0125 3.06152e-18 0.045) (0.0125 3.06152e-18 0.045)
(0.0175 4.28612e-18 0.04) (0.0175 4.28612e-18 0.04)
(-0.0325 -3.97997e-18 0.08) (-0.0325 -3.97997e-18 0.08)
(2.29614e-18 -0.0375 0.075) (2.29614e-18 -0.0375 0.075)
(-2.29614e-18 0.0125 0.07) (-2.29614e-18 0.0125 0.07)
(0.0125 3.06152e-18 0.075) (0.0125 3.06152e-18 0.075)
(-0.0375 -4.59227e-18 0.04)
(-0.0375 -4.59227e-18 0.045) (-0.0375 -4.59227e-18 0.045)
(7.65379e-19 -0.0125 0.04)
(1.07153e-18 -0.0175 0.04) (1.07153e-18 -0.0175 0.04)
(7.65379e-19 -0.0125 0.045) (7.65379e-19 -0.0125 0.045)
(-5.96996e-18 0.0325 0.08) (-5.96996e-18 0.0325 0.08)
(-0.0375 -4.59227e-18 0.075) (-0.0375 -4.59227e-18 0.075)
(7.65379e-19 -0.0125 0.075) (7.65379e-19 -0.0125 0.075)
(-6.88841e-18 0.0375 0.04)
(-6.88841e-18 0.0375 0.045) (-6.88841e-18 0.0375 0.045)
(0.0375 9.18455e-18 0.05) (0.0375 9.18455e-18 0.05)
(-0.0125 -1.53076e-18 0.04)
(-0.0175 -2.14306e-18 0.04) (-0.0175 -2.14306e-18 0.04)
(-0.0125 -1.53076e-18 0.045) (-0.0125 -1.53076e-18 0.045)
(-6.88841e-18 0.0375 0.075) (-6.88841e-18 0.0375 0.075)
(0.0375 9.18455e-18 0.08)
(-0.0125 -1.53076e-18 0.075) (-0.0125 -1.53076e-18 0.075)
(2.29614e-18 -0.0375 0.05) (2.29614e-18 -0.0375 0.05)
(-2.29614e-18 0.0125 0.04)
(-3.21459e-18 0.0175 0.04) (-3.21459e-18 0.0175 0.04)
(-2.29614e-18 0.0125 0.045) (-2.29614e-18 0.0125 0.045)
(0.0125 3.06152e-18 0.05) (0.0125 3.06152e-18 0.05)
(2.29614e-18 -0.0375 0.08)
(-2.29614e-18 0.0125 0.075) (-2.29614e-18 0.0125 0.075)
(0.0125 3.06152e-18 0.08)
(0.0175 4.28612e-18 0.08) (0.0175 4.28612e-18 0.08)
(-0.0375 -4.59227e-18 0.05) (-0.0375 -4.59227e-18 0.05)
(7.65379e-19 -0.0125 0.05) (7.65379e-19 -0.0125 0.05)
(0.0225 5.51073e-18 0.04) (0.0225 5.51073e-18 0.04)
(-0.0375 -4.59227e-18 0.08)
(7.65379e-19 -0.0125 0.08)
(1.07153e-18 -0.0175 0.08) (1.07153e-18 -0.0175 0.08)
(-6.88841e-18 0.0375 0.05) (-6.88841e-18 0.0375 0.05)
(0.0375 9.18455e-18 0.055) (0.0375 9.18455e-18 0.055)
(-0.0125 -1.53076e-18 0.05) (-0.0125 -1.53076e-18 0.05)
(1.37768e-18 -0.0225 0.04) (1.37768e-18 -0.0225 0.04)
(-6.88841e-18 0.0375 0.08)
(-0.0125 -1.53076e-18 0.08)
(-0.0175 -2.14306e-18 0.08) (-0.0175 -2.14306e-18 0.08)
(2.29614e-18 -0.0375 0.055) (2.29614e-18 -0.0375 0.055)
(-2.29614e-18 0.0125 0.05) (-2.29614e-18 0.0125 0.05)
(0.0125 3.06152e-18 0.055) (0.0125 3.06152e-18 0.055)
(-0.0225 -2.75536e-18 0.04) (-0.0225 -2.75536e-18 0.04)
(-2.29614e-18 0.0125 0.08)
(-3.21459e-18 0.0175 0.08) (-3.21459e-18 0.0175 0.08)
(-0.0375 -4.59227e-18 0.055) (-0.0375 -4.59227e-18 0.055)
(7.65379e-19 -0.0125 0.055) (7.65379e-19 -0.0125 0.055)
@ -131,110 +131,110 @@ FoamFile
104 104
( (
(0 1)
(2 3)
(4 5)
(6 7)
(8 9)
(10 11)
(12 13)
(14 15)
(16 17) (16 17)
(18 19) (18 19)
(20 21) (20 21)
(22 23) (22 23)
(24 25) (24 25)
(26 27) (26 27)
(1 28) (28 29)
(29 2) (30 31)
(30 4) (32 33)
(31 32) (34 35)
(33 34) (36 37)
(11 35) (38 39)
(36 12) (40 41)
(15 37) (42 43)
(7 38) (17 44)
(9 39) (45 18)
(21 40) (46 20)
(41 22) (47 48)
(42 16) (49 50)
(43 42) (27 51)
(44 18) (52 28)
(28 45) (31 53)
(46 29) (23 54)
(47 30) (25 55)
(25 48)
(48 49)
(50 51)
(52 50)
(53 26)
(35 54)
(55 36)
(37 56) (37 56)
(32 57) (57 38)
(57 58) (0 32)
(59 60) (58 0)
(61 59) (59 34)
(62 33) (44 60)
(40 63) (61 45)
(64 41) (62 46)
(38 65) (41 1)
(65 66) (1 63)
(67 43) (2 64)
(68 69) (65 2)
(70 68) (66 42)
(45 71) (51 67)
(72 46) (68 52)
(39 72) (53 69)
(73 47) (48 3)
(49 74) (3 70)
(75 76) (4 71)
(77 75) (72 4)
(51 78) (73 49)
(79 44) (56 74)
(54 79) (75 57)
(80 55) (54 5)
(56 81) (5 76)
(81 82) (77 58)
(58 83) (6 78)
(84 61) (79 6)
(85 52) (60 80)
(86 53) (7 61)
(63 86) (55 7)
(87 64) (81 62)
(88 87) (63 82)
(66 89) (8 83)
(90 67) (84 8)
(91 70) (64 85)
(60 92) (9 59)
(93 62) (67 9)
(71 93) (86 68)
(94 73) (69 10)
(95 94) (10 87)
(74 96) (70 88)
(97 77) (89 72)
(78 98) (90 65)
(69 99) (11 66)
(100 80) (74 11)
(101 100) (12 75)
(83 102) (91 12)
(103 84) (76 92)
(76 6) (93 77)
(82 8) (94 79)
(89 0) (71 95)
(3 90) (13 73)
(5 91) (80 13)
(17 85) (14 81)
(19 88) (96 14)
(96 10) (82 97)
(13 97) (98 84)
(98 14) (85 99)
(92 24) (78 100)
(27 95) (15 86)
(102 20) (101 15)
(23 103) (88 102)
(99 31) (103 89)
(34 101) (83 22)
(87 24)
(92 16)
(19 93)
(21 94)
(33 90)
(35 91)
(97 26)
(29 98)
(99 30)
(95 40)
(43 96)
(102 36)
(39 103)
(100 47)
(50 101)
) )
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -20,6 +20,22 @@ FoamFile
352 352
( (
(0.08 1.95937e-17 0)
(4.89843e-18 -0.08 0)
(-0.08 -9.79685e-18 0)
(-1.46953e-17 0.08 0)
(0.1 2.44921e-17 0)
(6.12303e-18 -0.1 0)
(-0.1 -1.22461e-17 0)
(-1.83691e-17 0.1 0)
(0.08 1.95937e-17 0.2)
(4.89843e-18 -0.08 0.2)
(-0.08 -9.79685e-18 0.2)
(-1.46953e-17 0.08 0.2)
(0.1 2.44921e-17 0.2)
(6.12303e-18 -0.1 0.2)
(-0.1 -1.22461e-17 0.2)
(-1.83691e-17 0.1 0.2)
(-1.83691e-17 0.1 0.13) (-1.83691e-17 0.1 0.13)
(-1.83691e-17 0.1 0.135) (-1.83691e-17 0.1 0.135)
(0.08 1.95937e-17 0.065) (0.08 1.95937e-17 0.065)
@ -148,23 +164,19 @@ FoamFile
(-0.1 -1.22461e-17 0.14) (-0.1 -1.22461e-17 0.14)
(-1.83691e-17 0.1 0.065) (-1.83691e-17 0.1 0.065)
(-1.83691e-17 0.1 0.07) (-1.83691e-17 0.1 0.07)
(0.08 1.95937e-17 0)
(0.08 1.95937e-17 0.005) (0.08 1.95937e-17 0.005)
(0.085 2.08183e-17 0) (0.085 2.08183e-17 0)
(-1.83691e-17 0.1 0.14) (-1.83691e-17 0.1 0.14)
(0.08 1.95937e-17 0.075) (0.08 1.95937e-17 0.075)
(4.89843e-18 -0.08 0)
(5.20458e-18 -0.085 0) (5.20458e-18 -0.085 0)
(4.89843e-18 -0.08 0.005) (4.89843e-18 -0.08 0.005)
(0.08 1.95937e-17 0.145) (0.08 1.95937e-17 0.145)
(4.89843e-18 -0.08 0.075) (4.89843e-18 -0.08 0.075)
(-0.08 -9.79685e-18 0)
(-0.085 -1.04092e-17 0) (-0.085 -1.04092e-17 0)
(-0.08 -9.79685e-18 0.005) (-0.08 -9.79685e-18 0.005)
(4.89843e-18 -0.08 0.145) (4.89843e-18 -0.08 0.145)
(0.1 2.44921e-17 0.025) (0.1 2.44921e-17 0.025)
(-0.08 -9.79685e-18 0.075) (-0.08 -9.79685e-18 0.075)
(-1.46953e-17 0.08 0)
(-1.56137e-17 0.085 0) (-1.56137e-17 0.085 0)
(-1.46953e-17 0.08 0.005) (-1.46953e-17 0.08 0.005)
(0.1 2.44921e-17 0.095) (0.1 2.44921e-17 0.095)
@ -218,24 +230,20 @@ FoamFile
(4.89843e-18 -0.08 0.055) (4.89843e-18 -0.08 0.055)
(0.08 1.95937e-17 0.195) (0.08 1.95937e-17 0.195)
(4.89843e-18 -0.08 0.125) (4.89843e-18 -0.08 0.125)
(0.1 2.44921e-17 0)
(0.1 2.44921e-17 0.005) (0.1 2.44921e-17 0.005)
(-0.08 -9.79685e-18 0.055) (-0.08 -9.79685e-18 0.055)
(4.89843e-18 -0.08 0.195) (4.89843e-18 -0.08 0.195)
(0.1 2.44921e-17 0.075) (0.1 2.44921e-17 0.075)
(-0.08 -9.79685e-18 0.125) (-0.08 -9.79685e-18 0.125)
(6.12303e-18 -0.1 0)
(6.12303e-18 -0.1 0.005) (6.12303e-18 -0.1 0.005)
(-1.46953e-17 0.08 0.055) (-1.46953e-17 0.08 0.055)
(0.1 2.44921e-17 0.145) (0.1 2.44921e-17 0.145)
(-0.08 -9.79685e-18 0.195) (-0.08 -9.79685e-18 0.195)
(6.12303e-18 -0.1 0.075) (6.12303e-18 -0.1 0.075)
(-0.1 -1.22461e-17 0)
(-0.1 -1.22461e-17 0.005) (-0.1 -1.22461e-17 0.005)
(-1.46953e-17 0.08 0.125) (-1.46953e-17 0.08 0.125)
(6.12303e-18 -0.1 0.145) (6.12303e-18 -0.1 0.145)
(-0.1 -1.22461e-17 0.075) (-0.1 -1.22461e-17 0.075)
(-1.83691e-17 0.1 0)
(-1.83691e-17 0.1 0.005) (-1.83691e-17 0.1 0.005)
(-1.46953e-17 0.08 0.195) (-1.46953e-17 0.08 0.195)
(-0.1 -1.22461e-17 0.145) (-0.1 -1.22461e-17 0.145)
@ -292,14 +300,11 @@ FoamFile
(-1.83691e-17 0.1 0.195) (-1.83691e-17 0.1 0.195)
(0.08 1.95937e-17 0.13) (0.08 1.95937e-17 0.13)
(4.89843e-18 -0.08 0.06) (4.89843e-18 -0.08 0.06)
(0.08 1.95937e-17 0.2)
(0.085 2.08183e-17 0.2) (0.085 2.08183e-17 0.2)
(4.89843e-18 -0.08 0.13) (4.89843e-18 -0.08 0.13)
(4.89843e-18 -0.08 0.2)
(5.20458e-18 -0.085 0.2) (5.20458e-18 -0.085 0.2)
(0.1 2.44921e-17 0.01) (0.1 2.44921e-17 0.01)
(-0.08 -9.79685e-18 0.06) (-0.08 -9.79685e-18 0.06)
(-0.08 -9.79685e-18 0.2)
(-0.085 -1.04092e-17 0.2) (-0.085 -1.04092e-17 0.2)
(0.1 2.44921e-17 0.08) (0.1 2.44921e-17 0.08)
(-0.08 -9.79685e-18 0.13) (-0.08 -9.79685e-18 0.13)
@ -307,7 +312,6 @@ FoamFile
(-1.46953e-17 0.08 0.06) (-1.46953e-17 0.08 0.06)
(0.1 2.44921e-17 0.15) (0.1 2.44921e-17 0.15)
(6.12303e-18 -0.1 0.08) (6.12303e-18 -0.1 0.08)
(-1.46953e-17 0.08 0.2)
(-1.56137e-17 0.085 0.2) (-1.56137e-17 0.085 0.2)
(-0.1 -1.22461e-17 0.01) (-0.1 -1.22461e-17 0.01)
(-1.46953e-17 0.08 0.13) (-1.46953e-17 0.08 0.13)
@ -346,14 +350,10 @@ FoamFile
(6.12303e-18 -0.1 0.175) (6.12303e-18 -0.1 0.175)
(-0.1 -1.22461e-17 0.105) (-0.1 -1.22461e-17 0.105)
(-1.83691e-17 0.1 0.035) (-1.83691e-17 0.1 0.035)
(0.1 2.44921e-17 0.2)
(-0.1 -1.22461e-17 0.175) (-0.1 -1.22461e-17 0.175)
(6.12303e-18 -0.1 0.2)
(-1.83691e-17 0.1 0.105) (-1.83691e-17 0.1 0.105)
(0.08 1.95937e-17 0.04) (0.08 1.95937e-17 0.04)
(-0.1 -1.22461e-17 0.2)
(-1.83691e-17 0.1 0.175) (-1.83691e-17 0.1 0.175)
(-1.83691e-17 0.1 0.2)
(0.08 1.95937e-17 0.11) (0.08 1.95937e-17 0.11)
(4.89843e-18 -0.08 0.04) (4.89843e-18 -0.08 0.04)
(0.08 1.95937e-17 0.18) (0.08 1.95937e-17 0.18)
@ -379,14 +379,6 @@ FoamFile
352 352
( (
(0 1)
(2 3)
(4 5)
(6 7)
(8 9)
(10 11)
(12 13)
(14 15)
(16 17) (16 17)
(18 19) (18 19)
(20 21) (20 21)
@ -444,293 +436,301 @@ FoamFile
(124 125) (124 125)
(126 127) (126 127)
(128 129) (128 129)
(130 128) (130 131)
(1 131) (132 133)
(3 132) (134 135)
(133 134) (136 137)
(135 133)
(5 136)
(137 6)
(138 139) (138 139)
(140 138) (140 141)
(141 8) (142 143)
(142 10) (0 144)
(143 12) (145 0)
(144 145) (17 146)
(146 144) (19 147)
(147 14) (1 148)
(148 16) (149 1)
(19 149) (21 150)
(150 20)
(151 22) (151 22)
(25 152) (2 152)
(27 153) (153 2)
(154 28) (154 24)
(155 130) (155 26)
(31 156) (156 28)
(33 157) (3 157)
(35 158) (158 3)
(37 159) (159 30)
(39 160) (160 32)
(134 161) (35 161)
(41 162) (162 36)
(43 163) (163 38)
(45 164) (41 164)
(139 165) (43 165)
(166 46) (166 44)
(49 167) (167 145)
(168 50) (47 168)
(145 169) (49 169)
(170 52) (51 170)
(171 54) (53 171)
(172 56) (55 172)
(173 58) (148 173)
(174 60) (57 174)
(175 155) (59 175)
(176 62) (61 176)
(177 64) (152 177)
(67 178) (178 62)
(179 68) (65 179)
(180 70) (180 66)
(73 181) (157 181)
(75 182) (182 68)
(161 183) (183 70)
(184 76) (184 72)
(79 185) (185 74)
(81 186) (186 76)
(83 187) (187 167)
(85 188) (188 78)
(165 189) (189 80)
(87 190) (83 190)
(89 191) (191 84)
(91 192) (192 86)
(93 193) (89 193)
(169 194) (91 194)
(195 94) (173 195)
(97 196) (196 92)
(197 98) (95 197)
(198 175) (97 198)
(199 198) (99 199)
(200 100) (101 200)
(201 102) (177 201)
(202 104) (103 202)
(203 106) (105 203)
(183 204) (107 204)
(204 205) (109 205)
(206 108) (181 206)
(207 110) (207 110)
(208 112) (113 208)
(115 209) (209 114)
(189 210) (4 187)
(210 211) (210 4)
(212 116) (211 116)
(119 213) (212 118)
(121 214) (213 120)
(194 215) (214 122)
(215 216) (195 5)
(217 122) (5 215)
(125 218) (216 124)
(127 219) (217 126)
(129 220) (218 128)
(131 221) (131 219)
(132 222) (201 6)
(223 135) (6 220)
(136 224) (221 132)
(225 137) (135 222)
(226 140) (137 223)
(227 141) (206 7)
(228 142) (7 224)
(229 143) (225 138)
(230 146) (141 226)
(231 147) (143 227)
(232 148) (144 228)
(149 233) (146 229)
(234 150) (147 230)
(235 151) (231 149)
(152 236) (150 232)
(153 237) (233 151)
(238 154) (234 153)
(156 239) (235 154)
(157 240) (236 155)
(158 241) (237 156)
(159 242) (238 158)
(160 243) (239 159)
(162 244) (240 160)
(163 245) (161 241)
(164 246) (242 162)
(247 166) (243 163)
(167 248) (164 244)
(249 168) (165 245)
(250 170) (246 166)
(251 171) (168 247)
(252 172) (169 248)
(253 173) (170 249)
(254 174) (171 250)
(255 176) (172 251)
(256 177) (174 252)
(178 257) (175 253)
(258 179) (176 254)
(259 180) (255 178)
(181 260) (179 256)
(182 261) (257 180)
(262 184) (258 182)
(185 263) (259 183)
(186 264) (260 184)
(187 265) (261 185)
(188 266) (262 186)
(190 267) (263 188)
(191 268) (264 189)
(192 269) (190 265)
(193 270) (266 191)
(271 195) (267 192)
(196 272) (193 268)
(272 273) (194 269)
(274 197) (270 196)
(275 201) (197 271)
(276 275) (198 272)
(277 199) (199 273)
(278 200) (200 274)
(279 208) (202 275)
(280 279) (203 276)
(281 202) (204 277)
(282 203) (205 278)
(205 283) (279 207)
(284 206) (208 8)
(285 207) (8 280)
(209 286) (281 209)
(287 217) (9 212)
(288 287) (282 9)
(211 289) (283 210)
(290 212) (284 211)
(213 291) (10 218)
(214 292) (285 10)
(273 293) (286 213)
(216 294) (287 214)
(218 295) (215 288)
(296 276) (289 216)
(219 297) (290 217)
(220 298) (219 291)
(221 299) (11 225)
(300 280) (292 11)
(222 301) (220 293)
(302 223) (294 221)
(224 303) (222 295)
(304 288) (223 296)
(305 225) (280 297)
(293 306) (224 298)
(307 226) (226 299)
(308 227) (300 282)
(309 228) (227 301)
(310 229) (228 302)
(311 296) (229 303)
(312 230) (304 285)
(313 231) (230 305)
(314 232) (306 231)
(233 315) (232 307)
(316 300) (308 292)
(317 234) (309 233)
(318 235) (297 310)
(236 319) (311 234)
(237 320) (312 235)
(321 304) (313 236)
(322 238) (314 237)
(239 323) (315 300)
(240 324) (316 238)
(241 325) (317 239)
(326 259) (318 240)
(306 326) (241 319)
(242 327) (320 304)
(328 311) (321 242)
(263 328) (322 243)
(243 329) (244 323)
(244 330) (245 324)
(331 316) (325 308)
(266 331) (326 246)
(245 332) (247 327)
(333 321) (248 328)
(269 333) (249 329)
(246 334) (12 267)
(335 247) (310 12)
(248 336) (250 330)
(337 249) (13 315)
(338 250) (271 13)
(339 251) (251 331)
(340 252) (252 332)
(341 253) (14 320)
(342 254) (274 14)
(343 255) (253 333)
(344 256) (15 325)
(257 345) (277 15)
(346 258) (254 334)
(260 347) (335 255)
(261 348) (256 336)
(349 262) (337 257)
(264 350) (338 258)
(265 351) (339 259)
(267 0) (340 260)
(268 2) (341 261)
(270 4) (342 262)
(7 271) (343 263)
(9 274) (344 264)
(11 277) (265 345)
(13 278) (346 266)
(15 281) (268 347)
(17 282) (269 348)
(283 18) (349 270)
(21 284) (272 350)
(23 285) (273 351)
(286 24) (275 16)
(289 26) (276 18)
(29 290) (278 20)
(291 30) (23 279)
(292 32) (25 281)
(294 34) (27 283)
(295 36) (29 284)
(297 38) (31 286)
(298 40) (33 287)
(299 42) (288 34)
(301 44) (37 289)
(47 302) (39 290)
(303 48) (291 40)
(51 305) (293 42)
(53 307) (45 294)
(55 308) (295 46)
(57 309) (296 48)
(59 310) (298 50)
(61 312) (299 52)
(63 313) (301 54)
(65 314) (302 56)
(315 66) (303 58)
(69 317) (305 60)
(71 318) (63 306)
(319 72) (307 64)
(320 74) (67 309)
(77 322) (69 311)
(323 78) (71 312)
(324 80) (73 313)
(325 82) (75 314)
(327 84) (77 316)
(329 86) (79 317)
(330 88) (81 318)
(332 90) (319 82)
(334 92) (85 321)
(95 335) (87 322)
(336 96) (323 88)
(99 337) (324 90)
(101 338) (93 326)
(103 339) (327 94)
(105 340) (328 96)
(107 341) (329 98)
(109 342) (330 100)
(111 343) (331 102)
(113 344) (332 104)
(345 114) (333 106)
(117 346) (334 108)
(347 118) (111 335)
(348 120) (336 112)
(123 349) (115 337)
(350 124) (117 338)
(351 126) (119 339)
(121 340)
(123 341)
(125 342)
(127 343)
(129 344)
(345 130)
(133 346)
(347 134)
(348 136)
(139 349)
(350 140)
(351 142)
) )
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -26,8 +26,9 @@ solidBodyMotionFvMeshCoeffs
solidBodyMotionFunction rotatingMotion; solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs rotatingMotionCoeffs
{ {
CofG (0 0 0); origin (0 0 0);
radialVelocity (0 0 360); // deg/s axis (0 0 1);
omega 6.2832; // rad/s
} }
} }

View File

@ -26,8 +26,9 @@ solidBodyMotionFvMeshCoeffs
solidBodyMotionFunction rotatingMotion; solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs rotatingMotionCoeffs
{ {
CofG (0 0 0); origin (0 0 0);
radialVelocity (0 9000 0); // deg/s axis (0 1 0);
omega 158; // rad/s
} }
} }

View File

@ -26,8 +26,9 @@ solidBodyMotionFvMeshCoeffs
solidBodyMotionFunction rotatingMotion; solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs rotatingMotionCoeffs
{ {
CofG (0 0 0); origin (0 0 0);
radialVelocity (0 0 -288); // deg/s -> 5 rad/s -> 48 rpm axis (0 0 1);
omega -5; // 5 rad/s
} }
} }

View File

@ -29,8 +29,9 @@ solidBodyMotionFvMeshCoeffs
solidBodyMotionFunction rotatingMotion; solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs rotatingMotionCoeffs
{ {
CofG (0 0.1 0); origin (0 0.1 0);
radialVelocity (0 0 360); // degrees/s axis (0 0 1);
omega 6.2832; // rad/s
} }
} }
@ -40,17 +41,19 @@ solidBodyMotionFvMeshCoeffs
// solidBodyMotionFunction rotatingMotion; // solidBodyMotionFunction rotatingMotion;
// rotatingMotionCoeffs // rotatingMotionCoeffs
// { // {
// CofG (0 0 0); // origin (0 0 0);
// radialVelocity (720 0 0); // degrees/s // axis (1 0 0);
// omega 12.5664; // rad/s
// } // }
//} //}
// Tube rocking on rotating table // Tube rocking on rotating table
rotatingBox rotatingBox
{ {
solidBodyMotionFunction oscillatingRotatingMotion; solidBodyMotionFunction oscillatingRotatingMotion;
oscillatingRotatingMotionCoeffs oscillatingRotatingMotionCoeffs
{ {
CofG (0 0 0); origin (0 0 0);
omega 40; // rad/s omega 40; // rad/s
amplitude (45 0 0); // 45 degrees max tilt amplitude (45 0 0); // 45 degrees max tilt
} }