Commit Graph

107 Commits

Author SHA1 Message Date
henry
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
Mark Olesen
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
Mark Olesen
c091d856ae pedantic changes: 'forAll (' -> 'forAll(' in applications/
- to match coding guidelines
2009-12-03 14:12:08 +01:00
Mark Olesen
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
Mark Olesen
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
henry
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
henry
9bb3c1c1ba New solvers and tutorial cases transferred from OpenFOAM-1.6.x. 2009-10-30 17:24:02 +00:00
graham
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
henry
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
mattijs
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
andy
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
henry
c9be8d63de Added alternating stress term. 2009-08-18 17:12:38 +01:00
andy
9fb0ed08e7 updating turb coeffs + fix typo 2009-08-13 09:54:57 +01:00
henry
31c76da40f Changed the runtime-selection tables to output a sorted toc. 2009-08-06 18:01:28 +01:00
mattijs
73ae3ddc6d include topoChangerFvMesh 2009-08-05 21:31:30 +01:00
mattijs
e5a710d3eb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-05 16:18:38 +01:00
mattijs
eba6c985a9 added rawTopoFvChanger mesh 2009-08-05 16:11:47 +01:00
Mark Olesen
7a8a318312 Revert "define values for standardCmu, standardKappa, standardE in turbulenceModel.H"
This reverts commit 54a8b6a152.
2009-08-03 15:31:14 +02:00
Mark Olesen
54a8b6a152 define values for standardCmu, standardKappa, standardE in turbulenceModel.H 2009-08-01 09:36:34 +02:00
Mark Olesen
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
andy
c1993c92fa Merge branch 'olesenm' 2009-07-23 12:42:52 +01:00
Chris Greenshields
2f3016173e Modified Description entries for documenting purposes 2009-07-22 14:08:02 +01:00
Mark Olesen
5692a06a32 fixed up sloppy Allwclean files 2009-07-22 12:39:20 +02:00
henry
b3d455de80 Removed turbulence model coefficients from the dictionaries to allow them to default. 2009-07-21 19:05:30 +01:00
henry
5a83c4660c Added rho for the buoyantPressure BC. 2009-07-10 14:42:23 +01:00
henry
d76820dc57 Changed g from being read from environmentalProperties to being read directly as a
uniformDimensionedVectorField.
2009-07-08 17:09:51 +01:00
henry
4439183d96 Corrected handling of the wall BCs of p for buoyant flows. 2009-07-07 22:56:02 +01:00
andy
7d73dd3171 updates for new thermo and general code tidying 2009-06-15 15:36:57 +01:00
henry
e68480913f pd => p 2009-06-04 19:11:12 +01:00
henry
c593fa63e5 pd => p 2009-06-04 17:35:47 +01:00
henry
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
henry
1002f8d07f Changed to use p rather than pd. 2009-06-03 14:58:30 +01:00
henry
20dcad4e57 Added the reciprocal of the turbulent Schmidt number. 2009-05-29 11:03:20 +01:00
henry
1d14951bf5 Added turbulent diffusivity. 2009-05-29 09:32:32 +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
mattijs
adc012cab8 renamed ghf to prevent duplicate regIOobject 2009-04-17 12:23:05 +01: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
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
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
mattijs
11176914d4 memory leak 2009-02-05 15:28:32 +00:00
andy
6d1466465b consistency update 2009-02-04 11:27:35 +00:00
andy
1bd5737782 remove spurious references to INTERFOAM 2009-01-13 18:44:27 +00:00
Mark Olesen
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
henry
04d26c8e38 Corrected dimensions of kappa. 2009-01-05 22:17:20 +00:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
andy
468668d0be muf -> muEff for consistency 2008-12-19 14:48:54 +00:00
andy
c5c622e1ab adding pFinal 2008-12-19 14:45:28 +00:00
andy
9596677119 labelled muf - grad(muf) used, so can now manipulate in fvSolution etc 2008-12-19 14:03:49 +00:00
andy
dbe5e08213 minor mods:
- added pdFinal option
    - labelled muf - grad(muf) used, so can now manipulate in fvSolution etc
    - added absolute/relative around the calculation of divU
2008-12-19 13:59:05 +00:00
henry
9663072b5f Removed ddtPhiCorr. 2008-12-12 15:06:04 +00:00