- Jun 19, 2020
-
-
Mark OLESEN authored
- related to change c3571b73 (does not affect 1912 or older). Remnant check for data() should have used valid() method instead. TUT: add fluxSummary cellZoneAndDirection to angledDuct/implicit
-
Mark OLESEN authored
- For some cases it can be helpful to test if additional libraries can be properly resolved. This can be useful in scripts to test for additional capability: if foamHasLibrary geometricVoF then ... fi But also directly from the command-line to help resolve configuration issues: foamHasLibrary -verbose petscFoam Could not load "petscFoam" libpetsc.so.3.13: cannot open shared object file: No such file or directory
-
Mark OLESEN authored
- when installed in-source, use PETSC_ARCH to find additional include directory and the correct library directory CONFIG: bump to new hypre version - add -hint option for have_adios2, have_hypre, have_petsc
-
Mark OLESEN authored
STYLE: string quoting when echoing paths in wmake have_* scripts STYLE: more consistency in foamRunTutorials, foamCleanTutorials options
-
Mark OLESEN authored
- makes it easier to copy/duplicate the case
-
- Jun 18, 2020
-
-
Andrew Heather authored
BUG: provide setup backward-compat for actuationDiskSourceCoeffs See merge request !372
-
-
Andrew Heather authored
ENH: prevent natural-logarithm domain errors in nut wall functions See merge request !371
-
-
Andrew Heather authored
ENH: Updated Curle function object See merge request !373
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
The function object now computes the acoustic pressure at a list of user specified locations, or from the face centres of a user-supplied surface. When operating on an input surface, the output can be written back to the surface or as a list of point values. Example of function object specification: Curle1 { type Curle; libs ("libfieldFunctionObjects.so"); ... patches (surface1 surface2); c0 330; // Input - either points or surface input points; observerPositions ((0 0 0)(1 0 0)); //input surface; //surface "inputSurface.obj" // Output - either points or surface output points; //output surface; //surfaceType ensight; } Where the entries comprise: Property | Description | Required | Default value type |...
-
- Jun 17, 2020
-
-
Mark OLESEN authored
-
Andrew Heather authored
lumped point motion using local linear basic functions (#1341) See merge request !271
-
Mark OLESEN authored
- see its accompanying README for additional setup instructions
-
Mark OLESEN authored
- the earlier implementation of externally controlled lumped point motion (see merge request !120 and OpenFOAM-v1706 release notes) was conceived for the motion of simple structures such as buildings or simple beams. The motion controller was simply defined in terms of an orientation axis and divisions along that axis. To include complex structures, multiple motion controllers are defined in terms of support points and connectivity. The points can have additional node Ids associated with them, which makes it easier to map to/from FEA models. OLD system/lumpedPointMovement specification -------------------------------------------- //- Reference axis for the locations axis (0 0 1); //- Locations of the lumped points locations (0 0.05 .. 0.5); NEW system/lumpedPointMovement specification -------------------------------------------- // Locations of the lumped points points ( (0 0 0.00) (0 0 0.05) ... (0 0 0.50) ); //- Connectivity for motion controllers controllers { vertical { pointLabels (0 1 2 3 4 5 6 7 8 9 10); } } And the controller(s) must be associated with the given pointDisplacement patch. Eg, somePatch { type lumpedPointDisplacement; value uniform (0 0 0); controllers ( vertical ); // <-- NEW } TUT: adjust building motion tutorial - use new controllor definitions - replace building response file with executable - add updateControl in dynamicMeshDict for slowly moving structure
-
Mark OLESEN authored
-
OpenFOAM bot authored
-
Mark OLESEN authored
- use simpler decomposeParDict in tutorials, several had old 'boilerplate' decomposeParDict - use simpler libs () format - update surface sampling to use dictionary format
-
Kutalmış Berçin authored
-
- Jun 16, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
COMP: provide modules/Allwmake script - unified entry point with -prefix=... handling (#1721)
-
Mark OLESEN authored
COMP: automatically add FlexLexer.h to MSwindows OSspecific - useful, frequently forgotten step for cross-compiling
-
Mark OLESEN authored
-
Andrew Heather authored
DOC-STYLE: various release changes See merge request !370
-
Kutalmış Berçin authored
-
- Jun 15, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- place under compressibleInterFoam to ensure that the library dependency on VoFphaseCompressibleTurbulenceModels is satisfied
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- build prior to transportModels, which includes geometricVoF and its own form of surface sampling (interface sampling)
-
Mark OLESEN authored
-
- Jun 12, 2020
-
-
Andrew Heather authored
Updates for the adjoint optimisation library See merge request !368
-
Andrew Heather authored
-
Vaggelis Papoutsis authored
- Removed some unnecessary dynamicMeshDicts. - Removed the writeActiveDesignVariables execution from the Allrun scripts, since it is no longer necessary to execute it before adjointOptimisationFoam. - Updated the entries in dynamicMeshDict according to efbc9fc9.
-
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))
-
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.
-