Commit Graph

460 Commits

Author SHA1 Message Date
0fe1967c22 includeEtcEntry: New dictionary include directive: #includeEtc "etcFile"
Description
    Specify an etc file to include when reading dictionaries, expects a
    single string to follow.

    Searches for files from user/group/shipped directories.
    The search scheme allows for version-specific and
    version-independent files using the following hierarchy:
    - \b user settings:
      - ~/.OpenFOAM/\<VERSION\>
      - ~/.OpenFOAM/
    - \b group (site) settings (when $WM_PROJECT_SITE is set):
      - $WM_PROJECT_SITE/\<VERSION\>
      - $WM_PROJECT_SITE
    - \b group (site) settings (when $WM_PROJECT_SITE is not set):
      - $WM_PROJECT_INST_DIR/site/\<VERSION\>
      - $WM_PROJECT_INST_DIR/site/
    - \b other (shipped) settings:
      - $WM_PROJECT_DIR/etc/

    An example of the \c \#includeEtc directive:
    \verbatim
        #includeEtc "etcFile"
    \endverbatim

    The usual expansion of environment variables and other constructs is
    retained.
2015-04-26 10:44:11 +01:00
091b6bc857 codedFunctionObject: Add meshTools library to include and link line 2015-04-25 21:57:40 +01:00
2a7c6c18e3 potentialFoam: No longer executes functionObjects by default
Use the new -withFunctionObjects command-line option to execute functionObjects
2015-04-25 21:56:14 +01:00
7e77e329ff etc/config/settings: Added FOAM_ETC 2015-04-25 16:44:11 +01:00
0a706bdf10 execFlowFunctionObjects: Update handling of turbulence models 2015-04-25 16:31:09 +01:00
992195c6bc Pe: Create and write volScalarField in addition to the surfaceScalarField for ease of post-processing
Update handling of turbulence models
2015-04-25 16:29:54 +01:00
209b3740db Update header 2015-04-25 15:13:15 +01:00
c7e807cf74 timeSelector: Rename option zeroTime -> withZero for consistency with the noZero option 2015-04-25 15:12:08 +01:00
cb82ae7d96 timeSelector: Change select0 to return 'constant' if no times are specified or available
This allows checkMesh and other mesh manipulation utilities to operate
on the mesh without any time directories being present.
2015-04-25 11:51:06 +01:00
7ed416b067 foamListTimes: Change the default behavior to not include 0 in the list
To include 0 use the -zeroTime option
2015-04-25 11:49:49 +01:00
3a3c29b284 blockMesh: Change default location of blockMeshDict from constant/polyMesh to system
For multi-region cases the default location of blockMeshDict is now system/<region name>

If the blockMeshDict is not found in system then the constant directory
is also checked providing backward-compatibility
2015-04-24 22:29:57 +01:00
55e72f6384 foamyHexMesh/Make/options: Added ${CGAL_LIBS} 2015-04-21 16:13:52 +01:00
16248ddb61 twoPhaseEulerFoam: Minor improvement to the handling of p_rgh->p after the pEqn 2015-04-20 20:48:12 +01:00
53b1b5c6df GradientDispersionRAS: Updated to use the new GaussNormal function
Provided by Timo Niemi
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
2015-04-20 17:48:16 +01:00
64c3aa3764 lagrangian/basic/particle/particleI.H: General clean-up 2015-04-20 17:47:56 +01:00
ff067f1f2d applications/solvers/multiphase: for MRF make phiHbyA relative BEFORE adjustPhi
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1665
2015-04-20 16:50:02 +01:00
658b8b6d04 twoPhaseEulerFoam: Added fvOptions correction to the phase velocities after matrix construction 2015-04-18 21:40:54 +01:00
d4f6e184be prghPressureFvPatchScalarField: Add support for hRef 2015-04-18 19:31:31 +01:00
bb59286bb6 LESfilter: Allow the name of the filter sub-dict to be specified by New
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1659
2015-04-18 19:30:27 +01:00
78c5957712 reconstructParMesh: Correct handling of time and constant command-line options
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1641
2015-04-18 11:51:51 +01:00
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
e954b4551b reconstructParMesh: Enable -constant and -zeroTime options 2015-04-12 10:01:33 +01:00
0a1da8d438 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
678ca6e90c 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
b191988d89 twoPhaseEulerFoam: Correct continuity errors after temperature update 2015-04-11 11:00:28 +01:00
a515222a98 twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/noTurbulentDispersion: Corrected dimension of D 2015-04-10 15:40:26 +01:00
2150f659f4 twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/Burns: Corrected sign of the diffusivity 2015-04-10 11:51:00 +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
7f22b9f756 twoPhaseEulerFoam: formalize the use of partial-elimination for phase velocity and flux correction 2015-04-08 16:42:06 +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
17644d5bc2 Updated headers 2015-04-08 12:22:15 +01:00
fcbdfd4e44 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
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
3635171003 twoPhaseEulerFoam tutorials: Correct T names 2015-04-05 21:17:39 +01:00
f935d3dfce 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
e199a0fbf6 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
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