- Jan 06, 2020
-
-
mattijs authored
-
- Jan 03, 2020
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
DEFEATURE: deprecate v2f model in favour of kEpsilonPhitF See merge request !319
-
-
- kEpsilonPhitF is a kEpsilon-based model which originated from (Durbin, 1995)’s v2-f methodology. However, the majority of v2-f model variants proved to be numerically stiff for segregated solution algorithms due to the coupled formulations of v2 and f fields, particularly on wall boundaries. The v2-f variant (i.e. OpenFOAM’s v2f model) due to (Lien and Kalitzin, 2001) reformulated the original v2-f model to enable segregated computations; however, a number of shortcomings regarding the model fidelity were reported in the literature. To overcome the shortcomings of the v2-f methodology, the v2-f approach was re-evaluated by (Laurence et al., 2005) by transforming v2 scale into its equivalent non-dimensional form, i.e. phit, to reduce the numerical stiffness. This variant, i.e. kEpsilonPhitF, is believed to provide numerical robustness, and insensitivity to grid anomalies while retaining the theoretical model fidelity of the original v2-f model. Accordingly the v2f RANS model is deprecated in favour of the variant kEpsilonPhitF model.
-
Andrew Heather authored
BUG: continuation of updateMethods with empty activeDesignVariables (#1540) See merge request !322
-
When activeDesignVariables are not set explicitly, all design variables are treated as active. These were allocated properly when starting from 0 but not when starting from an intermediate optimisation cycle (e.g. running 5 optimisation cycles, stopping and restarting). TUT: added a new tutorial including the restart of an optimisation run to help identify future regression
-
Andrew Heather authored
BUG: writeMorpherCPs expects a controlBoxes entry (#1538) See merge request !321
-
The controlBoxes wordList was removed from NURBS3DVolume in the pre-release phase but writeMorpherCPs was not updated accordingly. TUT: added the invocation of writeMorpherCPs in one of the tutotials to help identify future regression
-
Andrew Heather authored
BUG: Wrong FatalIOError message in displacementMethod and optMeshMovement (#1537) See merge request !320
-
- The core of the FatalIOError message was not printed due to exiting with FatalError instead of FatalIOError - Changed the TypeName in all derived classes of displacementMethod so that the toc printed by the FatalIOError corresponds to what the user should add in dynamicMeshDict
-
- Jan 02, 2020
-
-
sergio authored
When a contact resistance is used the T field on each coupled patch is different due to the thermal resistance. Thus, instead of solving for a unique Tw at the wall, we solve for Tw1 at one side then, the Tnbr internal becomes Tw2, which is the T of the nbr patch.
-
sergio authored
When a contact resistance is used the T field on each coupled patch is different due to the thermal resistance. Thus, instead of solving for a unique Tw at the wall, we solve for Tw1 at one side then, the Tnbr internal becomes Tw2, which is the T of the nbr patch.
-
- Dec 23, 2019
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Dec 20, 2019
-
-
Andrew Heather authored
-
Andrew Heather authored
-
sergio authored
-
- Dec 19, 2019
-
-
Mark OLESEN authored
Many possibilities: - use as a simple calculator with vectors, tensors etc. - test validity of expression syntax As a calculator: foamCalc '(vector(1,2,3) ^ vector(4,5,6)) * sqrt(34)' The same, but with debugging: foamCalc -debug-switch fieldExpr=6 \ 'mag((vector(1,2,3) ^ vector(4,5,6))) * sqrt(34)'
-
Mark OLESEN authored
- previously just reported gcc/clang versions, but these are not necessarily the ones actually being used (eg, clang-9 vs clang). Now use the path from `wmake -show-path-cxx` to improve the accuracy, and also support other compiler types.
-
Andrew Heather authored
Integration inter track foam See merge request !310
-
-
-
1) New skewCorrectedSnGrad for non-orthogonal and skewness corrector 2) New freeSurfacePressure and freeSurfacePressure working with interfaceTrackingFvMesh 3) New interfaceTrackingFvMesh
-
Andrew Heather authored
-
mattijs authored
-
Mark OLESEN authored
- now use debug 2 for scanner and debug 4 for parser. Provided better feedback about what is being parsed (debug mode) - relocate debug application to applications/tools/foamExprParserInfo
-
mattijs authored
-
Andrew Heather authored
New VOF multiphaseStabilizedTurbulence fvOption See merge request !316
-
-
See GL #1433 Applies corrections to turbulence kinetic energy equation and turbulence viscosity field for incompressible multiphase flow cases. Turbulence kinetic energy is over-predicted in VOF solvers at the phase interface and throughout the water column in nearly-potential flow regions beneath surface waves. This fvOption applies corrections based on the references: Buoyancy source term in turbulence kinetic energy equation: Devolder, B., Rauwoens, P., and Troch, P. (2017). Application of a buoyancy-modified k-w SST turbulence model to simulate wave run-up around a monopile subjected to regular waves using OpenFOAM. Coastal Engineering, 125, 81-94. Correction to turbulence viscosity field: Larsen, B.E. and Fuhrman, D.R. (2018). On the over-production of turbulence beneath surface waves in Reynolds-averaged Navier-Stokes models J. Fluid Mech, 853, 419-460 Example usage: multiphaseStabilizedTurbulence1 { type multiphaseStabilizedTurbulence; active yes; multiphaseStabilizedTurbulenceCoeffs { // Optional coefficients lambda2 0.1; // A value of 0 sets the nut correction to 0 Cmu 0.09; // from k-epsilon model C 1.51; // model coefficient from k-omega model alpha 1.36; // 1/Prt } } Thanks go to the Turbulence Technical Committee, and the useful discussions with and code testing by Bjarke Eltard-Larsen and David Fuhrman (Technical University of Denmark).
-
-
- Dec 18, 2019
-
-
sergio authored
-
Andrew Heather authored
-
Andrew Heather authored
MISC: RANS model, TUT, BUG, DOC changes See merge request !315
-
Kutalmış Berçin authored
STYLE: add getOrDefault(), missing doc dashes
-
Kutalmış Berçin authored
STYLE: add getOrDefault(); const specifiers to velocityDampingConstraint
-