Commit Graph

878 Commits

Author SHA1 Message Date
e989229407 now building to APPBIN instead of USER_APPBIN 2009-05-28 19:01:37 +01:00
531f3c06b9 removing references to /home/shelob2/andy/OpenFOAM/andy-dev.FT/lib/linux64GccDPOpt 2009-05-28 18:58:53 +01:00
5969f1629c updates 2009-05-27 19:05:26 +01:00
2a1236c0c2 updates 2009-05-27 16:49:58 +01:00
85e5abd344 updates + added porous zones 2009-05-26 12:01:39 +01:00
02b6d0c661 adding new particle tracks app - needs work... 2009-05-22 17:03:49 +01:00
4ec0c9d174 new solver 2009-05-22 16:37:34 +01:00
71a73d9490 removing duplicate file 2009-05-22 11:57:05 +01:00
10c2f6bee0 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-05-21 10:13:42 +01:00
c7ab2fcc4c changed field name 2009-05-20 16:05:10 +01:00
8edf105c45 cleanup of time handling (cosmetic changes), used timeSelector in more places 2009-05-20 15:40:30 +02:00
7941b04785 Merge commit 'OpenCFD/master' into olesenm 2009-05-19 21:15:56 +02:00
d1295da31f adjust solvers and utilities to use new argList methods
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
724b034cc7 argList enhancement: added convenience methods for accessing options
Oriented somewhat on dictionary methods.

Return the argument string associated with the named option:
    Info<< "-foo: " << args.option("foo") << nl;

Return true if the named option is found
    if (args.optionFound("foo")) ...

Return an IStringStream to the named option
    old:      value = readScalar(IStringStream(args.options()["foo"])());
    newer:    value = readScalar(args.optionLookup("foo")());
    also:     List<scalar> lst(args.optionLookup("foo")());

Read a value from the named option
    newest:   value = args.optionRead<scalar>("foo");

Read a value from the named option if present.
    old:  if (args.options().found("foo"))
          {
              value = readScalar(IStringStream(args.options()["foo"])());
          }
    new:  args.optionReadIfPresent("foo", value);

Read a List of values from the named option
    patches = args.optionReadList<word>("patches");

Didn't bother adding optionReadListIfPresent<T>(const word&), since it
probably wouldn't be common anyhow.
2009-05-19 18:19:49 +02:00
5dbc2e53c1 moved h-eqn out of PISO loop 2009-05-19 15:03:39 +01:00
ef1f480257 adding path to meshTools/lnInclude 2009-05-19 10:02:53 +01:00
a723b85abd updates to enable requested field activated injection 2009-05-18 19:04:04 +01:00
13a61cb519 Merge branch 'lagrangianDev' into WBM 2009-05-18 17:13:47 +01:00
f97e559be8 Merge branch 'master' into lagrangianDev 2009-05-18 17:10:02 +01:00
a0a9cd3366 introduce readList<T> function
- Read a bracket-delimited list, or handle a single value as list of size 1.
  Mostly useful for handling command-line arguments.
  eg,
      if (args.options().found("patches"))
      {
          patches = readList<word>(IStringStream(args.options()["patches"])());
      }
  can handle both of these:
      -patches  patch0
      -patches \( patch1 patch2 patch3 \)
2009-05-18 12:05:52 +02:00
20c1a673e7 'rebrand' OSspecific Unix -> POSIX
- change name of environment variable from $WM_OS -> $WM_OSTYPE
  as a better description
2009-05-18 10:26:11 +02:00
64c0a9813f intial commit of coal combustion functionality 2009-05-14 15:17:47 +01:00
9becccaeeb removing unnecessary header file 2009-05-14 13:42:11 +01:00
c9e57ad9d5 updated to reflect change in lagrangian phase source term names 2009-05-14 13:29:20 +01:00
d89df4142e renamed 2009-05-14 13:25:02 +01:00
92766a4418 removed link to local coalCombustion library 2009-05-12 13:23:11 +01:00
72362de6b1 foamToEnsight* fixes and tweaks
foamToEnsight:
    - add -noPatches option
    - had incorrect part# when the internalMesh was not output
    - case file is always ascii

foamToEnsightParts:
    - fixed field selection bug,
      no fields were selected when a single time-step was selected
2009-05-12 12:37:25 +02:00
69c7280f50 Merge branch 'olesenm' 2009-05-12 10:59:45 +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
4366d8df2c cosmetics - adjust copyright dates 2009-05-11 15:10:31 +02:00
0bc18a26f6 bugfix decomposePar
- explicitly remove any previously decomposed 'mut' and 'nut' when
  decomposing fields since they can otherwise prevent the turbulence model
  from being upgraded properly.
  Removing all decomposed fields first might be a better idea in the
  long-term, but would probably be slower.
2009-05-11 10:52:51 +02:00
19d951ce86 minor cleanup of turbulence models
- added constructor dictionary(const dictionary*) that also handles NULL
  pointers and makes it convenient to construct from a possibly nonexistent
  sub-dictionary:
  eg,
      dictionary dict2(dict1.subDictPtr("someDict"));

- make some of the turbulence Coeffs sub-dictionary optional.
  Their contents are all 'lookupOrAddDefault' anyhow.

- in turbulentMixingLength BCs, skip namespace qualifier in template
  (eg, <RASModel> vs. <compressible::RASModel>)

- change comments from 'turbulenceProperties' to RASProperties/LESProperties

- consistency between compressible/incompressible - no separate file for
  'New' selector etc

- consistency in accessing the model coefficients.
  Use method coeffDict() for const access.
  Use protected data member coeffDict_ for read/write access.

- document model coefficients in etc/constant/RASProperties.
  Need the same for LESProperties before we can prune these from the
  tutorials.
2009-05-08 17:27:42 +02:00
02cc2455ed initial commit of reactingParcelFoam 2009-05-06 13:23:11 +01:00
51f443a345 Merge commit 'OpenCFD/master' into olesenm
Conflicts:
	applications/utilities/mesh/manipulation/createBaffles/createBaffles.C

Can't use [0] to assign the first value of a DynamicList unless it has been
preceded by a setSize() - use append() instead.
2009-05-06 09:33:38 +02:00
6e10b0defd adjusted dictionary #inputMode directive
- #inputMode error
  now issues a FatalError on duplicate entries

- #inputMode warn
  issues a warning on duplicate entries, corresponds to the
  old behaviour of 'error'

- #inputMode protect
  prevents overwriting existing entries

The 'protect' mode provides a simple mechanism for supplying default values.
eg,
    in file1:
        #inputMode  protect
        intensity       0.1;
        mixingLength    0.005;
        #inputMode  merge

        inlet
        {
            type        turbulentIntensityKineticEnergyInlet;
            intensity   $intensity;
        }

    which is included from file2:

        intensity   0.05;
        #include    "file1"
2009-05-05 13:18:29 +02:00
3d88003e77 order of creation consistent with cyclics 2009-04-30 20:31:13 +01:00
80d533325a added comment 2009-04-29 11:56:08 +01:00
3ce125ff48 minor build fix
- createBaffles used List::append(const T&), changed to DynamicList
2009-04-28 10:18:34 +02:00
c26396c00e Merge commit 'OpenCFD/master' into olesenm 2009-04-27 15:29:35 +02:00
0b1b0c2962 Merge branch 'dsmc' 2009-04-27 09:39:10 +01:00
48247a3d62 consistency update
- DynamicList gets append methods as per List
- misc cosmetic changes
2009-04-27 10:08:29 +02:00
2d96e32b13 add region option 2009-04-25 14:46:03 +01:00
4fdcd3ef7b Merge branch 'master' into dsmc 2009-04-25 14:26:44 +01:00
b3bf5034af region prefix already in IOobject 2009-04-24 17:01:39 +01:00
92dbf49ae6 allow multiple coincident baffles 2009-04-24 09:02:03 +01:00
04b82d9231 reconstructing moving mesh cases 2009-04-23 18:30:44 +01:00
dd0da3a3f5 new decomposition option 2009-04-23 18:30:26 +01:00
371903eb4a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-04-23 16:22:31 +01:00
6c1fe9b4b6 reference instead of copy 2009-04-23 14:42:52 +01:00
7c093d7aaa indentation corrected 2009-04-23 14:42:18 +01:00