Commit Graph

4240 Commits

Author SHA1 Message Date
2bfd449cf3 added bin/tools/org-{batch,html,latex}
- make it easier for non-emacs users to generate some of the
  documentation
2009-11-30 13:33:06 +01: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
5648be03f0 Added Catmull-Rom splines to blockMesh.
- the blockMesh interface is splineEdge.H, selectable as "spline"

The first tests look fine - it works as expected for the case with
buggy polySpline reported on the forum. Should of course do some more
extensive testing.

The advantages compared to the current B-Spline implementation:

- Doesn't need a matrix solver.
- The coding resembles something that can be found in the literature.
- In contrast to the B-Spline implementation, it is fairly clear what
  is actually going on. I don't even know if the B-Spline are actually
  B-Spline, Beta-Splines or something else.
- Catmull-Rom splines seem to be what all the graphics people have as
  their stable workhorse.

We now have 3 different names for splines in blockMesh:
- "spline" - *new* Catmull-Rom for arbitrary segments.
- "simpleSpline" - B-Spline for a single segment
- "polySpline" - B-Spline for a multiple segments

Assuming the Catmull-Rom splines continue to behave nicely, there is
no reason to keep the other (broken) B-Splines. This would help clean
up the blockMesh interface too.

Placed the older ones under legacy/ for easier identification in the
future.

TODO:
- currently no handling of non-zero end tangents
- could be extended to handle closed loops, which might be useful
  for feature edges from CAD (eg, for the cvm mesher)
2009-11-29 17:00:48 +01:00
9b92e3c451 use absolute path for header/footer in Doxyfile
- makes it easier to copy Doxyfile for local Doxygen generation
  ie, for debugging and writing without processing everything
2009-11-29 12:08:27 +01:00
6f14809234 Copy some of GUIDELINES -> codingStyleGuide.org
- use ':' to prefix verbatim code instead of #+BEGIN_EXAMPLE / #+END_EXAMPLE
  for a somewhat better feeling for the indentation.
2009-11-27 16:59:28 +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
b8c7112e7d reset triangle counter to 0 before usage 2009-11-26 18:01:40 +00:00
648e485e7d adapted angle for medial axis determination 2009-11-26 13:06:56 +00:00
51bdcca506 Merge commit 'OpenCFD/master' into olesenm 2009-11-26 13:56:59 +01:00
ceb6f97d44 fix documentation typos 2009-11-26 13:40:09 +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
32c8a7bf31 change duplicate faces into warning 2009-11-25 14:40:50 +00:00
c1d6f266fe prevent outputIndex calculation upon subcycling 2009-11-25 14:40:36 +00:00
de0897cd66 Added "./" to makeParaView and makeQt. 2009-11-25 13:50:39 +00:00
b2d7439b86 Lists get first() and last() member functions
- this builds on Mattijs' commit 968f0bbd57 but with a first()
  as well.

- Added both to FixedList, IndirectList, UIndirectList and *PtrList and
  since they can certainly be useful there. Did not add to BiIndirectList,
  since I'm not sure what it should mean there. Did not add to PackedList,
  since it's not clear how useful they'd be yet in these contexts (and I'm
  not sure how it would interact with the iterator proxy implementation).

- Note: STL defines front() and back() for these methods.
2009-11-25 14:47:48 +01:00
06eb5b7477 Added preliminary version of the rhoSimplecFoam code and tutorial case.
This currently only runs in serial, parallelisation is worked on.
2009-11-25 11:59:19 +00:00
1c6dd6de70 removed Paraview2 support from paraFoam
- mention PV3blockMeshReader in the README as well
2009-11-25 12:33:00 +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
33947e732e Corrected instructions for cshrc. 2009-11-25 10:09:14 +00:00
a3cb1246d2 typo 2009-11-24 16:12:04 +00:00
d5765f2237 removed paraview 2 set-up scripts 2009-11-24 14:58:49 +00: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
e126099dc1 removed redundant logic 2009-11-24 14:29:41 +00:00
bfc0926c8b updated to enable alternative builds if env variables set externally 2009-11-24 13:07:12 +00:00
95b2a4d39b re-design to use RASModel 2009-11-24 13:05:01 +00:00
c3d4f8990a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-24 11:00:58 +00:00
15bc2dd10b Added printCoeffs as requested. Note that the coeffs will now be printed twice by
models derived from Smagorinsky.
2009-11-24 11:00:52 +00:00
55c04d307e finally commited pending (cosmetic) code cleanup for blockMesh/curvedEdges
- slightly better code isolation, dropped unneed variables, changed
  vector -> point in the appropriate places

- the spline stuff is still horribly broken.
  Needs a complete rewrite or needs to get chucked.
2009-11-24 00:34:37 +01: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
e83a5c271e re-structuring 2009-11-23 18:31:41 +00:00
908c61688a Adding mapper argument BCs that store p0_ point field in
fvMotionSolver/pointPatchFields
2009-11-23 17:29:59 +00:00
d6a5a3299e new function object: timeActivatedFileUpdate 2009-11-23 17:18:24 +00:00
e0cbe97409 cosmetics 2009-11-23 17:17:35 +00:00
f83866357e Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-23 12:55:24 +00:00
968f0bbd57 added last() member function 2009-11-23 12:55:20 +00:00
5bb620de10 scheduled or non-blocking polyMesh initialisation 2009-11-23 12:44:46 +00:00
af3c1a7766 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-23 12:19:58 +00:00
85152a2d5e Added faceCentres().
Removed blank lines between template specification and function definition.
2009-11-23 12:19:52 +00:00
7cd4adc59d Minor reordering. 2009-11-23 12:18:21 +00:00
87300f124e Merge commit 'OpenCFD/master' into olesenm 2009-11-23 12:03:10 +01:00
534b7dca70 dimensionSet enhancement
- added asText() method to assist people with remembering what the
  dimensions are in English

- minor short-circuit optimizations in dimensionless() and operator==
2009-11-23 11:58:19 +01:00
de97ff23b9 calculate sizes also when running non-parallel 2009-11-22 17:42:52 +00:00
f0ddc03279 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-21 10:54:47 +00:00
e226745a87 nonblocking transfer of particles 2009-11-21 10:54:02 +00:00
d0e866f2ca synchronise flipping on coupled boundaries 2009-11-21 10:53:36 +00:00