Commit graph

4 commits

Author SHA1 Message Date
Henry Weller
43030b7fbc src/OpenFOAM: Added posPart and negPart functions
posPart returns a value or field in which the value or values are set to
0 if negative

negPart returns a value or field in which the value or values are set to
0 if positive
2015-07-03 18:02:24 +01:00
Henry
9d9dbffdad symmTensor: Add support for the innerSqr function
which takes the inner product of a symmTensor with itself and returns a symmTensor
2015-02-28 16:09:55 +00:00
Henry
50a2e36cf8 dimensionedType: Extend lookupOrDefault to handle any form of dimensioned type input
e.g.
     Not specified: default used.
     Fully specified: rhoMax          rhoMax [ 1 -3 0 0 0 ] 2.0;
     Without name:    rhoMax          [ 1 -3 0 0 0 ] 2.0;
     Value only:      rhoMax          2.0;
2015-02-17 10:16:01 +00:00
Henry
446e5777f0 Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00