Commit Graph

67 Commits

Author SHA1 Message Date
henry
d35773f4fb New solver: adjointShapeOptimizationFoam
Uses adjoint method to block regions of the domain causing total pressure loss,
e.g. recirculation zones.

pitzDaily tutorial case supplied.
2010-03-15 17:08:45 +00:00
mattijs
22ac629da5 BUG: Detect derived-from-wall boundary conditions 2010-03-01 14:49:47 +00:00
henry
cdb616eb48 Removed blank line. 2010-01-20 17:06:22 +00:00
Mark Olesen
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +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
andy
cf9b9bff17 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-12 13:29:10 +00:00
andy
e7347dbd62 removed unnecessary interpolation of h - not used 2009-11-09 10:15:07 +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
dc183f3011 Minor formatting change. 2009-08-18 17:14:25 +01:00
andy
d02c8d1a52 updated Up calc to use mag() 2009-08-13 09:44:09 +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
andy
827f834a93 corrected y+ calc, re-structured, better handling for walls 2009-08-03 09:53:13 +01:00
Chris Greenshields
2f3016173e Modified Description entries for documenting purposes 2009-07-22 14:08:02 +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
0df64ea1d3 merge after conflict resolution 2009-07-01 10:59:48 +01:00
andy
9e4fcd1844 clean-up of #include files 2009-07-01 10:50:41 +01:00
mattijs
0f7eb36836 double registering of dictionary 2009-06-25 19:35:17 +01:00
Mark Olesen
4366d8df2c cosmetics - adjust copyright dates 2009-05-11 15:10:31 +02:00
mattijs
4f6be7e8b9 comment 2009-03-26 12:07:46 +00:00
henry
590293fe95 Use the PIMPLE rather than PISO dictionary. 2009-03-24 12:14:33 +00:00
henry
73b153f302 Updates and extensions to the MRF and SRF handling. 2009-03-11 16:49:46 +00:00
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