- Oct 29, 2018
-
-
Mark OLESEN authored
- uses the keywords 'zones' and 'zone' to avoid potential conflicts with a named topoSet action, but accepts 'name' for compatibility.
-
- Oct 31, 2018
- Oct 30, 2018
- Oct 29, 2018
- Oct 17, 2018
-
-
mattijs authored
-
- Oct 29, 2018
-
-
Mattijs Janssens authored
Feature patch function1 See merge request OpenFOAM-plus!215
-
Mattijs Janssens authored
-
- Oct 19, 2018
-
-
Mark OLESEN authored
- catch some dictionary entries from pre-develop branch
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- make hasFaceId a top-level virtual method and remove keepIds equivalent from sampledTriSurfaceMesh. This makes the property available without casting. - New sampling type 'none'. Can be used to temporarily disable a sampling surface definition, or to provide boilerplate for overwriting later.
-
- Oct 10, 2018
-
-
Mark OLESEN authored
COMP: fix incorrect reference in meshedSurfRef
-
- Oct 19, 2018
-
-
Mark OLESEN authored
- as part of the cleanup of dictionary access methods (c6520033) made the dictionary class single inheritance from IDLList<entry>. This eliminates any ambiguities for iterators and allows for simple use of range-for looping. Eg, for (const entry& e : topDict)) { Info<< "entry:" << e.keyword() << " is dict:" << e.isDict() << nl; } vs forAllConstIter(dictionary, topDict, iter)) { Info<< "entry:" << iter().keyword() << " is dict:" << iter().isDict() << nl; }
-
Mark OLESEN authored
-
- Oct 18, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- more dictionary-like methods, enforce keyType::LITERAL for all lookups to avoid any spurious keyword matching. - new readEntry, readIfPresent methods - The get() method replaces the now deprecate lookup() method. - Deprecate lookupOrFailsafe() Failsafe behaviour is now an optional parameter for lookupOrDefault, which makes it easier to tailor behaviour at runtime. - output of the names is now always flatted without line-breaks. Thus, os << flatOutput(someEnumNames.names()) << nl; os << someEnumNames << nl; both generate the same output. - Constructor now uses C-string (const char*) directly instead of Foam::word in its initializer_list. - Remove special enum + initializer_list constructor form since it can create unbounded lookup indices. - Removd old hasEnum, hasName forms that were provided during initial transition from NamedEnum. - Added static_assert on Enum contents to restrict to enum or integral values. Should not likely be using this class to enumerate other things since it internally uses an 'int' for its values. Changed volumeType accordingly to enumerate on its type (enum), not the class itself.
-
Mark OLESEN authored
- this helps for many cases outlined in issue #1007, but can also be useful when simply using symlinks for shorter or reorganized directory structures.
-
- Oct 17, 2018
-
-
sergio authored
-
sergio authored
Update of overRhoPimpleDyMFoam and overInterDyMFoam solvers. Adding corresponding tutorials with best possible settings The main effort was put on reducing pressure spikes as the stencil change with hole cells on the background mesh.
-
Mark OLESEN authored
- writes positions and a single field (eg, diameter) in plain ASCII files, suitable for importing in a spreadsheet or manipulation with scripting tools. - code integrated from https://develop.openfoam.com/Community/OpenFOAM-addOns
-
Mark OLESEN authored
New name: findObject(), cfindObject() Old name: lookupObjectPtr() Return a const pointer or nullptr on failure. New name: findObject() Old name: -- Return a non-const pointer or nullptr on failure. New name: getObjectPtr() Old name: lookupObjectRefPtr() Return a non-const pointer or nullptr on failure. Can be called on a const object and it will perform a const_cast. - use these updated names and functionality in more places NB: The older methods names are deprecated, but continue to be defined.
-
Mark OLESEN authored
- similar to the \c <=> operator in C++20. Primarily for use when defining cascaded sort function objects.
-
Mark OLESEN authored
- these currently only with bool parameters, but the return value should nonetheless always be a bool value: andOp(), orOp(), lessOp(), lessEqOp(), greaterOp(), greaterEqOp() - renamed the unused eqEqOp() to equalOp() for naming consistency with the equal() global function. ENH: equalOp() specialization for scalars - function object version of the equal() function. The default constructor uses the same tolerance (VSMALL), but can also supply an alternative tolerance on construction.
-
- Oct 16, 2018
-
-
Mark OLESEN authored
-
- Oct 17, 2018
- Oct 15, 2018
- Oct 16, 2018
-
-
Andrew Heather authored
Description Calculates the spatial minimum and maximum extents of a field The extents are derived from the bound box limits after identifying the locations where field values exceed the user-supplied threshold value. Usage Example of function object specification: fieldExtents1 { type fieldExtents; libs ("libfieldFunctionObjects.so"); ... writeToFile yes; log yes; fields (alpha); threshold 0.5; patches (); } Where the entries comprise: Property | Description | Required | Default type | type name: fieldExtents | yes | writeToFile | write extents data to file | no | yes log | write extents data to standard output | no | yes internalField | Process the internal field | no | yes threshold | Field value to identify extents boundary | yes | referencePosition | Reference position | no | (0 0 0) fields | list of fields to process | yes | patches | list of patches to process | no | <all> Output data is written to the file \<timeDir\>/fieldExtents.dat Note For non-scalar fields, the magnitude of the field is employed and compared to the threshold value.
-
Mark OLESEN authored
-