Commit Graph

261 Commits

Author SHA1 Message Date
c508b2fe17 STYLE: consistent capitalization of Private/Protected Member Functions in comments 2010-03-30 11:33:42 +02:00
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
0c8fb634f0 ENH: enforce consistent boundness on turbulence models.
- remove epsilonSmall, omegaSmall
- k0/epsilon0/omega0 become kMin/epsilonMin/omegaMin
- add qMin/zetaMin for consistency

These files still need some attention:
    dynOneEqEddy.C
    NonlinearKEShih.C
    settlingFoam

BUG: incompressible::LESModels:dynOneEqEddy::correct()
- avoid tmp field destruction for consistency with the compressible
  version

Possible TODO:
   - set kMin to zero (instead of SMALL) and introduce kSmall
     to avoid division by zero
2010-03-24 09:07:53 +01:00
4f926a376f New solver: rhoPorousMRFPimpleFoam
Added compressibility support to MRFZone.
Required generalisation of the oneField concept.
Also clean-up the use of one and zero for consistency.
Simple mixerVessel2D tutorial case supplied.
2010-03-19 17:54:35 +00:00
3b038c3702 settlingFoam: Changed to solving for pmh (static pressure minus hydrostatic pressure).
While p and pmh (pd in OpenFOAM-1.5.?) are equivalent on orthogonal meshes they
are not on non-orthogonal meshes and the difference is very important for
buoyancy-dominated flows such as settling.  settlingFoam is now written in terms
of pmh (static pressure minus hydrostatic pressure) which used to be called pd
but that confused too may people.
2010-01-28 16:06:08 +00:00
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
c091d856ae pedantic changes: 'forAll (' -> 'forAll(' in applications/
- to match coding guidelines
2009-12-03 14:12:08 +01:00
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
fa93ce8cd7 coding style adherence
- markup codingStyleGuide.org examples so they actually indent correctly

- use 'Info<<' as per codingStyleGuide instead of 'Info <<'
2009-11-27 15:39:14 +01:00
bb65911c45 Added a correction to the boundary velocity and flux to make them consistent
with the boundary motion before the fluxes are corrected for continuity by
pcorr.
2009-11-18 23:10:26 +00:00
9bb3c1c1ba New solvers and tutorial cases transferred from OpenFOAM-1.6.x. 2009-10-30 17:24:02 +00:00
9221793088 Changing
deltaT().value() to deltaTValue()
and
    deltaT0().value() to deltaT0Value()
across the whole code - faster to return especially if being used
often, in each call to a submodel for example.
2009-10-21 16:36:07 +01:00
e9da288118 Reverted the Americanism "math" back to the original "mathematical" and reverted name of
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
c9be8d63de Added alternating stress term. 2009-08-18 17:12:38 +01:00
9fb0ed08e7 updating turb coeffs + fix typo 2009-08-13 09:54:57 +01:00
31c76da40f Changed the runtime-selection tables to output a sorted toc. 2009-08-06 18:01:28 +01:00
73ae3ddc6d include topoChangerFvMesh 2009-08-05 21:31:30 +01:00
e5a710d3eb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-05 16:18:38 +01:00
eba6c985a9 added rawTopoFvChanger mesh 2009-08-05 16:11:47 +01:00
7a8a318312 Revert "define values for standardCmu, standardKappa, standardE in turbulenceModel.H"
This reverts commit 54a8b6a152.
2009-08-03 15:31:14 +02:00
54a8b6a152 define values for standardCmu, standardKappa, standardE in turbulenceModel.H 2009-08-01 09:36:34 +02:00
827e3659b9 consistency update: kappa=0.41, E=9.8
- this would be an argument for providing default values at the top-level
  compressible/incompressible turbulenceModel
2009-07-31 18:15:54 +02:00
c1993c92fa Merge branch 'olesenm' 2009-07-23 12:42:52 +01:00
2f3016173e Modified Description entries for documenting purposes 2009-07-22 14:08:02 +01:00
5692a06a32 fixed up sloppy Allwclean files 2009-07-22 12:39:20 +02:00
b3d455de80 Removed turbulence model coefficients from the dictionaries to allow them to default. 2009-07-21 19:05:30 +01:00
5a83c4660c Added rho for the buoyantPressure BC. 2009-07-10 14:42:23 +01:00
d76820dc57 Changed g from being read from environmentalProperties to being read directly as a
uniformDimensionedVectorField.
2009-07-08 17:09:51 +01:00
4439183d96 Corrected handling of the wall BCs of p for buoyant flows. 2009-07-07 22:56:02 +01:00
7d73dd3171 updates for new thermo and general code tidying 2009-06-15 15:36:57 +01:00
e68480913f pd => p 2009-06-04 19:11:12 +01:00
c593fa63e5 pd => p 2009-06-04 17:35:47 +01:00
f20792493d New, improved with p rather than pd, PIMPLE rather than PISO and more general handling of the diffusivity. 2009-06-03 14:59:35 +01:00
1002f8d07f Changed to use p rather than pd. 2009-06-03 14:58:30 +01:00
20dcad4e57 Added the reciprocal of the turbulent Schmidt number. 2009-05-29 11:03:20 +01:00
1d14951bf5 Added turbulent diffusivity. 2009-05-29 09:32:32 +01:00
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
adc012cab8 renamed ghf to prevent duplicate regIOobject 2009-04-17 12:23:05 +01: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
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
11176914d4 memory leak 2009-02-05 15:28:32 +00:00
6d1466465b consistency update 2009-02-04 11:27:35 +00:00
1bd5737782 remove spurious references to INTERFOAM 2009-01-13 18:44:27 +00:00
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
04d26c8e38 Corrected dimensions of kappa. 2009-01-05 22:17:20 +00:00
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
468668d0be muf -> muEff for consistency 2008-12-19 14:48:54 +00:00