- Apr 16, 2019
-
-
Mark OLESEN authored
- fix typo in makefiles/info that affected wmake -show-compile-c - additional safeguard in src/OpenFOAM/Make/options against self-linking. This is not normally required unless PROJECT_LIBS has been added into the link stage.
-
- Apr 15, 2019
-
-
mattijs authored
-
- Apr 12, 2019
-
-
Mark OLESEN authored
solaris: - rename WM_ARCH from SunOS to solaris64 for consistency with wmake/rules - drop non-64 solaris from wmake/rules - remove automatic selection of FJMPI. This should be done in the bashrc or prefs.sh file instead. - remove old (likely inaccurate) exported flags, rely on wmake -show-xyz or user config instead darwin: - remove '-Ddarwin' from the exported WM_CFLAGS, WM_CXXFLAGS. Not used elsewhere (ThirdParty)
-
- Apr 03, 2019
-
-
Mark OLESEN authored
- still had old WM_PROJECT_VERSION settings instead of FOAM_API for FOAM_SITE_APPBIN and FOAM_SITE_LIBBIN locations.
-
- Apr 01, 2019
-
-
Mark OLESEN authored
- having whitespace in fileName can be somewhat fragile since it means that the fileName components do not necessarily correspond to a 'Foam::word'. But in many cases it will work provided that spaces are not present in the final portion of the simulation directory itself. InfoSwitches { // Allow space character in fileName (use with caution) allowSpaceInFileName 0; } - now use doClean=true as default for fileName::validate(). Was false. Unlike fileName::clean() this requires no internal string rewrite since the characters are being copied. Also handle any path separator transformations (ie, backslash => forward slash) at the same time. This makes it resemble the std::filesystem a bit more.
-
- Mar 15, 2019
-
-
Mark OLESEN authored
-
- Mar 11, 2019
-
-
Mark OLESEN authored
-
- Mar 26, 2019
-
-
Mark OLESEN authored
-
- Feb 23, 2019
-
-
Mark OLESEN authored
- While a rectilinear mesh can be created with blockMesh, not every mesh created with blockMesh will satisfy the requirements for being a rectilinear mesh. This alternative to blockMesh uses a single block that is aligned with the xy-z directions and specifications of the control points, mesh divisions and expansion ratios. For example, x { points ( -13.28 -0.10 6.0 19.19 ); nCells ( 10 12 10 ); ratios ( 0.2 1 5 ); } y { ... } z { ... } With only one block, the boundary patch definition is simple and the canonical face number is used directly. For example, inlet { type patch; faces ( 0 ); } outlet { type patch; faces ( 1 ); } sides { type patch; faces ( 2 3 ); } ... - After a mesh is defined, it is trivial to retrieve mesh-related information such as cell-volume, cell-centres for any i-j-k location without an actual polyMesh. STYLE: remove -noFunctionObjects from blockMesh - no time loop, so function objects cannot be triggered anyhow.
-
Mark OLESEN authored
-
- Mar 22, 2019
-
-
Mark OLESEN authored
-
- Feb 15, 2019
-
-
Mark OLESEN authored
- seems to have slipped into an earlier commit
-
- Feb 13, 2019
-
-
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.
-
- Jan 28, 2019
-
-
Mark OLESEN authored
- in addition to managing different vendors and versions, it may also be necessary or desirable to have a particular variant (eg, profiling, release, etc). Devise a new meaningful name for the variant and create a corresponding wmake rule. Eg, SYSTEMOPENMPI-profiling with a corresponding "wmake/rules/linux64Gcc/mplibSYSTEMOPENMPI-profiling" file that has suitable content for your system. CONFIG: intel-mpi use intel64/ paths only for config and wmake rules (#1153) - previously adjusted the config files, but missed the changes required for the wmake rules too. Now simply migrate to using "intel64/{include,bin,lib}" instead of the older naming "{include,bin,lib}64" These changes work since at least intel-mpi 2015 (5.x), but possibly earlier as well
-
- Jan 17, 2019
-
-
Mark OLESEN authored
-
- Jan 10, 2019
-
-
Mark OLESEN authored
- was WM_PROJECT_API in the environment and FOAM_API in dictionaries. Make these both consistently FOAM_API. This is a non-breaking change, since the value of WM_PROJECT_API (added in 1812) and/or FOAM_API is purely informative. For the current correct values, always use * foamEtcFile -show-api * wmakeBuildInfo -show-api
-
Mark OLESEN authored
- If using a non-clang compiler suite (gcc, intel, etc) the additional lbraries required for mesa with llvm pipelines may not be found. Provide a mesa_llvm configuration with in the 'vtk' config file. Can use the usual types of settings * mesa_llvm=llvm-4.0.1 * mesa_llvm=none * mesa_llvm=system
-
- Jan 07, 2019
-
-
Mark OLESEN authored
- uses the value of foamVersion::api, which should be reliable.
-
- Feb 14, 2019
-
-
Mark OLESEN authored
- Note: mpich now builds libmpi.so instead of libmpich.so - define both -DMPICH_SKIP_MPICXX and -DOMPI_SKIP_MPICXX regardless of using openmpi or mpich. This simplifies the files and does not harm.
-
mattijs authored
-
- Feb 06, 2019
-
-
OpenFOAM bot authored
-
- Feb 04, 2019
-
-
Andrew Heather authored
-
- Jan 31, 2019
-
-
Mark OLESEN authored
-
- Jan 29, 2019
-
-
Andrew Heather authored
-
- Jan 26, 2019
-
-
Mark OLESEN authored
- as well as being more convenient to find, this is necessary when the OpenFOAM installation is without sources or tutorials
-
Mark OLESEN authored
- older emacs tools into legacy - old process tools * Less frequently used scripts into bin/tools/ - findEmptyMake - foamAllHC - foamUpdateCaseFileHeader * Infrastructure file (only used by foamNewApp) - wmake/wmakeFilesAndOptions -> wmake/scripts/wmakeFilesAndOptions * Merge wmakeRoot convenience as 'wmake -pwd' * Remove obsolete wmakePrintBuild (superseded by wmakeBuildInfo) * Remove unused mergeHistory file
-
- Jan 25, 2019
-
-
Mark OLESEN authored
- instead of WM_COMPILER=GccKNL WM_COMPILE_OPTION=Opt -> linux64GccKNLDPInt32Opt now specify WM_COMPILER=Gcc WM_COMPILE_OPTION=OptKNL -> linux64GccDPInt32OptKNL This makes it easier (and more obvious) for adding different tweaks without needing to generate too many files. Eg, cd wmake/rules/linux64Gcc cp cOpt cOptBdw cp c++Opt c++OptBdw edit these two files and then use WM_COMPILE_OPTION=OptBdw CONFIG: provide some default c/c++ flags in General compiler rules - can make is easier when deriving new compile options, and ensures that '-02' is enabled as an initial default.
-
- Jan 24, 2019
-
-
Mark OLESEN authored
- changed the sectorCoeffs keyword to 'point' from 'axisPt' for more similarity with other dictionaries. Continue to accept 'axisPt' for compatibility.
-
- Jan 23, 2019
-
-
Mark OLESEN authored
- was for parallel compilation across multiple hosts, but less useful with modern CPUs with higher number of cores and/or hyperthreading. Fragile use and dependent on a 'lockfile' utility that is not often installed.
-
- Jan 22, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- since foamDictionary doesn't use system/controlDict it will use the standard default precision. The '-precision' option allows adjusting that value.
-
- Jan 21, 2019
-
-
Mark OLESEN authored
-
- Jan 18, 2019
-
-
Mark OLESEN authored
-
- Jan 17, 2019
-
-
Mark OLESEN authored
-
- Jan 10, 2019
-
-
Mark OLESEN authored
- was WM_PROJECT_API in the environment and FOAM_API in dictionaries. Make these both consistently FOAM_API. This is a non-breaking change, since the value of WM_PROJECT_API (added in 1812) and/or FOAM_API is purely informative. For the current correct values, always use * foamEtcFile -show-api * wmakeBuildInfo -show-api
-
Mark OLESEN authored
- If using a non-clang compiler suite (gcc, intel, etc) the additional lbraries required for mesa with llvm pipelines may not be found. Provide a mesa_llvm configuration with in the 'vtk' config file. Can use the usual types of settings * mesa_llvm=llvm-4.0.1 * mesa_llvm=none * mesa_llvm=system
-
- Jan 07, 2019
-
-
Mark OLESEN authored
- uses the value of foamVersion::api, which should be reliable.
-
- Jan 06, 2019
-
-
Mark OLESEN authored
- and support setting cmake_version within the paraview config files
-
- Jan 02, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
STYLE: generalize rule for obtaining compiler stem
-