Commit Graph

849 Commits

Author SHA1 Message Date
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
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
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
2aed2a2a9b moved hEqn out of inner loop for consistency 2009-04-23 14:41:59 +01:00
89c66aa016 unused option 2009-04-23 14:41:18 +01:00
6ce8e7d0c0 added List::append() methods 2009-04-22 16:11:52 +02:00
7de5697a2d use PatchTools algorithms 2009-04-20 17:49:24 +01:00
adc012cab8 renamed ghf to prevent duplicate regIOobject 2009-04-17 12:23:05 +01:00
d55c97669a directMapped extension for inter-region 2009-04-17 11:00:15 +01:00
6a3d9effa0 fixed typo in surface utils 2009-04-17 11:16:44 +02:00
239b954ad3 Changing FreeStream to create inflow on all patches of type patch. Implemented Bird eqn 4.22 for the number flux and eqn 12.5 for the velocity distibution. Drawing T and U for the FreeStream from the boundaryT and boundaryU fields. 2009-04-16 19:18:15 +01:00
c42f04e843 multi-region directMapped 2009-04-16 18:45:01 +01:00
485ea4c84f region option for decomposePar 2009-04-16 17:59:34 +01:00
676b7bfe73 added region option 2009-04-15 12:32:33 +01:00
dbe2b2c5fd added region option 2009-04-15 12:30:18 +01:00
54ec95e271 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-04-09 16:57:41 +01:00
b020b28787 made selfintersection check optional 2009-04-09 16:51:52 +01:00
c203c3d6fd fixed layer addition iterations 2009-04-09 13:04:23 +01:00
5dd31ee0e5 Bug fixes from Niklas. 2009-04-08 16:53:05 +01:00
51b470c0ee Improved argument handling and error messages.
Changed "axisNormal" to "axis": it isn't the normal to the axis.
2009-04-07 12:52:59 +01:00
2e6888a714 write hexRef8 data to correct mesh 2009-04-03 12:29:40 +01:00
bfb8d042fd split of decompositionAgglomeration 2009-04-02 13:29:28 +01:00
103b37d5e1 unmapped particle did not get cellID set 2009-04-01 10:33:50 +01:00
fc09d219af indentation 2009-03-26 22:32:10 +00:00
fa794c981d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-26 13:50:34 +00:00
96da5f0e5b sorted zones
modified:   ../applications/utilities/mesh/manipulation/setsToZones/setsToZones.C
	modified:   dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
2009-03-26 12:07:56 +00:00
4f6be7e8b9 comment 2009-03-26 12:07:46 +00:00
5569bd4bfe Merge branch 'olesenm' 2009-03-24 13:38:19 +00:00
590293fe95 Use the PIMPLE rather than PISO dictionary. 2009-03-24 12:14:33 +00:00
a55441e758 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-23 19:25:25 +00:00
232d22a7a1 New version from Niklas. 2009-03-23 19:25:17 +00:00
9bc9b9cd65 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-23 17:44:57 +00:00