Commit Graph

119 Commits

Author SHA1 Message Date
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
23a8779379 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
b4ebcd770f quaternion: Added generalized construction from and conversion to Euler-angles
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;
2016-03-14 08:07:42 +00:00
cd852be3da OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp
The deprecated non-const tmp functionality is now on the compiler switch
NON_CONST_TMP which can be enabled by adding -DNON_CONST_TMP to EXE_INC
in the Make/options file.  However, it is recommended to upgrade all
code to the new safer tmp by using the '.ref()' member function rather
than the non-const '()' dereference operator when non-const access to
the temporary object is required.

Please report any problems on Mantis.

Henry G. Weller
CFD Direct.
2016-02-26 17:31:28 +00:00
f4ba71ddd0 OpenFOAM libraries: Updated to use the new const-safe tmp 2016-02-26 08:13:59 +00:00
968c888fc4 Rename DataEntry -> Function1
Function1 is an abstract base-class of run-time selectable unary
functions which may be composed of other Function1's allowing the user
to specify complex functions of a single scalar variable, e.g. time.
The implementations need not be a simple or continuous functions;
interpolated tables and polynomials are also supported.  In fact form of
mapping between a single scalar input and a single primitive type output
is supportable.

The primary application of Function1 is in time-varying boundary
conditions, it also used for other functions of time, e.g. injected mass
is spray simulations but is not limited to functions of time.
2016-02-08 16:18:07 +00:00
68e86f97fe Info -> InfoInFunction and updated comments 2016-01-20 10:18:13 +00:00
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
f0c3e8d599 STYLE: Updated version to 'plus' 2015-12-22 23:14:17 +00:00
e2cefb1a10 BUG: dynamic refinement: unrefinement was not looking at protectedCell
cells that are protected should neither be refined nor unrefined. Fixed
the logic: if any of the cells to-be-merged (=unrefined) is protected
do not unrefine.
2015-12-09 17:05:30 +00:00
5c9dff6146 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
c4d5f65a10 Completed update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
d0b23bec38 solidBodyMotionFvMesh: Fixed typo
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1854
2015-09-23 15:55:54 +01:00
e81e6155db dynamicRefineFvMesh: Updated for new sigFpe 2015-07-19 12:44:15 +01:00
99d72cee8a dynamicRefineFvMesh: Updated for new sigFpe 2015-07-19 12:43:47 +01:00
194b1e0bf9 solidBodyMotionFunctions/SDA: Corrected the "See also"
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=1529
2015-02-14 15:58:09 +00:00
0ea062816e Correct section comment: there can only be one destructor 2015-02-12 21:57:29 +00:00
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
4015a344cd ENH: dynamicRefineFvMesh: #1203 base unrefinement on max, not min of surrounding cells 2014-05-28 15:23:56 +01:00
c36677f1d9 rotatingMotion: Corrected construction of quaternion for non-coordinate axis rotation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1306
2014-05-28 11:54:42 +01:00
1b89c7e38c STYLE: dynamicRefineFvMesh: typo 2014-05-27 15:41:13 +01:00
e71788f323 BUG: solidBodyMotionFvMesh - correct parallel running after commit f3f82ff 2014-04-09 09:12:46 +01:00
7ee82c56a1 ENH: solidBodMotionFvMesh - add support for specifying cells by cellSet 2014-04-08 11:54:49 +01:00
3541dad6d4 BUG: dynamicRefineFvMesh: stricter checking of non-refinable cells 2014-02-05 10:45:07 +00:00
8f26a77443 STYLE: Minor code formatting 2014-01-13 17:40:28 +00:00
61d7e8fc52 ENH: solidBodyMotionFvMesh - Added check to ensure cellZone is set 2014-01-09 12:56:10 +00:00
08a9d05ccd ENH: polyMesh: update pointMesh. 2013-12-17 09:02:25 +00:00
209cc1d538 ENH: solidBodyMotion: added pointDisplacement bc 2013-12-05 12:23:12 +00:00
096ff01e52 ENH: dynamicRefineFvMesh: added option for NaN 2013-09-20 17:29:08 +01:00
f75138d1f6 solidBodyMotionFunctions: Changed CofG to origin where appropriate and support run-time selectable omega specification in rotatingMotion 2013-07-30 09:41:27 +01:00
2812024796 Update headers 2013-02-26 22:20:05 +00:00
0afb3ab1ac MeshObject: extended to support movePoints and updateMesh as an alternative to call-backs
All MeshObjects are now handled generically in polyMesh and fvMesh
See MeshObject.H for details
2013-02-26 22:19:28 +00:00
100a25ee25 STYLE: defineDebug: move into Foam namespace 2012-12-17 17:35:42 +00:00
83cb3df56b ENH: Updated debug for parallel running 2012-12-07 16:35:18 +00:00
b7a8e8b5ac ENH: dynamicFvMesh: added region support 2012-09-20 12:53:52 +01:00
da70726881 dynamicMotionSolverFvMesh.C: Removed temporary relaxation 2012-08-24 11:41:59 +01:00
a80708c8f2 dynamicMotionSolverFvMesh: Revert temporary relaxation hack 2012-08-23 16:51:04 +01:00
26abc53885 Updated headers 2012-08-23 11:39:13 +01:00
8f4b56b3c3 Thermodynamics: Rationalised the base classes for fluid and solid thermo.
New base class for fluid and solid thermo: veryBasicThermo
Base class for fluid thermo: basicThermo (derived from veryBasicThermo)
Base class for solid thermo: solidThermo (derived from veryBasicThermo)

Note in next commit basicThermo -> fluidThermo, veryBasicThermo -> basicThermo
2012-08-23 11:39:02 +01:00
7435d65a60 ENH: Corrected ambiguous construction from tmp msgs (llvm/clang) 2012-04-16 10:05:13 +01:00
806bdec178 BUG: axisRotationMotion: fix angle specification 2012-03-13 13:03:31 +00:00
51613abb86 ENH: dynamicFvMesh: multi-region support 2012-03-09 08:50:28 +00:00
f254714829 ENH: axisRotationMotion: solidbody motion with roation axis specified (v.s. eulerangles for rotatingMotion) 2012-03-07 11:48:20 +00:00
42069b5077 ENH: multiSolidBodyMotionFvMesh: multiple solid body rotations 2012-03-06 16:38:51 +00:00
8667536a2b ENH: various: move boundaryField(), internalField() out of loop 2011-12-02 10:38:18 +00:00
9011d3f901 ENH: solidBodyFvMotionMesh: added check on points 2011-11-15 15:10:37 +00:00
821f43c950 BUG: solidBodyMotionFvMesh: zero-cellZone processor would decide to move all points 2011-11-11 09:10:17 +00:00
b96eb963f9 ENH: dynamicRefineFvMesh: check all fluxes for interpolation 2011-09-28 12:28:34 +01:00
4f40cdb7d7 GIT: Resolve conflict 2011-08-16 16:09:56 +01:00