- Jun 11, 2020
-
-
Andrew Heather authored
Example usage: cloudFunctions { WeberNumber1 { type WeberNumber; } } This will calculate and write the Weber number field as a 'standard' cloud field, available for post-processing alongside other lagrangian fields in the lagrangian/<cloudName> directory.
-
Andrew Heather authored
Might also consider passing through the remaining hooks, e.g. for postMove, postPatch, postFace etc
-
-
-
-
ENH: add log FO ENH: improve log with scale, and offset entries BUG: ensure extrueMesh does not fail in parallel with wedge extrusion BUG: add missing clone and mapping funcs to copiedFixedValue, fixedMultiPhaseHeatFlux ENH: meshToMesh0::cellAddressing slight speed up for some geometries BUG:0003495: Divide-by-zero in SHF particle break-up model BUG:0003492: The formula in the OF is inconsistent with the Rosin-Rammler distribution theory formula
-
mattijs authored
This change abstracts out the reading of "boundaryData". It should now support OpenFOAM headers and with that also binary input.
-
- Jun 10, 2020
-
-
mattijs authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- avoid warnings about masked method names
-
Mark OLESEN authored
- replace ':' scoping with IOobject::scopedName(), which automatically uses '_' for Windows compilations where the ':' is a meta-character (drive separator) - apply similar local change for the momentum function object. *** This topic will be revisited in the future ***
-
Mark OLESEN authored
-
Andrew Heather authored
-
mattijs authored
-
mattijs authored
This e.g. was giving a problem with using volPointInterpolation (in functionObjects) with non-blocking global reductions.
-
Kutalmış Berçin authored
Please see the Extended Code Guide and header files for the details. ENH: add wall-function blending treatments to epsilonWallFunc adds `stepwise`, `max`, `binomial`, and `exponential` wall-function blending treatments: COMP: check backward compatibility for: `serial` `parallel` `serial restart` `parallel restart` computations in comparison to the following tutorials from v1906: `circuitBoardCooling condensatingVessel evaporationMultiComponent hotRoom movingBox multiRegionHeaterRadiation reverseBurner solidQuenching2D` STYLE: simplify `forAll`s ENH: add new wall blending approaches into omegaWallFunction adds stepwise, max, binomial, and exponential wall function blending apprs. ensures/forces the backward compatibility: - blended = true (blending:BINOMIAL2) (default) - blended = false (blending:STEPWISE) simplifies forAlls deprecates objects: - "blended" - use "blending::" options - "includeG" - as was hardcoded ENH: add wall-func blending treatments into nutWallFuncs - nutWallFunction - nutUWallFunction - nutkWallFunction COMP: check backward compatibility for: - serial - parallel - serial restart - parallel restart computations in comparison to the following tutorials from v1906: - heatTransfer/buoyantSimpleFoam/buoyantCavity - compressible/rhoSimpleFoam/gasMixing/injectorPipe DOC: modify header docs in wallFuncs - nutUTabulatedWallFunction - nutUSpaldingWallFunction - nutURoughWallFunction - nutUBlendedWallFunction - REVERT: change write order - nutLowReWallFunction - kLowReWallFunction: - ENH: protect against zero-division error through 'Ceps2' entry - STYLE: remove few redundant empty lines
-
- Jun 09, 2020
-
-
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
-
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
-
Mark OLESEN authored
-
Andrew Heather authored
-
TUT: add topoSet examples to pisoFoam/RAS/cavity tutorial BUG: fixes #1673
-
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
-
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.
-
Andrew Heather authored
-
Andrew Heather authored
-
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-recursion option for AllwmakeParseArguments - more descriptive naming than the -fromWmake option (still supported) - remove wmake/scripts/wmake.{cmake,wmake}-args since the -prefix handling and -no-recursion is now directly handled by AllwmakeParseArguments
-
Mark OLESEN authored
-
Andrew Heather authored
-
- Jun 05, 2020
-
-
Mark OLESEN authored
-
ENH: add generalised log-law type ground-normal inflow boundary conditions for wind velocity and turbulence quantities for homogeneous, two-dimensional, dry-air, equilibrium and neutral atmospheric boundary layer (ABL) modelling ENH: remove `zGround` entry, which is now automatically computed ENH: add `displacement height` entry, `d` ENH: add generalised atmBoundaryLayerInletOmega boundary condition ENH: add a verification case for atmBoundaryLayerInlet BCs DOC: improve atmBoundaryLayerInlet header documentation BUG: fix value-entry behaviour in atmBoundaryLayerInlet (fixes #1578) Without this change: - for serial-parallel computations, if `value` entry is available in an `atmBoundaryLayerInlet` BC, the theoretical ABL profile expressions are not computed, and the `value` entry content is used as a profile data - for parallel computations, if `value` entry is not available, `decomposePar` could not be executed. With this change: - assuming `value` entry is always be present, the use of `value` entry for the ABL profile specification is determined by a flag `initABL` - the default value of the optional flag `initABL` is `true`, but whenever `initABL=true` is executed, `initABL` is overwritten as `false` for the subsequent runs, so that `value` entry can be safely used. Thanks Per Jørgensen for the bug report. BUG: ensure atmBoundaryInlet conditions are Galilean-invariant (fixes #1692) Related references: The ground-normal profile expressions (tag:RH): Richards, P. J., & Hoxey, R. P. (1993). Appropriate boundary conditions for computational wind engineering models using the k-ε turbulence model. In Computational Wind Engineering 1 (pp. 145-153). DOI:10.1016/B978-0-444-81688-7.50018-8 Modifications to preserve the profiles downstream (tag:HW): Hargreaves, D. M., & Wright, N. G. (2007). On the use of the k–ε model in commercial CFD software to model the neutral atmospheric boundary layer. Journal of wind engineering and industrial aerodynamics, 95(5), 355-369. DOI:10.1016/j.jweia.2006.08.002 Expression generalisations to allow height variation for turbulence quantities (tag:YGCJ): Yang, Y., Gu, M., Chen, S., & Jin, X. (2009). New inflow boundary conditions for modelling the neutral equilibrium atmospheric boundary layer in computational wind engineering. J. of Wind Engineering and Industrial Aerodynamics, 97(2), 88-95. DOI:10.1016/j.jweia.2008.12.001 The generalised ground-normal profile expression for omega (tag:YGJ): Yang, Y., Gu, M., & Jin, X., (2009). New inflow boundary conditions for modelling the neutral equilibrium atmospheric boundary layer in SST k-ω model. In: The Seventh Asia-Pacific Conference on Wind Engineering, November 8-12, Taipei, Taiwan. Reproduced benchmark: Rectangular prism shown in FIG 1 of Hargreaves, D. M., & Wright, N. G. (2007). On the use of the k–ε model in commercial CFD software to model the neutral atmospheric boundary layer. Journal of wind engineering and industrial aerodynamics, 95(5), 355-369. DOI:10.1016/j.jweia.2006.08.002 Benchmark data: HW, 2007 FIG 6 TUT: update simpleFoam/turbineSiting tutorial accordingly
-
-
STDMD (i.e. Streaming Total Dynamic Mode Decomposition) is a variant of a data-driven dimensionality reduction method. STDMD is being used as a mathematical post-processing tool to compute a set of dominant modes out of a given flow (or dataset) each of which is associated with a constant frequency and decay rate, so that dynamic features of a given flow may become interpretable, and tractable. Among other Dynamic Mode Decomposition (DMD) variants, STDMD is presumed to provide the general DMD method capabilities alongside economised and feasible memory and CPU usage. Please refer to the header file documentation for further details. ENH: add new STDMD tutorial, pimpleFoam/laminar/cylinder2D
-
ENH: add Test-EigenMatrix application The new iterative eigen decomposition functionality is derived from: Passalacqua et al.'s OpenQBMM (openqbmm.org/), which is mostly derived from JAMA (math.nist.gov/javanumerics/jama/).
-
ENH: return zero-valued matrix when input zero-valued matrix in pinv()
-
-
- Jun 04, 2020
-
-
Mark OLESEN authored
- new vtk::internalMeshWriter, vtk::patchMeshWriter intermediate classes without finiteVolume dependencies. Enables direct use with a polyMesh. Makes vtk::internalWriter, vtk::patchWriter header/template only.
-
Mark OLESEN authored
-
Mark OLESEN authored
- bundled of boolean values as a vector of 3 components with element access using x(), y() and z() member functions. It also has some methods similar to bitSet. - Not derived from Vector or VectorSpace since it does not share very many vector-like characteristics.
-