Files
openfoam/applications/test
Mark Olesen 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
..
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2009-04-27 10:08:29 +02:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2009-01-27 21:55:03 +01:00
2009-04-27 10:08:29 +02:00
2009-03-12 19:25:21 +00:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2009-04-22 16:11:52 +02:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2009-02-27 16:41:51 +01:00
2008-12-31 19:01:56 +01:00
2009-02-06 20:43:09 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2009-01-05 12:30:19 +01:00
2008-12-31 19:01:56 +01:00
2009-03-05 12:06:57 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-08-19 13:49:00 +01:00
2009-04-27 10:08:29 +02:00
2009-03-06 15:18:00 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2008-12-31 19:01:56 +01:00
2009-04-27 10:08:29 +02:00
2008-12-31 19:01:56 +01:00
2009-01-05 12:30:19 +01:00