Commit Graph

266 Commits

Author SHA1 Message Date
cf8d906fcf Updated header 2015-04-18 11:51:40 +01:00
ebeccfff98 basicKinematicMPPICParcel: Reinstated dispersion models
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
2015-04-18 11:50:46 +01:00
88c50996f4 interfaceProperties: Add support for re-read of sigma and cAlpha
Note that currently when transportProperties is changed sigma is re-read
from this dictionary but cAlpha is read from fvSolution but cAlpha is
not re-read when fvSolution is changed but transportProperties is not
touched.  To avoid this problem cAlpha would need to be moved to the
transportProperties dictionary which is not ideal or moved out of the
interfaceProperties class back to the top-level solver.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1657
2015-04-17 20:00:29 +01:00
4543ed9890 Corrected docs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1658
2015-04-17 19:31:29 +01:00
4df8179f32 fieldAverage: Correct handling of resetOnOutput
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1653
Thanks to Armin Wehrfritz for proposed fixes
2015-04-09 16:05:33 +01:00
aaa3d026e8 cachedRandom: Added GaussNormal functions and applied to StochasticDispersionRAS
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
Thanks to Timo Niemi
2015-04-09 15:45:10 +01:00
c11ba6b717 Update header 2015-04-08 21:25:06 +01:00
838b8044ef DataEntry: Base the name of the coefficients sub-dicts on the entry name rather than the type name
This allows for more than one of these data types to be specified in a dictionary
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1652

e.g.
        <entryName> csvFile;
        <entryName>Coeffs
        {
            nHeaderLine         4;
            refColumn           0;          // reference column index
            componentColumns    (1 2 3);    // component column indices
            separator           ",";        // optional (defaults to ",")
            mergeSeparators     no;         // merge multiple separators
            fileName            "fileXYZ";  // name of csv data file
            outOfBounds         clamp;      // optional out-of-bounds handling
            interpolationScheme linear;     // optional interpolation scheme
        }
2015-04-08 21:22:23 +01:00
782763997a StochasticDispersionRAS: Corrected spherical distribution of UTurb direction
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
2015-04-08 12:22:33 +01:00
a6dded3ba5 twoPhaseEulerFoam: Add partial-elimination to phase flux and velocity correction
Improves stability and convergence of systems in which drag dominates
e.g. small particles in high-speed gas flow.

Additionally a new ddtPhiCorr strategy is included in which correction
is applied only where the phases are nearly pure.  This reduces
staggering patters near the free-surface of bubble-column simulations.
2015-04-05 21:18:28 +01:00
934502ee08 TableFile: Correct example in documentation
Roselves bug-report http://www.openfoam.org/mantisbt/view.php?id=1581
2015-03-29 19:53:46 +01:00
3aa1868f5d atmBoundaryLayer: Removed the hard-coded limit on z0
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1638
2015-03-27 15:15:16 +00:00
902b7f8d75 Update header 2015-03-26 17:22:10 +00:00
590f251ac8 mpi/UPstream:: Correct debug
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1637
2015-03-26 17:21:12 +00:00
a20b46df89 ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:23:01 +00:00
0178146f3e STLtriangle: Removed duplicate class
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1024
2015-03-22 09:49:37 +00:00
fbb0a87995 Time: Corrected message when maximum time-precision is reached
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=815
2015-03-22 09:48:49 +00:00
a1379518e6 mixtureKEpsilon: Changed bounded non-conservative transport flux to be volumetric rather than mass-based
Avoids numerical problems caused by large density gradients, particularly around the interface.
Allows the use of higher-order differencing for km and epsilonm
2015-03-20 17:16:05 +00:00
ec68d3384e DSMC: Corrected LarsenBorgnakkeVariableHardSphere model
Also changed internalDegreesOfFreedom to be an integer type
2015-03-19 21:43:25 +00:00
7507217b81 Update header 2015-03-19 15:27:13 +00:00
13d4f5c386 Buoyant solvers: Add special handling for ghRef in the case g = (0 0 0) 2015-03-19 15:26:06 +00:00
f7914a858e mixtureKEpsilon: Read km and epsilonm from the startTime directory 2015-03-19 15:25:18 +00:00
afcd290d75 Solvers based on p_rgh: Added support for optional hRef
Allows the specification of a reference height, for example the height
of the free-surface in a VoF simulation, which reduces the range of p_rgh.

hRef is a uniformDimensionedScalarField specified via the constant/hRef
file, equivalent to the way in which g is specified, so that it can be
looked-up from the database.  For example see the constant/hRef file in
the DTCHull LTSInterFoam and interDyMFoam cases.
2015-03-17 17:15:11 +00:00
7dfdea2cac Time: Adjust the precision of the time-directories only for write-times
Avoids unnecessary increases in precision during intermediate steps for
cases with adjustable time-step which may require very high precision to
represent the time name.
2015-03-15 18:49:52 +00:00
c4bb9bbd5b Update header 2015-03-14 20:35:36 +00:00
b169f09cd3 Time: Increase the precision the value entry is written in uniform/time
Add check for round-off error causing time reversal
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=815
2015-03-14 20:33:51 +00:00
c6f66dae57 stochasticDispersionRAS: Distribute UTurb uniformly
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1568
2015-03-13 13:13:42 +00:00
1715087fbe Random: clean-up 2015-03-13 09:52:13 +00:00
d66408c86a thermoSingleLayer: Revert q back to the working version in OpenFOAM-2.1.x
Revert changes in tutorial to correspond to the version in OpenFOAM-2.1.x
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1207
2015-03-10 19:59:09 +00:00
8bed463f45 boundaryConditions.dox: Update wall-function entries 2015-03-10 19:58:37 +00:00
10cbc85bb5 functionObjects/forces: correct upper-limit for bins 2015-03-09 14:33:24 +00:00
3f322e8b90 functionObjects/forces: limit the bins to handle moving meshes
This approach simply accumulates data outside the range of the bins into
the first or last bin which may be OK for small motions.  For larger
motions it may be better if the bins are updated or operate in a
coordinate system attached to the body for solid-body motion.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1560
2015-03-09 10:40:51 +00:00
339c1e2a3d MPI configuration: Added support for SYSTEMMPI
Provided by Bruno Santos
Also some general cleaning and update of comment.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1167
2015-03-08 21:04:38 +00:00
9df23b529e Time: Improved tolerance used to test time equivalence from Bruno
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=815
2015-03-08 21:02:51 +00:00
30bbd3e9be Update headers 2015-03-08 16:31:32 +00:00
85225d817e Time: Handle precision changes on start-up and running more robustly
Changes based on patches from and discussions with Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=815
2015-03-08 16:29:01 +00:00
cb6f22edcf thermophysicalModels/specie: Added entropy function to equations of state
Added the pressure dependent part of the entropy from the equation of
state to that returned by the thermo entropy function.

TODO: Add entropy defect to the PengRobinsonGas::s(p, T) function.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1411
2015-03-07 21:47:04 +00:00
d6907d9b48 lagrangian: Completed update of phaseProperties to handle specie list mismatch
between liquid and solid mixture composition and the specie lists
defined in the thermodynamics package.

Note this does not change the current limitation that both liquid and
solid mixtures contain ALL the corresponding phase species defined in
the thermodynamics package.  However, missing species are included
automatically during construction of phaseProperties.
2015-03-07 11:51:38 +00:00
4580bcf7d4 Removed redundant code 2015-03-06 22:43:39 +00:00
0003b4b008 PaSR: ensure the sqrt operates on a positive number 2015-03-06 22:38:12 +00:00
6884300a00 lagrangian: Replace dummy "notImplemented" functions with abstract functions making base classes abstract
Make clone functions const and abstract in abstract base classes
Change copy constructors to take const argument
Make private data mutable where necessary
2015-03-06 18:14:18 +00:00
f9d7b982ce phaseProperties: Handle special cases
No species specified: indicates phase is not present
Some species specified: missing entries assumed to have 0 mass-fraction
2015-03-05 23:37:58 +00:00
e4e64e6eab adjustPhi: Corrected for closed-volume, moving-mesh incompressible simulations 2015-03-05 20:12:39 +00:00
74dd50aac9 tetOverlapVolume: adjust tolerance
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1347
2015-03-05 18:57:38 +00:00
3ccbc72aaa blockMeshMerge: Adjusted merge-tolerance
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1443
2015-03-05 18:57:18 +00:00
87b68f99ba meshCutter: Correct zone of cut-cells
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1524
2015-03-05 18:56:54 +00:00
a2140d21f2 patchInjectionBase: ensure areaFraction is the same on all processors
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1556
2015-03-05 17:20:34 +00:00
b44d2ba049 lagrangian: Rationalized the handling of multi-component liquids and solids
Ensures consistency between the mixture thermodynamics and composition specifications for the parcels.
Simpler more efficient implementation.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1395
as well as other consistency issues not yet reported.
2015-03-05 11:35:49 +00:00
8c11106048 qZeta: Use pow3 rather than pow(..., 3) 2015-03-02 22:26:58 +00:00
040cabdfe0 Minor cleanup 2015-03-01 22:17:09 +00:00