Commit graph

76 commits

Author SHA1 Message Date
Chris Greenshields
9585db0bb1 Updated kivaTest to run without restart at CA = -15 degs
using coded function object to change time step at CA = -15 degs
2015-05-20 07:58:59 +01:00
Chris Greenshields
7b66c4d223 windAroundBuildings: example case of wind flow around buildings 2015-05-19 15:20:23 +01:00
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
cd2e18fe66 foamyQuadMesh/square: Updated extrude2DMeshDict 2015-05-18 13:57:24 +01:00
Henry
e186ad899f MPPICFoam: Update tutorials 2015-04-30 08:35:54 +01:00
Henry
439a04b3a5 patchInteractionDataList: Ignore empty patches 2015-04-29 23:07:33 +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
0a5f0be87c MRFZone: Add regex and group support to the specification of nonRotatingPatches 2015-04-26 16:44:01 +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
95cb20b5ef SRFModel: Changes origin to be user-input rather than hard-coded to (0 0 0)
Updated tutorials
2015-04-26 11:26:25 +01:00
Henry
1f28b87185 potentialFoam: Upgrade to version in OpenFOAM-dev:
commit e593fef659bcd71028e0e66a70510de2c34888e2
Author: Henry <Henry>
Date:   Thu Feb 19 19:05:17 2015 +0000

    potentialFoam: Added new method to estimate the static pressure field from the velocity
    Uses a form of the Euler equation in which only variation along the streamlines is considered

commit cdadf4865de4808d6fe5c2a7eb5f5deaefe83b66
Author: Henry <Henry>
Date:   Sat Feb 14 11:03:37 2015 +0000

    potentialFoam: Solve for velocity potential named Phi rather than using the pressure field for this purpose

    The Phi field is read if available otherwise created automatically with
    boundary conditions obtained automatically from the pressure field if
    available (with optional name) otherwise inferred from the velocity
    field.  Phi Laplacian scheme and solver specification are required.  See
    tutorials for examples.
2015-04-25 21:59:15 +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
2bd5085835 Scripts: Add {} following -I option to xargs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1573
2015-03-15 22:08:43 +00:00
Henry
7077338993 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:19:01 +00:00
Henry
dc1008b705 Replace xargs -i with xargs -I as the -i option is deprecated 2015-03-13 17:55:27 +00:00
Henry
1f187d6f9e 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 20:01:35 +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
d34e10ca4b atmBoundaryLayer: Attempt to rationalize the inputs and documentation to make these BCs more usable
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=860
2015-02-04 22:51:31 +00:00
Henry
670e511576 tutorials/incompressible/pimpleFoam/elipsekkLOmega: added non-orthogonal correctors to improve stability when running longer 2015-01-28 09:01:39 +00:00
Henry
e791c532f2 tutorials/incompressible/pimpleFoam/elipsekkLOmega: removed limiter and non-orthogonal correctors 2015-01-27 11:36:45 +00:00
Henry
8ecf9e447a tutorials/incompressible/pimpleFoam/elipsekkLOmega: improved variable naming and updated test-case 2015-01-27 08:43:20 +00:00
Henry
f7a485069c Remove cyclic link in foamyHexMesh/mixerVessel tutorial
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1191
2015-01-18 19:32:26 +00:00
Henry
5a935874b0 Updated for OpenFOAM-2.3.x
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=858
2015-01-01 17:11:44 +00:00
Henry
278819d0ef atmBoundaryLayer: Attempt to rationalize the inputs and documentation to make this BC more usable
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=860
2014-12-29 17:27:51 +00:00
Henry
a15e16a5b7 Renamed minParticleMass -> minParcelMass
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1288
2014-12-18 12:24:09 +00:00
Henry
01c8b7182a Ensure fields are initialized before mapping to avoid SIGFPE caused by uninitialized values 2014-12-16 16:38:45 +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
Henry
1207cb181b tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D: Use PIMPLE rather than PISO to ensure updated fluxes are used in momentum equation 2014-07-17 11:30:02 +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
andy
d8a6dc84ad ENH: tutorial update: movingCone - updated blockMeshDict 2014-07-15 15:59:34 +01:00
Henry
e503962d15 Removed spurious $1 2014-07-15 11:34:58 +01:00
Henry
d65887d7b6 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.3.x 2014-07-11 15:50:03 +01:00
Henry
e62298ae6b Updated motorBike tutorial to correspond to the training course 2014-07-11 15:48:54 +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
8838a7da49 Updated DPM and MPPIC tutorials 2014-04-29 17:40:09 +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