- Apr 12, 2016
-
-
Henry Weller authored
Replaced with 'unitQuaterion()' virtual function to indicate if the joint uses a unit quaternion to represent rotation.
-
Henry Weller authored
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.
-
Henry Weller authored
//- Return the unit quaternion (versor) from the given vector // (w = sqrt(1 - |sqr(v)|)) static inline quaternion unit(const vector& v);
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
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.
-
Henry Weller authored
“Error when reading ascii data. Possible mismatch of datasize with declaration.” Patch contributed by Karl Meredith, FMGlobal
-
- Apr 11, 2016
-
-
Henry Weller authored
This is a more convenient way of maintaining the state or multiple states (for higher-order integration), storing, retrieving and passing between processors.
-
Henry Weller authored
-
Henry Weller authored
Included for backward-compatibility with the 6-DoF solver but in the future will be re-implemented as a joint rather than body restraint and accumulated in tau (internal forces) rather than fx (external forces).
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
- Apr 10, 2016
-
-
Henry Weller authored
applications/test/rigidBodyDynamics/spring: Test of the linear spring with damper restraint Damped simple harmonic motion of a weight on a spring is simulated and the results compared with analytical solution Test-spring gnuplot spring.gnuplot evince spring.eps This development is sponsored by Carnegie Wave Energy Ltd.
-
Henry Weller authored
rigidBodyDynamics/bodies/subBody: Changed "parent" to "master" to avoid confusion with the parent to which this composite body is joined
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
- Apr 08, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
Added support for composite joints including a specialized 6-DoF form for floating bodies.
-
- Apr 07, 2016
-
-
Henry Weller authored
rigidBodyDynamics/bodies: Complete set of clone functions to support copy construction and assignment
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
- Apr 06, 2016
-
-
Henry Weller authored
e.g. (fvc::interpolate(HbyA) & mesh.Sf()) -> fvc::flux(HbyA) This removes the need to create an intermediate face-vector field when computing fluxes which is more efficient, reduces the peak storage and improved cache coherency in addition to providing a simpler and cleaner API.
-
Henry Weller authored
dotInterpolate interpolates the field and "dots" the resulting face-values with the vector field provided which removes the need to create a temporary field for the interpolate. This reduces the peak storage of OpenFOAM caused by the divergence of the gradient of vector fields, improves memory management and under some conditions decreases run-time. This development is based on a patch contributed by Paul Edwards, Intel.
-
Henry Weller authored
to allow the construction of vtables for virtual member functions involving the inner-products of fields for which a "NotImplemented" specialization for scalar is provided.
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
src/Pstream/mpi/UPstream.C: Cast-away const-ness for backard-compatibility with OpenMPI versions < 1.7.4 Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2044
-
- Apr 04, 2016
-
-
Henry Weller authored
-
Henry Weller authored
applications/test/rigidBodyDynamics/pendulum: Simplified using sphere constructor and body lookup by name
-