- Apr 12, 2016
-
-
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.
-
- 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
-
- 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
-
- Apr 08, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
- Apr 07, 2016
-
-
Henry Weller authored
rigidBodyDynamics/bodies: Complete set of clone functions to support copy construction and assignment
-
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.
-
- Apr 04, 2016
-
-
Henry Weller authored
applications/test/rigidBodyDynamics/pendulum: Simplified using sphere constructor and body lookup by name
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
Patch contributed by Bruno Santos Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=2042
-
- Apr 03, 2016
-
-
Henry Weller authored
applications/test/rigidBodyDynamics/pendulum: Very simple test/demonstration of the rigidBodyDynamics library Simple swinging pendulum simulation with 1-DoF. The motion is integrated using a symplectic method for just over 2-periods.
-
Henry Weller authored
//- Disallow default shallow-copy assignment // // Assignment of UList<T> may need to be either shallow (copy pointer) // or deep (copy elements) depending on context or the particular type // of list derived from UList and it is confusing and prone to error // for the default assignment to be either. The solution is to // disallow default assignment and provide separate 'shallowCopy' and // 'deepCopy' member functions. void operator=(const UList<T>&) = delete; //- Copy the pointer held by the given UList. inline void shallowCopy(const UList<T>&); //- Copy elements of the given UList. void deepCopy(const UList<T>&);
-
- Apr 02, 2016
-
-
Henry Weller authored
-
Henry Weller authored
Contributed by Mattijs Janssens. 1. Any non-blocking data exchange needs to know in advance the sizes to receive so it can size the buffer. For "halo" exchanges this is not a problem since the sizes are known in advance but or all other data exchanges these sizes need to be exchanged in advance. This was previously done by having all processors send the sizes of data to send to the master and send it back such that all processors - had the same information - all could work out who was sending what to where and hence what needed to be received. This is now changed such that we only send the size to the destination processor (instead of to all as previously). This means that - the list of sizes to send is now of size nProcs v.s. nProcs*nProcs before - we cut out the route to the master and back by using a native MPI call It causes a small change to the API of exchange and PstreamBuffers - they now return the sizes of the local buffers only (a labelList) and not the sizes of the buffers on all processors (labelListList) 2. Reversing the order of the way in which the sending is done when scattering information from the master processor to the other processors. This is done in a tree like fashion. Each processor has a set of processors to receive from/ send to. When receiving it will first receive from the processors with the least amount of sub-processors (i.e. the ones which return first). When sending it needs to do the opposite: start sending to the processor with the most amount of sub-tree since this is the critical path.
-
- Mar 24, 2016
-
-
Henry Weller authored
-
Henry Weller authored
This development is sponsored by Carnegie Wave Energy Ltd.
-
- Mar 23, 2016
-
-
Henry Weller authored
of symmetric positive-definite matrices and the solution of associated linear systems.
-
- Mar 22, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
This avoids the need to check that the m and n dimensions are the same.
-
Henry Weller authored
Patch contributed by Bruno Santos: - "etc/config.sh/CGAL": - Indented the contents of the recently added if block. - Added comment about using system versions. - Library paths are now only added if the respective version is not "boost-system" and "cgal-system". - "src/renumber/Allwmake": It now relies on the previous file to get the version for Boost (the same way as in "makeCGAL"). This is so that it will also build "SloanRenumber" if "boost_version" is set to "boost-system". - "applications/utilities/mesh/generation/Allwmake": It now also relies on the script "config.sh/CGAL" to get the version for CGAL. If "cgal_version" is set to "cgal-system", it will now also build "foamy*Mesh" utilities and respective libraries. Resolves report http://www.openfoam.org/mantisbt/view.php?id=1232
-
- Mar 20, 2016
-
-
Henry Weller authored
-
Henry Weller authored
This change brings OpenFOAM into line with the standard matrix addressing in other C++ libraries for better interoperability.
-
- Mar 17, 2016
-
-
Henry Weller authored
to update the interfacial temperature. Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2029
-
- Mar 15, 2016
-
-
Henry Weller authored
-
- Mar 14, 2016
-
-
Henry Weller authored
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2024
-
Henry Weller authored
Contributed by Bruno Santos Resolves patch report http://www.openfoam.org/mantisbt/view.php?id=2023 Update online documentation http://openfoam.github.io/Documentation-dev/html/
-
Henry Weller authored
The particular rotation sequence is specified via the enumeration: //- Euler-angle rotation sequence enum rotationSequence { ZYX, ZYZ, ZXY, ZXZ, YXZ, YXY, YZX, YZY, XYZ, XYX, XZY, XZX }; and provided as an argument to the constructor from Euler-angles //- Construct a quaternion given the three Euler angles: inline quaternion ( const rotationSequence rs, const vector& angles ); and conversion to Euler-angles: //- Return a vector of euler angles corresponding to the // specified rotation sequence inline vector eulerAngles(const rotationSequence rs) const;
-
- Mar 08, 2016
-
-
Henry Weller authored
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=2022
-
- Mar 07, 2016
-
-
Henry Weller authored
-