- Nov 29, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- append the commit hash value with the commit date when creating the build string information and drop the version prefix. This provides an immediate overview of when the code was last changed. The prefixed version information can be dropped from the build string, since it is readily available in other forms.
-
Mark OLESEN authored
- this splits a larger changeset for a gradual implementation
-
Mark OLESEN authored
- was PREFIX/site, now PROJECT/site This avoids several issues when installing OpenFOAM in clusters without an intermediate OpenFOAM-specific installation prefix. The 'site' directory may have a reserved meaning in these situations and it is undesirable to 'leak' upwards into the parent directory to look for configuration files. Placing the default within the project directory avoids this. Alternative locations can be given via the WM_PROJECT_SITE variable.
-
Mark OLESEN authored
- comments in bashrc, cshrc. - about controlDict names for allowSystemOperations
-
Mark OLESEN authored
-
Mark OLESEN authored
-
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.
-
- Nov 28, 2018
-
-
Mark OLESEN authored
- skip /, /bin, /usr/bin ... as potential filters.
-
Mark OLESEN authored
- missing 'g' file, improve file consistency (fields, dictionaries)
-
Mark OLESEN authored
-
Mark OLESEN authored
- improved flexibility - reconstruction of Lagrangian positions/fields now handled as a class for better modularity
-
Mark OLESEN authored
- cfindObject() for const pointer access. - getObject() for mutable non-const pointer access, similar to the objectRegistry::getObjectPtr() - cfindObject(), findObject(), getObject() with template type access to also check the headerClassName. For example, cfindObject("U") -> good cfindObject<volVectorField>("U") -> good cfindObject<volScalarField>("U") -> nullptr This allows inversion of looping logic. 1) Obtain the names for a particular Type for (const word& objName : objs.sortedNames<Type>()) { const IOobject* io = objs[objName]; ... } 2) Use previously obtained names and apply to a particular Type for (const word& objName : someListOfNames) { const IOobject* io = objs.cfindObject<Type>(objName); if (io) { ... } }
-
Mark OLESEN authored
- foamToEnsight, foamToEnsightParts, profiling
-
- Nov 27, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- if FOAM_EXT_LIBBIN is unset and some scripts set this to /usr/lib* as a fallback (eg, to avoid an undefined value) this will cause a system library to be found before appropriate *_ARCH_PATH entry. This was noticed during a scotch compilation without third-party: resulting in the system library (/usr/lib64/libscotch.so) to be found instead of the SCOTCH_ARCH_PATH location (/usr/lib64/mpi/gcc/openmpi/lib64/). Simply changing the search order doesn't work for use, since we wish to retain a preference for any dynamic libraries discovered in a real FOAM_EXT_LIBBIN. Circumvent these issues by only taking libraries from FOAM_EXT_LIBBIN if it also points to a location within ThirdParty.
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- runs in non-verbose mode to avoid spurious detection of FatalError
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- using 'shape', to avoid potential name clash with 'type' (action type) when used without an optional sourceInfo sub-dictionary
-
- Nov 26, 2018
-
-
Andrew Heather authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- can now things like ref(), boundaryFieldRef(), primitiveFieldRef() with an optional argument that avoids triggering any update events Instead of Field<Type>& iF = const_cast<Field<Type>&>(fld.primitiveField()); can now write Field<Type>& iF = fld.primitiveFieldRef(false); or simply auto& iF = fld.primitiveFieldRef(false);
-
- Nov 25, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- useful when generating formatted output such as tables.
-
Mark OLESEN authored
- add -region option and -fields filtering
-
Mark OLESEN authored
- foamToVTK, foamToEnsight, foamToEnsightParts
-
- Nov 24, 2018
-
-
Mark OLESEN authored
- can be used, for example, to visualize all wall cells - for quality or other purposes - without requiring an intermediate faceSet for the selection. Request arising from pending merge !213.
-
Mark OLESEN authored
- shortcut for "clear" + "add". At the end of the operation, only parcels matching that particular selection source will be used.
-
Mark OLESEN authored
- now supports a parcel selection mechanism like vtkCloud, giving the ability to select a subset of parcels. For example, a given stride, or removal of parcels with a small diameter. Eg, dataCloud output Time: 3.2 Applying parcel filtering to 994 parcels - add stride 4 - subtract field U : (less 0.2) After filtering using 214/994 parcels - add output precision control for dataCloud
-
- Nov 23, 2018
-
-
Mark OLESEN authored
- vtkWrite with moving mesh was not updated the subsets properly, which caused it to crash. - foamToVTK -overwrite ignored for single region cases, was working for multi-region cases - minor documentation changes
-
- Nov 16, 2018
-
-
Andrew Heather authored
Description Calculates the energy spectrum for a structured IJK mesh Usage Example of function object specification: energySpectrum1 { type energySpectrum; libs ("libfieldFunctionObjects.so"); } Where the entries comprise: \table Property | Description | Required | Default value type | type name: energySpectrum | yes | log | write info to standard output | no | yes \endtable Output data is written to the file \<timeDir\>/energySpectrum.dat
-
Andrew Heather authored
-
- Nov 15, 2018
-
-
Andrew Heather authored
-