- Mar 18, 2020
-
-
Andrew Heather authored
-
- Mar 16, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- log to stdout when explicitly enabled
-
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.
-
Andrew Heather authored
-
- Mar 13, 2020
-
-
Andrew Heather authored
-
- Mar 12, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Mar 11, 2020
-
-
Andrew Heather authored
-
- Mar 03, 2020
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- Feb 14, 2020
-
-
Mark OLESEN authored
- also now report any verbosity on stderr - fix similar collated directories issue for foamRestoreFields
-
- Feb 13, 2020
-
-
Mark OLESEN authored
- incorrectly set BINARY format in the construction of the received data (a side-effect of the parameter ordering). Now use the same default parameters as IFstream and set the correct filename subsequent to construction.
-
- Feb 12, 2020
-
-
Mark OLESEN authored
-
mattijs authored
In differing precisions the PrecisionAdaptor will copy the input array element by element and this can trigger NaN detection.
-
- Feb 10, 2020
-
-
Andrew Heather authored
-
- Feb 05, 2020
-
-
Mark OLESEN authored
-
- Feb 03, 2020
-
-
mattijs authored
-
Mark OLESEN authored
- the foamConfigurePaths script is quite simplistic and aggressive in what it changes. This was particularly evident when using it to change gcc/clang versions. Restructured the corresponding compiler settings to define default versions (eg, "default_gcc_version") that limits the scope of changes performed by foamConfigurePaths and makes it easier to understand if changing manually.
-
- Jan 31, 2020
-
-
Mark OLESEN authored
- the gcc c++/9 includes now inline strncpy, which obliterates the previous method of suppressing the warning. Now simply allocate additional space for the nul character. COMP: silence some icc warnings
-
- Jan 29, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Andrew Heather authored
COMP: backport of updates for gcc-92 compilation See merge request Development/openfoam!336
-
- Jan 28, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Jan 27, 2020
-
-
Mark OLESEN authored
- indexing error in the output of values resulted in uniform output in most cases. - allocation error for on-the-fly triangulation ENH: changed decomposed storage from DynamicList to plain faceList for clearer allocation control and better overhead
-
- Jan 21, 2020
-
-
Andrew Heather authored
BUG: add switch for nu:DphitEff in kEpsilonPhitF (fixes #1560) Closes #1560 See merge request Development/openfoam!329
-
Kutalmış Berçin authored
Including `nu` in `DphitEff` even though it is not present in (LUU:Eq. 17) provided higher level of resemblance to benchmarks for the tests considered, particularly for the peak skin friction (yet, pressure-related predictions were unaffected). Users can switch off `nu` in `DphitEff` by using `includeNu` entry in `kEpsilonPhitFCoeffs` in order to follow the reference paper thereat. `includeNu` is left `true` by default. See GitLab issue #1560, LUU: Laurence, D. R., Uribe, J. C., & Utyuzhnikov, S. V. (2005).
-
- Jan 13, 2020
-
-
Andrew Heather authored
-
- Jan 09, 2020
-
-
Andrew Heather authored
BUG: wrong bounding of sensitivity contituents in case of many control boxes (Fixes #1549) Closes #1549 See merge request Development/openfoam!325
-
Vaggelis Papoutsis authored
When more than one volumetric B-Splines control boxes are present, the sensitivity constituents corresponding to the non-active design variables were not bounded(zeroed) correctly. The resultant sensitivities, used in the optimization, were bounded correctly, so this was more a bug pertaining to the output file of the sensitivities rather than a functional one.
-
- Jan 07, 2020
-
-
Andrew Heather authored
-
- Jan 03, 2020
-
-
Andrew Heather authored
BUG: continuation of updateMethods with empty activeDesignVariables (#1540) See merge request Development/openfoam!322
-
When activeDesignVariables are not set explicitly, all design variables are treated as active. These were allocated properly when starting from 0 but not when starting from an intermediate optimisation cycle (e.g. running 5 optimisation cycles, stopping and restarting). TUT: added a new tutorial including the restart of an optimisation run to help identify future regression
-
Andrew Heather authored
BUG: writeMorpherCPs expects a controlBoxes entry (#1538) See merge request Development/openfoam!321
-
The controlBoxes wordList was removed from NURBS3DVolume in the pre-release phase but writeMorpherCPs was not updated accordingly. TUT: added the invocation of writeMorpherCPs in one of the tutotials to help identify future regression
-
Andrew Heather authored
BUG: Wrong FatalIOError message in displacementMethod and optMeshMovement (#1537) See merge request Development/openfoam!320
-
- The core of the FatalIOError message was not printed due to exiting with FatalError instead of FatalIOError - Changed the TypeName in all derived classes of displacementMethod so that the toc printed by the FatalIOError corresponds to what the user should add in dynamicMeshDict
-