Commit Graph

11 Commits

Author SHA1 Message Date
Mark Olesen
3e3c97397e STYLE: simplify hashing to use struct instead of class
- more consistent with STL practices for function classes.

- string::hash function class now operates on std::string rather
  than Foam::string since we have now avoided inadvertent use of
  string conversion from int in more places.
2018-02-09 15:34:59 +01:00
Mark Olesen
6a0a8b99b3 STYLE: use ""_deg user-literal for degrees to radians conversion
ENH: add degToRad() multiplier (useful for scalar fields)

- use degToRad() functions throughout instead of scattered local solutions
2017-07-04 15:36:46 +02:00
Henry Weller
ea5401c770 GeometricField::GeometricBoundaryField -> GeometricField::Boundary
When the GeometricBoundaryField template class was originally written it
was a separate class in the Foam namespace rather than a sub-class of
GeometricField as it is now.  Without loss of clarity and simplifying
code which access the boundary field of GeometricFields it is better
that GeometricBoundaryField be renamed Boundary for consistency with the
new naming convention for the type of the dimensioned internal field:
Internal, see commit 4a57b9be2e

This is a very simple text substitution change which can be applied to
any code which compiles with the OpenFOAM-dev libraries.
2016-04-28 07:22:02 +01:00
Henry
72ea7b4680 transportModel: remove IOdictionary base-class so that it is entirely abstract 2013-07-07 22:54:33 +01:00
Henry
dfd24f5e98 multiphaseSystem: removed phaseModelTable
phaseModelTable superseded by PtrDictionary
2012-08-28 23:25:04 +01:00
Henry
23ad7a11fe multiphaseEulerFoam: Completed support for surface tension and contact angle.
Also improved the efficiency of the handling of the models by evaluating only those specified.
2012-06-25 11:34:46 +01:00
Henry
0cc2df494f Updated header 2012-06-22 11:55:30 +01:00
Henry
93355167ec multiphaseEulerFoam: Completed support for surface tension 2012-06-22 11:55:10 +01:00
Henry
a5ba2cc9cd multiphaseEulerFoam: Work in progress 2011-10-26 14:30:06 +01:00
Henry
85d1a92cf2 Corrected formatting 2011-09-05 19:21:53 +01:00
Henry
2c335d360b multiphaseEulerFoam: new solver
including two simple tutorial cases
2011-09-05 19:06:38 +01:00