Commit Graph

2745 Commits

Author SHA1 Message Date
53ab605456 Merge branch 'master' into cvm 2009-02-23 12:14:29 +00:00
2ad849811b Modified grading function. 2009-02-20 18:36:48 +00:00
a1525f016a extrapolate to any non-constraint patch 2009-02-20 16:47:09 +00:00
c09bbf8a25 Added distance to and index of closest surface patch to indexedVertex, using this to preform tests of near surface grading and refinement. 2009-02-19 18:01:13 +00:00
b1fe3cc51a processorFvPatchField now holds opposite value; not interpolate 2009-02-19 11:15:32 +00:00
7f2f779779 Fixes to point insertion, making faceAreaWeight normalised, not hard coded to cell size, adding tweak to fertex removal criteria to allow selective insertion at short-edge midpoint if the vertices have not already been flagged for removal. 2009-02-18 18:57:09 +00:00
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
8695977fc5 Added point removal for short Delaunay edges in rotational controller as well as small and highly conntected dual cell removal. 2009-02-17 17:58:28 +00:00
19aa23d707 Merge commit 'OpenCFD/master' into olesenm 2009-02-17 16:35:00 +01:00
c2256e51f3 change solvers, utilities, etc. to use while (..) time-looping idiom
- this (now deprecated) idiom:
      for (runTime++; !runTime.end(); runTime++) { ... }
  has a few problems:
    * stop-on-next-write will be off-by-one (ie, doesn't work)
    * function objects are not executed on exit with runTime.end()
  Fixing these problems is not really possible.

- this idiom
      while (runTime.run())
      {
          runTime++;
          ...
      }
  works without the above problems.
2009-02-17 08:47:42 +01:00
0d4433cb33 Merge branch 'master' into cvm 2009-02-16 19:19:19 +00:00
7d5e91f6a0 Added point insertions on long edges for rotational controller and identified possible point removal candidates. 2009-02-16 19:15:09 +00:00
68f1ba6a6d extraneous files 2009-02-13 15:33:04 +00:00
10dfba5795 Writing out of a pointField along with the mesh - allows restarts. Added FCC and BCC initial conditions (commented), their duals are rhombic dodecahedra and bitruncated octahedra respectively. 2009-02-12 19:06:22 +00:00
20349d2eaf Merge branch 'master' into cvm 2009-02-12 10:24:58 +00:00
b5a1f09321 functionObjectList with SHA1Digest tracking 2009-02-12 10:51:30 +01:00
d6c8a34fe0 Fixed mistake in spoke search - wasn't setting closestSpokeHitDistance for further comparisons. Isotropic forcing using sqrt(faceArea). Added 3D analogue of 2D forcing function - needs experimented with. 2009-02-11 17:24:15 +00:00
ac084b840b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-11 12:45:17 +00:00
3d126aca51 Merge commit 'OpenCFD/master' into olesenm 2009-02-11 10:37:22 +01:00
7bc85824aa typos 2009-02-10 16:49:03 +00:00
e96264ad9e typo 2009-02-10 14:33:56 +00:00
03f950341f added output of geometric boundary type 2009-02-10 11:37:40 +00:00
bb278906be Using CGAL-3.4. Requires to be linked to compiled boost thread library. In this commit it is hard-coded to -lboost_thread-gcc43-mt-1_37, i.e. boost version 1.37.0, will need to be parameterised. CGAL does not need to be compiled, as before, and needs the CGAL-3.4/src/files file as before, but the compiler_config.h file, written by cmake, is now included from CGAL/3.4/include/CGAL, where it has been editted to remove the use of GMP. To use the CMP libraries, add -lgmpxx -lmpfr -lgmp to Make/options - there is little (2%) obvious performance benefit to creating a DT with GMP. -frounding-math is a required option - when running in debug assertions failures occur without it when using an exact construction. 2009-02-09 18:07:53 +00:00
6a908364c2 added cylinderToCell and sphereToCell options 2009-02-09 11:59:31 +00:00
87f0693973 Merge branch 'master' into cvm 2009-02-09 10:01:14 +00:00
4d42f6e518 Changed mistake in declaring alignmentDirections, now a non-const reference. Added initial loop outline for cell based looping. 2009-02-09 09:18:01 +00:00
844211a940 Merge commit 'OpenCFD/master' into olesenm 2009-02-06 21:19:42 +01:00
69918f23c5 consistency update
- OSspecific: chmod() -> chMod(), even although it's not used anywhere

- ListOps get subset() and inplaceSubset() templated on BoolListType

- added UList<bool>::operator[](..) const specialization.
  Returns false (actually pTraits<bool>::zero) for out-of-range elements.
  This lets us use List<bool> with lazy evaluation and no noticeable
  change in performance.

- use rcIndex() and fcIndex() wherever possible.
  Could check if branching or modulus is faster for fcIndex().

- UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
  Similar to the STL front() and std::string::data() methods, they return a
  pointer to the first element without needing to write '&myList[0]', recast
  begin() or violate const-ness.
2009-02-06 20:43:09 +01:00
9b0bebec00 making overwrite work 2009-02-06 15:12:24 +00:00
bda9076130 Added isotropic forcing, face area weighted. Added global aligment to the rotation to alignment method. 2009-02-06 13:11:39 +00:00
d3ec38f0aa Merge commit 'OpenCFD/master' into olesenm 2009-02-06 10:40:19 +01:00
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
fb29e08539 Merge commit 'bundle/home' into olesenm 2009-02-06 08:34:43 +01:00
22f6b4dc06 surfMesh gets surfPointFields, surfaceFormats write() for surf mesh components
- add placeholder BoundaryMesh to surfMesh allows us to drop the
  SurfGeoMesh class and just reuse the GeoMesh class.
  Do the same for triSurface.
2009-02-05 22:41:22 +01:00
3aba0e28ff surfMesh, surfaceRegistry re-working 2009-02-05 16:12:35 +01:00
a4d0094e48 added surfaceMeshImport, surfaceMeshExport 2009-02-05 00:08:24 +01:00
a43df3bddd added surfMesh, reworked MeshedSurface
- renamed surface regions (formerly patches or groups) to surfZone.

- added surfMesh, but without any of the patch information needed to make it
  useful for finiteArea.

- promoted coordinateSystem transformation to surfaceMeshConvert and moved
  old to surfaceMeshConvertTesting.
2009-02-04 16:17:14 +01:00
3b8c849b09 Using all of the surface alignment directions to perform near surface alignment. 2009-02-03 19:54:40 +00:00
bf6915455d Merge commit 'OpenCFD/master' into olesenm 2009-02-02 16:58:00 +01:00
05440dd4a0 updated surfaceCoordinateSystemTransform 2009-02-02 16:57:50 +01:00
e5c5829244 OSspecific: isDir(), isFile() instead of dir(), file() 2009-02-02 16:50:18 +01:00
8fa4620e0a cutting plane 2009-02-02 12:24:32 +00:00
206caf4ccb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 14:45:10 +00:00
5ec940465b missing link libraries 2009-01-30 14:44:44 +00:00
f0f677e3d6 Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:57:08 +01:00
bdb4349ebd zonal postprocessing 2009-01-29 13:26:46 +00:00
6ac84bf1ef Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:08:33 +01:00
fe6d908e59 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 16:05:36 +00:00
1ab7bdce12 new pointMesh allocation method 2009-01-28 16:05:32 +00:00
0f3c91ce0a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 15:55:28 +00:00