- Apr 03, 2020
-
-
Mark OLESEN authored
- enhancement and potential breaking change. Nastran surface writer previously used the keyword 'scale' for field scaling, which was applied uniformly to all output fields. Change the meaning of 'scale' to be geometric scaling (consistent with reading triSurfaceMesh etc). New 'fieldScale' entry is an optional dictionary of scaling parameters. Example, nastran { scale 1000; // [m] -> [mm] fieldScale { "p.*" 0.01; // [Pa] -> [mbar] } }
-
Mark OLESEN authored
-
Mark OLESEN authored
- adjustments to internal handling to improve run-time addition of other formats (eg, with additional user library) For example, to write a binary STL with a '.stl' extension: $ surfaceMeshConvert input.obj -write-format stlb output.stl Or in a sampler, to specify the input type without ambiguity: surf { type meshedSurface; surface sampling.inp; fileType starcd; scale 0.001; ... } STYLE: regularize naming for input/output scaling * -read-scale (compat: -scaleIn) * -write-scale (compat: -scaleOut) CONFIG: change edge/surface selection name for STARCD format - now select as "starcd" instead of "inp" to avoid naming ambiguity with abaqus
-
- Apr 02, 2020
-
-
Mark OLESEN authored
- had a PrimitivePatch with SubField, but now use const pointField&. There is no derivation path from a pointIOField to SubField<point>, so a const reference makes more sense.
-
Mark OLESEN authored
-
Mark OLESEN authored
- face_type, point_type (similar to STL value_type, etc). The naming avoids potential confusion with template parameters. - rename private typedef from ParentType to MeshReference for more consistency with polySurface etc.
-
Mark OLESEN authored
- regression introduced by 431c9632 The triSurface dictionary constructor applies the scaling, and thus it can be reported, but not applied in triSurfaceMesh
-
- Apr 01, 2020
-
-
Mark OLESEN authored
- refactor common exit/abort code - support single-parameter output. Eg, FatalError("some-executable") << "Cannot load something\n" << exit(FatalError);
-
Mark OLESEN authored
- previously used a Pstream::exit() invoked from the argList destructor to handle all MPI shutdown, but this has the unfortunate side-effect of using a fixed return value for the program exit. Instead use the Pstream::shutdown() method in the destructor and allow the normal program exit codes as usual. This means that the following code now works as expected. ``` argList args(...); if (...) { InfoErr<< "some error\n"; return 1; } ```
-
Mark OLESEN authored
- orphaned file: extendedFeatureEdgeMeshI.H - unused primitiveFaceZone typedef. Identical to indirectPrimitivePatch typedef
-
- Mar 30, 2020
-
-
Mark OLESEN authored
- conversion, sampling, surfMesh
-
- Mar 31, 2020
-
-
Mark OLESEN authored
-
- Mar 30, 2020
-
-
Mark OLESEN authored
STYLE: double-quote "$@" for isTest/notTest
-
- Mar 25, 2020
-
-
Mark OLESEN authored
- placed in stdFoam.H (as well as autoPtr.H) for general availability STYLE: minor adjustments to autoPtr code layout
-
Mark OLESEN authored
-
Mark OLESEN authored
- preferentially handle Allwmake.override, which allows packaging tools to define alternative make scripts, or selectively disable components. - remove legacy handling of 'Optional' directory. Conditionals have since migrated into scripts themselves and/or use the wmake/scripts/have_* framework. BUG: missed passing -debug for Allwmake scripts
-
Mark OLESEN authored
- makes it easier to run/clean individual cases
-
- Mar 23, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Mar 31, 2020
-
-
Andrew Heather authored
-
- Mar 30, 2020
- Mar 27, 2020
-
-
Andrew Heather authored
Enabled postProcess on film region for reactingParcelFoam See merge request !352
-
- Mar 26, 2020
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- Mar 19, 2020
-
-
Mark OLESEN authored
* Use cast for std::pow(??, z). * No cast for std::pow(z, ??) - already properly specialized.
-
- Mar 18, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
mattijs authored
-
- Mar 17, 2020
-
-
- Mar 16, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- log to stdout when explicitly enabled
-
Mark OLESEN authored
-
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.
-