Commit Graph

3936 Commits

Author SHA1 Message Date
57bc6a726a Merge branch 'lagrangianDev' into WBM 2009-05-20 14:58:43 +01:00
a9e1faf9c3 removing const-ness 2009-05-20 14:58:27 +01:00
5866b3a114 correcting signs for return heat of reaction 2009-05-20 14:54:12 +01:00
6ec44522c0 Merge branch 'lagrangianDev' into WBM 2009-05-20 14:50:30 +01:00
0696e9aa44 corrections to chemical enthalpy transfer 2009-05-20 14:50:08 +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
174efa305c Merge branch 'lagrangianDev' into WBM 2009-05-19 18:27:02 +01:00
58871d4368 adding writeRegisteredObject 2009-05-19 18:18:56 +01:00
4fa5f74f8a using null constructor for none option 2009-05-19 17:37:41 +01:00
c4ac52e6b0 fix: taking carrier specie id 2009-05-19 17:37:04 +01: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
55e766bd67 Fix: edge lookup from edgeLabels_ by index rather than just from edges 2009-05-19 15:48:54 +01:00
3efc299dea multiple updates 2009-05-19 15:06:43 +01:00
bbb9e52353 updates to surface reaction models 2009-05-19 15:05:18 +01:00
04064d110b fixed: wrong calculation of H1 2009-05-19 15:03:00 +01:00
1d2a94c38b HashTable minor iterator issues
- made const_iterator::operator* and const_iterator::operator() const only
- added const versions of iterator::operator* and iterator::operator()
2009-05-19 13:14:54 +02:00
de937e59d1 typo - missing ()'s 2009-05-18 19:36:31 +01:00
f2f7b74f03 added pre-factor for reference field 2009-05-18 19:02:16 +01:00
6f68f6fb20 typo - missing ()'s 2009-05-18 19:36:31 +01:00
2ca4831e61 multiple updates 2009-05-19 15:06:43 +01:00
8883e2b87e fixed: wrong calculation of H1 2009-05-19 15:03:00 +01:00
98fc11e827 added pre-factor for reference field 2009-05-18 19:02:16 +01:00
2f5178f60c updates 2009-05-18 18:05:17 +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
f6108ac023 updated copyright notices 2009-05-18 17:04:50 +01:00
c7d2bbec32 updates 2009-05-18 17:01:58 +01:00
04b673aada added new models 2009-05-18 17:01:20 +01:00
6b0b3453b7 Merge branch 'lagrangianDev' into WBM 2009-05-18 16:48:38 +01:00
3a4df7a451 refactored gases->carrierSpecies 2009-05-18 16:35:42 +01:00
1c6d3e2cbf Formatting changes 2009-05-18 14:12:06 +01:00
d054f81b57 using 1/3 rule for surface film temperature
comments
2009-05-18 12:06:52 +01:00
5c0b253300 avoid possible div0 2009-05-18 12:06:27 +01:00
c29b236d44 Bug fixes from:
http://www.cfd-online.com/Forums/openfoam-bugs/64379-bugs-moleculedynamics-
model.html

http://www.cfd-online.com/Forums/openfoam-bugs/64383-fix-taking-reference-
temporary-object-tetherpotentiallist-c.html
2009-05-18 11:49:32 +01:00
f673d3e338 updated coupling with carrier phase 2009-05-18 11:08:07 +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
c2d39f1435 adding new coal-based surface reaction moodels 2009-05-18 09:38:31 +01:00
06517656e8 Foam::findEtcFile - avoid false positives on directories
- use isFile() instead of exists() for file-checking
2009-05-18 10:27:32 +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
51e8809560 Merge branch 'lagrangianDev' into WBM 2009-05-15 17:13:15 +01:00
34254a29b0 assuming volatile mass does not include mass due to phase change 2009-05-15 16:19:46 +01:00
423cc00ae7 adding const-ness 2009-05-15 14:50:34 +01:00
0fb2546a43 updated for empty specie list 2009-05-15 14:39:01 +01:00
a624d51561 Added further stabilisation for the case where ksStar is very large. 2009-05-15 14:24:42 +01:00
3f11699fce updates for phase change modelling 2009-05-15 13:14:59 +01:00
f27c3cff74 changed notImplemented(...) to warnings under debug mode 2009-05-15 13:14:15 +01:00
b02f6145fd changed setting of carrier global ids for particle solid components 2009-05-15 13:13:24 +01:00
a41e845f97 changed info message 2009-05-15 13:12:18 +01:00