- Dec 16, 2019
-
-
Mark OLESEN authored
- only include compiler-family rules for C++ once STYLE: minor cleanup of wmake/src Makefile
-
Mark OLESEN authored
- remove unused local functions from volumeExprDriver
-
- Dec 15, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- The wmake -show-path-{c,cxx} options return the fully qualified paths to the respective compilers. This can be useful when verifying that the correct compiler is indeed configured. - The -help-full to display the "advanced" options, but in the normal case just show the basic options.
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- stops clang-9 error of List being constrained by private inheritance
-
- Dec 14, 2019
-
-
Mark OLESEN authored
Integration feature numerics See merge request !308
-
Mark OLESEN authored
-
sergio authored
-
- Dec 13, 2019
-
-
Mark OLESEN authored
- reuse more of stringOps expansions to reduce code and improve the syntax flexiblity. We can now embed "pre-calculated" values into an expression. For example, angle 35; valueExpr "vector(${{cos(degToRad($angle))}}, 2, 3)"; and the ${{..}} will be evaluated with the regular string evaluation and used to build the entire expression for boundary condition evaluation. Could also use for fairly wild indirect referencing: axis1 (1 0 0); axis2 (0 1 0); axis3 (0 0 1); index 100; expr "$[(vector) axis${{ ($index % 3) +1 }}] / ${{max(1,$index)}}";
-
Mark OLESEN authored
ENH: Added new function object to compute the Proudman acoustic power See merge request !303
-
Mark OLESEN authored
ENH: Added new limitFields function object See merge request !304
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Dec 12, 2019
-
-
- Failed due to double*Matrix<float> multiplication. Style changes - use SquareMatrix with Identity on construction - use Zero in constructors - remove trailing space and semi-colons
-
- Dec 13, 2019
-
-
Mark OLESEN authored
- this regression caused dynamic code with includes to fail since they often have -I$(LIB_SRC)/... content
-
Mark OLESEN authored
-
Mark OLESEN authored
- finds beg/end indices of string trimmed of leading/trailing whitespace
-
Mark OLESEN authored
- skip processing OSspecific/MSwindows since this can cause duplicate doxygen entries STYLE: adjust formatting in code templates STYLE: use std::string methods without extra qualifications
-
Mark OLESEN authored
- ensure that the updateControl is "non-sticky" on re-read, even if we do not support runtime-modifiable here STYLE: add syntax example (wingMotion), but with updateInterval 1
-
Mark OLESEN authored
- synchronize the scalar interval value with the integer version. This ensures that the interval() method returns the correct representative value. - added clear() method to reset to 'always' (pass-through)
-
Mark OLESEN authored
This reverts commit 677e3142.
-
Mark OLESEN authored
-
Mark OLESEN authored
- ensure that the updateControl is "non-sticky" on re-read, even if we do not support runtime-modifiable here STYLE: add syntax example (wingMotion), but with updateInterval 1
-
Mark OLESEN authored
-
- Dec 12, 2019
-
-
Andrew Heather authored
ENH: New adjont shape optimisation functionality See merge request !307
-
Vaggelis Papoutsis authored
The adjoint library is enhanced with new functionality enabling automated shape optimisation loops. A parameterisation scheme based on volumetric B-Splines is introduced, the control points of which act as the design variables in the optimisation loop [1, 2]. The control points of the volumetric B-Splines boxes can be defined in either Cartesian or cylindrical coordinates. The entire loop (solution of the flow and adjoint equations, computation of sensitivity derivatives, update of the design variables and mesh) is run within adjointOptimisationFoam. A number of methods to update the design variables are implemented, including popular Quasi-Newton methods like BFGS and methods capable of handling constraints like loop using the SQP or constraint projection. The software was developed by PCOpt/NTUA and FOSS GP, with contributions from Dr. Evangelos Papoutsis-Kiachagias, Konstantinos Gkaragounis, Professor Kyriakos Giannakoglou, Andy Heather [1] E.M. Papoutsis-Kiachagias, N. Magoulas, J. Mueller, C. Othmer, K.C. Giannakoglou: 'Noise Reduction in Car Aerodynamics using a Surrogate Objective Function and the Continuous Adjoint Method with Wall Functions', Computers & Fluids, 122:223-232, 2015 [2] E. M. Papoutsis-Kiachagias, V. G. Asouti, K. C. Giannakoglou, K. Gkagkas, S. Shimokawa, E. Itakura: ‘Multi-point aerodynamic shape optimization of cars based on continuous adjoint’, Structural and Multidisciplinary Optimization, 59(2):675–694, 2019
-
Mark OLESEN authored
- when using VTK from ParaView sources it can better to tag them as such, but simultaneously not mask the ParaView with hardware rendering. The additional ParaView_MESA_DIR variable allows this. The balance of library and path setup is unaffected by this. DOC: update doc/BuildIssues
-
Mark OLESEN authored
-
Andrew Heather authored
-
Andrew Heather authored
ENH|BUG: Misc See merge request !305
-
Kutalmış Berçin authored
- `Pkt` was directed to `GName` to allow wall functions are usable by kkLOmega model - `Pkt` was changed to a non-const object, so that omegaWallFunc can modify `Pkt` at the wall, if need be. - Elementwise backward compatibility was checked by pimpleFoam/RAS/ellipsekkLOmega - New implementation was checked by changing omega:hole boundary in pimpleFoam/RAS/ellipsekkLOmega to omegaWallFunction
-
Kutalmış Berçin authored
QRMatrix (i.e. QR decomposition, QR factorisation or orthogonal-triangular decomposition) decomposes a scalar/complex matrix \c A into the following matrix product: \verbatim A = Q*R, \endverbatim where \c Q is a unitary similarity matrix, \c R is an upper triangular matrix. Usage Input types: - \c A can be a \c SquareMatrix<Type> or \c RectangularMatrix<Type> Output types: - \c Q is always of the type of the matrix \c A - \c R is always of the type of the matrix \c A Options for the output forms of \c QRMatrix (for an (m-by-n) input matrix \c A with k = min(m, n)): - outputTypes::FULL_R: computes only \c R (m-by-n) - outputTypes::FULL_QR: computes both \c R and \c Q (m-by-m) - outputTypes::REDUCED_R: computes only reduced \c R (k-by-n) Options where to store \c R: - storeMethods::IN_PLACE: replaces input matrix content with \c R - storeMethods::OUT_OF_PLACE: creates new object of \c R Options for the computation of column pivoting: - colPivoting::FALSE: switches off column pivoting - colPivoting::TRUE: switches on column pivoting Direct solution of linear systems A x = b is possible by solve() alongside the following limitations: - \c A = a scalar square matrix - output type = outputTypes::FULL_QR - store method = storeMethods::IN_PLACE Notes - QR decomposition is not unique if \c R is not positive diagonal \c R. - The option combination: - outputTypes::REDUCED_R - storeMethods::IN_PLACE will not modify the rows of input matrix \c A after its nth row. - Both FULL_R and REDUCED_R QR decompositions execute the same number of operations. Yet REDUCED_R QR decomposition returns only the first n rows of \c R if m > n for an input m-by-n matrix \c A. - For m <= n, FULL_R and REDUCED_R will produce the same matrices
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
- query func `symmetric()` - query func `tridiagonal()` - `resize()` - `labelpair` identity constructor STYLE: add `#if(0 | RUNALL)` to improve test control in Test-Matrix
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-