- 31 May, 2019 1 commit
-
-
Mark Olesen authored
- make parallelProjection default (was previously mandatory)
-
- 11 Mar, 2019 1 commit
-
-
Mark Olesen authored
- incorrectly uses paraview include dirs instead of the more universal vtk include dirs for the MPI test.
-
- 13 Feb, 2019 1 commit
-
-
Mark Olesen authored
- Extended runTimePostProcessing to include access to "live" simulation objects such a geometry patches and sampled surfaces stored on the "functionObjectObjects" registry. - Add 'live' runTimePostProcessing of cloud data. Extracts position and fields from the cloud via its objectRegistry writer - For the "live" simulation objects, there are two new volume filters that work directly with the OpenFOAM volume fields: * iso-surface * cutting planes Both use the VTK algorithms directly and support multiple values. Eg, can make multiple iso-levels or multiple planes parallel to each other. - When VTK has been compiled with MPI-support, parallel rendering will be used. - Additional title text properties (shadow, italic etc) - Simplified handling of scalar-bar and visibility switches - Support multiple text positions. Eg, for adding watermark text.
-
- 06 Feb, 2019 1 commit
-
-
OpenFOAM bot authored
-
- 03 Feb, 2019 1 commit
-
-
Mark Olesen authored
- includes initial relocation of low-level vtu handling. Extracted, refactored from the Catalyst function object. STYLE: adjust style of HashTable iterator pointer dereference
-
- 31 Jan, 2019 1 commit
-
-
Mark Olesen authored
- allows localized extension of functionality
-
- 23 Jan, 2019 1 commit
-
-
Mark Olesen authored
-
- 07 Jan, 2019 3 commits
-
-
Mark Olesen authored
- reduced clutter when iterating over containers
-
Mark Olesen authored
- uses the value of foamVersion::api, which should be reliable.
-
Mark Olesen authored
- need to explicitly include vtkPVConfig.h to get the version macros
-
- 30 May, 2019 1 commit
-
-
Mark Olesen authored
- was missing range setting for the colour lookup table
-
- 16 Dec, 2018 2 commits
-
-
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
-
- 15 Dec, 2018 1 commit
-
-
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.
-
- 14 Dec, 2018 1 commit
-
-
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
-
- 11 Dec, 2018 1 commit
-
-
Mark Olesen authored
- makes the intent clearer and avoids the need for additional constructor casting. Eg, labelList(10, Zero) vs. labelList(10, 0) scalarField(10, Zero) vs. scalarField(10, scalar(0)) vectorField(10, Zero) vs. vectorField(10, vector::zero)
-
- 05 Dec, 2018 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
- use cellCentres() instead of volField equivalent for vtk conversion - make looping variables more consistent - centralize the transcription of OpenFOAM -> vtk tuples
-
- 29 Nov, 2018 1 commit
-
-
Mark Olesen authored
- removed reliance on ParaView_INCLUDE_DIR variable for conveying the major.minor version information when compiling. This can be somewhat fragile and also adds variable that is an unnecessary when running (only used when compiling). Instead use `have_pvplugin_support` function in paraviewFunctions wmake script to determine the maj.min from the PV_PLUGIN_PATH since we have already defined the output path there with paraview maj.min numbering. Can now build with paraview from the operating system, provided that it has develop headers available. ParaView_VERSION=system In the etc/config.sh/paraview setup, the maj.min is taken from the corresponding `paraview --version` output and used when defining the PV_PLUGIN_PATH. During the build, the include path taken from `paraview-config` for a system installation, from the guess installation root of the paraview binary, or ParaView_DIR otherwise. NB: using a system ParaView for building runTimePostProcessing is unsupported. - these types of builds appear to have various library resolution issues (eg, libexpat not being loaded). Additionally, the build logic does not yet cover this type of use case. CONFIG: add so version to libcatalystFoam STYLE: add OpenFOAM/include directory in CMakeLists - eg for foamVersion.H
-
- 20 Nov, 2018 1 commit
-
-
Mark Olesen authored
-
- 08 Nov, 2018 1 commit
-
-
Mark Olesen authored
- was deprecated for removal with VTK 8.1.0 definitely removed in VTK 8.2.0
-
- 19 Oct, 2018 1 commit
-
-
Mark Olesen authored
- as part of the cleanup of dictionary access methods (c6520033c9c4) made the dictionary class single inheritance from IDLList<entry>. This eliminates any ambiguities for iterators and allows for simple use of range-for looping. Eg, for (const entry& e : topDict)) { Info<< "entry:" << e.keyword() << " is dict:" << e.isDict() << nl; } vs forAllConstIter(dictionary, topDict, iter)) { Info<< "entry:" << iter().keyword() << " is dict:" << iter().isDict() << nl; }
-
- 18 Oct, 2018 1 commit
-
-
Mark Olesen authored
- more dictionary-like methods, enforce keyType::LITERAL for all lookups to avoid any spurious keyword matching. - new readEntry, readIfPresent methods - The get() method replaces the now deprecate lookup() method. - Deprecate lookupOrFailsafe() Failsafe behaviour is now an optional parameter for lookupOrDefault, which makes it easier to tailor behaviour at runtime. - output of the names is now always flatted without line-breaks. Thus, os << flatOutput(someEnumNames.names()) << nl; os << someEnumNames << nl; both generate the same output. - Constructor now uses C-string (const char*) directly instead of Foam::word in its initializer_list. - Remove special enum + initializer_list constructor form since it can create unbounded lookup indices. - Removd old hasEnum, hasName forms that were provided during initial transition from NamedEnum. - Added static_assert on Enum contents to restrict to enum or integral values. Should not likely be using this class to enumerate other things since it internally uses an 'int' for its values. Changed volumeType accordingly to enumerate on its type (enum), not the class itself.
-
- 05 Oct, 2018 1 commit
-
-
Mark Olesen authored
-
- 19 Sep, 2018 1 commit
-
-
Mark Olesen authored
- superseded by the vtkCloud function object, which provides significantly more functionality and more versatile output (using the vtp format).
-
- 03 Aug, 2018 1 commit
-
-
Mark Olesen authored
Style changes: - use lookupObjectRef instead of using const_cast - use tmp::New factory
-
- 30 Jul, 2018 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 26 Jul, 2018 1 commit
-
-
Mark Olesen authored
- simplifies usage. Support syncPar check on names() to detect inconsistencies. - simplify readFields, ReadFields and other routines by using these new methods.
-
- 25 Jul, 2018 1 commit
-
-
Mark Olesen authored
- what was previously termed 'setLargeCellSubset()' is now simply 'setCellSubset()' and supports memory efficient interfaces. The new parameter ordering avoids ambiguities caused by default parameters. Old parameter order: setLargeCellSubset ( const labelList& region, const label currentRegion, const label patchID = -1, const bool syncCouples = true ); New parameter order: setCellSubset ( const label regioni, const labelUList& regions, const label patchID = -1, const bool syncCouples = true ); And without ambiguity: setCellSubset ( const labelUList& selectedCells, const label patchID = -1, const bool syncCouples = true ); - support bitSet directly for specifying the selectedCells for memory efficiency and ease of use. - Additional constructors to perform setCellSubset() immediately, which simplifies coding. For example, meshParts.set ( zonei, new fvMeshSubset(mesh, selectedCells) ); Or even return autoPtr<fvMeshSubset>::New(mesh, selectedCells);
-
- 24 Jul, 2018 1 commit
-
-
Mark Olesen authored
- get<label>, get<scalar> instead of readLabel, readScalar, etc.
-
- 20 Jul, 2018 1 commit
-
-
Mark Olesen authored
-
- 27 Jun, 2018 1 commit
-
-
Mark Olesen authored
-
- 26 Jun, 2018 3 commits
-
-
Mark Olesen authored
- regularise referencing of OpenFOAM env variables, sources etc. CONFIG: cmake targets are globally unique - unify CMakeLists naming and align content
-
Mark Olesen authored
- the build is now much more strongly oriented on cmake. The wmake wrapper only adds some minor versioning on the build and uses a standard CMAKE_INSTALL_PREFIX to define its installation location. These changes can make it easier for some packagers (eg, spack) to manage.
-
Simone Bna authored
- LIBRARY_OUTPUT_PATH is removed - CMAKE_LIBRARY_OUTPUT_DIRECTORY is used instead of LIBRARY_OUTPUT_PATH - CMAKE_INSTALL_PREFIX is used as install destination
-
- 25 Jun, 2018 2 commits
-
-
Mark Olesen authored
- allows restriction of the output patches to specific names and hiding others. Allow groups when matching patch names
-
Mark Olesen authored
- forces release of memory for the associated backends - log which channels are being emitted. The printChannels pipeline was redundant anyhow.
-
- 24 Jun, 2018 1 commit
-
-
Mark Olesen authored
- removed fvMesh sub-channels if favour of selector flags. To enable/disable portions of the geometry: internal true/false boundary true/false This replaces the previous method of sub-channels in which restrictions were propagated from the pipeline through. Before ====== Function Object: input { fields (U p); } Pipeline: input = coprocessor.CreateProducer(datadescription, 'input/patches') Now === Function Object: input { internal false; fields (U p); } Pipeline: input = coprocessor.CreateProducer(datadescription, 'input')
-
- 23 Jun, 2018 1 commit
-
-
Mark Olesen authored
- allows cmake override of the default output library directory, which is normally $FOAM_LIBBIN ENH: additional debug verbosity - extra information (in parallel) when debug level > 1, which can help when isolating problems.
-