Commit Graph

168 Commits

Author SHA1 Message Date
b6f3bd4c23 STYLE: follow coding guide recommendation for '//- Destructor' 2010-04-12 11:55:52 +02:00
e8cfd92f9d ENH: move residualControl and abortCalculation into common jobControl lib 2010-04-09 17:55:37 +02:00
a30f977dc5 STYLE: avoid namespace { ... } in functionObject source code 2010-04-09 14:09:42 +02:00
16a16090db ENH: invert logic of residualControl check to allow dictionary entry.
- lets the user specify controls like this:
      maxResiduals
      {
          p  5e-4;
          U  1e-3;
          "(k|epsilon|omega)"  1e-3;
      }
2010-04-09 13:42:00 +02:00
3fef72510e STYLE: use switch value for 'writeCompression' in controlDict's
- simpler/clearer to use "on/off" instead of "compressed/uncompressed"
2010-04-09 13:12:35 +02:00
10141f907b STYLE: use dict entry for function objects in controlDict 2010-04-09 12:23:25 +02:00
5d75467994 ENH: Added residualControl to functionObjects Allwmake script 2010-04-08 12:10:51 +01:00
b2b3e8d25b ENH: Added residualControl function object
- allows users to specify target maximum equation intial residuals, and
  stop the run if the conditions are achieved
2010-04-08 10:06:41 +01:00
149a190e22 ENH: Added readFields function object
- function object to read fields and register them on the mesh database
  for further post-processing
2010-04-07 11:40:57 +01: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
df56a5b192 STYLE: corrected header. 2010-03-26 13:36:53 +00:00
49fb39e8f3 Merge commit 'origin/master' into splitCyclic
Conflicts:
	applications/utilities/parallelProcessing/decomposePar/decomposePar.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/fields/pointPatchFields/constraint/processor/processorPointPatchField.C
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
2010-03-09 21:28:53 +00:00
5ece14ec6f BUG: finite volume did not work before. 2010-03-03 10:12:35 +00: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
36ed688f2d Merge branch 'master' into sixDofPatch 2010-01-28 15:33:50 +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
66aa2681bb STYLE: corrected comments - spelling + wording 2010-01-27 12:43:42 +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
1812773b25 Updates to the fieldValues function object
- Updates to enable correct operation in parallel
- Added weighted average operation for cell sources
2010-01-08 17:14:53 +00:00
711e0a42dd Updated function object example usage 2010-01-08 12:16:01 +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
d17d015f88 Use new last() method for List-type classes
- use first() method in some places as well where it helps clarity

- there are a few remaining cases: git grep 'size()-1]'
2009-11-26 13:35:57 +01:00
9157364a4b Merge commit 'OpenCFD/master' into olesenm 2009-11-25 12:29:31 +01:00
407d047f07 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-24 14:45:05 +00:00
75bb4275ac minor coding tweaks 2009-11-24 14:39:17 +00:00
428327f3e6 added comments 2009-11-24 14:36:20 +00:00
e83a5c271e re-structuring 2009-11-23 18:31:41 +00:00
d6a5a3299e new function object: timeActivatedFileUpdate 2009-11-23 17:18:24 +00:00