- Jun 10, 2020
-
-
Vaggelis Papoutsis authored
(old keywords are still valid, throwing a compatibility warning) - using (U,V,W) instead of (X1,X2,X3) - using confine instead of bound
-
Vaggelis Papoutsis authored
for all objective functions. - The normalization is useful for practically all update methods dealing with constraints (e.g. SQP, MMA). The normalization factor can be either given explicitly or, if not given, will be the value of the objective function in the first optimisation cycle. - The target value is useful when using the objective as a constraint in constrained optimisation problems (e.g. drag - dragTarget). It should only be used with update methods that understand the value of the constraint (e.g. SQP, MMA) but not when the objective in hand is the only objective of the optimisation problem. In such a case, a squared objective should be used (e.g. sqr(drag - dragTarget))
-
- Jun 09, 2020
-
-
Vaggelis Papoutsis authored
- Objective now inherits from localIOdictionary and writes the mean objective value under the uniform folder, each time mesh.write() is called. This is crucial for getting the correct old merit function value if the simulation is continued from a previous state and lineSearch is used. - Objectives are now computed and written even if the corresponding adjoint solver is inactive. This, among others, is also essential for getting the correct old merit function value in case of continuation. - Writing of the objective function (and its mean, if present) history has now moved to updatePrimalBasedQuantities, instead of the preLoop part of the adjoint solvers. This was decided to get the objective values to files, even if the adjoint solver is inactive. Arguably, an even better place to write the objective functions would be the postLoop part of the primal solvers, however this might cause multiple writes of the objective value for the inner iterations of lineSearch, if one is used.
-
Vaggelis Papoutsis authored
to be used in separating instantaneous objective values of different optimisation cycles.
-
Vaggelis Papoutsis authored
which qualitatively quantifies noise through a volume integral of the squared turbulent viscosity.
-
Vaggelis Papoutsis authored
Moved part common to all derived classes (e.g. update) to the base class to avoid code duplication. Practically, only the protected updateDesignVariables has to be overwritten in each derived class now. steadyOptimisation was also affected in a minor way.
-
Vaggelis Papoutsis authored
holding the sensitivity maps
-
Vaggelis Papoutsis authored
given a global control point ID
-
Vaggelis Papoutsis authored
without recomputing them. Use with caution!
-
Vaggelis Papoutsis authored
- Added function returning the underlaying surface sensitivities - Added boolean to control whether to write the underlaying sensitivity map (defaults to false)
-
Vaggelis Papoutsis authored
Encapsulates all terms that are common in both E(SI) and FI formulations, like direct sensitivities and sensitivities due to primal boundary conditions. Added the latter to all derived sensitivity types, except for sensitivity maps.
-
Vaggelis Papoutsis authored
Same as adjointWallVelocity but also returns the contribution of the differentiation of the rotatingWallVelocity BC wrt the face centres, to be added to the sensitivity derivatives.
-
Vaggelis Papoutsis authored
Main reason was the insertion of a templated virtual function returning the contribution of the differentiation of the primal boundary condition, in the case the latter directly depends on a a geometric quantity (e.g. rotatingWallVelocity).
-
Andrew Heather authored
ENH: New atmospheric boundary layer (ABL) model suite (Part 1) See merge request !363
-
Please refer to the header file documentation for complete set of details. ENH: add new fvOptions for ABL modelling - atmAmbientTurbSource - atmBuoyancyTurbSource - atmCoriolisUSource - atmLengthScaleTurbSource - atmPlantCanopyTurbSource - atmPlantCanopyUSource - atmPlantCanopyTSource - atmNutSource ENH: add new boundary conditions for ABL modelling with PatchFunction1 and TimeFunction1 support - atmAlphatkWallFunction - atmEpsilonWallFunction - atmNutkWallFunction - atmNutUWallFunction - atmNutWallFunction - atmOmegaWallFunction - atmTurbulentHeatFluxTemperature STYLE: change names of nutkAtmRoughWallFunction -> atmNutkWallFunction by ensuring the bitwise backward compatibility ENH: add new variable-scaling force computation method to actuationDiskSource ENH: review actuationDiskSource and radialActuationDiskSource ENH: add new function object, ObukhovLength ENH: add new ABL tutorials/verifications - verificationAndValidation/atmosphericModels/atmFlatTerrain - verification with the Leipzig field experiment - illustration of precursor/successor field mapping - verificationAndValidation/atmosphericModels/atmForestStability - verification with the Sweden field experiment - update incompressible/simpleFoam/turbineSiting
-
Andrew Heather authored
CONT: Addition of compressibleIsoInterFoam and PLIC See merge request !349
-
-
1) Implementation of the compressibleIsoInterFOam solver 2) Implementation of a new PLIC interpolation scheme. 3) New tutorials associated with the solvers This implementation was carried out by Henning Scheufler (DLR) and Johan Roenby (DHI), following : \verbatim Henning Scheufler, Johan Roenby, Accurate and efficient surface reconstruction from volume fraction data on general meshes, Journal of Computational Physics, 2019, doi 10.1016/j.jcp.2019.01.009 \endverbatim The integration of the code was carried out by Andy Heather and Sergio Ferraris from OpenCFD Ltd.
-
- Jun 08, 2020
-
-
Mark OLESEN authored
- refinement of commit 33f9ae50. After foamDictionary -expand, the '2.0' becomes '2', so accept that as a reasonable token.
-
Mark OLESEN authored
- allow conditional skipping of tutorials (for example) if wmake or the expected compiler is not available
-
Mark OLESEN authored
-
Mark OLESEN authored
-
sergio authored
-
sergio authored
-
Andrew Heather authored
-
Andrew Heather authored
DOC: Elaborate the usage of topoSet See merge request Development/openfoam!361
-
TUT: add topoSet examples to pisoFoam/RAS/cavity tutorial BUG: fixes #1673
-
Andrew Heather authored
DOC: Elaborate the usage of function objects See merge request Development/openfoam!348
-
ENH: update libs of etc/caseDicts/postProcess items ENH: ensure destructor=default ENH: ensure constness ENH: ensure no 'copy construct' and 'no copy assignment' exist TUT: add examples of function objects with full set of settings into a TUT if unavailable TUT: update pisoFoam/RAS/cavity tutorial in terms of usage
-
Andrew Heather authored
Adding PIMPLE option finalOnLastPimpleIterOnly See merge request Development/openfoam!365
-
The PIMPLE option finalOnLastPimpleIterOnly allows the call the Final solver only in the last PIMPLE loop. The default is false which is the present behavior.
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- should pass onwards to other Allwmake scripts
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
Feature flexible install paths See merge request Development/openfoam!366
-
Mark OLESEN authored
- When compiling additional modules or user code, we need more control for the installation locations beyond the usual FOAM_USER_LIBBIN, FOAM_SITE_LIBBIN, FOAM_LIBBIN, and wish to have these values be modifiable without editing files. - provide wmake rules for handling standard defaults: * GENERAL_RULES/module-path-user * GENERAL_RULES/module-path-group * GENERAL_RULES/module-path-project which are incorporated as follows: Make/options: include $(GENERAL_RULES)/module-path-user Make/files: LIB = $(FOAM_MODULE_LIBBIN)/libMyLibrary By default these would compile into FOAM_USER_{APPBIN,LIBBIN} but could be adjusted at compilation time. For example, ``` wmake -module-prefix=/path/my-install-location ``` Or ``` ./Allwmake -module-prefix=/path/my-install-location ./Allwmake -prefix=/path/my-install-location ``` Or ``` FOAM_MODULE_PREFIX=/path/my-install-location ./Allwmake ``` ENH: add -no-re...
-
Mark OLESEN authored
-
Mark OLESEN authored
- now list compiler versions in reverse order (newest first) similar to how they are listed on the gcc/llvm sites. Add comments to mention which compiler series are now considered unsupported.
-