Commit Graph

5552 Commits

Author SHA1 Message Date
b3e02df01a thermophysicalModels/specie/thermo: Added documentation with examples 2021-08-30 14:31:41 +01:00
61174d8fa8 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2021-08-30 10:31:30 +01:00
e6d7b7aa3f mapFieldsPar: added createTimes.H from mapFields
Resolves bug-report https://bugs.openfoam.org/view.php?id=3722
2021-08-30 10:29:56 +01:00
d002a4de50 massSource: Simplified reading of field value functions 2021-08-27 11:59:44 +01:00
c86c64db72 src/thermophysicalModels/specie/equationOfState: Added documentation with example usage 2021-08-26 16:44:11 +01:00
987d5906ef fvModels, fvConstraints: Prevent crash when applied to solver-type function objects
This fixes a crash that occured when the field that the fvModel applies
to does not exist at the point of the fvModel's construction. This is
the case for function objects that solve equations, e.g., the
scalarTransport or age functions, as the relevant fields are constructed
on demand at the point of the functions' execution. Sources and
constraints now work correctly for these sorts of equations.
2021-08-26 11:19:35 +01:00
e52567a4cf lagrangian: Ensure reacting properties are written for bare cloned clouds
Resolves bug report https://bugs.openfoam.org/view.php?id=3719
2021-08-26 09:11:08 +01:00
21cafbbfa0 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2021-08-25 11:59:59 +01:00
32cfad7002 error: Fixed bug in copy construction
Resolves bug report https://bugs.openfoam.org/view.php?id=3716
2021-08-25 11:50:15 +01:00
9b8aa48a7e basicChemistryModelTemplate: Corrected test for TDAC
Resolves bug-report https://bugs.openfoam.org/view.php?id=3717
2021-08-25 11:47:42 +01:00
09e8377d73 foamGet: sets the target directory after the file selection is confirmed 2021-08-24 15:21:29 +01:00
2c0a7c2df3 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2021-08-24 15:20:00 +01:00
b8fbdd7523 limitPressure, limitTemperature: added example fvConstraints 2021-08-24 15:19:40 +01:00
24a359af70 fvModels: clouds: Added example usage to pimpleFoam/RAS/TJunction tutorial 2021-08-24 09:34:02 +01:00
5f11467ca0 fvModels: clouds: Extend to work with incompressible solvers 2021-08-24 08:48:06 +01:00
a33a4d73b1 templates/singleFluidCHT: switched off thermal radiation in solids by default
and used explicit feature capturing by default in the meshing
2021-08-23 19:46:35 +01:00
032a2ccc66 etc/templates: update dynamicMeshDict and apply explicit feature capturing to rotating cases 2021-08-23 17:08:29 +01:00
909faa2d40 cloudProperties: adding missing 'type' entry 2021-08-23 12:16:10 +01:00
08d6791d81 lagrangian: Error, rather than hang, in unrecoverable situations
Resolves bug report https://bugs.openfoam.org/view.php?id=3712
2021-08-18 13:41:22 +01:00
4d97c30469 mapFields: Removed temporary debug flag
Resolves report https://bugs.openfoam.org/view.php?id=3715
2021-08-17 08:51:16 +01:00
393023e81e tutorials/combustion/reactingFoam/laminar/counterFlowFlame2D(LTS): changed to Wilke transport mixing
Changed the laminar methane combustion cases to use the Wilke mixing rule for
the transport properties obtained from the Sutherland model but with coefficient
mixing for thermodynamic properties for efficient evaluation of reaction
equilibria.

This provides significantly more accurate results for laminar combustion,
producing a thinner flame and a 10K reduction in peak temperature.
2021-08-16 17:35:55 +01:00
d1ebcad3ca tutorials/combustion: Added Sutherland coefficients for all methane combustion species 2021-08-16 17:34:27 +01:00
9353828505 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2021-08-16 11:24:24 +01:00
64e94cfa66 heheuPsiThermo: Added the missing Cp and Cv updates to the calculate() function
Resolves bug-report https://bugs.openfoam.org/view.php?id=3711
2021-08-16 11:23:33 +01:00
57a4460d08 surfaceTransformPoints, transformPoints: documented transformations in '-help' option 20210815 2021-08-14 17:42:51 +01:00
f3454baa08 lagrangian: DevolatilisationModel: Added access to the parcel 2021-08-13 12:30:14 +01:00
41b73ec578 sampling: Ensure tracking is done at the new-time mesh state 2021-08-13 09:44:54 +01:00
436c012a82 sampling: Explicitly cache data needed for tracking in parallel and on moving meshes 2021-08-13 08:56:13 +01:00
19bdfa969f fvModels, fvConstraints: Update as a result of mesh motion 2021-08-12 13:26:53 +01:00
737d91ec72 trackedParticle: Removed unused forward declaration 2021-08-12 12:08:41 +01:00
5fcfbce8dc sampling: Reset counters on particles that are used without clouds 2021-08-12 12:06:42 +01:00
9765f87202 test/postProcessing/channel: Updated for changes in topoSet syntax 2021-08-12 10:58:51 +01:00
97e5fc3781 test: Renamed thermophysicalProperties files to physicalProperties 2021-08-12 10:53:52 +01:00
fe98296668 multiphaseEulerFoam: Added coalescence and breakup models of Liao et al. (2015)
Patch contributed by Institute of Fluid Dynamics,
Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
2021-08-12 10:41:48 +01:00
79a6b73547 multiphaseEulerFoam: populationBalance: Apply solveOnFinalIterOnly to velocityGroup
Patch contributed by Institute of Fluid Dynamics,
Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
2021-08-12 10:28:54 +01:00
866441f33f multiphaseEulerFoam: Added reporting of selected population balance submodels to the log
Patch contributed by Institute of Fluid Dynamics,
Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
2021-08-12 10:27:13 +01:00
88585af6af multiphaseEulerFoam: nucleationModels: Moved velocityGroup member to base class
Patch contributed by Institute of Fluid Dynamics,
Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
2021-08-12 10:26:23 +01:00
184bce4045 test: Fixed plots in population balance cases
Patch contributed by Institute of Fluid Dynamics,
Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
2021-08-12 10:25:23 +01:00
4398f57c5e messageStream: Removed unused code and corrected communicator handling 2021-08-12 10:22:11 +01:00
9eec6c6be0 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2021-08-12 10:20:52 +01:00
b9123328fb typeIOobject: Template typed form of IOobject for type-checked object file and header reading
used to check the existence of and open an object file, read and check the
header without constructing the object.

'typeIOobject' operates in an equivalent and consistent manner to 'regIOobject'
but the type information is provided by the template argument rather than via
virtual functions for which the derived object would need to be constructed,
which is the case for 'regIOobject'.

'typeIOobject' replaces the previous separate functions 'typeHeaderOk' and
'typeFilePath' with a single consistent interface.
2021-08-12 10:12:03 +01:00
5272e4095e particle: Prevent hangs and fatal errors
Robustness improvements have been made to the "behind" system which
prevents the tracking system from hanging. Addition protections have
also been added to prevent division by subnormal numbers and associated
floating point errors.
2021-08-10 15:04:50 +01:00
26b90ff66e tetIndices: Improved warning message frequency
Warning messages for faces which cannot be tetrahedralised with purely
positive tetrahedra are now generated once per face at each timestep.
This means they do not fill the log if the same face is encountered
multiple times, and they are also are visible throughout a log.
2021-08-10 08:30:10 +01:00
0a3a6312e5 test/postProcessing/channel/system/controlDict: Updated turbulenceFields functionObject call
muEff -> nuEff
2021-08-09 21:41:02 +01:00
cc92330253 IOobject, regIOobject: rationalised handling of paths for global and local objects
now all path functions in 'IOobject' are either templated on the type or require a
'globalFile' argument to specify if the type is case global e.g. 'IOdictionary' or
decomposed in parallel, e.g. almost everything else.

The 'global()' and 'globalFile()' virtual functions are now in 'regIOobject'
abstract base-class and overridden as required by derived classes.  The path
functions using 'global()' and 'globalFile()' to differentiate between global
and processor local objects are now also in 'regIOobject' rather than 'IOobject'
to ensure the path returned is absolutely consistent with the type.

Unfortunately there is still potential for unexpected IO behaviour inconsistent
with the global/local nature of the type due to the 'fileOperation' classes
searching the processor directory for case global objects before searching the
case directory.  This approach appears to be a work-around for incomplete
integration with and rationalisation of 'IOobject' but with the changes above it
is no longer necessary.  Unfortunately this "up" searching is baked-in at a low
level and mixed-up with various complex ways to pick the processor directory
name out of the object path and will take some unravelling but this work will
undertaken as time allows.
2021-08-09 21:23:12 +01:00
a1c991d9f3 IOobject: Simplified and rationalised the handling for filePath
for local and global files so that the reading and writing of local files to
processor directories and global files to the case directory are consistent.
2021-08-06 20:50:27 +01:00
0bd7d96387 tutorials/multiphase/interFoam/laminar/damBreak/damBreak/system/decomposeParDict: reinstated 2021-08-06 17:57:00 +01:00
1278c865aa timeIOdictionary: New global IOdictionary type to handle writing of time-dependent global data
to the <case>/<time>/uniform or <case>/<processor>/<time>/uniform directory.

Adding a new form of IOdictionary for this purpose allows significant
simplification and rationalisation of regIOobject::writeObject, removing the
need for explicit treatment of different file types.
2021-08-05 22:28:05 +01:00
f8b00b3d80 fileOperation::writeObject: Updated handling of filePath
so that in parallel time-dependent global objects are written to the
processor?/<time>/uniform directory and constant global objects are written to
the case/constant directory.
2021-08-04 16:14:47 +01:00
cd1842d276 fileOperation: Reverted path change in writeObject
so that time-dependent global objects are written to processor?/<time>/uniform
when running in parallel.
2021-08-04 15:39:38 +01:00