Commit Graph

4199 Commits

Author SHA1 Message Date
745d8e47d1 probes - use new HashSet::insert() method 2009-12-01 18:32:30 +01:00
a4f4a904f4 HashSet enhancement
- allow insert() and set() from a UList of Key
  This complements the existing erase(const UList<Key>&) method
2009-12-01 18:26:18 +01:00
d0b8aa40f0 trim trailing space in src/sampling 2009-12-01 17:56:35 +01:00
2667382644 probes - handle fields as wordReList
- adjust code to more closely resemble sampledSets / sampledSurfaces
2009-12-01 17:53:18 +01:00
b752ce5272 sampledSets - handle fields as wordReList
- adjust code to more closely resemble sampledSurfaces
2009-12-01 16:11:18 +01:00
abc8d96198 sampledSurfaces - handle fields as wordReList
- this allows something like this:
      fields( T U "Ua.*" );
  to select normal fields and all the adjoint velocity fields
2009-12-01 14:42:46 +01:00
28345f7e97 fixup #remove functionEntry and revert e15e32fdb7d515b
- forgot to use readList in removeEntry, which caused the test failure.

- remaining problem:

it doesn't work as might be expected
This is the problem:

dict
{
   foo xxx;
   bar yyy;
}

dict
{
   baz zzz;
   #remove foo
}

This only removes 'foo' from the current scope (the second dict), since
it occurs before the dictionary merge does.

To remove from the final, merged dictionary, we'd need a new
deleteEntry type that would do the right thing on the merge before
self-destructing (ie, removing itself too).
2009-12-01 13:50:51 +01:00
80a27fb9da Removed the "#remove" statements which do not appear to work. 2009-12-01 12:04:28 +00:00
08988734b3 argList.H - split off templates into separate file 2009-12-01 12:48:21 +01:00
d80ce7fc33 objectRegistry - gets sortedNames() methods
- reduce duplicate code by using some HashTable methods directly
2009-12-01 11:54:06 +01:00
a0b3d14523 IOobjectList - gets sortedNames() method
- could also be the default

- reduce duplicate code by using some HashTable methods directly
2009-12-01 11:08:56 +01:00
4d10d06158 IOOutputFilter - can create from IOobject directly
- useful when using alternative dictionary names/locations
2009-12-01 11:10:25 +01:00
68e7c7368b add missing class/typedefs for Tensor2D innerProducts
- missing in 1.6.x as well
2009-12-01 10:41:17 +01:00
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
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
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