Commit Graph

6007 Commits

Author SHA1 Message Date
f0e693176d fvMeshTopoChangers::meshToMesh: Added support for changes in decomposition between meshes
If the sequence of meshes are decomposed independently the number, order and
potentially type of processor patches is likely to change.  Thus the processor
patches and patch fields must be replaced with those of the new mesh.
2022-07-10 16:06:17 +01:00
c70a7b83d6 foamCreateVideo: added options to pause the video at beginning and/or end,
updated video options for ffmpeg and enabled the -start option with mencoder
2022-07-10 15:08:05 +01:00
58fee9c3e4 searchableSurfaces: document header files 2022-07-09 17:21:28 +01:00
65f7962bcf test/IO/fileHandler: updated to physicalProperties 2022-07-09 11:16:33 +01:00
278fa7f69c applications/test: updated to physicalProperties 2022-07-09 11:05:52 +01:00
94cdb0e828 axisymmetricJet template case: updated for physicalProperties 2022-07-09 10:53:13 +01:00
394fc28d42 foamGet: set correct target directory for fvConstraints 2022-07-08 19:06:34 +01:00
c8b74c2458 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2022-07-08 18:24:37 +01:00
1e53ab2e9a generalisedNewtonianViscosityModels: updated header documentation 2022-07-08 18:24:13 +01:00
534ef0868c multiphaseEulerFoam::functionObjects: renamed moments and sizeDistribution
+ moments -> populationBalanceMoments
+ sizeDistribution -> populationBalanceSizeDistribution
2022-07-08 15:47:20 +01:00
ea3ef02883 functionObjects: renamed moments and sizeDistribution packaged function objects
+ moments -> populationBalanceMoments
+ sizeDistribution -> populationBalanceSizeDistribution
2022-07-08 15:06:41 +01:00
9c80366aa4 PTT model: corrected reference 2022-07-08 08:15:51 +01:00
2bd2b97aa1 Revert "momentumTransportModels::Reynolds Stress models: Corrected laminar viscosity contribution to R and epsilon diffusivity"
This reverts commit 0b735a5691 returning to the
original Daly Harlow diffusivity formulation, see e.g.

https://turbmodels.larc.nasa.gov/rsm-ssglrr.html
2022-07-08 08:05:53 +01:00
0b735a5691 momentumTransportModels::Reynolds Stress models: Corrected laminar viscosity contribution to R and epsilon diffusivity 2022-07-07 17:26:19 +01:00
6524157103 Corrections to resolve warnings from gcc-12.1 2022-07-06 18:57:28 +01:00
37438784d7 etc/config.*: Added option for gcc-12.1 2022-07-06 17:03:34 +01:00
0aabdbf4a7 OSHA1stream: Updated to C++11
According to the C++11 standard the xsputn might call an overload function which
must be provided for correct operation and is required by gcc-12.1 but not
earlier releases.

See

https://cplusplus.com/reference/streambuf/streambuf/xsputn/

    Its default behavior in streambuf is to retrieve n characters, as if calling
    sputc for each, stopping if any call would return EOF. Except it is
    unspecified whether member overflow is called or whether other means are
    used in case of overflows.

https://cplusplus.com/reference/streambuf/streambuf/overflow/

    int overflow (int c = EOF);

        Put character on overflow

        Virtual function called by other member functions to put a character
        into the controlled output sequence without changing the current
        position.

        It is called by public member functions such as sputc to write a
        character when there are no writing positions available at the put
        pointer (pptr).

        Its default behavior in streambuf is to always return EOF (indicating
        failure), but derived classes can override this behavior to attempt to
        write the character directly and/or to alter pptr and other internal
        pointers so that more storage is provided, potentially writing unwritten
        characters to the controlled output sequence. Both filebuf and stringbuf
        override this virtual member function.

    Parameters c
        Character to be put.
        If this is the end-of-file value (EOF), no character is put, but the other effects of calling this function are attempted.

    Return Value
        In case of success, the character put is returned, converted to a value
        of type int_type using member traits_type::to_int_type.

        Otherwise, it returns the end-of-file value (EOF) either if called with
        this value as argument c or to signal a failure (some implementations
        may throw an exception instead).

Resolves bug-report https://bugs.openfoam.org/view.php?id=3856
2022-07-06 16:58:44 +01:00
48b7805d37 kivaToFoam: Corrected usage printing 2022-07-05 17:06:07 +01:00
017575174b functionObjects::fieldExpression: removed unnecessary read function
this ensures the underlying fvMeshFunctionObject::read is called
2022-07-05 17:04:17 +01:00
51eed621b7 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2022-07-05 15:19:32 +01:00
80544ff43d foamEtcFile: corrected locating of OpenFOAM installation 2022-07-05 15:19:12 +01:00
1fd1042a62 tutorials: Updated totalPressure to prghTotalPressure for p_rgh atmospheric boundaries 2022-07-05 07:57:51 +01:00
75bbfd0294 chtMultiRegionFoam: Renamed nEcorr -> nEcorrectors
for consistency with other PIMPLE iteration controls
2022-07-04 16:11:46 +01:00
81faa80b04 bin/moveDynamicMesh: Script to notify the renaming moveDynamicMesh -> moveMesh 2022-07-04 16:10:36 +01:00
31da3ac2c6 moveMesh: The deprecated moveMesh utility replaced by moveDynamicMesh
and moveDynamicMesh renamed to moveMesh

Description
    Mesh motion and topological mesh change utility.

    Executes the mover, topoChanger and distributor specified in the
    dynamicMeshDict in a time-loop.
2022-07-01 15:51:30 +01:00
f7b08cd9ec argList: Improved documentation for the -libs option 2022-06-29 18:50:08 +01:00
af71115224 Single phase compressible solvers: added -listThermophysicalTransportModels option
to list the available thermophysical transport models.  Also added output for
laminar momentum and thermophysical transport models.
2022-06-28 09:37:51 +01:00
cf3a732789 decomposePar: Corrected error message
Resolves bug-report https://bugs.openfoam.org/view.php?id=3853
2022-06-25 15:28:41 +01:00
9668dd4c20 codedFixedValueFvPatchField: Added support for patchType
so that codedFixedValue BCs can be applied to constraint patches.
2022-06-25 14:20:15 +01:00
4745b9761d decomposePar: Removed inappropriate and fragile -ifRequired option
Resolves bug-report https://bugs.openfoam.org/view.php?id=3852
2022-06-24 19:45:37 +01:00
2628dfe679 Tensor: Added missing implementation of operator=(const DiagTensor<Cmpt>&) 2022-06-24 11:37:01 +01:00
85baf18d39 fvMeshMovers::none: The destructor should be virtual as the class has virtual functions 2022-06-22 22:38:42 +01:00
9d50ffdfbb TimeFunction1: Corrected handling of user-time
Resolves bug-report https://bugs.openfoam.org/view.php?id=3850
2022-06-22 22:37:41 +01:00
0f8a020c70 setDeltaT: Corrected time-step increase limiter 2022-06-21 15:26:36 +01:00
eeccdceb26 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2022-06-14 14:10:39 +01:00
f0d3be60da utilities: Updated moveMesh -> setPoints
Mesh manipulation utilities do not need to generate or use mesh-motion fluxes so
it is more efficient to use setPoints rather than moveMesh.
2022-06-14 14:09:06 +01:00
da7286bc1d createNonConformalCyclics: Corrected overwrite
The handling of existing constant/fvMesh/polyFaces data has been
corrected so that it no longer interferes with the construction
of a new couple.
2022-06-14 11:52:16 +01:00
cc4f63fbd6 codedFvModel: Restored documentation removed in error 2022-06-14 09:17:22 +01:00
c451f73ed1 codedFvModel: Removed obsolete bits of documentation 2022-06-14 08:19:44 +01:00
737d737b22 polyMesh::setPoints: New function to reset the points
without calculating the mesh-motion fluxes or cache the old points.  Used for
efficient reconstruction of moving mesh cases run in parallel.
2022-06-14 00:21:51 +01:00
6437de8082 domainDecomposition: Call polyMesh::movePoints rather than fvMesh::movePoints
so that polyMesh::moving is not set during reconstruction of moving mesh cases.
2022-06-11 09:48:09 +01:00
867badc024 polyMesh, fvMesh: The moving and topoChanged flags are now maintained by fvMesh
avoiding problems with mesh generation, pre/post-processing applications
etc. triggering inappropriate changes to the moving and topoChanged states which
are only needed for updates in solvers corresponding to mesh changes.
2022-06-10 16:50:41 +01:00
6ff2603fce Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2022-06-10 16:50:06 +01:00
59f7a77093 lagrangian: PatchCollisionDensity: Corrected mass-density fields 2022-06-10 12:04:10 +01:00
d54f5ab9ad polyMesh: Changed topoChanging -> topoChanged
The topoChanged flag now indicates that the mesh topology has changed at the
start of the current time-step rather than it is changing during the run, for
subsequent time-steps without topology change it is set false until the next
topology change.
2022-06-10 12:01:28 +01:00
63ef6f59cf transonicEntrainmentPressureFvPatchScalarField: blending Mach No Mb now optional input
Mb, the Mach number at which blending to zeroGradient starts, can now be
specified in the input:

Description
    This boundary condition provides an entrainment condition for pressure
    including support for supersonic jets exiting the domain.

Usage
    \table
        Property     | Description                 | Required | Default value
        rho          | Density field name          | no       | rho
        psi          | Compressibility field name  | no       | thermo:psi
        gamma        | Heat capacity ratio (cp/Cv) | yes      |
        Mb           | Blending Mach No            | no       | 0.5
        phi          | Flux field name             | no       | phi
        p0           | Reference pressure          | yes      |
    \endtable

    Example of the boundary condition specification:
    \verbatim
    <patchName>
    {
        type            transonicEntrainmentPressure;
        gamma           1.4;
        Mb              0.3;
        p0              uniform 1e5;
    }
    \endverbatim
2022-06-09 21:21:02 +01:00
a9bd590793 fvMeshTopoChangers: Set topoChanging false before any updates and true on the first update
so that subsequent fvMeshTopoChangers in the fvMeshTopoChangers::list know if
any changes have already been applied to the mesh.
2022-06-08 16:55:57 +01:00
7d7d609975 fvMeshTopoChangers::linearValveFvMesh,linearValveLayersFvMesh: Removed, superseded by NCC
All sliding interfaces should use NCC.
2022-06-08 12:37:33 +01:00
ec02a0e881 fvMeshTopoChangers::raw: Prototype, no longer compiled by default
Description
    Prototype fvMeshTopoChanger without any added functionality.

    Can be used as the starting point for any polyTopoChanger based
    topo-changer.
2022-06-08 12:33:11 +01:00
f22e489a70 fvMeshTopoChangers::mixerFvMesh: Removed, superseded by NCC 2022-06-08 12:31:54 +01:00