Commit Graph

212 Commits

Author SHA1 Message Date
471d45f39f Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-11 16:49:56 +00:00
73b153f302 Updates and extensions to the MRF and SRF handling. 2009-03-11 16:49:46 +00:00
d6087d356f regions without faces 2009-03-10 20:24:38 +00:00
1a2bcf7d84 Merge commit 'OpenCFD/master' into olesenm 2009-03-04 12:20:51 +01: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
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
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
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
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
4cc5ec39ea applying update from Graham 2009-01-13 18:03:18 +00:00
8152f4f8d1 Removing two older solvers. 2009-01-13 17:44:42 +00:00
44eeb27b52 Dealing with molecules that do not have all 3 diagonal components of the principal axis inertia tensor, i.e. point masses (mono-atomics) and linear molecules (diatomics and CO2 for example). 2009-01-13 16:50:11 +00:00
bc3600f528 const reference to thermo 2009-01-13 16:35:45 +00:00
fa8f316ecc Adding pressure measurement via r dot f and temperature measurement and control including rotational energy. Adding random orientation on initialisation. Modifying constantProperties construction to detect point masses. Tidy up hitWallPatch function to remove commented out stochastic wall code. 2009-01-12 17:35:57 +00:00
d7f99e3db6 cosmetics 2009-01-12 08:47:25 +01:00
9d9aea380a Merge commit 'OpenCFD/master' into olesenm 2009-01-12 08:45:15 +01:00
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00