openfoam merge requestshttps://develop.openfoam.com/Development/openfoam/-/merge_requests2020-12-15T08:55:31Zhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/393ENH: BilgerMixtureFraction: New function object2020-12-15T08:55:31ZKutalmış BerçinENH: BilgerMixtureFraction: New function object### Summary
A contribution by a community member, @g3.
See https://develop.openfoam.com/Development/openfoam/-/issues/1915
### Details of new models (If applicable)
See https://develop.openfoam.com/Development/openfoam/-/issues/1915...### Summary
A contribution by a community member, @g3.
See https://develop.openfoam.com/Development/openfoam/-/issues/1915
### Details of new models (If applicable)
See https://develop.openfoam.com/Development/openfoam/-/issues/1915#note_49598
### Risks
N/A
### ~~WIP issues~~
- ~~The FO needs info from `specieComposition()`: see [the line](https://develop.openfoam.com/Development/openfoam/-/blob/feature-Bilger-mixture-fraction-fo/src/thermophysicalModels/reactionThermo/functionObjects/BilgerMixtureFraction/BilgerMixtureFraction.C#L278)~~
- ~~The function can be called through `ThermoType` (i.e. `thermoPhysicsTypes.H`), but there are too many template-template classes thereat. This would create a very long and thus annoyingly redundant piece of repeating code.~~
- ~~Instead, `ReactionThermo` could be used. But `ReactionThermo` does not have access to the info. Even in `TDACChemistryModel`, `specieComposition` was fetched through `ThermoType`.~~
- ~~Note that if `ReactionThermo` is used, some solvers may not run the FO.~~
[Bat-signal](https://en.wikipedia.org/wiki/Bat-Signal): @andy @Sergiov2012Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/414Feature function1 limit range2020-12-16T17:13:16ZAndrew HeatherFeature function1 limit rangeFunction1 wrapper that limits the input range of another Function1
Example usage for limiting a polynomial:
limitedPolyTest limitRange;
limitedPolyTestCoeffs
{
min 0.4;
max 1.4...Function1 wrapper that limits the input range of another Function1
Example usage for limiting a polynomial:
limitedPolyTest limitRange;
limitedPolyTestCoeffs
{
min 0.4;
max 1.4;
value polynomial
(
(5 1)
(-2 2)
(-2 3)
(1 4)
);
}
Here the return value will be:
- poly(0.4) for x <= 0.4;
- poly(1.4) for x >= 1.4; and
- poly(x) for 0.4 < x < 1.4.v2012Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/405Feature var rho turb vof2020-12-16T17:57:47ZSergio FerrarisFeature var rho turb vof1) PhaseIncompressibleTurbulenceModel class was changed to use
uniform alpha and non-uniform rho templates. This fits the need
of incompressible two phase turbulence models.
2) A new type DPMIncompressibleTurbulenceModel was creat...1) PhaseIncompressibleTurbulenceModel class was changed to use
uniform alpha and non-uniform rho templates. This fits the need
of incompressible two phase turbulence models.
2) A new type DPMIncompressibleTurbulenceModel was created for
non-uniform alpha and uniform rho. It is used in single phase flows
in DPM solvers where alpha represents the volumen occupancy.
3) A new type incompressibleRhoTurbulenceModel was created where
non-uniform rho is allowed.
4) A new base templated turbulent class for two-phase VOF named
VoFphaseTurbulentTransportModel was implemented which is created
templating on PhaseIncompressibleTurbulenceModel and
incompressibleRhoTurbulenceModel
5) In order to make the chnage to rho based VOF turbulence a help
class was added incompressibleInterPhaseTransportModel templated
on the mixing.v2012Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/406ENH: MPPIC dynamic mesh2020-12-17T21:18:00ZSergio FerrarisENH: MPPIC dynamic meshMajor changes:
- `MPPICCloud` and `MPPIC` parcel are not longer used. The `MPPIC` sub-models were added to the kinematic cloud. (files were not yet deleted)
- `MPPICDyMFoam` and `DPMDyMFoam` are updated to use the kinematic cloud.
- Aff...Major changes:
- `MPPICCloud` and `MPPIC` parcel are not longer used. The `MPPIC` sub-models were added to the kinematic cloud. (files were not yet deleted)
- `MPPICDyMFoam` and `DPMDyMFoam` are updated to use the kinematic cloud.
- Affecting tracking and general functionality :
dc4deb024b4c21bf13d7d79fb85153f9dc9cf89a (org)
c68e10378b1efc6a82cf9bf845e43aef49bb7665 (org)
2045de687433674739b8fc399bdb34d4975a3b38 (org)
9b57bc1855f073cedd47e407692a0e9beefe35dd : affects tgtPointFace srcPointFace member functions
- The rest are specific for `MPPIC`-submodels into kinematic cloud, wall interaction and AMI.v2012Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/417ENH: Added new filmFlux function object2020-12-21T18:06:59ZAndrew HeatherENH: Added new filmFlux function objectCalculates the mass flux for surface film models.
Example usage:
filmFlux
{
type filmFlux;
writeControl writeTime;
result myPhi; // optional
}Calculates the mass flux for surface film models.
Example usage:
filmFlux
{
type filmFlux;
writeControl writeTime;
result myPhi; // optional
}v2012Kutalmış BerçinKutalmış Berçin