Commit Graph

92 Commits

Author SHA1 Message Date
84c8fe33ce probing on regions 2009-03-20 16:29:23 +00:00
fa67230e18 average field not stored 2009-03-20 13:44:37 +00:00
92f97c8701 comment 2009-03-20 13:42:21 +00:00
81cce6950a Merge commit 'OpenCFD/master' into olesenm 2009-03-18 14:49:37 +01:00
0099fc3966 unused code for averaging 2009-03-18 11:49:16 +00:00
681cd5fc30 sampling: use proxy surfaceWriter to generate obj, stl and other formats 2009-03-17 14:13:03 +01:00
d3bc5c21b1 sampling: added thresholdCellFaces, sampledThresholdCellFaces 2009-03-16 18:49:23 +01:00
ba771d1901 sampling reworking
- write geometry file if no fields would be sampled
- write geometry file only once for obj, stl formats and use MeshedSurfaceProxy
  for writing
2009-03-16 17:37:58 +01:00
fb1e155eed Merge commit 'OpenCFD/master' into olesenm 2009-03-16 08:28:08 +01:00
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
71a6424c60 iso surfaces on separated cyclics 2009-03-12 13:42:22 +00:00
e011328d99 Merge commit 'OpenCFD/master' into olesenm 2009-03-12 10:39:22 +01:00
77a80dd5e7 iso surfaces on coupled patches 2009-03-10 22:04:25 +00:00
34da731896 sampledSurface hacking proof-of-concept
- using 'nil' type to write geometry only, in the future we could fallback to 'null'
  writer and hook in arbitrary formats from surfMesh

- IOobject gets writeEndDivider() static method
2009-03-10 13:12:00 +01:00
8e57ed53f6 Merge commit 'bundle/olesenm' into home 2009-03-09 20:32:24 +01:00
6ecdf4fc41 updated DebugSwitches, surfaceWriter
- added obj surfaceWriter
- don't bother with prepended field names on obj and stl surfaceWriter.
  It fills the disk and suggests differences where there are none.
2009-03-09 15:37:54 +01:00
6309810e2e surfMesh reworked
- treat 'ofs' IO just like any other format
- dropped BasicMeshedSurface, since MeshedSurface can now also have zero or
  more zones
- UnsortedMeshedSurface is a special type of MeshedSurface with zero zones,
  but with additional zoneId labels
- use MeshedSurfaceProxy for writing surfaces with points/faces/zones and
  optional faceMap - provides output interface for MeshedSurface,
  UnsortedMeshedSurface and surfMesh.
- simplify output to filenames only, I can't see that the Ostream
  is needed anywhere
- surfMesh renaming now works, after the objectRegistry fix
2009-03-08 00:59:33 +01:00
aabf0eff4d comment update 2009-02-26 20:59:36 +00:00
f644d9d277 handling empty 2009-02-26 09:02:13 +00:00
c8944ce200 iso surface correction 2009-02-24 13:45:57 +00:00
5a30dd1b01 iso surface 2009-02-24 12:09:17 +00:00
3c5afbfcac Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-18 17:08:00 +00:00
0e2f77b170 iso surface on coupled bc 2009-02-18 17:05:56 +00:00
fee6e312b9 Time and functionObject updated for end()
- added end() method to functionObject, functionObjectList & associated classes
- moved outputFilters from src/sampling -> src/OpenFOAM/db/functionObjects
2009-02-17 12:48:10 +01:00
e03979ad3b functionObjectList added manualStart()/manualExecute()
- can call start()/execute() manually regardless of the execution status
2009-02-13 15:10:22 +01:00
fafb3e8885 functionObjectList and Time modifications
- added clear() method to functionObjectList. It also gets called by ~Time().
  This should destroy function objects before anything else gets
  destroyed (eg, objectRegistry).
2009-02-12 22:13:30 +01: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
f29b065ea7 cyclics handling 2009-02-09 15:58:41 +00: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
8fa4620e0a cutting plane 2009-02-02 12:24:32 +00:00
bdb4349ebd zonal postprocessing 2009-01-29 13:26:46 +00:00
42c04b8505 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 12:51:45 +01:00
5140b7c577 renamed directory 2009-01-22 17:07:49 +00:00
6d57bb4e7b added PackedBoolList typedef (used everywhere) and improved PackedList
- new members:  capacity(), two-argument resize()/setSize(), const storage()
- new static members: max_value(), packing(), etc.
2009-01-21 11:30:10 +01:00
db88110676 signed distance surface error 2009-01-17 13:59:12 +00:00
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
16aaf5b54e autoPtr gets "empty()" method that can be used instead of "! ...valid()" 2009-01-10 10:38:53 +01:00
92c88521c4 bugfix Pstream::master used as a bool 2009-01-09 09:32:33 +01:00
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
973b9ea0ce boundBox, octree cleanup
- added boundBox(const tmp<pointField>&) constructor for use with
    coordinate systems
  - moved some methods from treeBoundBox to boundBox and use VectorSpace ops
2009-01-01 17:03:19 +01:00
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
48af574040 new management for sampledSurface(s)
//- Does the surface need an update?
        virtual bool needsUpdate() const = 0;

        //- Mark the surface as needing an update.
        //  May also free up unneeded data.
        //  Return false if surface was already marked as expired.
        virtual bool expire() = 0;

        //- Update the surface as required.
        //  Do nothing (and return false) if no update was required
        virtual bool update() = 0;

    The constructors for the derived classes should generally start in a
    'expired' condition (ie, needsUpdate() == true) and rely on a subsequent
    call to the update() method to complete the initialization. Delaying the
    final construction as late as possible allows the construction of
    surfaces that may depend on intermediate calculation results (eg,
    iso-surfaces) and also avoids the unnecessary reconstruction of surfaces
    between sampling intervals.

    It is the responsibility of the caller to ensure that the surface
    update() is called before the surface is used.  The update() method
    implementation should do nothing when the surface is already up-to-date.
2008-12-31 18:53:57 +01:00
7f168dc93c cuttingPlane constructor with plane/mesh instead of mesh/plane 2008-12-31 15:17:18 +01:00
bf92e869a9 Changed the IOOutputFilter constructor to accept a "name" argument. For details see the changes proposed by Vincent Tang:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10405
2008-12-30 21:18:04 +00:00
7106f490bf Applied patch
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10427
2008-12-24 10:23:55 +00:00
c65a40d57d don't need shrink before List::transfer(DynamicList&) anymore 2008-12-12 14:20:56 +01:00
8f48c008d7 parallel fix 2008-12-09 15:59:00 +00:00
b30a6faf2c Merge commit 'OpenCFD/master' into olesenm 2008-11-28 18:06:40 +01:00
9eb5d198bb multiple isosurfaces from unregistered samplefield 2008-11-27 17:17:24 +00:00