openfoam merge requestshttps://develop.openfoam.com/Development/openfoam/-/merge_requests2021-12-15T10:46:58Zhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/521Lagrangian modelling updates/new features2021-12-15T10:46:58ZAndrew HeatherLagrangian modelling updates/new featuresMultiple enhancements:
- `PatchInjectionModel`: updated to include additional velocity specification options
- `ConeNozzleInjection`: updated to enable dynamic position and direction vectors
- `FaceInteraction`: new `cloudFunctionObject...Multiple enhancements:
- `PatchInjectionModel`: updated to include additional velocity specification options
- `ConeNozzleInjection`: updated to enable dynamic position and direction vectors
- `FaceInteraction`: new `cloudFunctionObject`
## PatchInjectionModel
The parcel initial velocity can now be set using the new `velocityType`
entry, taking one of the following options:
- `fixedValue` : (default) same as earlier versions, requires `U0`
- `patchValue` : velocity set to seed patch face value
- `zeroGradient` : velocity set to seed patch face adjacent cell value
Example usage:
```
model1
{
type patchInjection;
massTotal 1;
SOI 0;
parcelBasisType mass;
patch cylinder;
duration 10;
parcelsPerSecond 100;
velocityType patchValue;
//velocityType zeroGradient;
//U0 (-10 0 0);
flowRateProfile constant 1;
sizeDistribution
{
type normal;
normalDistribution
{
expectation 1e-3;
variance 1e-4;
minValue 1e-5;
maxValue 2e-3;
}
}
}
```
See the new $FOAM_TUTORIALS/lagrangian/kinematicParcelFoam/spinningDisk tutorial
## ConeNozzleInjection
- Now only has the options `point` and `disk` (deprecated `movingPoint`)
- moving state is based on the type of `Function1`
- The position and direction entries are `Function1`-types, e.g. for the `table` type the entries could be:
```
position table
(
( 0 (0.1 0.5 0.5))
(0.2 (0.5 0.9 0.5))
(0.4 (0.9 0.5 0.5))
(0.6 (0.5 0.1 0.5))
(0.8 (0.5 0.5 0.9))
(1.0 (0.5 0.9 0.5))
(1.2 (0.5 0.5 0.1))
(1.4 (0.5 0.1 0.5))
);
direction table
(
( 0 ( 1 0 0))
(0.2 ( 0 -1 0))
(0.4 (-1 0 0))
(0.6 ( 0 1 0))
(0.8 ( 0 0 -1))
(1.0 ( 0 -1 0))
(1.2 ( 0 0 1))
(1.4 ( 0 1 0))
);
```
## FaceInteraction
Enables particles to interact with mesh faces (described using `faceZones`).
```
faceInteraction1
{
type faceInteraction;
faceZones
(
(blockageFaces stick)
// (blockageFaces escape)
// (blockageFaces rebound) // not applicable for this test case (!)
);
dMin 0;
dMax 1;
}
The `faceZones` entry is a list of (`faceZoneName` `interactionType`), where interaction type is either `stick`, `escape` or `rebound`.
No tutorial added yet; for testing: reactingParcelFoam case: [filter.tgz](/uploads/e0034538f6c9bb85c0cfa3e1068a6ba2/filter.tgz)v2112https://develop.openfoam.com/Development/openfoam/-/merge_requests/481long-term maintenance improvement for runTime selection tables2021-11-05T18:06:32ZMark OLESENlong-term maintenance improvement for runTime selection tablesReworked selection infrastructure to support reporting version changes for particular lookup methods.
For this to work, all raw lookups in the selection tables need to be passed through an accessor method. Independent of this, the old im...Reworked selection infrastructure to support reporting version changes for particular lookup methods.
For this to work, all raw lookups in the selection tables need to be passed through an accessor method. Independent of this, the old implementation for runTime selection could be modernized to use unique_ptr for the memory management instead of the clunkier manual deletion mechanisms.
The result is a slightly cleaner calling interface, but it is also possible to continue with table-based lookups as before. Does not break existing code APIs, but is not ABI identical.Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/156low-level binary Ostream output, additional stream classes2017-10-24T14:23:33ZMark OLESENlow-level binary Ostream output, additional stream classes- Exposing low-level raw binary output for Ostream permits direct handling of indirect lists
- Additional memory-backed streams and DynamicList backed streams to special cases to avoid excessive string copying associated with using stri...- Exposing low-level raw binary output for Ostream permits direct handling of indirect lists
- Additional memory-backed streams and DynamicList backed streams to special cases to avoid excessive string copying associated with using string streams.v1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/271lumped point motion using local linear basic functions (#1341)2020-06-17T14:15:52ZMark OLESENlumped point motion using local linear basic functions (#1341)Extends lumped point motion to support multiple connectivity.
Examples include structures such as bridges.Extends lumped point motion to support multiple connectivity.
Examples include structures such as bridges.v2006Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/37mapNearestAMI: move normalisation to AMIMethod.2023-12-07T19:02:01ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.commapNearestAMI: move normalisation to AMIMethod.Avoids cells shared among processors to be counted multiple times and having
weights > 1.Avoids cells shared among processors to be counted multiple times and having
weights > 1.https://develop.openfoam.com/Development/openfoam/-/merge_requests/48mapping constraint patches2023-12-07T19:02:01ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.commapping constraint patchesAdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/220Mapping injected faces through interpolation2018-11-15T14:58:57ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMapping injected faces through interpolationImproved mapping of newly generated internal faces.
- these now get created (hexRef8) without supplying a master face/edge or point
- these get a mapped value by interpolating old surrounding faces
Code supplied by Daniel Rettenmaier <r...Improved mapping of newly generated internal faces.
- these now get created (hexRef8) without supplying a master face/edge or point
- these get a mapped value by interpolating old surrounding faces
Code supplied by Daniel Rettenmaier <rettenmaier@gsc.tu-darmstadt.de>
Date: Mon Mar 6 17:17:06 2017 +0100
Fix mapping for non-flux surfaceVectorFields and fix mapping of newly created internal faces
A more generalized approach should be consideredMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/52Master update for adjusted config and compile with WM_LABEL_SIZE=642017-01-26T15:22:27ZMark OLESENMaster update for adjusted config and compile with WM_LABEL_SIZE=64Sergio FerrarisSergio Ferrarishttps://develop.openfoam.com/Development/openfoam/-/merge_requests/121Merge develop into master for v1706 release2017-06-29T20:10:12ZAdminMerge develop into master for v1706 releaseVersion v1706https://develop.openfoam.com/Development/openfoam/-/merge_requests/33Merge foundation2016-05-10T13:33:21ZAdminMerge foundationIntegrating latest code from the OF Foundation - main changes:
Lots of renaming/refactoring:
- to retrieve reference from tmp, now need to use tmp.ref() as opposed to tmp()
- fvc::flux function to replace fvc::interpolate(<field>) &...Integrating latest code from the OF Foundation - main changes:
Lots of renaming/refactoring:
- to retrieve reference from tmp, now need to use tmp.ref() as opposed to tmp()
- fvc::flux function to replace fvc::interpolate(<field>) & mesh.Sf()
- integration of new c++ features: no more spaces between closing template braces, e.g. class1<class2<Type> > becomes class1<class2<Type>>
- DataEntry renamed to Function1
New functionality:
- Updated 6DoF
- fvOptions support in turbulence modelshttps://develop.openfoam.com/Development/openfoam/-/merge_requests/25Merge foundation2015-12-09T10:52:15ZAdminMerge foundationFoundation code merged
- all compiles - was not all clean and needed to resolve many conflicts
- updated InfoIn, WarningIn, ErrorIn messaging
- removed fluxRequired from tutorials
- currently testing tutorialsFoundation code merged
- all compiles - was not all clean and needed to resolve many conflicts
- updated InfoIn, WarningIn, ErrorIn messaging
- removed fluxRequired from tutorials
- currently testing tutorialsFunctionality migration from internal development lineMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/60Merge foundation2016-10-27T14:04:44ZAdminMerge foundation# Lots of style/API rename changes:
Indices in loops now using a lower case letter (?) - lots of code now in a 'mixed' state using I and i
## GeometricField types
- DimensionedInternalField -> Internal
- PatchFieldType -> Patch
...# Lots of style/API rename changes:
Indices in loops now using a lower case letter (?) - lots of code now in a 'mixed' state using I and i
## GeometricField types
- DimensionedInternalField -> Internal
- PatchFieldType -> Patch
- GeometricBoundaryField -> Boundary
## GeometricField access functions
- dimensionedInternalField() -> ref()
- internalField() -> primitiveField()
## fvPatchField access
- dimensionedInternalField -> internalField()
# Tutorials
- les renamed LES
- ras renamed RAS
# Deprecated:
- expandDictionary -> foamDictionary -expand
- foamDebugSwitches -> foamDictionary/foamList -debug
- foamInfoExec -> foamDictionary
- secondaryWrite -> equivalent behaviour using function object time controls
- execFlowFunctionObjects -> new postProcess utility
# Function objects
## New
- components
## Deprecated
- partialWrite -> set using adjustTime in writeRegistered FO
- stressComponents -> turbulenceFields -> components
- wallGradU -> grad
- patchAverage -> surfaceFieldValue + areaAverage
- patchIntegrate -> surfaceFieldValue + sum
## Renamed
- createTurbulenceFields -> turbulenceFields
- faceSource -> surfaceFieldValue
- cellSource -> volFieldValue
- pressureTools -> pressure
- Peclet -> PecletNo
## Syntax
- functionObjectLibs -> libs
- outputControl -> writeControl
- outputTime -> writeTime
# Solvers
For postProcess:
- createFields.H split into createFields.H and createFieldsRef.H (references)
- all modelling construction moved to createFields, e.g. MRFVersion v1612AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/78Merge master changes/bugfixes into develop branch2016-11-20T09:48:39ZAdminMerge master changes/bugfixes into develop branchVersion v1612AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/69Merge preconvert2016-10-07T10:02:10ZMark OLESENMerge preconvertVery basic cleanup of some of the mesh conversion infrastructure prior to binging in large pieces of code.
- Remove ancient samm, pro-am, prostar3 routines as being unused and unsupportable (since the original products ceased existence ...Very basic cleanup of some of the mesh conversion infrastructure prior to binging in large pieces of code.
- Remove ancient samm, pro-am, prostar3 routines as being unused and unsupportable (since the original products ceased existence over 10 years ago).
- Open protected access to some meshReader bits, to help when implementing polyhedral readers.
- Drop meshReaders/meshWriters namespace, use fileFormats instead.
- Reorganize file-structure within src/conversion.AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/181Minor improvements for redistributePar2017-12-08T17:09:45ZMark OLESENMinor improvements for redistributeParv1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/178minor improvements in profiling2017-12-01T14:52:57ZMark OLESENminor improvements in profilingissue #648
- include amount of free system memory in profiling, which can give an
indication of when swapping is about to start
- profilingSummary utility to collect profiling from parallel
calculations. Collects prof...issue #648
- include amount of free system memory in profiling, which can give an
indication of when swapping is about to start
- profilingSummary utility to collect profiling from parallel
calculations. Collects profiling information from processor
directories and summarize the time spent and number of calls as (max
avg min) values.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/672misc changes for reduced stringstream and MPI overhead2024-03-07T18:11:39ZMark OLESENmisc changes for reduced stringstream and MPI overheadv2406Kutalmış BerçinKutalmış Berçinhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/585Misc. changes in finite-area methods2023-02-08T14:44:32ZKutalmış BerçinMisc. changes in finite-area methods#### Acknowledgement
OpenCFD would like to acknowledge and thank **Matthias Rauter** for his help and discussions. Highly appreciated.#### Acknowledgement
OpenCFD would like to acknowledge and thank **Matthias Rauter** for his help and discussions. Highly appreciated.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/661Misc. changes in the finite-area module2024-03-05T18:14:15ZKutalmış BerçinMisc. changes in the finite-area moduleAndrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/663Misc. changes in the regionFaModels2024-02-23T15:54:11ZKutalmış BerçinMisc. changes in the regionFaModelsAndrew HeatherAndrew Heather