- Dec 17, 2019
-
-
Kutalmış Berçin authored
foamMonitor -g foamMonitor -grid
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
- STYLE: remove redundant whitespaces
-
Kutalmış Berçin authored
ENH: modify fWallFunction for kEpsilonPhitF model The k-epsilon-phit-f turbulence closure model for incompressible and compressible flows. The model is a three-transport-equation linear-eddy-viscosity turbulence closure model alongside an elliptic relaxation equation: - Turbulent kinetic energy, \c k, - Turbulent kinetic energy dissipation rate, \c epsilon, - Normalised wall-normal fluctuating velocity scale, \c phit, - Elliptic relaxation factor, \c f. Reference: \verbatim Standard model (Tag:LUU): Laurence, D. R., Uribe, J. C., & Utyuzhnikov, S. V. (2005). A robust formulation of the v2−f model. Flow, Turbulence and Combustion, 73(3-4), 169–185. DOI:10.1007/s10494-005-1974-8 \endverbatim The default model coefficients are (LUU:Eqs. 19-20): \verbatim kEpsilonPhitFCoeffs { Cmu 0.22, // Turbulent viscosity constant Ceps1a 1.4, // Model constant for epsilon Ceps1b 1.0, // Model constant for epsilon Ceps1c 0.05, // Model constant for epsilon Ceps2 1.9, // Model constant for epsilon Cf1 1.4, // Model constant for f Cf2 0.3, // Model constant for f CL 0.25, // Model constant for L Ceta 110.0, // Model constant for L CT 6.0, // Model constant for T sigmaK 1.0, // Turbulent Prandtl number for k sigmaEps 1.3, // Turbulent Prandtl number for epsilon sigmaPhit 1.0, // Turbulent Prandtl number for phit = sigmaK } \endverbatim Note The name of the original variable replacing 'v2' is 'phi' (LUU:Eq. 14). However, the name 'phi' preexisted in OpenFOAM; therefore, this name was replaced by 'phit'
-
Andrew Heather authored
ENH: add PDRsetFields utility See merge request !265
-
Mark OLESEN authored
- follows the principle of least surprise if the expansion behaviour for #eval and expressions (eg, exprFixedValue) are the same. This is possible now that we harness the regular stringOps::expand() within exprString::expand()
-
- Dec 16, 2019
-
-
sergio authored
Adding check for p.active at the end of KinematicParcel::move. p.hitFace() is called only for active parcels. Setting to zero the initialization for stored lists of stick and escape parcels in LocalInteraction and StandardWallInteraction models NOTE: KinematicParcel::hitPatch counts overall system escaped parcels and mass based on polyPatch type and not on type of patchInteractionModel. Thus, if a patch is a Wall for fluid but escape for parcel the overall report will be wrong but the local report for each patch is correct
-
Sergio Ferraris authored
ENH: applyBoundaryLayer - optionally write turbulence fields See merge request !313
-
Mark OLESEN authored
-
Mark OLESEN authored
- the PDRsetFields utility processes a set of geometrical obstructions to determine the equivalent blockage effects. These fields are necessary inputs for PDRFoam calculations. After setting up the geometries, the -dry-run option can be used to generate a VTK file for diagnosis and post-processing purposes. - this is an initial release, with improvements slated for the future. NOTE - the field results may be less than fully reliable when run in single-precision. This howver does not represent a realistic restriction since the prepared fields target a combustion application which will invariably be double-precision.
-
Mark OLESEN authored
-
Mark OLESEN authored
-
-
Mark OLESEN authored
- locate where the user is less tempted to change it (#1515). It really should be considered an invariant environment variable. STYLE: wmake -help information to stdout, die errors to stderr
-
mattijs authored
-
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 Development/openfoam!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 Development/openfoam!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.
-