Henry Weller
6edac8f9ca
reactingTwoPhaseEulerFoam: Corrected kineticTheory frictional stress at walls
...
Patch contributed by Juho Peltola, VTT
The new JohnsonJacksonSchaefferFrictionalStress model is included and
the LBend tutorial case to demonstrate the need for the changes to the
frictional stress models.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2058
2016-04-22 14:25:58 +01:00
Henry Weller
f33b40c202
foamCalcFunctions: Avoid the inclusion of fvCFD.H
2016-04-22 14:21:50 +01:00
Henry Weller
449a9ecc08
tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle: Added alphaPhi to correctFluxes
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2062
2016-04-21 21:19:01 +01:00
Henry Weller
19636b2244
tutorials/incompressible/pisoFoam/les/motorBike: Corrected typos
...
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=2061
2016-04-21 21:13:10 +01:00
Henry Weller
db1f124025
dictionary: Corrected topDict()
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2060
2016-04-21 21:08:56 +01:00
Henry Weller
56059e7fb9
Tensor, SymmTensor: Simplified invariantII
...
Now the calculation of the 2nd-invariant is more efficient and
accumulates less round-off error.
2016-04-21 21:07:39 +01:00
Henry Weller
0da5b0f989
Updated headers
2016-04-21 21:07:28 +01:00
Henry Weller
d327a3f431
utilities/mesh/manipulation: Rationalized "End" message
2016-04-21 21:06:45 +01:00
Henry Weller
1c2c1d83e7
transformPoints: Added "End" message
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2059
2016-04-21 21:05:47 +01:00
Henry Weller
f7775abfe4
README.org: Added link to the OpenFOAM C++ Style Guide
2016-04-20 18:23:59 +01:00
Henry Weller
7cb36e7f3f
codingStyleGuide: Corrected sectioning
2016-04-20 10:33:19 +01:00
Henry Weller
858146ca4b
rigidBodyDynamics: Generalized the interface to the restraints
...
Now internal forces and restraints may be applied between bodies within
the articulated structure.
2016-04-19 21:58:10 +01:00
Henry Weller
39bfef2b11
src/Allwmake: Added the new rigidBodyMeshMotion library
2016-04-19 11:11:22 +01:00
Henry Weller
c13fe024f8
tutorials/multiphase/interDyMFoam/ras/DTCHull: Updated to use the rigidBodyDynamics solver
2016-04-19 10:35:09 +01:00
Henry Weller
ccbb0b93c6
rigidBodyDynamics: Added support for running in parallel
...
The joint-space dynamics is solved on the master processor only and the
resulting joint-state distributed to the slave processors on which the
body-state is then updated. This guarantees consistency of the body
position and orientation on all processors.
2016-04-19 10:32:25 +01:00
Henry Weller
30a46904e5
doc/codingStyleGuide.org: Added specification references in class headers
2016-04-19 10:02:14 +01:00
Henry Weller
b97b44f113
tutorials/multiphase/interDyMFoam/ras/floatingObject: Updated to use rigidBodyDynamics
2016-04-18 15:41:10 +01:00
Henry Weller
04485798c4
Updated header
2016-04-18 15:40:57 +01:00
Henry Weller
ebf0011020
src/rigidBodyDynamics/rigidBodyMotion: Added support for acceleration relaxation
2016-04-18 15:40:23 +01:00
Henry Weller
51bb50935c
rigidBodyDynamics/bodies/sphere: Added support for the centre of mass being offset from the centre of rotation
2016-04-18 15:39:07 +01:00
Henry Weller
cca76719d5
rigidBodyDynamics/bodies/cuboid: New body shape
...
Calculate the inertia from the lengths of the sides
2016-04-18 15:37:57 +01:00
Henry Weller
99a987f1d5
src/OpenFOAM/primitives: inherit operator=(const Foam::zero) from base class where appropriate
2016-04-17 21:02:57 +01:00
Henry Weller
76e22b44ea
applications/test/rigidBodyDynamics/pendulumAndSpring: Another slightly more complex test
2016-04-17 15:47:03 +01:00
Henry Weller
189c6c6820
rigidBodyMeshMotion: Read initial state and g from dictionary if present
2016-04-17 15:46:22 +01:00
Henry Weller
bac78ef989
PtrListIO: Indent list elements on output.
...
Particularly useful for lists of dictionaries.
2016-04-17 15:45:29 +01:00
Henry Weller
04fe885920
BrownianMotionForce: Corrected expression for s0
...
Patch provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2036
2016-04-17 15:39:09 +01:00
Henry Weller
c1c4862028
Updated references
...
See also http://www.openfoam.org/mantisbt/view.php?id=2036
2016-04-17 15:29:51 +01:00
Henry Weller
eda27b9e75
externalWallHeatFluxTemperatureFvPatchScalarField: Corrected handling of QrPrevious_
...
Patch contributed by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2052
2016-04-16 18:43:51 +01:00
Henry Weller
287603474a
vector::zero -> Zero
2016-04-16 18:34:41 +01:00
Henry Weller
04e4e1a7bb
rigidBodyMeshMotion: displacementMotionSolver for the mesh-motion of multiple articulated rigid-bodies
...
The motion of the bodies is integrated using the rigidBodyDynamics
library with joints, restraints and external forces.
The mesh-motion is interpolated using septernion averaging.
This development is sponsored by Carnegie Wave Energy Ltd.
2016-04-16 16:02:25 +01:00
Henry Weller
831e429dc8
linearSpring: Minor improvement in messages
2016-04-16 16:01:38 +01:00
Henry Weller
fc32d53828
quaternion/septernion: Added multi- quaternion/septernion averaging
...
Using method based on
http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20070017872.pdf
but simplified for the case where the quaternions are similar.
2016-04-16 15:59:05 +01:00
Henry Weller
d02e0aa05f
src/Pstream/mpi/UPstream.C: Updated for Int64
...
Patch contributed by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2055
2016-04-16 13:26:41 +01:00
Henry Weller
2c2a7f5b97
doc/Doxygen/_Footer: Updated link to http://openfoam.org
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2053
2016-04-16 09:57:25 +01:00
Henry Weller
40ccb21eb3
doc/Doxygen/_Footer: Updated copyright date
...
Patch contributed by Bruno Santos
2016-04-16 09:54:21 +01:00
Henry Weller
81b13d0244
sixDoFRigidBodyMotion: Updated for change in definition of septernion::transform
2016-04-15 11:33:06 +01:00
Henry Weller
860a82c0d4
vector::zero -> Zero
2016-04-15 11:32:42 +01:00
Henry Weller
6a5d5e903e
septernion: Changed definition of the forward transformation for consistency with spatialTransform
...
inline Foam::vector Foam::septernion::transformPoint(const vector& v) const
{
return r().transform(v - t());
}
Now there is a 1:1 correspondence between septernion and
spatialTransform and a septernion constructor from spatialTransform
provided.
Additionally "septernion::transform" has been renamed
"septernion::transformPoint" to clarify that it transforms coordinate
points rather than displacements or other relative vectors.
2016-04-15 11:27:18 +01:00
Henry Weller
980717ad36
rigidBodySolver: Updated comments
2016-04-12 22:23:04 +01:00
Henry Weller
bc70e36915
rigidBodyDynamics: Removed quaternion counter and index: 'nw', 'wIndex'
...
Replaced with 'unitQuaterion()' virtual function to indicate if the
joint uses a unit quaternion to represent rotation.
2016-04-12 22:17:52 +01:00
Henry Weller
df1cb90dc6
rigidBodyDynamics: Simplify handling of quaternions by maintaining a unit quaternion in the joint state field 'q'
...
'w' is now obtained from 'v' using the relation w = sqrt(1 - |sqr(v)|)
and 'v' is stored in the joint state field 'q' and integrated in the
usual manner but corrected using quaternion transformations.
2016-04-12 21:44:34 +01:00
Henry Weller
4197cb075a
quaternion: Added static member function to return a unit quaternion constructed from a vector
...
//- Return the unit quaternion (versor) from the given vector
// (w = sqrt(1 - |sqr(v)|))
static inline quaternion unit(const vector& v);
2016-04-12 21:43:03 +01:00
Henry Weller
4a7f5ed19a
applications/test/rigidBodyDynamics/sphericalJoint: Test for the quaternion-based spherical joint
2016-04-12 16:37:52 +01:00
Henry Weller
b2563a8f1b
applications/test/rigidBodyDynamics/spring: Updated comment
2016-04-12 16:37:26 +01:00
Henry Weller
591cb1d11e
rigidBodyDynamics/rigidBodySolvers: Added support for the integration of quaternion joints
2016-04-12 16:16:57 +01:00
Henry Weller
ab6fcff621
applications/test/rigidBodyDynamics/spring: Correct typo
2016-04-12 16:16:30 +01:00
Henry Weller
9e24a9b5e2
rigidBodyDynamics: Simplified the interface to the solvers
2016-04-12 12:57:31 +01:00
Henry Weller
5cfd0fbd47
Updated header
2016-04-12 11:36:59 +01:00
Henry Weller
c07bc87f95
rigidBodyDynamics/rigidBodySolvers: Added run-time selectable solvers to integrate the rigid-body motion
...
Currently supported solvers: symplectic, Newmark, CrankNicolson
The symplectic solver should only be used if iteration over the forces
and body-motion is not required. Newmark and CrankNicolson both require
iteration to provide 2nd-order behavior.
See applications/test/rigidBodyDynamics/spring for an example of the
application of the Newmark solver.
This development is sponsored by Carnegie Wave Energy Ltd.
2016-04-12 11:33:20 +01:00
Henry Weller
f4baa3a864
vtkSurfaceWriter: Changed precision of points to "double" to avoid the error
...
“Error when reading ascii data. Possible mismatch of datasize with
declaration.”
Patch contributed by Karl Meredith, FMGlobal
2016-04-12 09:03:12 +01:00