Commit Graph

2337 Commits

Author SHA1 Message Date
9c32b96e01 Added equipartition internal energy distribution sampling function and calling on particle intialisation, Maxwellian wall collision and free stream injection. Interface with WallInteractionModel modified to pass a scalar& for the internal energy and a label to specify the typeId. 2009-03-06 15:53:01 +00:00
e111540322 Info line tweaks. 2009-03-06 13:41:24 +00:00
31964adc76 Averaging does not need to be weighted if the fields being averaged are extensive - they weight themselves automatically. Recording momentum and energy denisty, and averaging them, then once decent averaged fields exist, using the new dsmcFields utility to create the intensive fields: UMean and TMean (translational, internal and overall). 2009-03-06 12:59:58 +00:00
a967daeb34 Change of plan - fields will be stored or referenced only at the solver level and tmps will be returned from the clouds to give them their instantaneous values. Only T and U will be supplied to the dsmcCloud, as before, to provide boundary conditions. Added required field calculation functions. Taking care about what is measured - a U field requires sum(momentum)/sum(mass) per cell - cells can have zero particles in them, hence divide by zero problems. Averaging the momentum field and the rhoM field, and constructing the velocity by dividing the averages as a post-processing stage is a safer and more physcially correct method. 2009-03-05 19:15:26 +00:00
65bb236e4f Added new fields to solver and basic calculation of momentum and energy change on wall impact. Need to add references to new fields to DsmcCloud and constructors, all references are to be non-const as the field calculation will occur inside the DsmcCloud. 2009-03-04 18:00:57 +00:00
dc7c3ae7af Properly random distribution of particles across inflow patch faces. Modified info() reporting to average per-molecule energy and momentum - more useful. 2009-03-04 14:17:42 +00:00
fdd9cbee92 Added InflowBoundaryModel submodel with NoInflow and FreeStream models. Free stream inserts particles at a specified patch. Currently inserting particles half way along the face centre to cell centre line - will randomise. Fixed label/scalar inconsistency between declaration and accessors of nParticles. 2009-03-03 18:57:20 +00:00
4f51b61d2d Added velocity and temperature lookup from boundary fields to MaxwellianThermal wall. 2009-03-03 14:37:12 +00:00
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
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
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
114fc6a9bd unnecessary linkage 2009-02-27 12:36:21 +00:00
afdbf9a553 faceZone derived 2009-02-27 12:33:11 +00: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
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
698008e976 Renaming BinaryElasticCollisionModel to BinaryCollisionModel - some models that redistribute internal energy are not elastic. 2009-02-25 14:50:42 +00:00
c49b302aa3 added solutionD and geometricD 2009-02-24 19:20:55 +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
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
364e8e001d reintroduce comments 2009-02-24 12:07:50 +00:00
78b10babac collection 2009-02-24 12:07:06 +00:00
2d81360722 removed instance searching 2009-02-24 12:06:28 +00:00
af8a42067c collapse cell detection 2009-02-24 12:05:35 +00:00
9cea1db461 Removing CV mesher from dsmc branch 2009-02-24 10:10:31 +00:00
e37b5efc02 Line removed 2009-02-24 10:05:09 +00:00
7f9e4755cd Adding initial dsmc cloud and solver. 2009-02-23 18:55:24 +00:00