- Dec 08, 2021
-
-
A second-order gradient scheme using face-interpolation, Gauss' theorem and iterative skew correction. Minimal example by using system/fvSchemes: gradSchemes { grad(<term>) iterativeGauss <interpolation scheme> <number of iters>; }
-
- Nov 24, 2021
-
-
- Aug 03, 2021
-
-
- Jun 17, 2021
-
-
- prghPermeableAlphaTotalPressure for p_rgh - pressurePermeableAlphaInletOutletVelocity for U - new helper class for pressure-related BCs: updateableSnGrad
-
- Jun 10, 2021
-
-
Mark OLESEN authored
- snGrad, internalField, neighbourField. Functional use as per swak: "... + internalField(T) ..." ENH: additional volume/patch expressions - deltaT() STYLE: rename exprDriverWriter -> fvExprDriverWriter - the original class name was a misnomer since it holds a reference to fvExprDriver BUG: expression faceToPoint/pointToFace definitions were flipped ENH: refactor expression hierarchy and code style - handle TimeState reference at the top-level for simpler derivations - unified internal search parameters (cruft)
-
- May 13, 2021
-
-
Mark OLESEN authored
- use common base for handling scheme lookups. Extended to support local injection of schemes into the dictionaries during runtime.
-
- Dec 11, 2020
-
-
This adds a 'geometry' scheme section to the system/fvSchemes: geometry { type highAspectRatio; } These 'fvGeometryMethod's are used to calculate - deltaCoeffs - nonOrthoCoeffs etc and can even modify the basic face/cellCentres calculation.
-
- Dec 10, 2020
-
-
- New solver: `acousticFoam` - New base finite-area region class: `regionFaModel` - New base shell model classes: - `vibrationShellModel` - `thermalShellModel` - New shell models: - A vibration-shell model: `KirchhoffShell` - A thermal-shell model: `thermalShell` - New finite-area/finite-volume boundary conditions: - `clampedPlate` - `timeVaryingFixedValue` - `acousticWaveTransmissive` - New base classes for `fvOption` of finite-area methods: `faOption` - New `faOption`s: - `contactHeatFluxSource` - `externalFileSource` - `externalHeatFluxSource` - `jouleHeatingSource` - New tutorial: `compressible/acousticFoam/obliqueAirJet` Signed-off-by:
Kutalmis Bercin <kutalmis.bercin@esi-group.com>
-
- Dec 09, 2020
-
-
mattijs authored
-
- Jun 10, 2020
-
-
Mark OLESEN authored
-
- Jun 09, 2020
-
-
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.
-
- May 23, 2020
-
-
Mark OLESEN authored
-
- Apr 29, 2020
-
-
Kutalmış Berçin authored
For a given point within a given mesh, the existing `meshWave` method gives the orthogonal distance to a patch. In meshes with very steep terrain (e.g. a hill of 90 [deg], this might be problematic for the fields that require the distance to the patch associated with the terrain surface. `directionalMeshWave` is a variant of `meshWave` distance-to-patch method, which ignores the component in the specified direction. Can be used e.g. to calculate the distance in the z-direction only. TUT: add example of directionalMeshWave to mesh/moveDynamicMesh/SnakeCanyon Requirement by CENER Implementation by Mattijs Janssens
-
- Dec 19, 2019
-
-
1) New skewCorrectedSnGrad for non-orthogonal and skewness corrector 2) New freeSurfacePressure and freeSurfacePressure working with interfaceTrackingFvMesh 3) New interfaceTrackingFvMesh
-
- Dec 10, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Dec 06, 2019
-
-
Andrew Heather authored
This condition applies a scalar multiplier to the value of another boundary condition. Usage Property | Description | Required | Default value scale | Time varing scale | yes | patch | patchField providing the raw patch value | yes | Example of the boundary condition specification to scale a reference velocity of (15 0 0) supplied as a fixedValue by a table of values that ramps the scale from 0 to 1 over 1 second: <patchName> { type scaledFixedValue; scale table ( ( 0 0) ( 1.0 1.0) (100.0 1.0) ); patch { type fixedValue; value uniform (15 0 0); } }
-
- Sep 24, 2019
-
-
- This scheme is useful to calculate the face interpolation values for the Gauss gradient when the diffussion coefficient is discontinuous across a face. This sheme is used for Gauss grad.
-
- Sep 30, 2019
-
-
sergio authored
- did not perform as well as desired. Slated for replacement with a different approach.
-
- Aug 22, 2019
-
-
Mark OLESEN authored
- alternatively can use uniformNormalFixedValue with PatchFunction1 specification and temporal ramping. TUT: add ramped example for simpleCar
-
- Jun 07, 2019
-
-
Sergio Ferraris authored
Integration of VOF MULES new interfaces. Update of VOF solvers and all instances of MULES in the code. Integration of reactingTwoPhaseEuler and reactingMultiphaseEuler solvers and sub-models Updating reactingEuler tutorials accordingly (most of them tested) New eRefConst thermo used in tutorials. Some modifications at thermo specie level affecting mostly eThermo. hThermo mostly unaffected New chtMultiRegionTwoPhaseEulerFoam solver for quenching and tutorial. Phases sub-models for reactingTwoPhaseEuler and reactingMultiphaseEuler were moved to src/phaseSystemModels/reactingEulerFoam in order to be used by BC for chtMultiRegionTwoPhaseEulerFoam. Update of interCondensatingEvaporatingFoam solver.
-
- May 01, 2019
-
-
Mark OLESEN authored
- only apply component-wise transformCoupleField for non-scalar types
-
- Feb 18, 2019
-
-
Kutalmış Berçin authored
Velocity boundary condition generating synthetic turbulence-alike time-series for LES and DES turbulent flow computations. To this end, two synthetic turbulence generators can be chosen: - Digital-filter method-based generator (DFM) \verbatim Klein, M., Sadiki, A., and Janicka, J. A digital filter based generation of inflow data for spatially developing direct numerical or large eddy simulations, Journal of Computational Physics (2003) 186(2):652-665. doi:10.1016/S0021-9991(03)00090-1 \endverbatim - Forward-stepwise method-based generator (FSM) \verbatim Xie, Z.-T., and Castro, I. Efficient generation of inflow conditions for large eddy simulation of street-scale flows, Flow, Turbulence and Combustion (2008) 81(3):449-470 doi:10.1007/s10494-008-9151-5 \endverbatim In DFM or FSM, a random number set (mostly white noise), and a group of target statistics (mostly mean flow, Reynolds stress tensor profiles and length-scale sets) are fused into a new number set (stochastic time-series, yet consisting of the statistics) by a chain of mathematical operations whose characteristics are designated by the target statistics, so that the realised statistics of the new sets could match the target. Random number sets ---->-| | DFM or FSM ---> New stochastic time-series consisting | turbulence statistics Turbulence statistics ->-| The main difference between DFM and FSM is that the latter replaces the streamwise convolution summation in DFM by a simpler and a quantitatively justified equivalent procedure in order to reduce computational costs. Accordingly, the latter potentially brings resource advantages for computations involving relatively large length-scale sets and small time-steps.
-
- Jan 22, 2019
-
-
Andrew Heather authored
-
- Nov 14, 2018
-
-
Andrew Heather authored
-
- Oct 31, 2018
-
-
mattijs authored
type sampled is the equivalent of 'mappedField' bc functionality - it samples a registered field on a different region/patch/cells.
-
- Dec 21, 2017
-
-
Andrew Heather authored
The characteristics of the base scheme are recovered by applying an explicit correction to the upwind scheme weights. Usage Example of the \c deferredCorrection scheme applied to the \c linear scheme: \verbatim divSchemes { . . div(phi,U) Gauss deferredCorrection linear; . . } \endverbatim Based on a generalised form of a deferred correction linear scheme supplied by CFD Software E+F GmbH
-
- Feb 23, 2018
-
-
sergio authored
-
- Dec 05, 2017
-
-
Mark OLESEN authored
-
- Nov 07, 2017
-
-
Andrew Heather authored
-
- Jun 14, 2018
-
-
Andrew Heather authored
version on a switch. See #867 By default the code will use the same form as previous versions To use the experimental version integrated from openfoam.org commit da787200 set the info switch in the controlDict: InfoSwitches { experimentalDdtCorr 1; }
-
- Jun 11, 2018
-
-
Andrew Heather authored
TODO: migrate singleCellFvMesh into simplified mesh framework (?)
-
- Jun 05, 2018
-
-
Andrew Heather authored
-
- Jan 11, 2018
-
-
Andrew Heather authored
-
- Apr 04, 2018
-
-
ENH: fixedMeanOutletInletFvPatchField: New outlet/inlet boundary condition which fixes the outlet mean Description This boundary condition extrapolates field to the patch using the near-cell values and adjusts the distribution to match the specified, optionally time-varying, mean value. This extrapolated field is applied as a fixedValue for outflow faces but zeroGradient is applied to inflow faces. This boundary condition can be applied to pressure when inletOutlet is applied to the velocity so that a zeroGradient condition is applied to the pressure at inflow faces where the velocity is specified to avoid an unphysical over-specification of the set of boundary conditions. Usage \table Property | Description | Required | Default value meanValue | mean value Function1 | yes | phi | Flux field name | no | phi \endtable Example of the boundary condition specification: \verbatim <patchName> { type fixedMeanOutletInlet; meanValue 1.0; } \endverbatim See also Foam::fixedMeanFvPatchField Foam::outletInletFvPatchField Foam::Function1Types
-
- Feb 23, 2018
-
-
These BCs blend between typical inflow and outflow conditions based on the velocity orientation. airFoil2D tutorial updated to demonstrate these new BCs.
-
- Jul 17, 2017
-
-
Mark OLESEN authored
-
- Jun 20, 2017
-
-
Andrew Heather authored
Community contribution from Johan Roenby, DHI IsoAdvector is a geometric Volume-of-Fluid method for advection of a sharp interface between two incompressible fluids. It works on both structured and unstructured meshes with no requirements on cell shapes. IsoAdvector is as an alternative choice for the interface compression treatment with the MULES limiter implemented in the interFoam family of solvers. The isoAdvector concept and code was developed at DHI and was funded by a Sapere Aude postdoc grant to Johan Roenby from The Danish Council for Independent Research | Technology and Production Sciences (Grant-ID: DFF - 1337-00118B - FTP). Co-funding is also provided by the GTS grant to DHI from the Danish Agency for Science, Technology and Innovation. The ideas behind and performance of the isoAdvector scheme is documented in: Roenby J, Bredmose H, Jasak H. 2016 A computational method for sharp interface advection. R. Soc. open sci. 3: 160405. [http://dx.doi.org/10.1098/rsos.160405](http://dx.doi.org/10.1098/rsos.160405) Videos showing isoAdvector's performance with a number of standard test cases can be found in this youtube channel: https://www.youtube.com/channel/UCt6Idpv4C8TTgz1iUX0prAA Project contributors: * Johan Roenby <jro@dhigroup.com> (Inventor and main developer) * Hrvoje Jasak <hrvoje.jasak@fsb.hr> (Consistent treatment of boundary faces including processor boundaries, parallelisation, code clean up * Henrik Bredmose <hbre@dtu.dk> (Assisted in the conceptual development) * Vuko Vukcevic <vuko.vukcevic@fsb.hr> (Code review, profiling, porting to foam-extend, bug fixing, testing) * Tomislav Maric <tomislav@sourceflux.de> (Source file rearrangement) * Andy Heather <a.heather@opencfd.co.uk> (Integration into OpenFOAM for v1706 release) See the integration repository below to see the full set of changes implemented for release into OpenFOAM v1706 https://develop.openfoam.com/Community/Integration-isoAdvector
-