- Dec 17, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- this corresponds to 'never match', which may be useful in combination with -constant selection. Eg, surfaceMeshTriangulate -constant -time none selects only the constant entry and suppresses any automatic time loop STYLE: adjust help for the standard -times option - indicate that times can be comma or space separated, since this is otherwise not apparent. Don't mention semicolon separators in the help since that just adds even more clutter.
-
- Dec 16, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- support .vtp format for geometry, surface, line, cloud. - use native reader for handling vtk, vtp, obj, stl surface files. For other formats, use the MeshedSurface (the surfMesh lib) to handle reading and Foam::vtk::Tools::Patch to handle the conversion to vtkPolyData. This combination is more memory efficient. - update tutorial case to include vtp surface geometry
-
Mark OLESEN authored
- note that it does not actually triangulate unless necessary, should probably receive a new name. - use newer constructs for handling processor/non-processor patch selection etc.
-
Mark OLESEN authored
- the patch could use face or triFace (labelledTriFace) - avoid trigger patch faceNormals unnecessarily
-
Mark OLESEN authored
- for quantities such as face area/normals etc, it can be useful to calculate directly and avoid the overhead of caching all the values. STYLE: comments, use HashTable lookup() method in whichPoint()
-
- Dec 15, 2018
-
-
Mark OLESEN authored
- this allows more use of the runTimePostProcessing functionObject that will fail more gracefully if the proper version could not be built. The dummy functionObject simply emits a message that it is not available.
-
Mark OLESEN authored
- primarily for handling cmake replacement libraries
-
Mark OLESEN authored
- this is identical to either of these solutions: * getEnv("FOAM_CASE") * stringOps::expand("<case>") but with a closer resemblance to argList or Time globalPath(), which makes the intent clearer. Avoids using raw strings in the caller, which improves compile-time checks. Used in situations where a class has no derivation path or other access to a time registry or command args.
-
Mark OLESEN authored
- provide relativePath() for argList and for Time. These are relative to the case globalPath(). Eg, Info<< "output: " << runTime.relativePath(outputFile) << nl;
-
sergio authored
-
sergio authored
-
- Dec 14, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- partial solution for issue #1091 This generates file properties that are case-relative, Eg, plane0 { p { file "<case>/postProcessing/plane0/1/p_plane0.vtk"; } U { file "<case>/postProcessing/plane0/1/U_plane0.vtk"; } } This allows the case to be moved elsewhere and still find its files. This functionality was previously added for vtkCloud, but now also applies to streamLine, sampledSets and sampledSurfaces
-
Mark OLESEN authored
- optionally replace stripped parent directory with the \<case\> shortcut "/this/path/and/subdirs/name" relative("/this/path") -> "and/subdirs/name" relative("/this/path", true) -> "\<case\>/and/subdirs/name"
-
Mark OLESEN authored
-
Mark OLESEN authored
- accept origin or centre, as per other geometric entities
-
- Dec 13, 2018
-
-
Mark OLESEN authored
- it is sufficient to provide the total number of times that findBinary() failed instead of flooding the screen with messages Full verbose warnings still emitted when debugging is on.
-
mattijs authored
-
mattijs authored
-
- Dec 11, 2018
-
-
sergio authored
-
sergio authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Dec 10, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
sergio authored
-
sergio authored
-
Mark OLESEN authored
- can occur if MPI has be initialized for communication but OpenFOAM itself is operating in serial mode and thus did not attach any MPI buffers.
-
Mark OLESEN authored
- regression was introduced by 628b2445
-
mattijs authored
-
- Dec 13, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- now use findEtcEntry() instead to handle file or directory. Added findEtcEntries(), which provides provides a common code basis for findEtcDirs(), findEtcFiles() ...
-
Mark OLESEN authored
- this simplifies use of a unified test for directory or file. fileName::Type what = myfile.type(true, true); if (what == FILE) ... if (what == DIRECTORY) ... - Use distinct bit values for fileName::Type, for possible use in the future. - related to issue #1121, since we need a more flexible way of expanding file or directory. An alternative would be to add checkGzip to Foam::exists() and Foam::type() functions, but that would make the code there more confusing and in the fileHandler classes.
-
Mark OLESEN authored
-