OpenFOAM-plus merge requests
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests
2015-12-09T10:52:15Z
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/25
Merge foundation
2015-12-09T10:52:15Z
Andrew Heather
Merge foundation
Foundation 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 tutorials
Foundation 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 tutorials
Functionality migration from internal development line
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/23
ENH: Updated regionModels from internal development line
2015-12-11T20:45:30Z
Andrew Heather
ENH: Updated regionModels from internal development line
Functionality migration from internal development line
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/22
ENH: Updated lagrangian libraries from internal development line
2015-12-08T17:55:52Z
Andrew Heather
ENH: Updated lagrangian libraries from internal development line
Functionality migration from internal development line
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/20
Feature turbulence
2015-12-01T10:45:03Z
Andrew Heather
Feature turbulence
Integration of new kOmega SST turbulence model variants: DES, DDES, IDDES
Initially supplied by CFD Software E+F GmbH
Integration of new kOmega SST turbulence model variants: DES, DDES, IDDES
Initially supplied by CFD Software E+F GmbH
Functionality migration from internal development line
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/18
ENH: foamHelp - added support for solvers
2015-11-29T06:03:41Z
Andrew Heather
ENH: foamHelp - added support for solvers
- Added support for solvers
- Updated use of FOAM_ABORT - old code left commented in helpBoundary.C for now...
- Added support for solvers
- Updated use of FOAM_ABORT - old code left commented in helpBoundary.C for now...
Functionality migration from internal development line
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/17
Feature turbulence
2015-11-27T17:00:00Z
Andrew Heather
Feature turbulence
Turbulence updates from our internal development line:
- Added DESModel base class for DES models
- Moved DES models to separate DES directory
- Added DESModelRegions function object
- Updated porousBafflePressure BC to use DataEntry...
Turbulence updates from our internal development line:
- Added DESModel base class for DES models
- Moved DES models to separate DES directory
- Added DESModelRegions function object
- Updated porousBafflePressure BC to use DataEntry class for D and I inputs
- Documentation updates
Functionality migration from internal development line
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
Mattijs Janssens
4-Mattijs@users.noreply.develop.openfoam.com
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/89
ENH: runTimePostProcessing - added option to clear/remove objects after use
2016-12-15T15:51:15Z
Andrew Heather
ENH: runTimePostProcessing - added option to clear/remove objects after use
When specifying line and surface function-object-based visualisation, use the optional `clearObjects` flag to indicate that source objects should be removed/cleared after use.
Test case: [cavity.tgz](/uploads/62cc2761d132f42456f2af08f14...
When specifying line and surface function-object-based visualisation, use the optional `clearObjects` flag to indicate that source objects should be removed/cleared after use.
Test case: [cavity.tgz](/uploads/62cc2761d132f42456f2af08f1499eba/cavity.tgz)
Syntax:
```
surfaces
{
cuttingPlane1
{
type functionObject;
functionObject cuttingPlane;
clearObjects yes; // new option
...
```
Note: only files that have been used will be removed, e.g. if a function object has created multiple surface files, unused files will remain at the end of the run - in the attached case the p surface remains...
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/88
Integration of ihcantabria wave models
2017-05-23T15:12:23Z
Andrew Heather
Integration of ihcantabria wave models
Integration of functionality produced by The Environmental Hydraulics Institute "IHCantabria" (http://www.ihcantabria.com/en/)
- Original code introduced in commit f5ae874b
- Restructured and updated by OpenCFD into a new `waveModels...
Integration of functionality produced by The Environmental Hydraulics Institute "IHCantabria" (http://www.ihcantabria.com/en/)
- Original code introduced in commit f5ae874b
- Restructured and updated by OpenCFD into a new `waveModels` library available to the interFoam family of solvers
Main source:
`$FOAM_SRC/waveModels`
Tutorials:
`$FOAM_TUTORIALS/multiphase/interFoam/laminar/waveExample*`
Capabilities include:
- Wave generation
- Solitary wave using Boussinesq theory
- Cnoidal wave theory
- StokesI, StokesII, StokesV wave theory
- Active wave absorption at the inflow/outflow boundaries based on shallow water theory
IHCantabria Authors:
- Javier Lopez Lara (jav.lopez@unican.es)
- Gabriel Barajas (barajasg@unican.es)
- Inigo Losada (losadai@unican.es)
Based on the references
- [Higuera, P., Lara, J.L. and Losada, I.J. Three-Dimensional Interaction of Waves and Porous Coastal Structures using OpenFOAM. Part I: Formulation and Validation, Coastal Engineering, 83:243-258, 2014](http://dx.doi.org/10.1016/j.coastaleng.2013.08.010)
- [Higuera, P., Lara, J.L. and Losada, I.J. Three-Dimensional Interaction of Waves and Porous Coastal Structures using OpenFOAM. Part II: Application, Coastal Engineering, 83:259-270, 2014](http://dx.doi.org/10.1016/j.coastaleng.2013.09.002)
- [Higuera, P., Lara, J.L. and Losada, I.J. Simulating Coastal Engineering Processes with OpenFOAM. Coastal Engineering, 71:119-134, 2013](http://dx.doi.org/10.1016/j.coastaleng.2012.06.002)
- [Higuera, P., Lara, J.L. and Losada, I.J. Realistic Wave Generation and Active Wave Absorption for Navier-Stokes Models, Application to OpenFOAM. Coastal Engineering, 71:102-118, 2013](http://dx.doi.org/10.1016/j.coastaleng.2012.07.002)
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/87
Surf field sampling
2016-12-15T17:34:46Z
Mark OLESEN
Surf field sampling
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/83
ENH: improve objectRegistry functionality (issue #322)
2016-12-06T10:48:43Z
Mark OLESEN
ENH: improve objectRegistry functionality (issue #322)
- Recursive searching for objects within a registry is now optional
(previous it was always done).
A recursive search effectively blocks the construction of sub-sub-registries
if their names are 'masked' by some parent level sub-r...
- Recursive searching for objects within a registry is now optional
(previous it was always done).
A recursive search effectively blocks the construction of sub-sub-registries
if their names are 'masked' by some parent level sub-registry with
the same name! (BUG)
- Recursive search is now turned OFF by default, which makes it consistent
with dictionary and probably causes the least number of surprises.
----
Various new convenience methods added:
lookupObjectRef()
- returns a non-const reference.
For example,
volScalarField& U = mesh().lookupObjectRef<volScalarField>("U");
Instead of
volScalarField& U = const_cast<volScalarField&>
(
mesh().lookupObject<volScalarField>("U")
);
--
lookupObjectPtr()
- returns a const pointer, and nullptr on failure.
For example,
const volScalarField* Uptr = mesh().lookupObjectPtr<volScalarField>("U");
if (Uptr)
{
const volScalarField& U = *Uptr;
...
}
Instead of
if (mesh().foundObject<volScalarField>("U"))
{
const volScalarField& U = mesh().lookupObject<volScalarField>("U");
...
}
--
lookupObjectRefPtr()
- returns a non-const pointer, and nullptr on failure.
For example,
volScalarField* Uptr = mesh().lookupObjectRefPtr<volScalarField>("U");
if (Uptr)
{
volScalarField& U = *Uptr; // use as reference
(*Uptr) = ...; // or use directly
}
Instead of
if (mesh().foundObject<volScalarField>("U"))
{
volScalarField& U = const_cast<volScalarField&>
(
mesh().lookupObject<volScalarField>("U")
);
}
--
sortedNames()
- now works with template parameters and with regular expression
matching as well.
For example,
wordList names = mesh().sortedNames();
wordList fields = mesh().sortedName<volScalarField>();
Instead of
wordList names = mesh().sortedNames();
wordList fields = mesh().names<volScalarField>();
Foam::sort(fields);
--
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/81
runTimePostProcessing FO camera update
2016-12-06T09:24:24Z
Andrew Heather
runTimePostProcessing FO camera update
- Removed the camera 'mode'
- The (old) static camera was only appropriate when parallel
projection was inactive, and the view was centred at (0 0 0)
- Camera input now always requires 'position' and 'focalPoint'
- ...
- Removed the camera 'mode'
- The (old) static camera was only appropriate when parallel
projection was inactive, and the view was centred at (0 0 0)
- Camera input now always requires 'position' and 'focalPoint'
- Clip box is now optional. Note that this is applied after the
camera
set-up and so will override the camera position
- View angle is only appropriate when not using parallel projection
- Zoom now required, applied after all other operations
- 1 = do nothing, >1 = zoom in, <1 = zoom out
Example input:
```
camera
{
// Total number of frames to generate
nFrameTotal 1;
// Parallel projection flag
parallelProjection no;
focalPoint (0 0 0);
up (0 1 0);
position (0 0 1);
// Optional entries
clipBox (-0.0206 -0.0254 -0.0005) (0.29 0.0254 0.0005);
viewAngle 20;
zoom 1.1;
}
```
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/80
Feature noise multiple files
2016-11-28T13:50:15Z
Andrew Heather
Feature noise multiple files
Enabled pointNoise and surfaceNoise models to operate on multiple input files
- For each model, the files should be specified by the `inputFiles` keyword
- When applied to pointNoise, the file is no longer required when specifying the CS...
Enabled pointNoise and surfaceNoise models to operate on multiple input files
- For each model, the files should be specified by the `inputFiles` keyword
- When applied to pointNoise, the file is no longer required when specifying the CSV input data
- the singular `inputFile` entry is still available to the surfaceNoise model for backwards compatibilty
Version v1612
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/79
Function objects - ensure objects are up-to-date when writing
2016-11-28T09:51:08Z
Andrew Heather
Function objects - ensure objects are up-to-date when writing
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/76
Improvements to the conversion utilities
2016-11-10T14:34:33Z
Mark OLESEN
Improvements to the conversion utilities
Various changes associated with issue #204.
* Reduced code duplication for handling prostar conversion and IO
* Simple conversion to/from AVL/FIRE geometries
* New library basis for conversion to/from CCM geometries - handles multiple r...
Various changes associated with issue #204.
* Reduced code duplication for handling prostar conversion and IO
* Simple conversion to/from AVL/FIRE geometries
* New library basis for conversion to/from CCM geometries - handles multiple regions, conformal interfaces etc. No support for film or 2d shell geometries
* Improved infrastructure for writing VTK content. Will propagate usage through other parts of the code in the future.
Version v1612
Mark OLESEN
Mark OLESEN
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/75
Feature keep sampled pids
2016-11-09T14:58:43Z
Mark OLESEN
Feature keep sampled pids
Rebased version of merge request !58, following ticket closure for issue #104 .
Rebased version of merge request !58, following ticket closure for issue #104 .
Version v1612
Mark OLESEN
Mark OLESEN
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/74
Provide common face area/normal support in PrimitivePatch
2016-11-03T08:20:44Z
Mark OLESEN
Provide common face area/normal support in PrimitivePatch
For polyPatch, both the faceAreas() and faceCentres() are masked by their subField equivalents.
Since there is no polyPatch method for magFaceAreas(), the PrimitivePatch method will be seen.
For polyPatch, both the faceAreas() and faceCentres() are masked by their subField equivalents.
Since there is no polyPatch method for magFaceAreas(), the PrimitivePatch method will be seen.
Version v1612
Mark OLESEN
Mark OLESEN
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/72
External coupled
2016-11-15T09:49:59Z
Mark OLESEN
External coupled
Improvements and bugfixes for externalCoupledFunctionObject - issues #278 #269
Improvements and bugfixes for externalCoupledFunctionObject - issues #278 #269
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/65
Output format
2016-10-04T09:28:30Z
Mark OLESEN
Output format
Output changes (issues #253 , #254 , #255 , #256) as well as minor change (issue #257).
Usage of the new methods to be applied as a later patch.
Output changes (issues #253 , #254 , #255 , #256) as well as minor change (issue #257).
Usage of the new methods to be applied as a later patch.
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/62
ENH: wallDist - added option to evaluate every XXX steps
2016-10-04T07:58:05Z
Andrew Heather
ENH: wallDist - added option to evaluate every XXX steps
Added functionality to update the wall distance every XXX steps
Note: only applies to movePoints() - topology change bypasses the update interval and triggers a re-calculation
Syntax:
```
wallDist
{
method ...
u...
Added functionality to update the wall distance every XXX steps
Note: only applies to movePoints() - topology change bypasses the update interval and triggers a re-calculation
Syntax:
```
wallDist
{
method ...
updateInterval 5; // optional - default is 1
}
```
Test case: [mixerVesselAMI2D.tgz](/uploads/c0bee1decc0337018272f3566b6a4416/mixerVesselAMI2D.tgz)
Version v1612
Andrew Heather
Andrew Heather
https://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/118
Integration of rhoPimpleAdiabaticFoam from CFD Sofware E+F GmbH
2017-06-29T20:02:26Z
Sergio Ferraris
Integration of rhoPimpleAdiabaticFoam from CFD Sofware E+F GmbH
Solver for low Mach no. flows with adiabatic thermodynamics and updated
pressure-velocity coupling given by the RCM interpolation procedure
described in
Knacke, T. (2013).
Potential effects of Rhie & Chow type interpolation...
Solver for low Mach no. flows with adiabatic thermodynamics and updated
pressure-velocity coupling given by the RCM interpolation procedure
described in
Knacke, T. (2013).
Potential effects of Rhie & Chow type interpolations in airframe
noise simulations. In: Schram, C., Dénos, R., Lecomte E. (ed):
Accurate and efficient aeroacoustic prediction approaches for
airframe noise, VKI LS 2013-03.
Original code supplied by Thilo Knacke, CFD Software E+F GmbH
contact: info@cfd-berlin.com
Integrated into OpenFOAM by OpenCFD Ltd.
Version v1706
Andrew Heather
Andrew Heather