f5d45542ae
Added Larsen Borgnakke internal energy redistribution and all supporting variables and function calls. Added energy and momentum monitoring functions. Added U and T fields to be used for boundary conditions and field measurement. Modified constructors accordingly. Now reading dsmcInitialiseDict in the Cloud, not the application. Initialisation dict now reads a subdict of <species keyword> <number density> entries.
2009-03-03 13:39:52 +00:00
6532fda297
restructing - surface reactions to multiphase level + clean-up
2009-03-02 19:15:45 +00:00
44a86232af
Added Jenkin's hash functions in C++ form
...
- not much speed difference between SuperFastHash and Jenkin's lookup3 but
both are 5-10% faster than what is currently implemented in Foam::string,
albeit inlining probably helps there.
- TODO: integration with existing infrastructure
2009-03-02 19:57:17 +01:00
5b7188afc9
added Lvap + re-arranged constant properties
2009-03-02 17:12:05 +00:00
0f80edf285
better treatment for 'none' option
...
- added new constructor to base classes
read/write injector props to uniform for clean restarts
2009-03-02 15:39:27 +00:00
6820f33509
incorrect read option
2009-03-02 15:09:23 +00:00
b5add8f750
Merge branch 'dsmc' of ssh://graham@hunt//home/noisy3/OpenFOAM/OpenFOAM-dev into dsmc
2009-03-02 13:21:40 +00:00
e10c3a86ba
minor formatting/coding changes
2009-03-02 13:18:45 +00:00
8b4c6f0662
Merge branch 'master' into dsmc
2009-03-02 13:11:18 +00:00
5e414f1146
Added kinetic energy and momentum monitoring functions.
2009-03-02 13:08:37 +00:00
b037b0e98d
All tags files are now in the .tags directory; ignore it.
2009-03-01 20:39:40 +00:00
f94fd4eb91
Minor format change.
2009-03-01 20:35:19 +00:00
c92fc95a04
Added forward declarations of IO operators, see:
...
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10948
2009-03-01 20:33:41 +00:00
9446fecf49
Corrected dimension handling in pow functions.
2009-03-01 20:32:41 +00:00
35eac2b9a3
Better tagging support.
2009-03-01 20:31:47 +00:00
c4099167d0
Added reduce operations to collision reporting.
2009-02-27 20:34:13 +00:00
28919eac73
Moved call to buildCellOccupancy() to within collisions. Was calling before move() had been called, so some particles were changing processor when running in parallel and invalidating the pointers.
2009-02-27 20:31:19 +00:00
af54627885
Selecting collisions and colliding with VHS model. BinaryCollisionModel requires the random number generator, so non-const access path established. Created fields for collision remainder and for sigmaTcRMax. Made latter a volScalarField so can be visualised, initialised by dsmcInitialise.
2009-02-27 20:16:45 +00:00
f613354d3d
phase change update
2009-02-27 18:59:45 +00:00
edff91a7c1
typo
2009-02-27 18:40:46 +00:00
aa84d7dd1a
added typedefs for the type of parcel the cloud was instantiated for
2009-02-27 17:29:07 +00:00
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
114fc6a9bd
unnecessary linkage
2009-02-27 12:36:21 +00: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
f80012000b
removed checking since overwrites files
2009-02-27 10:43:18 +00:00
bb74c5ae14
sample usage of wildcards
2009-02-26 22:48:30 +00: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