Commit Graph

41 Commits

Author SHA1 Message Date
Mark Olesen
1a2bcf7d84 Merge commit 'OpenCFD/master' into olesenm 2009-03-04 12:20:51 +01:00
mattijs
114fc6a9bd unnecessary linkage 2009-02-27 12:36:21 +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
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
henry
3c2e85bac9 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-08 20:19:11 +00:00
henry
fcdcf55610 Added support for "pFinal". 2009-01-08 20:05:46 +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
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
andy
393e4d232e added explicit call to UEqn.relax() 2008-12-19 14:01:00 +00:00
henry
4d02f410b4 Moved setDeltaT to before the flux is made absolute. 2008-12-12 12:27:36 +00:00
henry
8d2bed91ce Added ddtPhiCorr back into the pEqn, use if wisely. 2008-12-12 12:24:12 +00:00
henry
47d0a28d7d Updated utilities to use the new turbulenceModels paths. 2008-11-23 16:17:05 +00:00
henry
0479165024 Added generic turbulenceModel base class to incompressible turbulence models. 2008-11-20 20:33:06 +00:00
henry
326b86ec2d Added generic turbulenceModel base class to incompressible turbulence models. 2008-11-20 17:07:17 +00:00
henry
4e2027c1f9 Added optional UEqn relaxation. 2008-10-12 11:43:35 +01:00
henry
81f08283f4 Added momentum equation relaxation to allow forcing diagonal-dominance. 2008-10-07 10:07:43 +01:00
andy
aacc33e946 removing spurious link to malloc 2008-09-24 13:43:13 +01:00
andy
538ad4482f Merge branch 'master' of ssh://hunt/~OpenFOAM/OpenFOAM-dev 2008-09-12 11:18:42 +01:00
henry
7993ea55d5 Moved gradP.raw to the "uniform" sub-directory. 2008-09-11 15:32:32 +01:00
mattijs
c2b09b20a6 built into FOAM_USER_APPBIN 2008-08-19 13:47:45 +01:00
henry
83d9e20f74 Removed reference to PISO sub-dict. 2008-08-15 11:30:24 +01:00
henry
9a7ca2b988 Added pimpleFoam to the collection. 2008-08-13 12:40:14 +01:00
henry
cbd606d398 Minor format correction. 2008-07-27 10:14:32 +01:00
Mark Olesen
655ef10401 convergence check for terminating SIMPLE steady-state solvers
- rhoPorousSimpleFoam
  - rhoSimpleFoam
  - buoyantSimpleFoam
  - buoyantSimpleRadiationFoam
  - simpleFoam
2008-07-09 08:33:06 +02:00
Mark Olesen
32d46dc30c add in UEqn.H, pEqn.H for simpleFoam as well 2008-07-08 14:45:31 +02:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
andy
56fd8890d5 consistency updates 2008-06-20 11:22:33 +01:00
andy
b3cb7c3dd3 created incompressible namespace for incompressible LES models 2008-06-18 17:43:42 +01:00
andy
2b01d2f5da consistency update - (in)compressibleTurbulenceModels -> (in)compressibleRASmodels 2008-06-18 10:06:06 +01:00
andy
f4b2b04f58 consistency update 2008-06-17 17:28:12 +01:00
andy
24c4b1b745 relocation of turbulence models and renaming namespaces 2008-06-17 10:48:04 +01:00
andy
168c7e1ca9 removing FoamX 2008-06-04 13:40:02 +01:00
henry
9879aacb5a Removed ddtPhiCorr as the standard approach does not work with
moving meshes
2008-05-27 22:51:14 +01:00
henry
3f20e26231 Reverting ddtPhiCorr back to standard (not good for moving meshes) 2008-05-27 17:13:35 +01:00
henry
4a2a23a710 Lots of changes from Mark and my changes to ddtPhiCorr all mixed together
because I failed to work out how to merge Mark's stuff -- HELP!!!
2008-05-25 21:46:37 +01:00
henry
6519ade10b Reorganised DNSandLES, moved the LES solvers to the appropriate sub-directories 2008-05-22 11:05:39 +01:00
henry
6fc7b06b19 Made ddtPhiCorr optional in moving-mesh solvers.
Controlled via the "ddtPhiCorr" switch in the PISO sub-dict,
defaults to false.
2008-05-09 12:48:45 +01:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00