Commit Graph

1870 Commits

Author SHA1 Message Date
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
1a2bcf7d84 Merge commit 'OpenCFD/master' into olesenm 2009-03-04 12:20:51 +01: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
8b4c6f0662 Merge branch 'master' into dsmc 2009-03-02 13:11:18 +00:00
114fc6a9bd unnecessary linkage 2009-02-27 12:36:21 +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
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
7f9e4755cd Adding initial dsmc cloud and solver. 2009-02-23 18:55:24 +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
fcd4e88e0e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-17 17:07:16 +00:00
17b2e50e9c Added shallowWaterFoam solver and tutorial case. 2009-02-17 17:07:09 +00:00
19aa23d707 Merge commit 'OpenCFD/master' into olesenm 2009-02-17 16:35:00 +01:00
c799fb0014 renamed to be consistent with new solver naming convention 2009-02-17 12:27:38 +00:00
a5ab4126d8 renamed to be consistent with new solver naming convention 2009-02-17 12:09:27 +00:00
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
2d8ec16d6c update 2009-02-12 10:11:57 +00:00
dfe1df4c61 new solver 2009-02-11 19:49:38 +00:00
a7f68e85ef restructuring 2009-02-11 18:49:54 +00:00
d12bf72ddc output min/max T as scalar 2009-02-11 18:39:34 +00:00
d3ec38f0aa Merge commit 'OpenCFD/master' into olesenm 2009-02-06 10:40:19 +01:00
07ed75e8e3 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-05 15:37:32 +00:00
f903801502 forgot to commit new files 2009-02-05 15:36:56 +00:00
11176914d4 memory leak 2009-02-05 15:28:32 +00:00
6d1466465b consistency update 2009-02-04 11:27:35 +00:00
a83588ec11 using surfaceScalarField constructor to name field 2009-02-04 10:25:31 +00:00
efdb3fd3fa improved flux calcs + more clean-up 2009-02-04 10:21:23 +00:00
61e1c0c1ea major clean-up 2009-02-04 09:46:26 +00:00
6d3a272372 applying improved flux-velocity correspondence 2009-02-03 18:24:23 +00:00
75f6168b0b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-03 17:19:58 +00:00
ddf1a3c224 I did what I had to do 2009-02-03 16:59:45 +00:00
338b72b1eb Improved the flux-velocity correspondence for cases where hydrostatic balance is
important e.g. in atmospheric flows.
2009-02-03 16:51:07 +00:00
a434d4f9de Prantdl -> turbulent Prandtl number 2009-02-03 16:29:39 +00:00
f7040f7cc1 using DpDt and adding run-time modifiable timestep support 2009-01-29 13:41:08 +00:00
0f3c91ce0a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 15:55:28 +00:00
d0e99ff347 Adding new buoyantBoussinesqSimpleFoam
- incompressible, Boussinesq variant of buoyantSimpleFoam
    - requires new fixedFluxBoussinesqBuoyantPressure bc on pd at walls
      to balance the flux generated by the temperature gradient
2009-01-28 15:11:43 +00:00
6d6828ed49 Merge branch 'master' into molecularDynamics 2009-01-27 14:50:04 +00:00
20d0e54aee Writing XYZ on field write. Reading in and storing siteMasses on constantProperties construction. 2009-01-26 18:37:40 +00:00
42c04b8505 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 12:51:45 +01:00
45bfb91afb thisDb to get at objectRegistry 2009-01-23 08:46:54 +00:00
e788f80b86 Writing XYZ to individual time directories 2009-01-22 21:01:14 +00:00
bd4d8db171 Added XYZ site writer 2009-01-22 19:39:57 +00:00
6d57bb4e7b added PackedBoolList typedef (used everywhere) and improved PackedList
- new members:  capacity(), two-argument resize()/setSize(), const storage()
- new static members: max_value(), packing(), etc.
2009-01-21 11:30:10 +01:00
2723998c7b Merge branch 'master' into molecularDynamics 2009-01-20 17:24:45 +00:00
4f87d60530 rename dictionary variable 2009-01-20 16:34:10 +00:00
372cd1b0e6 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-20 13:35:56 +00:00
7e08613522 tidying up 2009-01-20 12:09:12 +00:00
dde4ca5bf7 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-14 12:36:22 +00:00
9a1d3aec1d debug printing 2009-01-14 12:24:09 +00:00
1bd5737782 remove spurious references to INTERFOAM 2009-01-13 18:44:27 +00:00