- Dec 08, 2020
-
-
Mark OLESEN authored
- better distinction between types of algorithms. Easier for future deprecation/replacement.
-
Mark OLESEN authored
- bundles selection and control parameters used when creating iso-surfaces. This simplifies selection and specification - drop old compatibility handling of "cell" as a bool - harmonize filter/regularisation flags for iso-surface - for dictionary input, accept "isoMethod" and "isoAlgorithm" as being synonymous. Using "isoMethod" is less subject to typing errors.
-
Mark OLESEN authored
TUT: dictionary form of surfaces instead of list
-
Mark OLESEN authored
-
Mark OLESEN authored
- for boundary meshes, zones etc. The behaviour with an empty matcher was either not properly documented, and looped through all names just to establish there was no match. STYLE: removed redundant typedefs for point fields
-
Mark OLESEN authored
- robuster matching behaviour when encountering paths that themselves contain the word "processor" in them. For example, "/path/processor0generation2/case1/processor10/system" will now correctly match on processor10 instead of failing. - use procRangeType for encapsulating the processor ranges - provision for information of distributed vs non-distributed roots. The information is currently available from the initial setup, but can useful to access directly within fileOperation. STYLE: modernize list iteration
-
Mark OLESEN authored
- the NullObject singleton can also be cast to a bitSet (sufficient size and bit-pattern). Useful for places that need to hold a reference on construction
-
Mark OLESEN authored
- UPstream::rangeType as typedef for IntRange<int> for better use semantics
-
Mark OLESEN authored
- Makefile only checks set/unset, so handle 'false' within wmake itself
-
Mark OLESEN authored
- (tet, pyr, hex) can be identified from their number of faces and vertices. For these common shapes can use static `test()` method instead of the virtual isA() method. This is much cheaper for calling on an individual basis since it avoids the overhead of constructing an object. ENH: tetCell edge/reverseEdge (already had tetEdge)
-
Mark OLESEN authored
- avoid potential future mistakes if someone adds a sizing dimension and finds they have inadvertently called construct labelList with `{std::initializer_list<label>}` instead of `label`
-
-
Andrew Heather authored
BUG: atm wall functions: fix double "value" entry issue See merge request !395
-
STYLE: atm wall functions: use auto and bool types wherever possible TUT: atmosphericModels: changes for style consistency
-
- Dec 07, 2020
-
-
Andrew Heather authored
Feature recycle particles See merge request !396
-
- Dec 04, 2020
-
-
Shows an example of the new recyclePatchInteraction model - particles that escape from the outlet are recycled back into the domain via the second inlet Signed-off-by:
Kutalmis Bercin <kutalmis.bercin@esi-group.com>
-
Parcels that hit an 'outflow' patch are recycled to an 'inflow' patch, with optional: - recycle fraction < 1 Example usage: RecycleInteractionCoeffs { recyclePatches ( (outlet1 inlet1) (outlet2 inlet2) ); recycleFraction 0.8; // [0-1] } Signed-off-by:
Kutalmis Bercin <kutalmis.bercin@esi-group.com>
-
- MultiInteraction: updated to call info() function of child models - PatchInteractionModel: added postEvolve hook - KinematicCloud: call patchInteraction() postEvolve hook
-
Mark OLESEN authored
Issue 1871 - simplifies adjoint turbulence code by using refPtr instead of combined autoPtr/tmp See merge request !385
-
- Dec 03, 2020
-
-
- reduces some code complexity.
-
- Nov 30, 2020
-
-
Andrew Heather authored
Updated surface handling See merge request !394
-
Mark OLESEN authored
-
Mark OLESEN authored
- weight fields are combined by multiplication - volFieldValue: * 0-N scalar fields - surfaceFieldValue: * 0-N scalar fields * 0-1 vector fields In some cases this can be used to avoid creating additional fields. weightFields (rho U); vs. derivedFields (rhoU); weightField rhoU;
-
Mark OLESEN authored
- when sampling onto a meshed surface, the sampling surface may be outside of the mesh region, or simply too far away to be considered reasonable. Can now specify a max search distance and default values for samples that are too distant. If a default value is not specified, uses Type(Zero). Eg, maxDistance 0.005; defaultValue { "p.*" 1e5; T 273.15; U (-100 -100 -100); }
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- additional "names" entry to specify a word/regex list of selections For example, { type patch; name inlets; names ("inlet_[0-9].*" inlet); } - if "names" exists AND contains a literal (non-regex) that can be used as a suitable value for "name", the "name" entry becomes optional. For example, { type patch; names ("inlet_[0-9].*" inlet); // inferred name = inlet } - reduce some overhead in surfaceFieldValue TUT: surfaceFieldValue on patches : reactingParcelFoam/verticalChannel
-
Mark OLESEN authored
- supports geometry and field-specific scaling, separate geometry and fields. Beta-feature for suppressing geometry output entirely.
-
Mark OLESEN authored
- read surfaces which are defined in terms of solid element sides. Eg, ``` *ELEMENT, TYPE=C3D4, ELSET=... 1, ... 2, ... *SURFACE, NAME=Things, TYPE=ELEMENT 1, S1 2, S1 ``` The element and side number are encoded as a synthetic face id according to -(10 * elemId + sideNum) but the underlying solid geometry is discarded, since there is no reasonable way to pass it through the surface sampling mechanism.
-
Mark OLESEN authored
- bitSet and PackedList fill() as per boost dynamic_bitset. Silently deprecate assign(val), which is potentially confusing with other forms of assign(). - FixedList fill() as per std::array. Add missing assignment from Foam::zero - minor code simplication in bitSet and PackedList STYLE: fix typo in comment, qualify Foam::zero
-
Mark OLESEN authored
- makes it easier to combine with -log options etc.
-
- Nov 28, 2020
-
-
Mark OLESEN authored
-
sergio authored
-
- Nov 26, 2020
-
-
mattijs authored
-
Mark OLESEN authored
- relocated module-prefix handling to wmakeFunctions
-
Mark OLESEN authored
Example usage, wmake -with-bear src/OpenFOAM src/Allwmake -with-bear -s -j - bin/tools/vscode-settings Emit some json content suitable for setting up Visual Studio Code for use with OpenFOAM. For example, bin/tools/vscode-settings > .vscode/settings.json Ideas from Volker Weissman
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- additional check was introduced by 51b24902, but scaling with zero is useful for flattening a mesh
-
- Nov 25, 2020
-
-
Mark OLESEN authored
---- install-dirs: a general directory installer Copy installs non-binary (platform) directories. Eg, install-dirs -prefix=... -devel install-dirs -prefix=... -default -no-app ---- install-platform: a platform (binary) installer This is primarily driven by the need to install into system mpi directories. The problem noted in issue #1893 is caused by the rpm-mpi-hooks (fedora and redhat-8). For the additional mpi library qualifier (openmpi-x86_64) to be added to the requirements, the mpi-specific libraries (eg, libPstream.so) need to be installed in the mpi system directory (eg, /usr/lib64/openmpi). However, then need symlinks from the system locations back to our local directories to ensure that the libraries are correctly found via our LD_LIBRARY_PATH and we don't get dummy libraries. ---- update-mpi-links: a post-install update hook Expected paths are registered as persistent information into the hook during packaging. Triggering the hook after installation completes the creation of the symlinks. Normal usage, ``` prefix="/tmp/local-install/openfoam" bin/tools/install-dirs -prefix="$prefix" -common bin/tools/install-platform -prefix="$prefix" ``` Installs - /tmp/local-install/openfoam/META-INFO - /tmp/local-install/openfoam/bin - /tmp/local-install/openfoam/etc - /tmp/local-install/openfoam/platforms/linux64GccDPInt32Opt/bin - /tmp/local-install/openfoam/platforms/linux64GccDPInt32Opt/lib Can also place architecture-dependent bits elsewhere, ``` prefix="/tmp/local-install/openfoam" multi_arch="$(dpkg-architecture -qDEB_TARGET_MULTIARCH)" bin/tools/install-dirs -prefix="$prefix" -common bin/tools/install-platform -exec-prefix="$prefix/$multi_arch" ``` Installs - /tmp/local-install/openfoam/META-INFO - /tmp/local-install/openfoam/bin - /tmp/local-install/openfoam/etc - /tmp/local-install/openfoam/x86_64-linux-gnu/bin - /tmp/local-install/openfoam/x86_64-linux-gnu/lib Can use it to flatten out platforms entirely, ``` prefix="/tmp/local-install/openfoam" bin/tools/install-dirs -prefix="$prefix" -common bin/tools/install-platform -exec-prefix="$prefix" ``` Installs - /tmp/local-install/openfoam/META-INFO - /tmp/local-install/openfoam/bin - /tmp/local-install/openfoam/etc - /tmp/local-install/openfoam/lib
-