Commit Graph

10204 Commits

Author SHA1 Message Date
f83e4cbd98 reorganized locations of some primitives 2009-02-27 17:46:43 +01:00
106d417de0 StaticAssert added
- catch people using silly template sizes for FixedList, PackedList
2009-02-27 16:41:51 +01:00
0f7b03e69f operator== on result of operator[] behaves weird 2009-02-27 15:41:09 +00:00
7f71a9bcf6 coupled faces included 2009-02-27 15:40:44 +00:00
de5df6f0bb initial check-in with new composition structure 2009-02-27 14:05:41 +00:00
42321aa314 relocated devolatilisation models 2009-02-27 14:03:03 +00:00
cec32d2afe prevent softlinking errors if file exists 2009-02-27 12:54:26 +00:00
a15e5f7f05 zone faces derived from cell zone 2009-02-27 12:53:55 +00:00
dbc9b7427a PackedList iterator bugfix
- compare iteratorBase == iteratorBase by value, not position
  thus this works
      list[a] == list[b] ...

- compare iterator == iteratorBase and const_iterator == iteratorBase
  by position, not value. The inheritance rules means that this works:
      iter == list.end() ...
  this will compare positions:
      iter == list[5];
  Of course, this will still compare values:
      *iter == list[5];
2009-02-27 13:43:43 +01:00
afdbf9a553 faceZone derived 2009-02-27 12:33:11 +00:00
576d9388f0 Preliminary work on hashing
- Hash returns unsigned
- FixedList templated on unsigned int
- include uLabel.H in UList, HashTable etc. so the output function is know
  throughout
2009-02-27 12:40:37 +01:00
e0da094bb3 min distance correction 2009-02-26 22:43:53 +00:00
aabf0eff4d comment update 2009-02-26 20:59:36 +00:00
b5a13bd87e comment update 2009-02-26 20:59:25 +00:00
65baa26a80 mergeDist never set. 2009-02-26 20:14:20 +00:00
0d899d924a instance searching 2009-02-26 17:59:12 +00:00
b6d235cd73 Correct velocity initialisation. MaxwellianThermal wall interaction done with correct normal component (Garcia, Numerical Methods for Physics, 2nd ed) - needed to make trail from hitWallPatch back to cloud non-const as random number generator required. 2009-02-26 17:56:09 +00:00
a46c85f5a4 HashTable changes
- make table power-of-two, but since it seems to give 1-2% performance
  improvement, maybe forget it too.

- remove two-argument form of hashing classes and do the modulus direclty
  within HashTable instead. This simplifies things a fair bit.

- migrate Hash<void*> from db/dlLibrary to primitives/hashes/Hash
2009-02-26 17:49:47 +01:00
2aeee852e8 PackedList bugfix, HashTable tweak
- it was possible to create a PackedList::iterator from a
  PackedList::const_iterator and violate const-ness

- added HashTable::printInfo for emitting some information

- changed default table sizes from 100 -> 128 in preparation for future
  2^n table sizes
2009-02-26 15:32:47 +01:00
f644d9d277 handling empty 2009-02-26 09:02:13 +00:00
a4466eee33 Removed readFields from initialisation constructor in dsmcCloud - fields did not exist on disk but the cloud had non-zero size so readFields in DsmcParcel attempted to read them. Finished initialisation of postions, still to do velocities. 2009-02-25 18:53:29 +00:00
9edb5b4941 Changing template-depth back to 40. Adding initialisation functions and constantProperties construction. 2009-02-25 18:04:51 +00:00
e562aecb73 HashTable performance: find(), found() check nElmts_ instead of tableSize_
- much better performance on empty tables (4-6x speedup), neutral
  performance change on filled tables. Since tableSize_ is non-zero when
  nElmts_ is, there is no modulus zero problem.
2009-02-25 18:58:48 +01:00
698008e976 Renaming BinaryElasticCollisionModel to BinaryCollisionModel - some models that redistribute internal energy are not elastic. 2009-02-25 14:50:42 +00:00
e41cd49dc9 tidying up 2009-02-25 13:48:13 +00:00
ce99c74967 typo 2009-02-25 13:43:27 +00:00
9c8432a002 regIOobject: make checkIn(), checkOut() return bool 2009-02-25 11:17:06 +01:00
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
bb804cc36a Bug-fix in the dimensionedScalar argument list
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/11287
2009-02-25 10:47:43 +01:00
2b58eb6208 Allow SubField construct from UList w/o extra size specification
- this allows SubField<point> for unallocated storage in PrimitivePatch
2009-02-25 10:35:10 +01:00
c49b302aa3 added solutionD and geometricD 2009-02-24 19:20:55 +00:00
cc971bb393 tidy-up + virtual destructors on sub-models 2009-02-24 18:58:19 +00:00
06feeb3784 updates 2009-02-24 18:31:29 +00:00
f38e4fdd3d Forgot to git add new files referred to in commit 5fca1e879d message. Initial DSMC implementation now included properly. 2009-02-24 18:13:47 +00:00
5fca1e879d Finished DSMC code initial layout and test solver - both compile. Using lagrangian/dsmc local version of WallInteractionModel until requirements stabilise. Removed use of InjectionModel - not suitable, designed for continuum cases, requires single constProps from trackData - multispecies DSMC requires a List of constantProperties, one for each species. 2009-02-24 18:10:26 +00:00
6b3e3c6597 dynamicPressure -> staticPressure 2009-02-24 16:47:24 +00:00
8d97ebf3cd Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-24 15:57:53 +00:00
46681700d8 re-structure of reacting class
- reacting now single phase, multi-component
      - new phase change sub-model
    - new reactingMultiphase = multi-phase, multi-component
2009-02-24 15:35:37 +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
ab49c60394 instance searching 2009-02-24 12:08:54 +00:00
78b10babac collection 2009-02-24 12:07:06 +00:00
2d81360722 removed instance searching 2009-02-24 12:06:28 +00:00
e37b5efc02 Line removed 2009-02-24 10:05:09 +00:00
7f71aadf49 cosmetics 2009-02-24 09:45:00 +00:00
7f9e4755cd Adding initial dsmc cloud and solver. 2009-02-23 18:55:24 +00:00
761ccd2bb3 updates 2009-02-20 19:12:27 +00:00
e2bad4ddac restructuring
- injection model sets new parcel position and cell owner
    - allows injection model to cache injection cells etc.
2009-02-20 17:45:44 +00:00
b5140f74aa cosmetics 2009-02-20 16:58:04 +00:00
4b623e594c wildcards in dictionary 2009-02-20 16:47:33 +00:00