- Feb 13, 2016
-
-
Henry Weller authored
The boundary conditions of HbyA are now constrained by the new "constrainHbyA" function which applies the velocity boundary values for patches for which the velocity cannot be modified by assignment and pressure extrapolation is not specified via the new "fixedFluxExtrapolatedPressureFvPatchScalarField". The new function "constrainPressure" sets the pressure gradient appropriately for "fixedFluxPressureFvPatchScalarField" and "fixedFluxExtrapolatedPressureFvPatchScalarField" boundary conditions to ensure the evaluated flux corresponds to the known velocity values at the boundary. The "fixedFluxPressureFvPatchScalarField" boundary condition operates exactly as before, ensuring the correct flux at fixed-flux boundaries by compensating for the body forces (gravity in particular) with the pressure gradient. The new "fixedFluxExtrapolatedPressureFvPatchScalarField" boundary condition may be used for cases with or without body-forces to set the pressure gradient to compensate not only for the body-force but also the extrapolated "HbyA" which provides a second-order boundary condition for pressure. This is useful for a range a problems including impinging flow, extrapolated inlet conditions with body-forces or for highly viscous flows, pressure-induced separation etc. To test this boundary condition at walls in the motorBike tutorial case set lowerWall { type fixedFluxExtrapolatedPressure; } motorBikeGroup { type fixedFluxExtrapolatedPressure; } Currently the new extrapolated pressure boundary condition is supported for all incompressible and sub-sonic compressible solvers except those providing implicit and tensorial porosity support. The approach will be extended to cover these solvers and options in the future. Note: the extrapolated pressure boundary condition is experimental and requires further testing to assess the range of applicability, stability, accuracy etc. Henry G. Weller CFD Direct Ltd.
-
- Feb 11, 2016
-
-
Henry Weller authored
-
- Feb 10, 2016
-
-
Henry Weller authored
-
- Feb 08, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
Function1 is an abstract base-class of run-time selectable unary functions which may be composed of other Function1's allowing the user to specify complex functions of a single scalar variable, e.g. time. The implementations need not be a simple or continuous functions; interpolated tables and polynomials are also supported. In fact form of mapping between a single scalar input and a single primitive type output is supportable. The primary application of Function1 is in time-varying boundary conditions, it also used for other functions of time, e.g. injected mass is spray simulations but is not limited to functions of time.
-
Henry Weller authored
PV4FoamReaders: Updated to build with ParaView-5.0.0 paraFoam: Updated to load PV4FoamReaders for ParaView-5.0.0 Currently this is experimental but if it becomes clear that ParaView-4 and ParaView-5 are and will remain consistent with respect to readers the plan is to rename PV4 -> PV or PV4 -> PV45 if it is assumed that PV6 may need to be different.
-
- Feb 07, 2016
-
-
Henry Weller authored
-
Henry Weller authored
to avoid name conflicts with these primitive names in the OpenFOAM namespace
-
- Feb 03, 2016
-
-
Henry Weller authored
-
Henry Weller authored
and pre-construct constant strings and names Speeds-up parsing of DTAGS so that lookup of a name takes ~1s Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=982
-
- Feb 02, 2016
-
-
Henry Weller authored
Patch provided by Armin Wehrfritz Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=843
-
Henry Weller authored
-
Henry Weller authored
This change ensures that these patches are named consistently so that they can be looked-up as required in e.g. patchMeanVelocityForce
-
- Jan 19, 2016
-
-
Henry Weller authored
-
Henry Weller authored
Optional under-relaxation is provided for steady-state solution. Added missing fvOptions.constrain and fvOptions.correct calls.
-
Henry Weller authored
Based on patch provided by Alexey Matveichev Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1975
-
Henry Weller authored
-
- Jan 18, 2016
-
-
Henry Weller authored
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1974
-
- Jan 17, 2016
-
-
Henry Weller authored
Always return void to avoid various bugs associated with automatic type conversion. Resolves request http://openfoam.org/mantisbt/view.php?id=1973
-
Henry Weller authored
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1971
-
- Jan 11, 2016
-
-
Henry Weller authored
-
- Jan 10, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
The c++0x is used rather than c++11 to support gcc-4.5.?
-
- Jan 09, 2016
-
-
Henry Weller authored
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1967
-
- Dec 16, 2015
-
-
Henry Weller authored
Provides support for running laminar.
-
- Dec 15, 2015
-
-
Henry Weller authored
Provides support for running laminar. Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1951
-
- Dec 09, 2015
-
-
Henry Weller authored
Drag model for gas-liquid system of Tomiyama et al. Reference: "Drag coefficients of single bubbles under normal and microgravity conditions" Tomiyama, A., Kataoka, I., Zun, I., Sakaguchi, T. JSME International Series B, Fluids and Thermal Engineering, Vol. 41, 1998, pp. 472-479 Provided by Alberto Passalacq
-
Henry Weller authored
-
Henry Weller authored
reactingEulerFoam: Move LTS controls maxCo, maxDeltaT and rDeltaTSmoothingCoeff into the PIMPLE sub-dictionary For consistency with all other solvers supporting the LTS option
-
- Dec 08, 2015
-
-
Henry Weller authored
It is better to declare the namespace of each function in the C file rather than "open" the namespace as this may lead to inconsistencies between the declaration in the H files and definition in the C file.
-
- Dec 05, 2015
-
-
Henry Weller authored
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1940
-
- Dec 03, 2015
-
-
Henry Weller authored
reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels: Added support for fvOptions
-
Henry Weller authored
Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1939
-
- Dec 02, 2015
-
-
Henry Weller authored
Based on patches provided by Jason Bacon
-
Henry Weller authored
-
Henry Weller authored
fvOptions are transferred to the database on construction using fv::options::New which returns a reference. The same function can be use for construction and lookup so that fvOptions are now entirely demand-driven. The abstract base-classes for fvOptions now reside in the finiteVolume library simplifying compilation and linkage. The concrete implementations of fvOptions are still in the single monolithic fvOptions library but in the future this will be separated into smaller libraries based on application area which may be linked at run-time in the same manner as functionObjects.
-
Henry Weller authored
Corrects feature-request http://www.openfoam.org/mantisbt/view.php?id=1856 Patch provided by Juho Peltola
-
- Dec 01, 2015
-
-
Henry Weller authored
-