Commit Graph

15978 Commits

Author SHA1 Message Date
Henry
2699f0bd6b basicKinematicMPPICParcel: Reinstated dispersion models
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
2015-04-18 11:50:46 +01:00
Henry
e144940047 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
Henry
341bdc8aa1 Corrected docs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1658
2015-04-17 19:31:29 +01:00
Henry
5a12edc36c reconstructParMesh: Enable -constant and -zeroTime options 2015-04-12 10:01:33 +01:00
Henry
f5bb944965 twoPhaseEulerFoam: Improved handling of velocity/flux boundary conditions
Updated tutorials to converge pressure during PIMPLE loop to avoid
phase-fraction unboundedness which limits thermodynamics convergence.
2015-04-12 09:57:56 +01:00
Henry
56e9699cb0 viewFactorsGen: Add support for 2D slab geometries
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1649
2015-04-11 11:44:02 +01:00
Henry
4ee86fd7c7 twoPhaseEulerFoam: Correct continuity errors after temperature update 2015-04-11 11:00:28 +01:00
Henry
6c097fc2b6 twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/noTurbulentDispersion: Corrected dimension of D 2015-04-10 15:40:26 +01:00
Henry
4c443233be twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/Burns: Corrected sign of the diffusivity 2015-04-10 11:51:00 +01:00
Henry
5dad962f44 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
Henry
51087ad0df 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
Henry
c4340790a4 Update header 2015-04-08 21:25:06 +01:00
Henry
d79abdaa17 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
Henry
ff2f3205af twoPhaseEulerFoam: formalize the use of partial-elimination for phase velocity and flux correction 2015-04-08 16:42:06 +01:00
Henry
9a3e5828f0 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
Henry
5688e3daa7 Updated headers 2015-04-08 12:22:15 +01:00
Henry
0be1e89204 twoPhaseEulerFoam: Interpolate lift, wall-lubrication and turbulent dispersion forces
Reduces or eliminates staggering patterns due to cell-force imbalances
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1363
2015-04-08 12:19:23 +01:00
Henry
724b0fdb8c 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
Henry
2003f3fb3d twoPhaseEulerFoam tutorials: Correct T names 2015-04-05 21:17:39 +01:00
Henry
2b74a6e3b3 refineMesh: Correct and simplify check for 2D mesh
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1112
2015-03-29 22:19:55 +01:00
Henry
55d6b41d4b vtkPV?FoamMeshVolume: Corrected conversion of tetWedge to VTK_WEDGE
Thanks to Bruno Santos for analysing and fixing this
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1633
2015-03-29 20:17:45 +01:00
Henry
baa260afd8 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
Henry
5550139aec 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
Henry
1240c4d308 Update header 2015-03-26 17:22:10 +00:00
Henry
fafdbf4c57 mpi/UPstream:: Correct debug
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1637
2015-03-26 17:21:12 +00:00
Henry
9cd9a9f364 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
Henry
43b3961dc8 STLtriangle: Removed duplicate class
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1024
2015-03-22 09:49:37 +00:00
Henry
ddb82aa14c 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
Henry
bcb8b30cad 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
Henry
b6e803ab8b tutorials/multiphase/twoPhaseEulerFoam/laminar: corrected setFieldsDict
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1579
2015-03-20 16:56:48 +00:00
Henry
3b82a6c761 DSMC: Corrected LarsenBorgnakkeVariableHardSphere model
Also changed internalDegreesOfFreedom to be an integer type
2015-03-19 21:43:25 +00:00
Henry
ccc7eb8d56 tutorials/multiphase/twoPhaseEulerFoam: Corrected regular-expressions 2015-03-19 21:42:51 +00:00
Henry
9ea4a6f4f5 tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn: Added km and epsilonm files
Also corrected names of other fields
2015-03-19 21:41:46 +00:00
Henry
a7f0de9aa9 multiphaseEulerFoam: transform to solve for p_rgh
to avoid excessive pressure/buoyancy balance errors on non-orthogonal meshes
2015-03-19 21:40:41 +00:00
Henry
729f1f7e4c Update header 2015-03-19 15:27:13 +00:00
Henry
28abb8cda5 Buoyant solvers: Add special handling for ghRef in the case g = (0 0 0) 2015-03-19 15:26:06 +00:00
Henry
29b9eaaf4d mixtureKEpsilon: Read km and epsilonm from the startTime directory 2015-03-19 15:25:18 +00:00
Henry
fa2721ffd5 JohnsonJacksonFrictionalStress: alphaDeltaMax -> alphaDeltaMin (it is the lower limit) 2015-03-18 15:40:39 +00:00
Henry
2e35cc76e8 twoPhaseEulerFoam JohnsonJacksonFrictionalStress: alphaDeltaMax now user input (previously hard-coded to 5e-2) 2015-03-18 15:03:10 +00:00
Henry
fb84761ef8 twoPhaseEulerFoam: Rationalize the particle-pressure flux BCs and correct for coupled-patches 2015-03-18 11:53:23 +00:00
Henry
c530e1cd9b twoPhaseEulerFoam: transform to solve for p_rgh
to avoid excessive pressure/buoyancy balance errors on non-orthogonal meshes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1379
2015-03-17 22:40:09 +00:00
Henry
e588d61879 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
Henry
e68c5f666b Scripts: Add {} following -I option to xargs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1573
2015-03-15 22:14:44 +00:00
Henry
3c2679c4bd 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
Henry
f86d074dce Update header 2015-03-14 20:35:36 +00:00
Henry
5c21051349 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
Henry
67e8bd8bf9 shallowWaterFoam: Read hU rather than U to support complex e.g. time-varying BCs
Disadvantage is that the BC values have to be specified in terms of hU
rather than U.  The alternative would be to add complex code to map h
and U BCs into the equivalent for hU.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1566
2015-03-13 22:14:08 +00:00
Henry
bbc223d28d Replace xargs -i with xargs -I as the -i option is deprecated 2015-03-13 17:56:52 +00:00
Henry
d0122cfea3 Revert "Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"""
This reverts commit 41b9348271.
2015-03-13 14:39:01 +00:00
Henry
935359117e stochasticDispersionRAS: Distribute UTurb uniformly
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1568
2015-03-13 13:13:42 +00:00