Commit Graph

1270 Commits

Author SHA1 Message Date
21048d9600 Disabled writing zero-sized faceZones since upset tecio library 2010-01-13 19:10:54 +00:00
9c79927b67 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-01-05 11:02:03 +00:00
aac29d740a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-01-04 13:37:37 +00:00
25bf6b6ce8 Minor code style corrections 2009-12-22 10:06:37 +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
3bfec62cee Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-17 15:55:21 +00:00
b877323a33 Added baffle option and corrected default setting
When faceZones are present one has to decide whether to have zone faces
only on the edge of cellZones or also freestanding.
The setting for minMedialAxisAngle was corrected since the calculation
has also been corrected.
2009-12-15 15:56:35 +00:00
2760c3db5f Merge commit 'OpenCFD/master' into olesenm 2009-12-15 10:48:51 +01: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
9d817bfbdf Added -region option 2009-12-11 11:55:07 +00:00
a029a59036 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-09 17:44:13 +00:00
e8af5d62d5 Filter out zero-sized patches; add generic capability 2009-12-09 17:42:30 +00:00
0fc464254a Fix minor bug in surfaceFeatureExtract.C 2009-12-09 13:50:31 +01:00
99c22976ea added git option 2009-12-09 10:06:00 +00:00
30eac79d55 argList gets addNote() static method
- output any notes in the usage
2009-12-09 10:58:32 +01:00
dd8f4f657a adjust usage for a few applications to account for new style 2009-12-09 10:19:53 +01:00
960c192d25 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/utilities/mesh/manipulation/transformPoints/transformPoints.C
2009-12-08 11:49:13 +00:00
a8c400de1d added region option 2009-12-07 14:59:57 +00:00
190bbd69de add corners() method to boundBox 2009-12-07 13:06:03 +01:00
b634c17e55 fixed off-by-one error in argList text wrap 2009-12-04 14:34:04 +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
0e33bf0bba add some usage information to a few utilities 2009-12-04 10:20:15 +01:00
6e3ed58ae5 Merge commit 'OpenCFD/master' into olesenm 2009-12-03 16:40:37 +01:00
1665a86206 more Icc11.1 changes 2009-12-02 18:32:03 +00:00
4eb40f90ee link all libraries 2009-12-02 16:41:28 +00:00
5ee1f98e2c linear interpolation always 2009-12-02 16:38:19 +00:00
a0a05c1b77 allow region interfaces on processor patches 2009-12-02 16:37:59 +00:00
587401643c add text wrapping to the argList::printUsage output 2009-12-03 16:16:56 +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
47eb0c5cd2 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake
2009-12-01 16:47:45 +00:00
49a2c73b2d tecplot360 converter 2009-12-01 16:43:47 +00:00
be1b1ceefc Merge branch 'master' into splitCyclic
Conflicts:
	applications/utilities/mesh/generation/blockMesh/blockMeshApp.C
	applications/utilities/parallelProcessing/decomposePar/decomposeMesh.C
	etc/bashrc
	etc/cshrc
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
	src/decompositionMethods/parMetisDecomp/parMetisDecomp.C
	src/dynamicMesh/Make/files
	src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
	src/dynamicMesh/perfectInterface/perfectInterface.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H
	src/finiteVolume/Make/files
	src/mesh/blockMesh/blockMesh/blockMesh.C
	src/mesh/blockMesh/blockMesh/blockMeshTopology.C
	src/meshTools/Make/files
	src/meshTools/sets/topoSets/faceSet.C
2009-11-30 15:20:52 +00:00
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
6bdb7fb7b5 fixup copyright dates on new code 2009-11-30 08:21:44 +01:00
a51f8d3534 Merge commit 'bundle/home' into olesenm 2009-11-30 08:12:04 +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
648e485e7d adapted angle for medial axis determination 2009-11-26 13:06:56 +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
b3cdac4baf remove unused (and duplicate) Tuple.H in applications/utilities/mesh/advanced/modifyMesh/ 2009-11-25 12:07:03 +01:00
407d047f07 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-24 14:45:05 +00:00
95b2a4d39b re-design to use RASModel 2009-11-24 13:05:01 +00:00
81891675ea Commit Paraview enhancements - quit working on sets/zones frills
- Include Sets/Zones now scans immediately to refresh the list of available
  mesh parts. Unfortunately, this also causes the object panel to be
  modified, even although the selection doesn't acutally need to change.
  This seems to be due to how the pqNamedWidgets are getting the information
  from the proxy properties. I can't figure if it's possible to acheive what
  I want, but we can probably live with the current implementation.

  After IncludeZones, simply us 'Reset' to undo the spurious GUI changes.
  Works fine - just looks a bit silly.

- Added 'Refresh' button to rescan for new times/fields.  Good for
  post-processing ongoing calculations without exiting the reader.

- Added 'Skip Zero Time' checkbox: many (some) calculations have
  data missing at time=0 (eg, rho, lagrangian, etc). This provides
  a convenient way to skip over this time.

- Future?:
  We could probably pick up favourite default values for these switches from
  ~OpenFOAM/controlDict, from a case system/paraview, or simply by making
  the casename.OpenFOAM also be an OpenFOAM dictionary with the settings.
2009-11-24 00:09:07 +01:00
87300f124e Merge commit 'OpenCFD/master' into olesenm 2009-11-23 12:03:10 +01:00
f0ddc03279 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-21 10:54:47 +00:00
2c52705cf7 move reconstructPar 'guts' to src/parallel/reconstruct
- in preparation for adding an optional '-reconstruct' to a few utilities
  re-use as -lreconstruct library

- move related stuff there too
      src/decompositionMethods/decompositionMethods
      -> src/parallel/decompositionMethods

- added missing namespace qualifiers
2009-11-20 14:37:56 +01:00