Difference between revisions of "User:Hoogs/Presentation/How to use OpenFOAM"

From OpenFOAMWiki
(New page: * OpenCFD have recently partnered with SGI to provide [http://www.opencfd.co.uk/training.html training courses] ** There is a [http://www.opencfd.co.uk/openfoam/doc/user.html User Guide] w...)
 
(Expanded)
Line 5: Line 5:
 
* There is no substitute for playing with tutorial cases and messing with the code
 
* There is no substitute for playing with tutorial cases and messing with the code
 
** Learning C++ takes time, but there are plenty of [http://www.linuxselfhelp.com/HOWTO/C++Programming-HOWTO-13.html online resources]
 
** Learning C++ takes time, but there are plenty of [http://www.linuxselfhelp.com/HOWTO/C++Programming-HOWTO-13.html online resources]
** Budget about 6-18 months to become a proficient and confident in C++
+
** Budget about 3-18 months to develop real confidence in C++, depending on how much time you have
** It takes time to understand the OpenFOAM code arrangement, and you are mostly on your own if you cannot afford the courses
+
** You need to write/modify code regularly to do this
 +
** Understanding the OpenFOAM code arrangement is a separate exercise, and you are mostly on your own if you cannot afford the courses
 +
*** Expect this to get easier as the user community grows just through word of mouth
 +
*** Things have come a long away even in just the last four years!
 +
* You need to compile the code to use it
 +
** But you should anyway, at least once, takes many hours usually (large C++ code bases tend to take longer to compile than C)
 +
** OpenCFD provide pre-compiled binaries tested in SuSE and recently, Ubuntu
 +
* OpenFOAM is just the '''solver'''
 +
** You need a pre- and post-processor (i.e. mesher and viewer)
 +
*** OpenFOAM benefits from the requirement that FOAM interface with a wide range of pre and post processors and formats used by industrial clients
 +
** Meshing is still "fragmented"
 +
*** blockMesh is a native utility for simple geometries, snappyHexMesh new native hex mesher, OpenCFD working on a very exciting auto poly mesher
 +
** [http://en.wikipedia.org/wiki/Paraview Paraview] serves most purposes, is actually better than say, Fluent post-processor

Revision as of 13:25, 31 March 2009

  • OpenCFD have recently partnered with SGI to provide training courses
    • There is a User Guide which is quite good
    • Unfortunately at this time one of the big gaps is an advanced programmer manual
  • There is no substitute for playing with tutorial cases and messing with the code
    • Learning C++ takes time, but there are plenty of online resources
    • Budget about 3-18 months to develop real confidence in C++, depending on how much time you have
    • You need to write/modify code regularly to do this
    • Understanding the OpenFOAM code arrangement is a separate exercise, and you are mostly on your own if you cannot afford the courses
      • Expect this to get easier as the user community grows just through word of mouth
      • Things have come a long away even in just the last four years!
  • You need to compile the code to use it
    • But you should anyway, at least once, takes many hours usually (large C++ code bases tend to take longer to compile than C)
    • OpenCFD provide pre-compiled binaries tested in SuSE and recently, Ubuntu
  • OpenFOAM is just the solver
    • You need a pre- and post-processor (i.e. mesher and viewer)
      • OpenFOAM benefits from the requirement that FOAM interface with a wide range of pre and post processors and formats used by industrial clients
    • Meshing is still "fragmented"
      • blockMesh is a native utility for simple geometries, snappyHexMesh new native hex mesher, OpenCFD working on a very exciting auto poly mesher
    • Paraview serves most purposes, is actually better than say, Fluent post-processor