Commit Graph

316 Commits

Author SHA1 Message Date
cddce779e8 STYLE: Change to GPL v3 and update copyright date. 2010-04-13 11:38:22 +01:00
5c33936264 Merge branch 'master' into cvm 2010-04-13 11:31:32 +01:00
a50f01b079 STYLE: use forAllIter, forAllConstIter instead of long-hand version
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
2010-04-12 11:18:38 +02:00
240c714aab Merge branch 'master' into cvm
Conflicts:
	etc/settings.csh
	etc/settings.sh
	wmake/rules/General/CGAL
2010-04-09 10:13:42 +01:00
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
6f6d5dd39e ENH/BUG: featureEdgeMesh/conformalVoronoiMesh.
No longer reading or writing edgeDirections - calculating them on
read.

Properly initialising data in featureEdgeMesh constructor.

Fixing use of extend for treeBoundBox.

Removing writeObj from featureEdgeMesh constructor - calling
explicitly from surfaceFeatureExtract.
2010-02-23 11:25:14 +00:00
e09a140a28 Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
2010-02-22 13:59:07 +00:00
a3fec987a8 CLEANUP: remove most references to (deprecated) .ftr file format
- use .obj files for debugging purposes instead.
2010-02-17 13:56:56 +01:00
689d4b2860 ENH: provide operator[] for accessing argList options.
- operator[] with label -> get args at index
- operator[] with word  -> get named option
2010-02-17 11:43:42 +01:00
d857d671ac STYLE: use new argList argRead() method and operator[] for cleaner code.
- deprecate argList::additionalArgs() method and remove uses of it
2010-02-16 17:57:49 +01:00
c91ffbdbe8 Merge branch 'master' into cvm
Conflicts:
	src/OpenFOAM/meshes/primitiveShapes/plane/plane.C
	src/edgeMesh/Make/options
2010-02-10 15:00:34 +00:00
3613752115 ENH: add -tri (triangulate) option to foamToSurface, surfaceMeshConvert
STYLE: drop surface extraction from foamToStarMesh

- retain surfZone names when writing surfaces
- remove surface extraction/writing from meshWriter since it now
  duplicates what the meshedSurface class can do.
2010-02-10 11:49:53 +01:00
2f0692e002 Merge commit 'OpenCFD/master' into olesenm 2010-02-08 15:01:48 +01:00
b98a01b28c ENH: surfaceInertia. Adding the calculation of the Q tensor, required
for six DoF motion bodies that are not principal axis aligned shapes
to start with.

Calculates the best match axes to give the most naturl transformation
from the Cartesian axes. The eigenvectors are returned in the order
relating to ascending magnitude of their eigenvalues - not necessarily
in a right handed triplet.
2010-02-04 19:51:31 +00:00
1a9e6bcfad Revert "Removing large test .obj files from surfaceInertia utility directory."
This reverts commit edfba8be92.
2010-02-03 18:36:30 +00:00
8426ca1a8c Merge commit 'OpenCFD/master' into olesenm 2010-02-03 17:40:37 +01:00
9f23282e0d STYLE: surfaceInertia. Adding space to option description. 2010-02-02 19:12:58 +00:00
ba69655de3 Merge commit 'OpenCFD/master' into olesenm 2010-01-26 09:06:52 +01:00
edfba8be92 Removing large test .obj files from surfaceInertia utility directory. 2010-01-25 18:42:24 +00:00
a67845421c Merge branch 'master' into cvm 2010-01-20 12:33:10 +00:00
a694f6e374 Replace a few uses of triSurface with the more general meshedSurface. 2010-01-15 17:27:03 +01:00
0d49e4711c Begin code refactoring of third-party file formats. 2010-01-15 14:35:50 +01:00
25bf6b6ce8 Minor code style corrections 2009-12-22 10:06:37 +00:00
ff671ff1bb Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureConvert/surfaceFeatureConvert.C
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
	src/Allwmake
	src/edgeMesh/Make/files
	src/edgeMesh/edgeMesh.C
	src/edgeMesh/edgeMesh.H
	src/edgeMesh/edgeMeshI.H
	src/edgeMesh/edgeMeshIO.C
	src/edgeMesh/featureEdgeMesh.C
	src/edgeMesh/featureEdgeMesh.H
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.C
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.H
	src/meshTools/searchableSurface/closedTriSurfaceMesh.C
	src/meshTools/searchableSurface/closedTriSurfaceMesh.H

Merged Mark's work on edgeMesh with my featureEdgeMesh.
2009-12-21 15:52:03 +00:00
aa847562ce Reimplementing the uniform density solid inertia calculation from:
http://www.geometrictools.com/LibPhysics/RigidBody/RigidBody.html

in surfaceInertia utility.  Allows calculation of shell or solid
properties of a triSurface, with optionally specified volumetric or
surface density.  Default behaviour is to calculate inertia around
centre of mass, with option to specify reference point.

Various test surfaces supplied and tested against analytical results.
2009-12-18 18:14:32 +00:00
d016db1bc6 Enhance edgeMesh to support more formats.
Read only support:

  .bdf, .nas - NASTRAN format. Handles both CBEAM and CROD as lines.
  CROD is what Hypermesh happens to output.

Write only support:

  .vtk - VTK legacy format in ASCII

Read/write support:
  .eMesh - native format, which is simply a list of points, edges
      with an additional IOobject header that lets them be moved about
      easily to use as a featureEdgeMesh.

  .inp - STAR-CD inp/cel/vrt combination
       IOobject header)

  .obj - Alias waverfront format

Radically simplify surfaceFeatureConvert by using the new edgeMesh
functionality.
2009-12-11 16:29:55 +01:00
0fc464254a Fix minor bug in surfaceFeatureExtract.C 2009-12-09 13:50:31 +01:00
30eac79d55 argList gets addNote() static method
- output any notes in the usage
2009-12-09 10:58:32 +01:00
190bbd69de add corners() method to boundBox 2009-12-07 13:06:03 +01:00
37c4f2f375 remove empty 'Description' from various .C files 2009-12-04 14:11:33 +01:00
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
c091d856ae pedantic changes: 'forAll (' -> 'forAll(' in applications/
- to match coding guidelines
2009-12-03 14:12:08 +01:00
58b7e64185 Use argList::addOption, argList::addBoolOption (almost) everywhere
- ensure that the standard options (eg, from timeSelector) also have
  some usage information
2009-12-03 13:32:12 +01:00
00985638d8 remove fvCFD.H usage from remaining library source
- exception calcType.H since it'll most likely be used for building
  applications anyhow

- use quailified names in more of the lagrangian code

- killed some tab indents in various places.
2009-12-02 15:34:52 +01:00
c3457b5152 argList - specializations for optionRead<string> etc.
- new optionLookupOrDefault and additional form of optionReadIfPresent
  with a default value
2009-12-02 13:45:11 +01:00
ad669ae3d8 Merge branch 'master' into cvm
Conflicts:
	doc/codingStyleGuide.org
2009-11-30 14:55:39 +00:00
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
fa93ce8cd7 coding style adherence
- markup codingStyleGuide.org examples so they actually indent correctly

- use 'Info<<' as per codingStyleGuide instead of 'Info <<'
2009-11-27 15:39:14 +01: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
14675f23e0 Merge branch 'master' into cvm 2009-11-16 15:50:36 +00:00
6ae8581d03 explicit constructor 2009-11-13 18:18:32 +00:00
93a97bc0e5 Merge branch 'master' into cvm 2009-10-19 18:28:21 +01:00
e9da288118 Reverted the Americanism "math" back to the original "mathematical" and reverted name of
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
52468771d5 Merging master, fixing wmake/rules conflict. 2009-09-21 11:21:06 +01:00
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
325e9e0ab0 Merge branch 'master' into cvm 2009-09-15 15:17:08 +01:00
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
2fca5550cd Merge branch 'master' into cvm 2009-08-19 18:40:21 +01:00
064892f3f8 surface patch handling improvements 2009-08-17 22:04:14 +01:00
adf3e4b7e1 clever usage of #include 2009-08-17 17:05:38 +01:00