Commit graph

167 commits

Author SHA1 Message Date
Henry
a6f6d8b7d3 foamListTimes: Added '-rm' option to remove the selected time directories
If -rm is specified with the -processor option the selected time
directories are removed from all the processor directories.
2015-05-08 22:43:04 +01:00
Henry
06b52e581b 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-05-05 10:36:36 +01:00
Henry
608cb3ad2c extrudeMesh: Add sector extrusion type and specialize wedge and plane
to create single layer extrusions with wedge and empty front and back
patches respectively.
2015-05-04 21:20:05 +01:00
Henry
b3ab4b505f refineMesh: Improved command-line argument handling to be more consistent with other OpenFOAM utilities
Command-line option handling:
    + If -all specified or no refineMeshDict exists or, refine all cells
    + If -dict <file> specified refine according to <file>
    + If refineMeshDict exists refine according to refineMeshDict

    When the refinement or all cells is selected apply 3D refinement for 3D
    cases and 2D refinement for 2D cases.
2015-05-04 16:41:23 +01:00
Henry
42e42a1466 viewFactorsGen: Handle baffles
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1680
2015-04-30 22:22:37 +01:00
Henry
2ec966d840 createExternalCoupledPatchGeometry: Correct dependency on turbulence model library 2015-04-26 09:00:40 +01:00
Henry
73fc1c6c1b DPMFoam: Remove dependency on legacy turbulence libraries 2015-04-26 08:41:11 +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
3c24c64edb Pe: Correct turbulence model includes 2015-04-25 16:34:44 +01:00
Henry
6cc8fc128f Pe: Create and write volScalarField in addition to the surfaceScalarField for ease of post-processing 2015-04-25 16:31:54 +01:00
Henry
3f249821ce foamListTimes: Change the default behavior to not include 0 in the list
To include 0 use the -withZero option
2015-04-25 15:15:40 +01:00
Henry
f130edc9ac 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.

Also renamed option zeroTime -> withZero for consistency with the noZero option
2015-04-25 15:14:31 +01:00
Henry
2edb12fa80 foamyHexMesh/Make/options: Added ${CGAL_LIBS} 2015-04-21 16:29:23 +01:00
Henry
7d3568787e 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:44:44 +01:00
Henry
8e6264ed2d 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:34:52 +01:00
Henry
7445bfe634 reconstructParMesh: Enable -constant and -zeroTime options 2015-04-12 17:50:49 +01:00
Henry
5d4398371e viewFactorsGen: Add support for 2D slab geometries
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1649
2015-04-11 11:41:41 +01:00
Henry
d7d91261a9 refineMesh: Correct and simplify check for 2D mesh
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1112
2015-03-29 21:51:51 +01:00
Henry
a79b45c611 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:14:38 +01:00
Henry
719bf1b4e7 ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:16:22 +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
a5f0644976 Revert "Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"""
This reverts commit 883438d463.
2015-03-13 14:39:46 +00:00
Henry
13bd74c439 rhoCentralFoam: Correct handling of single-cell meshes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1548
2015-03-13 11:54:29 +00:00
Henry
96b1bb0b27 TomiyamaLift: Updated coefficient to make the model continuous at EoH = 10.7
Correction provided by Juho Peltola
2015-03-11 18:09:12 +00:00
Henry
883438d463 Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction""
This reverts commit 48e47d8998.
2015-03-11 17:34:20 +00:00
Henry
48e47d8998 Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"
This reverts commit 5c68a98799.
2015-03-11 15:47:59 +00:00
Henry
5c68a98799 DPMFoam: Multiply the gravitational force by the gas phase fraction
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1563
2015-03-11 10:52:16 +00:00
Henry
520f26d1f4 TomiyamaLift: Corrected coefficients to correspond exactly to the original paper cited
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=1564
2015-03-10 20:01:09 +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
11ddd07109 rhoCentralFoam: Corrected the BCs for positive (outgoing) fluxes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1548

Also upgraded rhoCentralDyMFoam to the version in OpenFOAM-dev which
support mesh-motion and topology change
2015-02-26 17:08:09 +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
8d28dc8ad4 surfaceCheck: Make -blockMesh output easier to parse
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1534
2015-02-16 22:07:07 +00:00
Henry
b3e08bb2b8 Update header 2015-02-16 21:39:20 +00:00
Henry
84cdf51d40 interPhaseChangeDyMFoam: cache divU before time advancement to ensure the old-time meshPhi are used to make phi absolute 2015-02-16 21:38:55 +00:00
Henry
ef5faef7d2 Update header 2015-02-16 16:22:13 +00:00
Henry
c1417d4c56 compressibleInterDyMFoam: cache divU before time advancement to ensure the old-time meshPhi are used to make phi absolute
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1531
2015-02-16 16:20:51 +00:00
Henry
6dc299f6f8 refineWallLayer: Rationalize and add support for operating on a list of patch name regular expressions
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1525
2015-02-14 22:53:57 +00:00
Henry
b17c4b7e04 twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Corrected sign of random coalescence source
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1382
2015-02-13 09:19:48 +00:00
Henry
7404b42a76 mapFields: Minimum hack provided by Mattijs to get mapFields working again
This version is very inefficient in parallel and does not provide the
-parallelSource or -parallelTarget options which will need to be
reinstanted in the future or we could revert mapFields to the
OpenFOAM-2.2 version.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1495
2015-02-05 12:18:17 +00:00
Henry
1baba9a2d1 twoPhaseEulerFoam: Corrected EoH2
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1505
2015-02-02 09:37:25 +00:00
Henry
dae8d83823 transform: Handle codirectional and contradirectional transformation vectors
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=416
2015-02-01 16:31:44 +00:00
Henry
9ae53dec4a viewFactorsGen/shootRays: Allow the specification of maxDynListLength in viewFactorsDict
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1501
2015-01-27 10:45:03 +00:00
Henry
d728810dd7 twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Added fvOptions support
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1402
2015-01-22 10:41:36 +00:00
Henry
110339227f Updated header 2015-01-21 16:03:01 +00:00
Henry
e1690cf2ac multiphase solvers: print phase-name rather than alpha1/2 when printing max and min phase-fraction
Resolves request https://github.com/OpenFOAM/OpenFOAM-2.3.x/pull/5
2015-01-21 15:59:54 +00:00
Henry
0c57b123fb Removed spurious file
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1374
2015-01-01 16:25:44 +00:00
Henry
e8bd759b7a execFlowFunctionObjects: Reconstruct functionObjects if the mesh changes
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1452
2014-12-18 17:01:33 +00:00
Henry
15fd058d8e Added newline 2014-12-16 08:43:27 +00:00
Henry
f84192b510 Removed applications/test/LduMatrix 2014-12-12 17:52:34 +00:00
Henry
6aaac1d264 Updated copyright following transfer from OpenCFD 2014-12-10 12:41:41 +00:00