Commit Graph

16805 Commits

Author SHA1 Message Date
Henry Weller
7e7c27d09b moveDynamicMesh: Iterate over mesh.update() according to the PIMPLE settings Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1926 2015-11-25 16:54:14 +00:00
Andrew Heather
e488da366f Merge branch 'feature-decomposeParDict' into 'develop'
Feature decompose par dict

Merging remaining functionality to do with -decomposeParDict parallel argList option.

See merge request !10
2015-11-25 15:35:21 +00:00
Andrew Heather
629b43be6f Merge branch 'feature-patchProbes' into 'develop'
ENH: patchProbes: allow wildcards for patches

Also write out snapped location.

Probe location output kept as in Foundation

See merge request !11
2015-11-25 15:32:52 +00:00
Andrew Heather
be4f282273 Merge branch 'feature-windTunnelBC' into 'develop'
Feature wind tunnel bc

pressurePIDControlInletVelocity bc

See merge request !9
2015-11-25 15:28:29 +00:00
mattijs
2688080701 ENH: patchProbes: allow wildcards for patches
Also write out snapped location.
2015-11-25 14:41:37 +00:00
mattijs
d5d35cd1e8 BUG: checkMesh: sets written only on master 2015-11-25 10:41:30 +00:00
Andrew Heather
2830985ba9 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-25 10:07:13 +00:00
mattijs
019ffcc456 Merge branch 'feature-decomposeParDict' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-decomposeParDict 2015-11-25 09:23:23 +00:00
Andrew Heather
8b79219950 ENH: Updated/clean-up header documentation 2015-11-25 09:05:28 +00:00
Andrew Heather
6c1b2f4edc ENH: forces|forceCoeffs - updated header documentation to include porosity effects. Fixes #6 2015-11-25 08:22:13 +00:00
Andrew Heather
7b23ac7503 ENH: runTimePostProcessing - updated CMakeLists.txt for cmake > 3 2015-11-25 08:13:27 +00:00
Andrew Heather
3cab2b6027 GIT: Resolve conflict on merge from upstream 2015-11-25 07:58:29 +00:00
Andrew Heather
de42f4f5d2 ENH: boundaryDataSurfaceWriter - updated header documentation 2015-11-25 07:57:05 +00:00
Henry Weller
d812879fdb TurbulenceModels: updated the mapping of k to R BCs
Now k BCs which do not have a symmTensor equivalent are converted to "calculated"
2015-11-24 22:36:50 +00:00
mattijs
f0bc2d9faa ENH: parallel: added -decomposeParDict option to
- foamyHexMesh
- snappyHexMesh
- decomposePar
2015-11-24 17:35:18 +00:00
mattijs
c020702403 ENH: parallel: added -decomposeParDict option to
- foamyHexMesh
- snappyHexMesh
- decomposePar
2015-11-24 17:35:18 +00:00
Henry Weller
7321a5eeb3 fvPatchFields/derived/fixedProfile: New BC which applies the specified 1D profile
This is useful when applying an experimentally obtained profile as an
inlet condition:

    Example of the boundary condition specification:
    \verbatim
    myPatch
    {
        type            fixedProfile;
        profile    csvFile;

        profileCoeffs
        {
            nHeaderLine         0;          // Number of header lines
            refColumn           0;          // Reference column index
            componentColumns    (1 2 3);    // Component column indices
            separator           ",";        // Optional (defaults to ",")
            mergeSeparators     no;         // Merge multiple separators
            fileName            "Uprofile.csv";  // name of csv data file
            outOfBounds         clamp;      // Optional out-of-bounds handling
            interpolationScheme linear;     // Optional interpolation scheme
        }
        direction        (0 1 0);
        origin           0;
    }
    \endverbatim

or a simple polynomial profile:

    Example setting a parabolic inlet profile for the PitzDaily case:
    \verbatim
    inlet
    {
        type            fixedProfile;

        profile         polynomial
        (
            ((1 0 0)        (0 0 0))
            ((-6200 0 0)    (2 0 0))
        );
        direction       (0 1 0);
        origin          0.0127;
    }
    \endverbatim

Based on code provided by Hassan Kassem:
http://www.openfoam.org/mantisbt/view.php?id=1922
2015-11-24 16:35:45 +00:00
Henry Weller
6a0df8a470 fvPatchFields: Rationalized the construction of DataEntry values 2015-11-24 16:35:11 +00:00
mattijs
f0cf39e020 Merge branch 'feature-decomposeParDict' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-decomposeParDict 2015-11-24 16:19:17 +00:00
mattijs
251839df0d ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
mattijs
5c459f7f61 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
mattijs
5e4d40ba70 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
mattijs
f3787e5722 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
mattijs
1fcd27af2a STYLE: viewFactorsGen: spelling 2015-11-24 13:42:58 +00:00
mattijs
b6f350f6f7 STYLE: viewFactorsGen: spelling 2015-11-24 13:42:58 +00:00
mattijs
0483f8c445 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-24 12:52:17 +00:00
mattijs
fca33d213e ENH: bezier: added bezier curves in blockMesh edges 2015-11-24 12:52:01 +00:00
Andrew Heather
6c3f12bfda Merge branch 'feature-checkMesh' into 'develop'
ENH: checkMesh: have -writeSets option

- checkMesh has option to write faceSets or (outside of) cellSets as
sampledSurface format. It automatically reconstructs the set on the master
and writes it to the postProcessing folder (as any sampledSurface). E.g.

    mpirun -np 6 checkMesh -allTopology -allGeometry -writeSets vtk -parallel

- fixed order writing of symmTensor in Ensight writers

See merge request !8
2015-11-24 11:12:20 +00:00
Andrew Heather
8952b0eeac Merge branch 'feature-motionSolvers' into 'develop'
Feature motion solvers

Wrapping of displacement based fvMotionSolvers such that they can be used inside snappyHexMesh

See merge request !7
2015-11-24 11:10:09 +00:00
Henry Weller
0a7ce682d2 fixedMultiPhaseHeatFlux: Corrected patch kappaEff evaluation 2015-11-24 11:09:50 +00:00
mattijs
c62cced6a2 ENH: velocityDampingConstraint: damping of excess velocity in steady-state calculations 2015-11-24 10:28:07 +00:00
mattijs
8a85050665 Merge branch 'feature-windTunnelBC' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-windTunnelBC 2015-11-24 04:59:08 +00:00
mattijs
f6abc9b471 ENH: pressurePIDControlInletVelocity: new BC to match velocity to user-provided pressure drop
- user provides two planes and pressure drop across these
- bc assume potential flow and works out inlet velocity that would cause
an equivalent pressure drop
2015-11-23 17:39:43 +00:00
mattijs
44c2bc6a72 ENH: pressurePIDControlInletVelocity: new BC to match velocity to user-provided pressure drop
- user provides two planes and pressure drop across these
- bc assume potential flow and works out inlet velocity that would cause
an equivalent pressure drop
2015-11-23 17:39:43 +00:00
mattijs
2ecc5396aa Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-23 17:37:47 +00:00
mattijs
83e11f2d5a COMP: regionSplit: tag inline functions as inline 2015-11-23 17:37:26 +00:00
Henry Weller
c40faa99e6 fixedMultiPhaseHeatFlux: Added optional relaxation 2015-11-23 16:52:18 +00:00
Henry Weller
346b31d9e9 snappyHexMesh layerParameters: Increased maxIters to 20
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1918
Patch provided by Richard Jones

maxIters could be made an option input if 20 is not sufficient for
difficult cases.
2015-11-23 16:48:05 +00:00
mattijs
61dd625227 ENH: checkMesh: have -writeSets option
- checkMesh has option to write faceSets or (outside of) cellSets as
sampledSurface format. It automatically reconstructs the set on the master
and writes it to the postProcessing folder (as any sampledSurface). E.g.

    mpirun -np 6 checkMesh -allTopology -allGeometry -writeSets vtk -parallel

- fixed order writing of symmTensor in Ensight writers
2015-11-23 15:24:33 +00:00
Henry Weller
cb04874671 alphatFixedDmdtWallBoilingWallFunction: Obtain the turbulence model directly from the phase 2015-11-23 14:59:46 +00:00
Henry Weller
64690f39cc fixedMultiPhaseHeatFlux: Calculates a wall temperature that produces the specified overall wall heat flux
across all the phases in an Eulerian multi-phase simulation.

Intended to be used with copiedFixedValue to ensure that phase wall
temperature are consistent:
    - Set 'fixedMultiPhaseHeatFlux' boundary for one of the phases
    - Use 'copiedFixedValue' for all the other phases.

Based on code provided by Juho Peltola
2015-11-23 14:50:05 +00:00
Henry Weller
f147cba245 alphatFixedDmdtWallBoilingWallFunction: Added relaxation
Patch provided by Juho Peltola
2015-11-23 14:22:36 +00:00
Henry Weller
e516872799 TurbulenceModels: Correct nut during construction for single-phase solvers only.
For multiphase solvers the phase construction is not complete at this point.
2015-11-23 13:49:03 +00:00
mattijs
930a87a74e ENH: fvMotionSolvers: updated comment, renamed function 2015-11-23 11:52:28 +00:00
Henry Weller
85c79d8398 fvOptions: New buoyancyForce and buoyancyEnergy
Provides run-time selection of buoyancy sources for compressible solvers

Replaces the built-in buoyancy sources in XiFoam, reactingFoam and
rhoReactingFoam.

e.g. in constant/fvOptions specify

momentumSource
{
    type            buoyancyForce;

    buoyancyForceCoeffs
    {
        fieldNames      (U);
    }
}

and optionally specify the buoyancy energy source in the enthalpy
equation:

energySource
{
    type            buoyancyEnergy;

    buoyancyEnergyCoeffs
    {
        fieldNames      (h);
    }
}

or internal energy equation

energySource
{
    type            buoyancyEnergy;

    buoyancyEnergyCoeffs
    {
        fieldNames      (e);
    }
}
2015-11-23 09:29:10 +00:00
Henry Weller
4d18902b90 Update header 2015-11-22 17:28:37 +00:00
Henry Weller
884bb24e5d Corrected typo: Tranform -> Transform
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1923
2015-11-22 17:27:44 +00:00
Henry Weller
c7642d0cab meshRefinementBaffles: Correct faceZone orientation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1479
Patches provided by Bruno Santos based on the work of Mattijs Janssens
2015-11-21 21:35:00 +00:00
Henry Weller
62945ab1ea chemFoam: Remove unused turbulence model 2015-11-21 18:30:35 +00:00
Henry Weller
6335be9356 specie/thermo: Use Pstd in the evaluation of equilibrium coefficients 2015-11-21 18:29:20 +00:00