- Oct 05, 2020
-
-
Mark OLESEN authored
- The arc will frequently enclose an angle less than 180 degrees. For the case, it is possible to define the arc by its endpoints and its centre (origin) point. For example, arc 0 1 origin (0 0 0); When defined in the way, any discrepancy in the arc radius for the endpoints is resolved by adjusting the origin to ensure that the average radius is satisfied. It is also possible to specify a \em flatness factor as a multiplier of the radius. For example, arc 0 1 origin 1.1 (0 0 0); ENH: minor code cleanup for block edges ENH: expose point appending as polyList::concat
-
Mark OLESEN authored
STYLE: adjust blockMesh advanced/non-advanced options - make -merge-points "non-advanced" (for better exposure) - make -write-obj "advanced" (-write-vtk is preferred)
-
- Oct 02, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- contents to be filled with a later assignment. This can help avoid deduction issues when populating from a list of tokens, and the templated version is selected: ``` template<class T> primitiveEntry(const keyType&, const T&); ``` ENH: support construct empty ITstream with given name - populate contents later by assigment
-
- Oct 01, 2020
-
-
Mark OLESEN authored
- Eg, cannot compare addresses of DynamicList<T,16> and DynamicList<T,8> [clang], so compare their cdata pointers instead.
-
Mark OLESEN authored
- use clear/swap paradigm for more code reuse Note: fixed similar issue with copy/reuse constructor
-
Mark OLESEN authored
- provides consistency with identity(label, label) and looks more familiar than using labelRange::labels() - relocates labelRange IO operators to IntRange ENH: make sliceRange interators random access STYLE: scalarRanges::match() instead of predicate operator
-
- Sep 29, 2020
-
-
Andrew Heather authored
Pstream ranges See merge request !382
-
- Sep 28, 2020
-
-
Mark OLESEN authored
- returns a range of `int` values that can be iterated across. For example, for (const int proci : Pstream::subProcs()) { ... } instead of for ( int proci = Pstream::firstSlave(); proci <= Pstream::lastSlave(); ++proci ) { ... }
-
Mark OLESEN authored
- returns a range of `int` values that can be iterated across. For example, for (const int proci : Pstream::allProcs()) { ... } instead of for (label proci = 0; proci < Pstream::nProcs(); ++proci) { ... }
-
Mark OLESEN authored
- wedge geometry, so topology merge results in zero-sized faces.
-
Mark OLESEN authored
- only use implicit legacy handling if the "fanCurve" entry is missing and the "file" entry is present.
-
Mark OLESEN authored
-
-
Mark OLESEN authored
- timeVaryingUniformFixedValue -> uniformFixedValue - allows a variety of functions (eg, coded, expressions, tables, ...) - more similarity to finiteVolume patch type STYLE: remove unused timeVarying... from etc/controlDict
-
- Sep 25, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- adds "future-proofing" for derived expression boundary conditions by moving potential failure modes into the base class.
-
Mark OLESEN authored
-
Mark OLESEN authored
- failed to properly use the inherited constructors STYLE: adjust documentation comments
-
- Sep 24, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- specifying gradientExpr without a valueExpr, a missing fractionExpr should be treated as 0 (gradient only), not as 1 (value only) ENH: improve sanity checks + evaluation short-cuts in exprMixedFvPatchField
-
Mark OLESEN authored
- incorrect branching logic caused the "0" case to be ignored
-
- Sep 23, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- add reverse iterators and replace std::iterator (deprecated in C++17) with full definitions - simplify construction of iterators - construct labelRange from a single single parameter. This creates a (0,len) range. - make basic constructors forms constexpr. Remove unused size checks. - Derive labelRange from new IntRange template class. Allows reuse of base functionality with different integral sizes. Deprecations: - deprecate labelRange::valid() in favour of using labelRange::empty() or the bool operator. For example, if (range) ... vs older if (range.valid()) ... DEFEATURE: drop labelRange::null, scalarRange::null static variables - turned out to be not particularly useful. Can simply use constexpr contructor forms DEFEATURE: drop labelRange::identity static method - simply use the single-parameter constructor
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- aids when locating truncated files
-
Mark OLESEN authored
-
- Sep 22, 2020
-
-
Andrew Heather authored
New Evap-Cond Lagrangian model (FuchsKnudsen) for solution (liquid + solid) droplets See merge request !377
-
-
1) Adding LiquidEvapFuchsKnudsen model for lagrangian evaporation. This models is based on a diffusion type of evaporation/ condensation on particles composed of solution (liquid + solid). 2) Adding modes of calculating the particle rho and volume change. The new keyword in constantProperties is 'volumeUpdateMethod' which three options: a) constantRho b) constantVolume c) updateRhoAndVol The old keyword 'constantVolume' true/face is still valid 3) The entry rho0 is now optional for multicomponent parcels. If defined , it is used, but if it is not the actual mixture provided is used to calculate rho0 of the particle. T0 is still used as initial T and Cp0 is over-written in the multicomponent cloud but still required. 4) Adding tutorial for evaporation/condensation model
-
- Sep 16, 2020
-
-
Mark OLESEN authored
BUG: faMatrix::residual changes source vector (fixes #1835) ENH: improve code alignment between faMatrix and fvMatrix - support setValues() with a single value
-
Mark OLESEN authored
- refactor UniformField accordingly
-
Mark OLESEN authored
- can use ListOps::appendEqOp as the more general form. Note that this uses a different template parameter. Eg, `globalMeshData::ListPlusEqOp<labelList>()` vs. `ListOps::appendEqOp<label>()`
-
Mark OLESEN authored
- select default nastran PLOAD2 or PLOAD4 based on field type. Default to PLOAD2 for scalar types and PLOAD4 for vectors etc. - relocate nastran SHELL/MAT cards. Previously wrote at the end of the file, now emit when writing the geometry itself. This improves modularity (of code and files) - initial support for common geometry file for nastran
-
Mark OLESEN authored
- abstracted out from ensight surface writer for potential reuse by other surface writers.
-
Mark OLESEN authored
-
Mark OLESEN authored
- for CAE formats such as abaqus, nastran, starcd, etc, the element id is already part of the output format itself. For these cases, there is no use in generating an additional "Ids" field. ENH: add code to ignore negative face ids - these will arise from very special cases, such as when a solid element and side are encoded into a single integer. BUG: starcd surface values output did not use original face ids
-