Commit Graph

4541 Commits

Author SHA1 Message Date
graham
1fe32e3c48 Merge branch 'master' into cvm 2010-01-04 11:47:57 +00:00
graham
174cd8e3d7 Adding intertia based collapse axis determination. WIP - some
problems with the tensor::eigenValues calculation:

    "complex eigenvalues detected for tensor:"

for very high aspect ratio faces.
2009-12-22 19:35:03 +00:00
graham
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
Mark Olesen
c0d37d9a6b Merge commit 'OpenCFD/master' into olesenm 2009-12-21 15:06:31 +01:00
Mark Olesen
8bf3807c3e Update dictionary calcEntry testing for updated CoCo/R 2009-12-21 15:02:33 +01:00
Mark Olesen
ccdbf4735f Move CocoParserErrors.H template class into src/OpenFOAM/db/error 2009-12-21 14:14:30 +01:00
graham
bd81a6643d Rename of primitiveEdgeMesh to edgeMesh to make merge easier. 2009-12-21 11:33:13 +00:00
graham
d241c43ac7 Adding hard-coded tetraherdal solid inertia calculation. Can be used
in a similar way to calculate the inertia of cells.
2009-12-21 10:29:05 +00:00
Mark Olesen
2792624996 Expose STL std streams in a consistent manner for serial streams.
Previously Fstreams had stdStream() as a public member and the other
streams had stream() as a protected member.

All serial streams now have public method stdStream() and the stream()
method has been eliminated. This is not only more consistent, but also
avoids confusion (for the programmer, not the compiler) with the
ITstream::stream() method.
2009-12-21 10:24:35 +01:00
Mark Olesen
438a83fc81 Update experimental dictionary #calc for new Coco pragmas 2009-12-21 09:28:17 +01:00
graham
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
andy
9e11bc2d93 Merge branch 'olesenm' 2009-12-16 15:15:03 +00:00
andy
14553e1c4d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-16 15:03:19 +00:00
andy
7a4c03b97a Added interPhaseChangeFoam tutorial case: cavitatingBullet 2009-12-16 15:02:49 +00:00
Mark Olesen
daf1d6db3d Fixed bad usage of Foam::FatalErrorIn in chemkinLexer.L 2009-12-16 15:43:56 +01:00
Mark Olesen
e434b51914 Add namespace qualifier to WarningIn, FatalErrorIn, etc. macros.
- Previously had just 'Warning' instead of '::Foam::Warning', which
  meant that an identically named class method would inadvertently be
  used - resulting in a compile failure.
2009-12-16 08:55:04 +01:00
Mark Olesen
a5217d7be3 Merge commit 'bundle/home' into olesenm 2009-12-16 08:08:23 +01:00
Mark Olesen
cfeeea7b71 Merge commit 'OpenCFD/master' into olesenm 2009-12-16 08:03:50 +01:00
Mark Olesen
ad2204a818 Add in calcEntry as a very rough draft
- needs Coco/R 16 Dec 2009 version
2009-12-16 01:31:44 +01:00
Mark Olesen
23f5e5917a Remove unused primitiveEntry::insert() private method.
Improve constructors.

    - Use (const UList<token>&) instead of (const List<token>&)

    - Add (const Xfer< List<token> >&) constructor.
2009-12-15 17:35:21 +01:00
Mark Olesen
409fb9aa9a Use openmpi-1.4, which was released 2009-12-08 (minor security fix).
According to the openmpi release information:
- Use GNU Libtool 2.2.6b to build Open MPI, which updates the
  embedded "libltdl" library to fix a potential security
  vulnerability. There are no other changes compared to Open MPI
  v1.3.4.

For development purposes it should thus be adequate to simply

    ( cd $WM_THIRD_PARTY_DIR && mv openmpi-1.3.4 openmpi-1.4 )

if you don't wish to recompile things.
2009-12-15 16:43:33 +01:00
Mark Olesen
fb2bd52972 Use openmpi-1.4, which was released 2009-12-08 (minor security fix).
According to the openmpi release information:
- Use GNU Libtool 2.2.6b to build Open MPI, which updates the
  embedded "libltdl" library to fix a potential security
  vulnerability. There are no other changes compared to Open MPI
  v1.3.4.

For development purposes it should thus be adequate to simply

    ( cd $WM_THIRD_PARTY_DIR && mv openmpi-1.3.4 openmpi-1.4 )

if you don't wish to recompile things.
2009-12-15 16:43:33 +01:00
Mark Olesen
268ed99a7e Fix size bug in PackedList operator=, spotted by Mattijs.
- the size_ was not being adjusted in two assignment operators:
      PackedList<nBits>::operator=(const PackedList<nBits>&)
      PackedList<nBits>::operator=(const UList<label>&)
2009-12-15 13:01:48 +01:00
Mark Olesen
2c815e5b84 Improve ITstream constructors.
- Use (const UList<token>&) instead of (const List<token>&)

- Add (const Xfer< List<token> >&) constructor.
2009-12-15 12:59:50 +01:00
andy
96be92b395 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-15 11:38:58 +00:00
andy
1e086391b7 Branch merge + conflict resolution 2009-12-15 11:38:23 +00:00
Mark Olesen
2760c3db5f Merge commit 'OpenCFD/master' into olesenm 2009-12-15 10:48:51 +01:00
Mark Olesen
02ef85faef Use first() and last() methods in primitiveEntry. 2009-12-15 09:37:09 +01:00
Mark Olesen
3f0b6ec830 Fix minor bug in ITstream
- The lineNumber of token::undefinedToken was being changed instead of
  just the lineNumber of the return token.

- use List::first() and List::last() methods as well
2009-12-15 09:27:27 +01:00
Mark Olesen
1b45fab97a Add minor documentation to pTraits specializations. 2009-12-15 09:03:07 +01:00
Mark Olesen
eb0c408262 Add very rudimentary output support for wide-characters. 2009-12-15 08:38:06 +01:00
Mark Olesen
2df9e0c342 Add very rudimentary output support for wide-characters. 2009-12-15 08:38:06 +01:00
andy
c2a85fe666 Adding active flag to tutorial cloud properties files 2009-12-14 13:31:27 +00:00
andy
34bca9ba88 Added `active' switch to clouds
Provides a clean mechanism to run the lagrangian family of solvers without
a cloud
2009-12-14 13:27:55 +00:00
mattijs
94f2aac0b5 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-14 11:21:15 +00:00
mattijs
5ca567d7cb Changed indentation 2009-12-14 11:20:57 +00:00
mattijs
192f8ae542 Changed tecio build options to use local file 2009-12-14 11:20:22 +00:00
Mark Olesen
7c8316df70 Add peekBack() method to Istream. 2009-12-12 15:35:10 +01:00
andy
f04cdab21d Update to compressible omegaWallFunction
Changed the evaluation of omega to be a function of both omega in the viscous
sublayer and omega in the log region
2009-12-11 17:39:49 +00:00
andy
87f05dd72f Update to incompressible omegaWallFunction
Changed the evaluation of omega to be a function of both omega in the viscous
sublayer and omega in the log region
2009-12-11 17:26:21 +00:00
Mark Olesen
bf2865a087 Add missing low-level peek() to ISstream. 2009-12-11 17:31:15 +01:00
Mark Olesen
497ec32ed8 Add missing low-level peek() to ISstream. 2009-12-11 17:31:15 +01:00
Mark Olesen
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
Mark Olesen
46a455ccea Remove unused Istream methods from surfMesh classes.
Move compilation edgeMesh and surfMesh up in the list
(they are independent of triSurface).
2009-12-11 15:04:28 +01:00
mattijs
6791d10570 Changed indentation 2009-12-11 11:59:28 +00:00
mattijs
ce7274639d Added missing face-flipping flag 2009-12-11 11:58:12 +00:00
mattijs
834e493812 Fixed missing arguments in error message 2009-12-11 11:56:04 +00:00
mattijs
88e407043e Fixed typo in printing 2009-12-11 11:55:36 +00:00
mattijs
9d817bfbdf Added -region option 2009-12-11 11:55:07 +00:00
andy
9589828aa8 Added another new tutorial case for porousExplicitSourceReactingParcelFoam 2009-12-10 16:40:18 +00:00