Commit graph

39 commits

Author SHA1 Message Date
Chris Greenshields
dd364b14d0 Modified waterChannel tutorial to make case better posed
Existing case did not properly converge and suffered slow convergence
with the water level failing to reach an equilibrium.  A slight rise in
the channel appears to help the water level reach an equlibrium when the flow
rate over the rise matches the inlet flow rate.
2015-05-19 14:33:00 +01:00
Henry
00eea57685 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-27 12:10:03 +01:00
Henry
8f3c293472 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:43:29 +01:00
Henry
6f86ad2099 tutorials/multiphase/twoPhaseEulerFoam/laminar: corrected setFieldsDict
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1579
2015-03-20 16:59:01 +00:00
Henry
7d4f8d7aac BinghamPlastic: Change definition of shear-rate by 1/sqrt(2)
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1552
2015-03-02 22:48:45 +00:00
Henry
1cacdf0d89 interFoam family: Add support for MULES-bounded Crank-Nicolson 2nd-order ddt(alpha)
This is an experimental feature demonstrating the potential of MULES to
create bounded solution which are 2nd-order in time AND space.

Crank-Nicolson may be selected on U and/or alpha but will only be fully
2nd-order if used on both within the PIMPLE-loop to converge the
interaction between the flux and phase-fraction.  Note also that
Crank-Nicolson may not be used with sub-cycling but all the features of
semi-implicit MULES are available in particular MULESCorr and
alphaApplyPrevCorr.

Examples of ddt specification:

ddtSchemes
{
    default         Euler;
}

ddtSchemes
{
    default         CrankNicolson 0.9;
}

ddtSchemes
{
    default         none;
    ddt(alpha)      CrankNicolson 0.9;
    ddt(rho,U)      CrankNicolson 0.9;
}

ddtSchemes
{
    default         none;
    ddt(alpha)      Euler;
    ddt(rho,U)      CrankNicolson 0.9;
}

ddtSchemes
{
    default         none;
    ddt(alpha)      CrankNicolson 0.9;
    ddt(rho,U)      Euler;
}

In these examples a small amount of off-centering in used to stabilize
the Crank-Nicolson scheme.  Also the specification for alpha1 is via the
generic phase-fraction name to ensure in multiphase solvers (when
Crank-Nicolson support is added) the scheme is identical for all phase
fractions.

This development is back-ported from OpenFOAM-dev:
f78d33b634
2015-02-25 16:32:06 +00:00
Henry
8072a9ad3a tutorials: corrected comments in snappyHexMeshDict
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1541
2015-02-17 23:21:55 +00:00
Henry
08dc3ab2e4 tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI updated 2014-07-24 18:01:08 +01:00
Henry
c63e90ed9a tutorials: use PIMPLE rather than PISO for rotating mesh problems to ensure updated fluxes are used for momentum transport 2014-07-17 11:34:39 +01:00
andy
625a879466 ENH: tutorial update: nozzleFlow2D - write in binary to avoid mesh errors when refining wedge 2014-07-15 16:31:18 +01:00
mattijs
cf325fd766 GIT: boundary: remove generated file 2014-07-11 10:53:29 +01:00
Henry
c29bc5995c interPhaseChangeFoam: Do not correct phi at start of run
During restart correct phi would need the dilatation from the previous time-step.
Alternative is to run potentialFoam on 0 fields to initialise phi.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1299
2014-05-20 16:15:07 +01:00
Henry
3207f8d0c7 sixDoFRigidBodyMotion: Add support to specify the centre for rotation independent of the centre of mass
via the point, line or plane constraints.
2014-05-16 15:35:11 +01:00
Henry
7bbfa57576 tutorials/multiphase/interFoam/ras/angledDuct: VoF tutorial to demonstrate porosity feature via fvOptions 2014-05-12 23:15:50 +01:00
Henry
5644c582f2 DTC tutorial cases: provide reference to original paper
Contains details of case and experimental results
2014-05-09 11:48:37 +01:00
Henry
72576fdce9 twoPhaseEulerFoam: Add fvOptions support and tutorial 2014-05-08 11:45:50 +01:00
Henry
69c7649a3c fvOptions: Support reading the fvOptions file from constant or system directories 2014-05-01 14:58:18 +01:00
Henry
3c17dd8490 potentialFreeSurfaceDyMFoam: New DyM version of potentialFreeSurfaceFoam
with tutorial
2014-04-30 16:08:03 +01:00
Henry
abcc7428ac twoPhaseEulerFoam: Now in fully-conservative form 2014-04-29 15:47:39 +01:00
Henry
779ec19183 Retire settlingFoam: replaced by driftFluxFoam 2014-04-29 14:18:57 +01:00
Henry
b8e1108ed6 VoF solvers: rationalize the relationship between VoF solvers
Improve code reuse
Add multiphaseInterDyMFoam
Retire MRFinterFoam -> now handled by interFoam with fvOptions
Update tutorials
2014-04-29 14:16:41 +01:00
Henry
8f7efd3035 driftFluxFoam: use buoyancy corrected k-epsilon in all turorials 2014-04-28 15:42:43 +01:00
Henry
cecec9a479 driftFluxFoam: Change turbulence modelling to new templated framework
Added k-epsilon model with buoyancy correction
2014-04-28 15:31:28 +01:00
Henry
6f6bc2f786 multiphaseInterFoam: Added fvOptions support for MRF etc. and added MRF tutorial
Deleted MRFMultiphaseInterFoam
2014-04-23 14:34:07 +01:00
mattijs
d2aac18bfc GIT: damBreak: remove generated file 2014-04-04 11:10:46 +01:00
Henry
9d0ee45918 Updated floatingObject boundary condition to handle tangential flow at surface in a more stable manner. 2014-03-21 10:33:34 +00:00
william
5f2583a17a erge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.3.x 2014-03-18 09:39:10 +00:00
Henry
3c837948f1 Removed alphaOuterCorrectors option because the mass-flux should be updated for all PIMPLE iterations
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1225
2014-03-17 21:31:09 +00:00
william
51385b3dfa BUG: twoPhaseEulerFoam: removed multiple of the continuous phase fraction from force and heat transfer models 2014-03-17 16:34:32 +00:00
sergio
7039105e10 BUG: changing from turbulent to lamninar viscocity in the calculation of the
Darcy coefficient for the porousBafflePressure
2014-03-14 14:56:11 +00:00
Henry
46d53c222d Revert pressureInletOutletVelocity BCs
due to convergence problems with the new version for runs at high Courant number
2014-03-12 12:27:19 +00:00
Henry
97056cd466 twoPhaseEulerFoam: added optional alphaMax to phaseModel for MULES limiter
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1209
2014-03-07 23:32:00 +00:00
Henry
f6493af663 driftFluxFoam: Created special mixture viscosity framework for interacting phases
Added Thomas' slurry model
2014-03-06 17:54:27 +00:00
Henry
c70c74aa39 driftFluxFoam: Rationalisation of the handling of Udm and tauDm 2014-03-05 16:04:10 +00:00
william
7e5903edd4 ENH: driftFluxFoam: made viscosity and relative velocity modelling run-time selectable 2014-02-26 16:45:46 +00:00
Henry
3c01cb164e cavitatingFoam: rationalised phi -> rhoPhi, phiv -> phi
for consistency with the other multiphase solvers.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1192
2014-02-26 13:02:59 +00:00
Henry
3d0ba64a59 driftFluxFoam: Rationalise phase-fraction handling and implement semi-implicit MULES 2014-02-24 17:10:20 +00:00
Henry
0b568fedc9 driftFluxFoam: New version of settlingFoam including MULES and MRF/fvOptions support 2014-02-19 16:33:51 +00:00
OpenFOAM-admin
9fd0db5cf9 Initial commit for version 2.3.x 2014-02-17 16:00:08 +00:00