Commit graph

110 commits

Author SHA1 Message Date
Henry
48edc421a8 steadyStateDdtScheme: Corrected dimensions of ddtCorr for compressible flow 2015-05-02 17:38:29 +01:00
Henry
e5a52c90e8 Update headers 2015-04-29 14:44:53 +01:00
Henry
3e2b64c08d 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
Henry
5aa15a3924 Update header 2015-04-27 20:23:11 +01:00
Henry
9fb9a65952 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
Henry
6e385b237a Update headers 2015-04-26 16:38:47 +01:00
Henry
7047154fee MRFZone: Add regex and group support to the specification of nonRotatingPatches 2015-04-26 16:38:07 +01:00
Henry
2e9a3903cd 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
Henry
d4f6e184be prghPressureFvPatchScalarField: Add support for hRef 2015-04-18 19:31:31 +01:00
Henry
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
Henry
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
Henry
13d4f5c386 Buoyant solvers: Add special handling for ghRef in the case g = (0 0 0) 2015-03-19 15:26:06 +00:00
Henry
afcd290d75 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
8bed463f45 boundaryConditions.dox: Update wall-function entries 2015-03-10 19:58:37 +00:00
Henry
e4e64e6eab adjustPhi: Corrected for closed-volume, moving-mesh incompressible simulations 2015-03-05 20:12:39 +00:00
Henry
e980cd5a60 CrankNicolsonDdtScheme: Clarified the relationship between the
off-centre coefficient and the coefficient for the implicit part
2015-02-25 16:54:05 +00:00
Henry
de2c2fb007 Rationalize position searching and add cell->tet decomposition as the default cell-search algorithm
Resolves issues with probes and findRefCell for meshes in which all cell face-pyramids are positive.
2015-02-25 10:57:06 +00:00
Henry
51abd7e807 CrankNicolsonDdtScheme: Added "see also" 2015-02-22 15:29:37 +00:00
Henry
5ee73b2e9b CrankNicolsonDdtScheme: Add documentation 2015-02-22 15:25:32 +00:00
Henry
9b7079ff8f timeVaryingMappedFixedValueFvPatchField: Updated documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1545
2015-02-21 21:41:48 +00:00
Henry
5f24612805 icoFoam/nonNewtonianIcoFoam: Update to use pisoControl 2015-02-21 21:39:01 +00:00
Henry
5cd0083db0 Update headers 2015-02-20 16:09:32 +00:00
Henry
5fca41e1a7 CrankNicolsonDdtScheme: provide access to the off-centreing coefficient 2015-02-20 16:08:56 +00:00
Henry
16c7318aee outletInletFvPatchField: store Field<scalar> rather than fvsPatchField<scalar> for phip
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1539
2015-02-17 23:59:21 +00:00
Henry
cec7f52d96 Update header 2015-02-14 17:19:35 +00:00
Henry
de6ef3d551 grpIcoRASBoundaryConditions -> grpRASBoundaryConditions 2015-02-14 17:19:01 +00:00
Henry
f58fd14271 Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
017855b877 Update headers 2015-02-12 10:01:10 +00:00
Henry
4003887517 Do not register temporaries 2015-02-12 10:00:53 +00:00
Henry
e939d1de79 Solvers: Rationalized correctPhi 2015-02-11 13:22:24 +00:00
Henry
78f8e84d01 pimpleControl and pisoControl: Rationalize PISO and PIMPLE control 2015-02-10 13:47:18 +00:00
Henry
ca026b5dc7 Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
Also moved global classes which should be in the Foam namespace into it.
2015-02-09 14:43:11 +00:00
Henry
e72b2557d5 PolynomialEntry: Templated polynomial DataEntry to support all basic field types from scalar to tensor
This allows polynomial functions for e.g. velocity to be specified in the uniformFixedValue BC

Consider a linear function for Ux(t) with Uy and Uz = 0:

    inlet
    {
        type            uniformFixedValue;
        uniformValue    polynomial
        (
            ((10 0 0)   (0 0 0))
            ((100 0 0)  (1 0 0))
        );
    }

Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1508
2015-02-06 09:57:20 +00:00
Henry
2c25b8db52 Add support for reading and updating the debug switches of templated
classes in the DebugSwitches sub-dictionary of system/controlDict
2015-02-04 22:08:27 +00:00
Henry
5a4a4e5e4a wallDist: Ensure appropriate method correct function is called 2015-01-12 11:53:19 +00:00
Henry
49b27c838f Added missing file
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1484
2015-01-10 21:10:24 +00:00
Henry
1a084b8954 wallDist: Add support for distance to any patch set 2015-01-10 12:26:39 +00:00
Henry
0123afd3e3 advectionDiffusionPatchDistMethod: Added more description including specification of relaxation 2015-01-10 11:27:14 +00:00
Henry
c29c13b742 wallDist: Added nRequired option to the wallDist dict 2015-01-09 23:17:24 +00:00
Henry
4b4fce2c02 advectionDiffusionPatchDistMethod: Only run the predictor method on first call
Improves efficiency for moving-mesh cases
2015-01-09 22:05:32 +00:00
Henry
28ec2c2a06 wallDist: moved patchTypes into patchDistMethod 2015-01-09 21:41:21 +00:00
Henry
014c602f4a advectionDiffusionPatchDistMethod: Added comment concerning predictor step 2015-01-09 16:18:49 +00:00
Henry
cb3cd0afb0 advectionDiffusionPatchDistMethod: Calculation of approximate distance to nearest patch for all cells
and boundary by solving the Eikonal equation in advection form with diffusion smoothing.
2015-01-09 16:12:58 +00:00
Henry
113f7a9d7b Fixed a typo 2015-01-08 23:10:41 +00:00
Henry
4a411a62c6 wallDist/patchDistMethods/Poisson: New method for fast calculation of an approximate wall-distance field
by solving Poisson's equation
2015-01-08 22:43:42 +00:00
Henry
e61ac9d842 wallDist: Set BCs for y and n appropriately for solving PDEs 2015-01-08 17:21:07 +00:00
Henry
6f0b2c1727 wallDist: Add support for cached wall-reflection vectors
Currently these vectors are generated at the same time as the wall-distance field
by the same run-time selected algorithm.  This will be changed so that the wall-reflection
vectors are only generated and stored if required.
2015-01-08 16:08:53 +00:00
Henry
bb2c2efd49 wallDist: now a MeshObject cached and updated automatically with a run-time selected algorithm
When using models which require the wallDist e.g. kOmegaSST it will
request the method to be used from the wallDist sub-dictionary in
fvSchemes e.g.

wallDist
{
    method meshWave;
}

specifies the mesh-wave method as hard-coded in previous OpenFOAM versions.
2015-01-08 10:40:23 +00:00
Henry
ba0393358f Updated headers 2015-01-06 17:32:02 +00:00
Henry
5085a9807b wallDist: separate the meshWaveWallDist from the wallDist interface
In preparation for run-time selectable methods
2015-01-06 17:31:02 +00:00