- Jun 29, 2020
-
-
Andrew Heather authored
-
- Jun 26, 2020
-
-
Mark OLESEN authored
-
- Jun 23, 2020
-
-
Mark OLESEN authored
- useful for supporting a variety of different predefined configuration files. Bypasses the regular etc/bashrc entirely. - minor refactoring in foamCreateModuleInclude
-
- Jun 19, 2020
-
-
Mark OLESEN authored
- when installed in-source, use PETSC_ARCH to find additional include directory and the correct library directory CONFIG: bump to new hypre version - add -hint option for have_adios2, have_hypre, have_petsc
-
- Jun 11, 2020
-
-
New: - blockMeshDict - sampleDict - boxTurbDict - createBoxTurbDict - dsmcInitialiseDict - mdEquilibrationDict - mdInitialiseDict - obstaclesDict - optimisationDict - potentialDict - probesDict - sampleDict - setExprBoundaryFieldsDict - setExprFieldsDict Improved: - extrudeMeshDict - topoSetSourcesDict
-
ENH: add log FO ENH: improve log with scale, and offset entries BUG: ensure extrueMesh does not fail in parallel with wedge extrusion BUG: add missing clone and mapping funcs to copiedFixedValue, fixedMultiPhaseHeatFlux ENH: meshToMesh0::cellAddressing slight speed up for some geometries BUG:0003495: Divide-by-zero in SHF particle break-up model BUG:0003492: The formula in the OF is inconsistent with the Rosin-Rammler distribution theory formula
-
mattijs authored
This change abstracts out the reading of "boundaryData". It should now support OpenFOAM headers and with that also binary input.
-
- Jun 10, 2020
-
-
mattijs authored
-
- Jun 09, 2020
-
-
Please refer to the header file documentation for complete set of details. ENH: add new fvOptions for ABL modelling - atmAmbientTurbSource - atmBuoyancyTurbSource - atmCoriolisUSource - atmLengthScaleTurbSource - atmPlantCanopyTurbSource - atmPlantCanopyUSource - atmPlantCanopyTSource - atmNutSource ENH: add new boundary conditions for ABL modelling with PatchFunction1 and TimeFunction1 support - atmAlphatkWallFunction - atmEpsilonWallFunction - atmNutkWallFunction - atmNutUWallFunction - atmNutWallFunction - atmOmegaWallFunction - atmTurbulentHeatFluxTemperature STYLE: change names of nutkAtmRoughWallFunction -> atmNutkWallFunction by ensuring the bitwise backward compatibility ENH: add new variable-scaling force computation method to actuationDiskSource ENH: review actuationDiskSource and radialActuationDiskSource ENH: add new function object, ObukhovLength ENH: add new ABL tutorials/verifications - verificationAndValidation/atmosphericModels/atmFlatTerrain - verification with the Leipzig field experiment - illustration of precursor/successor field mapping - verificationAndValidation/atmosphericModels/atmForestStability - verification with the Sweden field experiment - update incompressible/simpleFoam/turbineSiting
-
- Jun 08, 2020
-
-
ENH: update libs of etc/caseDicts/postProcess items ENH: ensure destructor=default ENH: ensure constness ENH: ensure no 'copy construct' and 'no copy assignment' exist TUT: add examples of function objects with full set of settings into a TUT if unavailable TUT: update pisoFoam/RAS/cavity tutorial in terms of usage
-
Mark OLESEN authored
- When compiling additional modules or user code, we need more control for the installation locations beyond the usual FOAM_USER_LIBBIN, FOAM_SITE_LIBBIN, FOAM_LIBBIN, and wish to have these values be modifiable without editing files. - provide wmake rules for handling standard defaults: * GENERAL_RULES/module-path-user * GENERAL_RULES/module-path-group * GENERAL_RULES/module-path-project which are incorporated as follows: Make/options: include $(GENERAL_RULES)/module-path-user Make/files: LIB = $(FOAM_MODULE_LIBBIN)/libMyLibrary By default these would compile into FOAM_USER_{APPBIN,LIBBIN} but could be adjusted at compilation time. For example, ``` wmake -module-prefix=/path/my-install-location ``` Or ``` ./Allwmake -module-prefix=/path/my-install-location ./Allwmake -prefix=/path/my-install-location ``` Or ``` FOAM_MODULE_PREFIX=/path/my-install-location ./Allwmake ``` ENH: add -no-re...
-
Mark OLESEN authored
- now list compiler versions in reverse order (newest first) similar to how they are listed on the gcc/llvm sites. Add comments to mention which compiler series are now considered unsupported.
-
- Jun 05, 2020
-
-
Mark OLESEN authored
- the CGAL version change is associated with a header-only build (needs updated ThirdParty scripts). - openmpi is a major version change (4.0.3)
-
mattijs authored
-
- Jun 03, 2020
-
-
Mark OLESEN authored
- reduces some reliance on env variables
-
- Jun 02, 2020
-
-
Mark OLESEN authored
- previously introduced `getOrDefault` as a dictionary _get_ method, now complete the transition and use it everywhere instead of `lookupOrDefault`. This avoids mixed usage of the two methods that are identical in behaviour, makes for shorter names, and promotes the distinction between "lookup" access (ie, return a token stream, locate and return an entry) and "get" access (ie, the above with conversion to concrete types such as scalar, label etc).
-
- May 23, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- May 22, 2020
-
-
Mark OLESEN authored
- this does mean two passes are required on the initial compilation, but improves reliability thereafter. ENH: correct csh handling of system paraview
-
- May 20, 2020
-
-
mattijs authored
-
- May 18, 2020
-
-
Mark OLESEN authored
- purpose is to preserve empty directories under git, so use the more general name
-
- May 14, 2020
-
-
Mark OLESEN authored
- Now state "[ignore if OpenFOAM is not yet compiled]"
-
- May 12, 2020
-
-
Mark OLESEN authored
- dependency handling relocated from cmakeFunctions to wmakeFunctions and reused for mpi-versioned builds. This allows more checks for configuration parameters and removes hard-code build path information. CONFIG: remove spurious mplibHPMPI entries CONFIG: remove ADIOS1 rules (antiquated)
-
Mark OLESEN authored
- initial split of wmake-related commands into "plumbing" and "porcelain" akin to how git handles things. - wmakeBuildInfo (very low-level), now relocated to the wmake/scripts and accessible for the user as "wmake -build-info". This satisfies a long-standing desire to access build information in a fashion similar to the api/patch information. CONFIG: avoid git information when building with a debian/ directory - when a 'debian/' directory exists, there is a high probability that the '.git/' directory is from debian and not from OpenFOAM (ie, useless here). This corresponds to an implicit '-no-git', which has no effect when building from pristine sources. ENH: wmakeCheckPwd becomes scripts/wmake-check-dir - accessible for the user as "wmake -check-dir" and with 1 or 2 directory names. A wmakeCheckPwd symlink left for compatibility.
-
- May 06, 2020
-
-
Mark OLESEN authored
- not fully tested
-
Mark OLESEN authored
- additional cgal-headers-only rules (future use) COMP: add -lgmp for CGAL with mpfr linkage
-
- May 05, 2020
-
-
Mark OLESEN authored
- improve handling of changes in ParaView/VTK or cmake parameters (#1693) * adjust internals to support recording of an unlimited number of configuration parameters and use file `cmp` instead of trying to check strings ourselves. ENH: new wmake/scripts/wmake.cmake-args handler - additional handling of -prefix=... as CMAKE_INSTALL_PREFIX export. - in some contexts, can use instead of AllwmakeParseArguments
-
- Apr 27, 2020
-
-
Mark OLESEN authored
- an otherwise confusing amount of output that may not be expected
-
- Apr 21, 2020
-
-
Mark OLESEN authored
- bin/tools/create-mpi-config to query/write values for system openmpi. In some cases this can be used to avoid an mpicc requirement at runtime. - adjust openfoam session to include -test-tutorial forwarding to the tutorials/AutoTest. This helps with writing installation tests. - adjust foamConfigurePaths to latest version - removal of gperftools default config, as per develop
-
- Apr 15, 2020
-
-
Mark OLESEN authored
-
- Apr 08, 2020
-
-
Mark OLESEN authored
- use Clang instead of Gcc for Darwin since this is its system compiler. The user can force use of Gcc by using Gcc92 etc. - make etc/cshrc sed check more robust. - replace tcsh (${%var}) syntax with ("${var}" != "") [Fixes and ideas from Alexey Matveichev] CONFIG: do not source the gperftools environment by default - this is now an used feature, but can be re-enabled by advanced users if required.
-
- Mar 25, 2020
-
-
Mark OLESEN authored
-
- Mar 18, 2020
-
-
Andrew Heather authored
-
- Mar 16, 2020
-
-
Mark OLESEN authored
- missed detection of system libraries when installed with multiarch paths like /usr/lib/x86_64-linux-gnu CONFIG: improve handling of group/user config files (#928) - changed bashrc handling of FOAM_CONFIG_NOUSER to use FOAM_CONFIG_MODE instead. Propagate into foamEtcFile to make this a stickier control. This change allows better control, but also enables cluster installations to define their own value within the OpenFOAM prefs.sh file to prevent users accidentally mis-configuring things if necessary. - remove undocumented handling of an (a)ll mode in foamEtcFile to avoid potential pitfalls. - add support for FOAM_CONFIG_ETC handling. This allows injection of an extra search layer when finding project etc files ENH: improvements to foamConfigurePaths (#928) - handle FOAM_CONFIG_ETC implicitly, or explicitly with the new -etc option. STYLE: more explicit wording in foamConfigurePaths usage (#1602) - document that an absolute path (eg, -scotch-path) overrides/ignores the equivalent ThirdParty setting (eg, -scotch) - longer options -system-compiler and -third-compiler for -system and -third, respectively. Clearer as to their purpose. - adjust the location sanity check to look for META-INFO directory.
-
Mark OLESEN authored
- allows custom tuning of compilation parameters
-
Mark OLESEN authored
- '-c' option (as per shell), '-Dkey[=value]' option to provide preferences via the command-line. For example, etc/openfoam -DWM_COMPILER=Clang -int64 ./Allwmake -j -s -l These can also be combined with other options. Eg, etc/openfoam -DWM_COMPILER=Clang \ -c 'wmake -show-path-cxx -show-cxxflags' - relocated from bin/tools/ => etc/ for easier access - bin/tools/openfoam.in : for autoconfig-style installation - Auto-detect if the shell script was executed with openfoam and interpret accordingly. Simple example, -------------- #!/usr/bin/openfoam cd "${0%/*}" || exit # Run -*-sh-*- from this dir blockMesh simpleFoam -------------- Note it is NOT currently possible to provide any other parameters this way. Eg, `#!/usr/bin/openfoam -sp` (NOT) This will either fail to run, or result in infinite recursion.
-
- Mar 12, 2020
-
-
Mark OLESEN authored
- base level surface container is now a meshedSurface instead of a triSurface. This avoid automatic triangulation of surfaces when they are read, and simplifies the internals. - sampling types: * "meshedSurface" (compat: "sampledTriSurfaceMesh") * "meshedSurfaceNormal" (compat: "sampledTriSurfaceMeshNormal")
-
- Feb 24, 2020
-
-
Mark OLESEN authored
- missed detection of system libraries when installed with multiarch paths like /usr/lib/x86_64-linux-gnu CONFIG: improve handling of group/user config files (#928) - changed bashrc handling of FOAM_CONFIG_NOUSER to use FOAM_CONFIG_MODE instead. Propagate into foamEtcFile to make this a stickier control. This change allows better control, but also enables cluster installations to define their own value within the OpenFOAM prefs.sh file to prevent users accidentally mis-configuring things if necessary. - remove undocumented handling of an (a)ll mode in foamEtcFile to avoid potential pitfalls. - add support for FOAM_CONFIG_ETC handling. This allows injection of an extra search layer when finding project etc files ENH: improvements to foamConfigurePaths (#928) - handle FOAM_CONFIG_ETC implicitly, or explicitly with the new -etc option. STYLE: more explicit wording in foamConfigurePaths usage (#1602) - document that an absolute path (eg, -scotch-path) overrides/ignores the equivalent ThirdParty setting (eg, -scotch) - longer options -system-compiler and -third-compiler for -system and -third, respectively. Clearer as to their purpose. - adjust the location sanity check to look for META-INFO directory.
-
- Feb 20, 2020
-
-
Mark OLESEN authored
- allows custom tuning of compilation parameters
-
- Feb 12, 2020
-
-
Mark OLESEN authored
- '-c' option (as per shell), '-Dkey[=value]' option to provide preferences via the command-line. For example, etc/openfoam -DWM_COMPILER=Clang -int64 ./Allwmake -j -s -l These can also be combined with other options. Eg, etc/openfoam -DWM_COMPILER=Clang \ -c 'wmake -show-path-cxx -show-cxxflags' - relocated from bin/tools/ => etc/ for easier access - bin/tools/openfoam.in : for autoconfig-style installation - Auto-detect if the shell script was executed with openfoam and interpret accordingly. Simple example, -------------- #!/usr/bin/openfoam cd "${0%/*}" || exit # Run -*-sh-*- from this dir blockMesh simpleFoam -------------- Note it is NOT currently possible to provide any other parameters this way. Eg, `#!/usr/bin/openfoam -sp` (NOT) This will either fail to run, or result in infinite recursion.
-