Commit Graph

267 Commits

Author SHA1 Message Date
graham
28345247a7 STYLE: Fixing code style requirements for more files - those not
picked up by a copyright change.
2010-07-29 11:28:44 +01:00
graham
012494fdb5 STYLE: Fixing code style requirements for all apps.
Exception: applyWallFunctionBoundaryConditions.C cannot split #include
directives.
2010-07-27 15:27:05 +01:00
mattijs
f6670f8dec COMP: Make/options added indirect libs for Solaris linker. 2010-07-15 09:38:52 +01:00
Mark Olesen
1a2319fde6 STYLE: PDRkEpsilon refactored to use kEpsilon inheritance 2010-06-18 19:24:23 +02:00
Mark Olesen
583d518ad5 ENH: Register RAS/LES models with (optional) alternative name
- allows better inheritance of models, since the coefficients
  dictionary can be made to match the derived class.

  related to commits 9544280e65 + 14b4c3849c
2010-06-18 15:37:00 +02:00
Mark Olesen
c1857db513 Merge remote branch 'OpenCFD/master' into olesenm 2010-06-18 12:52:46 +02:00
Mark Olesen
14b4c3849c ENH: allow protected access to RAS model coeffs/methods 2010-06-18 09:45:39 +02:00
mattijs
9544280e65 ENH: Register turbulenceModel with optional name (default is 'turbulenceModel')
Now instead of looking up RASModel we can lookup turbulenceModel instead.
2010-06-11 16:39:16 +01:00
Mark Olesen
d5ec1d3cee STYLE: minor typo in comments 2010-06-09 08:58:41 +02:00
mattijs
f1ee573aa0 Merge branch 'inotify'
Conflicts:
	TODO
2010-06-02 10:10:52 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
henry
361b153343 Final iteration information now available in mesh::data (used to be mesh::fvData)
Relaxation and solution parameters for the final iteration in PIMPLE loops are
now selected according to the value of the "finalIteration" entry in the
mesh::data dictionary.

rhoPimpleFoam significantly updates and now replaces rhoPisoFoam.
2010-05-25 18:45:25 +01:00
andy
7ad0be020e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-05-10 11:44:49 +01:00
henry
911f50cebe XiFoam: Added relaxation statements to Su and Xi equations
This makes the solver more robust when the "Courant number" of the flame
propagation fluctuates.
2010-05-06 14:45:53 +01:00
Mark Olesen
9c32ce1016 STYLE: use forAll macro in more places, avoid LF-CR endings 2010-04-23 18:35:55 +02:00
Mark Olesen
03338b9ea9 STYLE: partial revert for 5cfa97624e 2010-04-23 10:23:08 +02:00
Mark Olesen
4d2a297a67 BUG: syntax problems found by gcc-4.5.0
- "cpp -traditional-cpp" doesn't strip C++-style comments
  Probably need a workaround with sed -e 's@^ *//@@' if we
  wish to support C++-style comments in Make/{files,options}

- lduMatrixTests.C:121:1:
  error: ‘Foam::lduMatrix::solverPerformance::solverPerformance’ names
  the constructor, not the type

- edgeFaceCirculatorI.H:355:1:
  error: ‘Foam::edgeFaceCirculator::edgeFaceCirculator’ names the
  constructor, not the type

- patchPointEdgeCirculatorI.H:236:1:
  error: ‘Foam::patchPointEdgeCirculator::patchPointEdgeCirculator’
  names the constructor, not the type

- objToVTK.C:116:5:
  error: ‘Foam::argList::argList’ names the constructor, not the type

  same in surfaceClean.C, surfaceRefineRedGreen.C, surfaceSplitByPatch.C

- fireFoam/createFields.H:74:41:
  error: type/value mismatch at argument 1 in template parameter list
  for ‘template<class T> class Foam::autoPtr’
2010-04-22 09:00:31 +02:00
Mark Olesen
5cfa97624e STYLE: more consistent New methods, use unregistered IOobject where appropriate 2010-04-20 17:13:35 +02:00
Mark Olesen
937e0d23d0 STYLE: consistent naming of files containing the 'New' method
before:
    - 'new' prefixed to camel-cased class name: eg, someClass -> newSomeClass
    - 'New' prefixed to templated class name:   eg, TmplClass -> NewTmplClass
    - 'New' suffixed to class name:             eg, someClass -> someClassNew

after:
    - consistent 'New' suffixed to class name, no change of case
          eg, someClass -> someClassNew
          eg, TmplClass -> TmplClassNew
2010-04-13 18:47:47 +02:00
Mark Olesen
b6f3bd4c23 STYLE: follow coding guide recommendation for '//- Destructor' 2010-04-12 11:55:52 +02:00
Mark Olesen
c508b2fe17 STYLE: consistent capitalization of Private/Protected Member Functions in comments 2010-03-30 11:33:42 +02:00
Mark Olesen
3213388ddf Merge remote branch 'OpenCFD/master' into olesenm 2010-03-30 09:11:52 +02:00
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
andy
cb7fd50852 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-26 16:27:11 +00:00
andy
772e1d1b4f BUG: enthalpy source term for dieselFoam solver corrected 2010-03-26 16:26:53 +00:00
Mark Olesen
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
sergio
0455e4a013 BUG: volScalarField G in registry named RANSModel::G 2010-03-11 14:33:19 +00:00
sergio
2fcb6d506b BUG: option file in combustionModel links general thermo 2010-03-11 14:29:33 +00:00
andy
1dc1300ed3 STYLE: removed old comments 2010-02-12 18:47:24 +00:00
andy
a892403b15 STYLE: removed redundant rhoEqn 2010-02-12 18:45:03 +00:00
andy
ca37746fe4 ENH: Added (commented) line for unity Lewis no in hsEqn 2010-02-12 17:46:14 +00:00
andy
9171b6970f ENH: removed building of local thermo library - now in main source tree 2010-02-12 17:07:42 +00:00
andy
40f141e2c9 ENH: Updated enthalpy equations for solvers with chemistry using updated
sensible enthalpy thermo packages

- Enthalpy source term now retrieved from the chemistry model (scaled by
  kappa for the PaSR model)
2010-02-12 17:05:15 +00:00
andy
34cd4b9310 ENH: updated options file for fireFoam solver 2010-02-11 17:03:46 +00:00
andy
73ec58d3e8 ENH: Update of hsCombustionThermo
- moved sources from fireFoam solver into the thermophysicalModels library
- code clean-up
2010-02-11 17:00:55 +00:00
henry
3ed23da4fe New solver: fireFoam
For non-premixed combustion using sensible enthalpy.
2010-02-10 19:09:24 +00:00
Mark Olesen
2d91dedaa0 Merge commit 'OpenCFD/master' into olesenm 2010-01-22 13:23:43 +01:00
Mark Olesen
a694f6e374 Replace a few uses of triSurface with the more general meshedSurface. 2010-01-15 17:27:03 +01:00
andy
19f8fa236a Update PDR turbulence model to conform to updated turbulence model api 2010-01-11 12:59:32 +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
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
andy
6b289c32fd added check to ensure that the inert specie exists in available specie list 2009-10-28 12:21:28 +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
andy
9215ef540e moved UEqn to within outer loop 2009-09-10 15:34:18 +01:00
andy
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
henry
31c76da40f Changed the runtime-selection tables to output a sorted toc. 2009-08-06 18:01:28 +01:00
henry
5297267a5f Use new patch-based wall-functions. 2009-07-27 07:52:14 +01:00
Chris Greenshields
2f3016173e Modified Description entries for documenting purposes 2009-07-22 14:08:02 +01:00
henry
b248dd283c Added kappa_ and E_. 2009-07-21 22:26:01 +01:00
henry
110b65add1 Put UEqn in PIMPLE loop. 2009-07-14 21:09:15 +01:00
henry
e7d9bf9a35 Force Unity Lewis number constraint by using alphaEff in b and ft equations. 2009-07-14 21:08:52 +01:00
andy
e55c47478d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-07-08 19:10:55 +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
andy
54f9cc3fe9 added output of heat release, dQ (got lost somewhere along the way...) 2009-07-08 16:54:59 +01:00
andy
516c20c8e7 adding rhoReactingFoam solver 2009-07-06 15:33:55 +01:00
andy
9e4fcd1844 clean-up of #include files 2009-07-01 10:50:41 +01:00
andy
a549c0c800 not registering chemistry props dict in solvers 2009-06-19 12:56:08 +01:00
andy
3def6efd69 moved solver to lagrangian folder 2009-06-19 12:11:28 +01:00
andy
13fb959f0d lagrangian solver updates 2009-06-17 13:08:33 +01:00
andy
7d73dd3171 updates for new thermo and general code tidying 2009-06-15 15:36:57 +01:00
andy
0929b48698 simplifying i-o for chemistry models + thermo 2009-06-12 13:28:02 +01:00
andy
f27c151a67 updates needed for compatibility with new thermo descriptions - more needed... 2009-06-11 18:25:07 +01:00
andy
9af9f9c478 merging master into local branch 2009-06-11 17:29:19 +01:00
andy
89f1e6d149 updates/cosmetics 2009-06-11 17:19:41 +01:00
andy
42c240b97e cosmetics/code-tidying 2009-06-11 17:09:19 +01:00
andy
c3c36e6b16 updated name change of combustion->reaction lib 2009-06-10 19:37:52 +01:00
andy
279df4d0e6 merge into master 2009-06-05 17:40:08 +01:00
andy
44a01db5bc updates to conform with explicitCellSource 2009-06-05 16:35:35 +01:00
andy
3233ed6428 moved construction of carrier props to reacting cloud constructor 2009-06-03 11:02:43 +01:00
andy
c766b6c301 more fun with templates - templating thermo type throughout submodels 2009-06-02 19:55:56 +01:00
andy
d18719dd15 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-01 12:31:02 +01:00
andy
461e40db22 removing unused T variable 2009-06-01 11:45:23 +01:00
mattijs
435baa393d usage FOAM_USER_APPBIN 2009-05-29 15:37:50 +01:00
andy
e989229407 now building to APPBIN instead of USER_APPBIN 2009-05-28 19:01:37 +01:00
andy
531f3c06b9 removing references to /home/shelob2/andy/OpenFOAM/andy-dev.FT/lib/linux64GccDPOpt 2009-05-28 18:58:53 +01:00
andy
c7ab2fcc4c changed field name 2009-05-20 16:05:10 +01:00
andy
5dbc2e53c1 moved h-eqn out of PISO loop 2009-05-19 15:03:39 +01:00
andy
a723b85abd updates to enable requested field activated injection 2009-05-18 19:04:04 +01:00
andy
64c0a9813f intial commit of coal combustion functionality 2009-05-14 15:17:47 +01:00
henry
5dd31ee0e5 Bug fixes from Niklas. 2009-04-08 16:53:05 +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
Mark Olesen
42c04b8505 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 12:51:45 +01:00
mattijs
45bfb91afb thisDb to get at objectRegistry 2009-01-23 08:46:54 +00:00
Mark Olesen
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
andy
372cd1b0e6 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-20 13:35:56 +00:00
andy
7e08613522 tidying up 2009-01-20 12:09:12 +00:00
mattijs
bc3600f528 const reference to thermo 2009-01-13 16:35:45 +00:00
Mark Olesen
d7f99e3db6 cosmetics 2009-01-12 08:47:25 +01:00
Mark Olesen
9d9aea380a Merge commit 'OpenCFD/master' into olesenm 2009-01-12 08:45:15 +01:00
Mark Olesen
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
sergio
89a261ac0c resolve merge conflict in header file descriptions 2009-01-09 11:25:40 +00:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
mattijs
c7a0f553ef include file position 2008-12-11 18:54:43 +00:00
henry
fd7ec69cc3 Added documentation to PDRFoam. 2008-12-11 12:05:56 +00:00
sergio
b4a2f37f1b PDRFoam documentation completion 2008-12-08 13:51:31 +00:00
sergio
7c326218a8 Local Macros for Doxygen 2008-12-01 10:32:53 +00:00
sergio
75e7defd60 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-27 16:58:35 +00:00
sergio
21117b467b PDRkEpsilon.H Documentation 2008-11-27 16:54:30 +00:00
henry
c98e404f45 Corrected HPMPI case. 2008-11-27 16:46:06 +00:00
sergio
747db59c3a basic.H
XiModel.H
SCOPELaminarFlameSpeed.H
basicXiSubXiEq.H
basicXiSubG.H
Doxyfile (include PATH to OpenCFD Macros)
doxyFilt (include class documentation in /src)
2008-11-27 11:22:08 +00:00
henry
47d0a28d7d Updated utilities to use the new turbulenceModels paths. 2008-11-23 16:17:05 +00:00
henry
381b1e8c9f Updated compressible applications to use the new turbulenceModel base-class where appropriate
(transient solvers) and corrected paths to the new location of the turbulence models.
2008-11-23 15:01:53 +00:00
henry
95b8a978ff Correction to the PDR drag model. 2008-11-20 16:53:14 +00:00
mattijs
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01: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
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
88af0f59d9 Removed averaging (now in function objects) 2008-05-12 17:38:47 +01:00
henry
7678c14788 Removed averaging (now handled by function objects) 2008-05-12 16:57:13 +01:00
mattijs
035ec28544 Was built into USER_APPBIN 2008-05-06 16:36:53 +01:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00