Commit Graph

54 Commits

Author SHA1 Message Date
0ca515e3b1 Merge remote branch 'OpenCFD/master' into olesenm 2010-06-02 10:46:45 +02:00
ed6041eb50 ENH: Adding more useful information to sixDoFRigidBodyMotion restraint
reporting.

Making sixDoFRigidBodyMotionConstraints less verbose by default, now
requires debug switch to be set.
2010-05-31 12:00:53 +01:00
f9f988d82f Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.C
2010-05-31 11:50:56 +02:00
9525d57d71 STYLE: use readIfPresent instead of found/lookup combination 2010-05-20 08:52:45 +02:00
1f1fea9868 STYLE: copy-paste legacy in SourceFiles list. 2010-05-14 18:48:22 +01:00
a0aa574dd2 ENH: sixDoFRigidBodyDisplacement. Adding g lookup from BC dict when
not available from db.
2010-05-11 16:28:05 +01:00
be8c67a242 ENH: sixDoFRigidBodyDisplacement rho field handling.
Removing rhoInf from uncoupledSixDoF... patch, not needed.  Adding
optional rhoName entry to sixDoF... so no rhoInf entry is needed for
simulations that have a rho field, and require than a rhoInf value is
read for those that don't.
2010-05-11 12:09:58 +01:00
19f9f9b5e4 BUG: sixDoFRigidBodyMotionRestraint. Stabilisation of divisions. 2010-04-28 10:35:13 +01:00
03338b9ea9 STYLE: partial revert for 5cfa97624e 2010-04-23 10:23:08 +02:00
5cfa97624e STYLE: more consistent New methods, use unregistered IOobject where appropriate 2010-04-20 17:13:35 +02:00
937e0d23d0 STYLE: consistent naming of files containing the 'New' method
before:
    - 'new' prefixed to camel-cased class name: eg, someClass -> newSomeClass
    - 'New' prefixed to templated class name:   eg, TmplClass -> NewTmplClass
    - 'New' suffixed to class name:             eg, someClass -> someClassNew

after:
    - consistent 'New' suffixed to class name, no change of case
          eg, someClass -> someClassNew
          eg, TmplClass -> TmplClassNew
2010-04-13 18:47:47 +02:00
b6f3bd4c23 STYLE: follow coding guide recommendation for '//- Destructor' 2010-04-12 11:55:52 +02:00
a30f977dc5 STYLE: avoid namespace { ... } in functionObject source code 2010-04-09 14:09:42 +02:00
c508b2fe17 STYLE: consistent capitalization of Private/Protected Member Functions in comments 2010-03-30 11:33:42 +02:00
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
536e2fd413 BUG: fvMotionSolver/pointPatchFields which store p0, the initial
position of patch points.  Adding autoMap and rmap functions to
correctly handle p0 on decomposition and reconstruction.
2010-02-24 14:14:08 +00:00
a950efe49e BUG: sixDoFRigidBodyMotion. Fixing problems that only occur when
orientation != I at start.

Being more careful with when using directions relative to the absolute
axes or the direction of something relative to its initial direction.

Renaming p0, v0 to pInitial, vInitial to be clearer.

fixedOrientation constraint does not need a reference orientation, as
it is not to move at all, relative to any orientation, so the
Cartesian axes are fine.
2010-02-09 15:02:27 +00:00
86de68de76 ENH: sixDoFRigidBodyMotion. Variable renaming and addition of
initialOrientation.

Rename of IO to more understandable terms.  Rename ref to initial
where correct - ref is to do with the object being in Q = I state,
inital is to do with where things are when the motion starts and
pointDisplacement and value are zero.

Adding initialOrientation so that non Q = I initial states are
correct.
2010-02-08 19:10:04 +00:00
cbf807ca3c ENH: sixDoFRigidBodyMotion. Rewritten write function.
Now storing name of restrain or constraint in list in the
sixDoFRigidBodyMotion object.  Added a write method to all constraints
and restraints.
2010-02-05 20:07:22 +00:00
c0b236ec0e ENH: sixDoFRigidBodyMotion. Adding constraint and restraint names
wordLists.

BUG: sixDoFRigidBodyMotion.  Fixing naming of maxConstraintIterations_
inconsistency.
2010-02-05 17:07:41 +00:00
bcc32e1516 BUG: sixDoFRigidBodyMotion. Adding autoMap and rmap to BC. 2010-02-05 15:05:19 +00:00
fbcfa196f2 BUG: sixDoFRigidBodyMotion. Was not skipping constraints and
restraints when there were none read.  Was not a problem for
restraints, but constraints were stopping the code on a maxIteration
trap, as it defaults to zero.
2010-02-04 19:26:19 +00:00
3afda6ea3e ENC: sixDoFRigidBodyMotion. Moving reporting of constraint and
restraint data to the classes themselves to allow class specific data
to be reported.
2010-02-03 16:41:32 +00:00
0f3e416001 BUG: sixDoFRigidBodyMotion. tabulatedAxialAngularSpring is now
tabulated with moment vs angle, not stiffness vs angle.
2010-02-02 21:13:29 +00:00
c931631ffb BUG: sixDoFRigidBodyMotion. Fixing nan appearances when argument of acos > 1.0
Adding more constraint reporting.

Changed order of evaluation of while condition to make +iter first,
otherwise doesn't increment iter, reporting 0 iterations.
2010-02-02 19:12:03 +00:00
2170345d9e ENC: sixDoFRigidBodyMotion. Removing
constrainedSixDoFRigidBodyDisplacement BC - no longer needed.
2010-02-02 13:33:47 +00:00
58052e72f8 ENC: sixDoFRigidBodyMotion. Adding tabulatedAxialAngularSpring restraint. 2010-02-02 13:17:17 +00:00
8e850800f7 ENC: sixDoFRigidBodyMotion. Adding fixedAxis constraint. 2010-02-02 11:51:52 +00:00
f26b41ef0c ENC: sixDoFRigidBodyMotion. Adding linearAxialAngularSpring restraint. 2010-02-01 19:59:15 +00:00
f8cad124c7 ENC: sixDoFRigidBodyMotion. Adding fixedOrientation constraint.
Adding report Switch to turn on reporting.

Renaming linearSphericalAngularSpring to sphericalAngularSpring and
getting a moment contribution from each axis.  Can supply a reference
orientation.
2010-02-01 16:58:34 +00:00
6cecf20555 ENC: sixDoFRigidBodyMotion. Adding writing of restraints and
constraints to dictionary.
2010-01-29 20:27:29 +00:00
8f44357555 ENH: sixDoFRigidBodyMotion. Adding linearSphericalAngularSpring restraint.
Moving maximum iteration FatalErrorIn check after constraint while loop.

Adding currentOrientation function to give access to Q, but safely and
with a more descriptive name for the function.
2010-01-29 15:20:42 +00:00
79a14c4b7c BUG: sixDoFRigidBodyMotion, calling boolean function along with
boolean test was not actually calling the function.  Probably
optimised out.
2010-01-28 16:35:19 +00:00
c6701df1f6 sixDoFRigidBody: adding constraints.
Adding fixedPlane and fixedLine constraints.
2010-01-28 15:27:08 +00:00
f026a5af0e sixDoFRigidBody: adding constraints.
Added force to fixedPoint constraint.

Moved application of rotation matrices to function.

Implemented predictedPosition function.

Added maximum iteration check and under-relaxation variable.
2010-01-27 18:31:55 +00:00
a0522a2b7b sixDoFRigidBody: adding constraints.
Adding outline and placeholders for constraints and their solution.
2010-01-26 17:51:38 +00:00
8bcb2c8f11 sixDoFRigidBody: adding restraints.
Applying restraints, which return the force and moment to be applied
to the attachment point.

Adding linearSpring with along axis damping.

Making access functions for the sixDoFRigidBodyMotion data private
where possible to prevent erroneous external use of body local data.

Fixing bug in unused updateForce(pointField...) function, torques were
not being correctly applied.

Adding gravity lookup to uncoupledSixDoFRigidBodyDisplacement BC to
allow it to be used in, for example, moveDynamicMesh (which would need
read gravity into the database).
2010-01-26 15:47:48 +00:00
c194087671 In: src/postProcessing/functionObjects/forces, adding mechanisms for
restraints and constraints.

Moving sixDoFRigidBodyMotion back one directory.

Adding uncoupledSixDoFRigidBodyDisplacement to execute motion
specified by the six DoF motion state, but not applying surface
forces.  Useful for pre-displacing a mesh.

Adding constrainedSixDoFRigidBodyDisplacement to temporarily perform
Vorticity's lander simulation.  Will be removed when generalised
constraints are added.
2010-01-25 18:35:53 +00:00
00a9a51b3b Reorganised the location of the "sixDoFRigidBodyDisplacement" BC to avoid unnecessary
dependency on the libforces.so and the libraries it requires.
2009-12-08 22:36:17 +00:00
ddfd9da81f Reorganised the location of the "sixDoFRigidBodyDisplacement" BC to avoid unnecessary
dependency on the libforces.so and the libraries it requires.
2009-12-08 22:35:35 +00:00
9157364a4b Merge commit 'OpenCFD/master' into olesenm 2009-11-25 12:29:31 +01:00
7cd4adc59d Minor reordering. 2009-11-23 12:18:21 +00:00
3d9c822022 Added abortCalculation function object, exposed Time::stopAtControls
- still needs fine-tuning (testing) to see if it reacts as anticipated under
  various conditions.
2009-11-06 17:18:32 +01:00
906a0458da added pressure reference 2009-09-02 17:55:42 +01:00
47ac4180c9 Corrected handling of the initial time and header. 2009-08-28 17:55:25 +01:00
2d1398b319 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-18 17:18:09 +01:00
0c8ca47199 Added support for variable density incompressible solvers. 2009-08-18 17:13:22 +01:00
c6aaf9be58 minor formatting changes 2009-08-17 18:26:35 +01:00
c5b894cf01 minor clean-up 2009-03-13 15:35:18 +00:00
ccb4adc73c Added to the forces functionObject the ability to read a force density (fD) volVectorField directly rather than a p and U field. To use, the following entries go in the controlDict directForceDensity true; fDName fDMean; 2009-03-12 12:16:36 +00:00