Commit Graph

3936 Commits

Author SHA1 Message Date
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
80707849f3 Merge branch 'master' into lagrangianDev 2009-02-20 16:36:38 +00:00
ef8ac6ff9e message change 2009-02-19 22:41:23 +00:00
4f23395fb9 Added buoyancy effects
- NOTE: not included pRef - still needs to be done (somehow)
2009-02-19 17:58:25 +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
a40999c586 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-18 12:30:33 +00:00
c2c0c66fd2 typo 2009-02-18 11:15:47 +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
aa6710901e Added Time::loop() to allow the
while(runTime.loop())
{
...
}

idiom.

Demonstrated in the shallowWaterFoam solver.
2009-02-17 22:00:59 +00:00
19aa23d707 Merge commit 'OpenCFD/master' into olesenm 2009-02-17 16:35:00 +01:00
663e9b7abf start simplification of fieldAverage
- track previous time index and to avoid recalculating averages.
- make sure averages are up-to-date before calling write
2009-02-17 16:21:41 +01: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
5e34369a32 using IOobjects for reading 2009-02-16 18:55:28 +00:00
c64902ea74 Use gSum rather than sum for parallel running. 2009-02-15 21:45:13 +00:00
8a474e2de1 Corrected typo. 2009-02-15 21:44:44 +00:00
6206a2e1a5 Stabilised the models by forcing the production of k and epsilon to be positive
even when the dot-product of the Reynolds stress and the gradient of velocity is
negative.  Currently this is done by taking the magnitude, another alternative
would be to take only the positive part.
2009-02-15 21:43:06 +00:00
f266f17adf Updates from Niklas:
Better properties for CH4N2O
Limiting the temperature to the boiling-point in parcel
2009-02-15 21:39:20 +00:00
c063d04a3d Small cleanup. 2009-02-15 21:37:29 +00:00