Commit Graph

245 Commits

Author SHA1 Message Date
andy
868e2e4096 adding path to meshTools/lnInclude 2009-05-19 10:02:53 +01:00
andy
f97e559be8 Merge branch 'master' into lagrangianDev 2009-05-18 17:10:02 +01:00
andy
9becccaeeb removing unnecessary header file 2009-05-14 13:42:11 +01:00
andy
c9e57ad9d5 updated to reflect change in lagrangian phase source term names 2009-05-14 13:29:20 +01:00
andy
d89df4142e renamed 2009-05-14 13:25:02 +01:00
andy
92766a4418 removed link to local coalCombustion library 2009-05-12 13:23:11 +01:00
andy
69c7280f50 Merge branch 'olesenm' 2009-05-12 10:59:45 +01:00
henry
0ee817a060 Also added a separate specification of the static pressure level but the
location for the specification is the same as that for the pd level.
2009-05-11 23:19:56 +01:00
Mark Olesen
4366d8df2c cosmetics - adjust copyright dates 2009-05-11 15:10:31 +02:00
andy
02cc2455ed initial commit of reactingParcelFoam 2009-05-06 13:23:11 +01:00
graham
4fdcd3ef7b Merge branch 'master' into dsmc 2009-04-25 14:26:44 +01:00
mattijs
6c1fe9b4b6 reference instead of copy 2009-04-23 14:42:52 +01:00
mattijs
7c093d7aaa indentation corrected 2009-04-23 14:42:18 +01:00
mattijs
2aed2a2a9b moved hEqn out of inner loop for consistency 2009-04-23 14:41:59 +01:00
mattijs
89c66aa016 unused option 2009-04-23 14:41:18 +01:00
mattijs
adc012cab8 renamed ghf to prevent duplicate regIOobject 2009-04-17 12:23:05 +01:00
graham
239b954ad3 Changing FreeStream to create inflow on all patches of type patch. Implemented Bird eqn 4.22 for the number flux and eqn 12.5 for the velocity distibution. Drawing T and U for the FreeStream from the boundaryT and boundaryU fields. 2009-04-16 19:18:15 +01:00
mattijs
c42f04e843 multi-region directMapped 2009-04-16 18:45:01 +01:00
henry
5dd31ee0e5 Bug fixes from Niklas. 2009-04-08 16:53:05 +01:00
mattijs
fc09d219af indentation 2009-03-26 22:32:10 +00:00
mattijs
4f6be7e8b9 comment 2009-03-26 12:07:46 +00:00
henry
590293fe95 Use the PIMPLE rather than PISO dictionary. 2009-03-24 12:14:33 +00:00
mattijs
1a16524196 moved to subdirectory 2009-03-18 11:56:35 +00:00
andy
48b3071742 Merge branch 'dsmc' 2009-03-13 16:26:52 +00:00
henry
471d45f39f Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-11 16:49:56 +00:00
henry
73b153f302 Updates and extensions to the MRF and SRF handling. 2009-03-11 16:49:46 +00:00
graham
3a73f3d1aa Removed boundary setting in DsmcCloud field calculation, calling correctBoundaryConditions in solver instead. 2009-03-11 11:35:03 +00:00
mattijs
d6087d356f regions without faces 2009-03-10 20:24:38 +00:00
graham
a7341a7e95 Merge branch 'master' into dsmc 2009-03-09 11:20:58 +00:00
graham
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
graham
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
graham
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
Mark Olesen
1a2bcf7d84 Merge commit 'OpenCFD/master' into olesenm 2009-03-04 12:20:51 +01:00
graham
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
graham
8b4c6f0662 Merge branch 'master' into dsmc 2009-03-02 13:11:18 +00:00
mattijs
114fc6a9bd unnecessary linkage 2009-02-27 12:36:21 +00:00
Mark Olesen
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
graham
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
graham
7f9e4755cd Adding initial dsmc cloud and solver. 2009-02-23 18:55:24 +00:00
Mark Olesen
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
henry
aa6710901e Added Time::loop() to allow the
while(runTime.loop())
{
...
}

idiom.

Demonstrated in the shallowWaterFoam solver.
2009-02-17 22:00:59 +00:00
henry
fcd4e88e0e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-17 17:07:16 +00:00
henry
17b2e50e9c Added shallowWaterFoam solver and tutorial case. 2009-02-17 17:07:09 +00:00
Mark Olesen
19aa23d707 Merge commit 'OpenCFD/master' into olesenm 2009-02-17 16:35:00 +01:00
andy
c799fb0014 renamed to be consistent with new solver naming convention 2009-02-17 12:27:38 +00:00
andy
a5ab4126d8 renamed to be consistent with new solver naming convention 2009-02-17 12:09:27 +00:00
Mark Olesen
c2256e51f3 change solvers, utilities, etc. to use while (..) time-looping idiom
- this (now deprecated) idiom:
      for (runTime++; !runTime.end(); runTime++) { ... }
  has a few problems:
    * stop-on-next-write will be off-by-one (ie, doesn't work)
    * function objects are not executed on exit with runTime.end()
  Fixing these problems is not really possible.

- this idiom
      while (runTime.run())
      {
          runTime++;
          ...
      }
  works without the above problems.
2009-02-17 08:47:42 +01:00
andy
2d8ec16d6c update 2009-02-12 10:11:57 +00:00
andy
dfe1df4c61 new solver 2009-02-11 19:49:38 +00:00
andy
a7f68e85ef restructuring 2009-02-11 18:49:54 +00:00