Commit Graph

16436 Commits

Author SHA1 Message Date
b99b8f1822 polyTopoChange: Corrected layout for Doxygen 2015-05-04 16:37:20 +01:00
75282f9b11 Minor cleanup 2015-05-03 18:11:53 +01:00
20eab963cb GAMG solver: Set the following defaults:
cacheAgglomeration true;
    agglomerator    faceAreaPair;
    nCellsInCoarsestLevel 10;
    mergeLevels     1;
2015-05-03 18:11:25 +01:00
6e87320af7 sampledSets, sampledSurfaces: Provide warning message if field cannot be found
Generate fatal error if iso-surface field cannot be found
2015-05-03 16:52:37 +01:00
e64f0846f0 pimpleControl: Support field relaxation when the number of PIMPLE iterations = 1
This allows PIMPLE solvers to operate in SIMPLE mode
2015-05-03 11:50:05 +01:00
bc241781bf steadyStateDdtScheme: Corrected dimensions of ddtCorr for compressible flow 2015-05-02 17:38:29 +01:00
24b0f3ad0b twoPhaseEulerFoam: In the limit of phase-fraction->0 the velocity is calculated from a force balance
Rather than forcing the dispersed-phase velocity -> the continuous-phase
velocity as the phase-fraction -> 0 the velocity is now calculated from
a balance of pressure, buoyancy and drag forces.  The advantage is now
liquid or particles are not carried out of bubble-column of
fluidised-beds by the fictitious drag caused by forcing the
phase-velocities becoming equal in the limit.
2015-05-02 17:15:49 +01:00
30d396ae28 viewFactorsGen: Handle baffles
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1680
2015-04-30 22:25:40 +01:00
933bf2ba8a BrownianMotionForce: Updated interface to turbulence model 2015-04-30 17:38:12 +01:00
841b303a33 DispersionRASModel: Updated lookup of the turbulence model
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1679
2015-04-30 11:11:35 +01:00
0b5e422dd1 Updated header 2015-04-30 10:44:40 +01:00
f22ae158f9 multiphaseInterFoam/multiphaseMixture: Updated MULES call 2015-04-30 10:44:15 +01:00
3bed4c91d3 MPPICFoam: Updated tutorials 2015-04-30 08:34:41 +01:00
d18d4aa08f patchInteractionDataList: Ignore empty patches 2015-04-29 23:06:09 +01:00
31014af625 multiphaseInterFoam: Update tutorials 2015-04-29 23:05:54 +01:00
00ce68ee18 compressibleMultiphaseInterFoam: VoF and MULES controls are now in the alpha sub-dict of fvSolution
consistent with multiphaseInterFoam and other VoF solvers
2015-04-29 16:32:33 +01:00
b5b6791230 Update headers 2015-04-29 14:44:53 +01:00
f7e4d0a110 MULES: nLimiterIter and smoothLimiter are now user-input via the corresponding fvSolution sub-dict
nLimiterIter: Number of iterations during limiter construction
    3 (default) is sufficient for 3D simulations with a Courant number 0.5 or so
    For larger Courant numbers larger values may be needed but this is
    only relevant for IMULES and CMULES

smoothLimiter: Coefficient to smooth the limiter to avoid "diamond"
    staggering patters seen in regions of low particle phase-fraction in
    fluidised-bed simulations.

    The default is 0 as it is not needed for all simulations.
    A value of 0.1 is appropriate for fluidised-bed simulations.
    The useful range is 0 -> 0.5.
    Values larger than 0.5 may cause excessive smearing of the solution.
2015-04-29 14:37:41 +01:00
9284d856b9 Updated header 2015-04-28 18:19:13 +01:00
9655398064 twoPhaseEulerFoam: Improvements to implicitPhasePressure 2015-04-28 18:18:34 +01:00
00ec396a8d sixDoFRigidBodyMotion: Apply accelerationDamping to the acceleration only
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1675
2015-04-28 14:58:14 +01:00
fc6b44ee3c twoPhaseEulerFoam: Added experimental face-based momentum equation formulation
This formulation provides C-grid like pressure-flux staggering on an
unstructured mesh which is hugely beneficial for Euler-Euler multiphase
equations as it allows for all forces to be treated in a consistent
manner on the cell-faces which provides better balance, stability and
accuracy.  However, to achieve face-force consistency the momentum
transport terms must be interpolated to the faces reducing accuracy of
this part of the system but this is offset by the increase in accuracy
of the force-balance.

Currently it is not clear if this face-based momentum equation
formulation is preferable for all Euler-Euler simulations so I have
included it on a switch to allow evaluation and comparison with the
previous cell-based formulation.  To try the new algorithm simply switch
it on, e.g.:

PIMPLE
{
    nOuterCorrectors 3;
    nCorrectors      1;
    nNonOrthogonalCorrectors 0;
    faceMomentum     yes;
}

It is proving particularly good for bubbly flows, eliminating the
staggering patterns often seen in the air velocity field with the
previous algorithm, removing other spurious numerical artifacts in the
velocity fields and improving stability and allowing larger time-steps
For particle-gas flows the advantage is noticeable but not nearly as
pronounced as in the bubbly flow cases.

Please test the new algorithm on your cases and provide feedback.

Henry G. Weller
CFD Direct
2015-04-27 21:33:58 +01:00
69d46a7e44 Update header 2015-04-27 20:23:11 +01:00
a7ec2f7fd4 surfaceNormalFixedValueFvPatchVectorField: Update fixedValue field to handle mesh-motion
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1667
2015-04-27 20:22:01 +01:00
6b0d3634d1 PrandtlDelta: Added description
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1673
2015-04-27 16:13:20 +01:00
5e6e03da57 patchInteractionDataList: Remove default patch interaction method
Now interaction methods must be specified for all non-coupled patches.
If this approach proves irritating a warning rather than an error could
be generated.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1670
2015-04-27 12:00:27 +01:00
3eedde5497 AMIMethod: Corrected type of tgtPatch_
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1669
2015-04-27 11:10:15 +01:00
6b7522ea9a foamJob: Add -append option to append to the log-file rather than overwriting
Thanks to alexeym for patch
Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1655
2015-04-27 10:25:04 +01:00
062d6d3d08 Updated header 2015-04-26 21:38:29 +01:00
ef3ba43cf4 cellSource: Writing the volume of the cellSource (sum(V)) for each time is now optional
Previous behavior which may be useful for moving-mesh cases can be
selected using the optional entry:
    writeVolume  yes;

The initial volume is written in the log and data file header e.g.:

 #   Source : all
 #   Cells  : 3829
 #   Volume : 9.943164e-01

Also added
    sumMag        | sum of component magnitudes
2015-04-26 21:35:25 +01:00
e393bbbaca Updated header 2015-04-26 21:35:09 +01:00
aa965f6612 faceSource: Changed option to write faceSource area to 'writeArea' 2015-04-26 21:34:27 +01:00
8b058bf928 Update headers 2015-04-26 16:38:47 +01:00
dc5ed4cc1b MRFZone: Add regex and group support to the specification of nonRotatingPatches 2015-04-26 16:38:07 +01:00
7bfa1dce7c Update headers 2015-04-26 16:37:43 +01:00
083d7059fc faceSource: Writing the total area of the faceSource (sum(magSf)) for each time is now optional
Previous behavior which may be useful for moving-mesh cases can be
selected using the optional entry:
    writeTotalArea  yes;

The initial total area is written in the log and data file header e.g.:

 #   Source : faceZone f0
 #   Faces  : 8
 #   Area   : 1.063860e-02
2015-04-26 16:32:19 +01:00
5b1edc73b1 SRFModel: Changes origin to be user-input rather than hard-coded to (0 0 0)
Updated tutorials
2015-04-26 11:28:14 +01:00
0a6ca7ae45 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
db524d94df codedFunctionObject: Add meshTools library to include and link line 2015-04-25 21:57:40 +01:00
c28036665d 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
e75f3db3ca etc/config/settings: Added FOAM_ETC 2015-04-25 16:44:11 +01:00
0795ebed1f execFlowFunctionObjects: Update handling of turbulence models 2015-04-25 16:31:09 +01:00
48155ba517 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
ebd85bc514 Update header 2015-04-25 15:13:15 +01:00
82c0cc5312 timeSelector: Rename option zeroTime -> withZero for consistency with the noZero option 2015-04-25 15:12:08 +01:00
dcdc7a2265 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
aba8486680 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
50ada7c994 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
a99f9f0378 foamyHexMesh/Make/options: Added ${CGAL_LIBS} 2015-04-21 16:13:52 +01:00
828ca8322c twoPhaseEulerFoam: Minor improvement to the handling of p_rgh->p after the pEqn 2015-04-20 20:48:12 +01:00