Commit Graph

29 Commits

Author SHA1 Message Date
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
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
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
5a4a4e5e4a wallDist: Ensure appropriate method correct function is called 2015-01-12 11:53:19 +00:00
49b27c838f Added missing file
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1484
2015-01-10 21:10:24 +00:00
1a084b8954 wallDist: Add support for distance to any patch set 2015-01-10 12:26:39 +00:00
0123afd3e3 advectionDiffusionPatchDistMethod: Added more description including specification of relaxation 2015-01-10 11:27:14 +00:00
c29c13b742 wallDist: Added nRequired option to the wallDist dict 2015-01-09 23:17:24 +00:00
4b4fce2c02 advectionDiffusionPatchDistMethod: Only run the predictor method on first call
Improves efficiency for moving-mesh cases
2015-01-09 22:05:32 +00:00
28ec2c2a06 wallDist: moved patchTypes into patchDistMethod 2015-01-09 21:41:21 +00:00
014c602f4a advectionDiffusionPatchDistMethod: Added comment concerning predictor step 2015-01-09 16:18:49 +00:00
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
113f7a9d7b Fixed a typo 2015-01-08 23:10:41 +00:00
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
e61ac9d842 wallDist: Set BCs for y and n appropriately for solving PDEs 2015-01-08 17:21:07 +00:00
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
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
ba0393358f Updated headers 2015-01-06 17:32:02 +00:00
5085a9807b wallDist: separate the meshWaveWallDist from the wallDist interface
In preparation for run-time selectable methods
2015-01-06 17:31:02 +00:00
cd01692afd Updated header 2015-01-02 16:44:07 +00:00
79e8c34ef2 fvcSurfaceIntegrate: add support for sub-cycling with mesh-motion
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1471

Note:
    In order to avoid unexpectedly poor results I think it would be
    better if sub-cycling in time were limited to static meshes and
    solid-body motion only and the Vsc() function removed and I will
    consider this for the next release with the addition of a check for
    solid-body motion in the case that sub-cycling is applied.  Now that
    MULES support semi-implicit operation there is less need for
    sub-cycling and I would recommend that you use this approach in
    interDyMFoam for your complex mesh motion cases.
2015-01-02 16:43:32 +00:00
35af64bf39 fvMatrix: Corrected scaling by tmp<volScalarField> 2015-01-02 14:38:08 +00:00
a8e99f862a Corrected and improved documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=790
2015-01-01 18:12:28 +00:00
3745eac109 Updated headers 2014-12-31 19:08:15 +00:00
2a614865ff Added and verified support for 64bit labels
To compile with 64bit labels set

WM_LABEL_SIZE=64

in ~/OpenFOAM/dev/prefs.sh

source ~/.bashrc

then Allwmake in OpenFOAM-dev.

This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt

If WM_LABEL_SIZE is unset or set to 32:

WM_LABEL_SIZE=32

the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt

Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02:52 +00:00
9550a248cf fanFvPatchField: Correct the type specialization
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1415
2014-12-28 17:00:11 +00:00
c39f95b361 CrankNicolsonDdtScheme: Changed ddtCorr from a basic Euler scheme to include the Crank-Nicolson correction
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1468
2014-12-28 12:53:56 +00:00
3dd3e6157c Resolve issues relating to compilation with clang-3.5.0 2014-12-15 22:38:10 +00:00
446e5777f0 Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00