Commit Graph

15257 Commits

Author SHA1 Message Date
251839df0d ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
f3787e5722 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
0483f8c445 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-24 12:52:17 +00:00
fca33d213e ENH: bezier: added bezier curves in blockMesh edges 2015-11-24 12:52:01 +00:00
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
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
c62cced6a2 ENH: velocityDampingConstraint: damping of excess velocity in steady-state calculations 2015-11-24 10:28:07 +00:00
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
2ecc5396aa Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-23 17:37:47 +00:00
83e11f2d5a COMP: regionSplit: tag inline functions as inline 2015-11-23 17:37:26 +00:00
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
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
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
930a87a74e ENH: fvMotionSolvers: updated comment, renamed function 2015-11-23 11:52:28 +00:00
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
4d18902b90 Update header 2015-11-22 17:28:37 +00:00
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
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
6335be9356 specie/thermo: Use Pstd in the evaluation of equilibrium coefficients 2015-11-21 18:29:20 +00:00
093b4aade6 chemkinReader: Add support for reading transport properties from dictionary
Note the dictionary is in OpenFOAM format not CHEMKIN.

Patch provided by Daniel Jasinski
Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=1888
2015-11-20 18:55:36 +00:00
dab33cce52 metisDecomp: Update to support 64-bit labels
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1920
2015-11-20 14:29:27 +00:00
f900abd83b functionObjects: Format time according to the specification in controlDict
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1921
2015-11-20 13:22:51 +00:00
9fd840c12a BUG: Resolved builf order dependency of dynamicMesh library on sampling 2015-11-19 16:03:37 +00:00
1a992064c0 TurbulenceModels: Separate template functions into .C files 2015-11-19 13:48:37 +00:00
777b139907 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop
Conflicts:
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C
2015-11-19 10:40:51 +00:00
ff6b550206 ENH: cyclicPeriodicAMI: improved warning message 2015-11-19 10:33:43 +00:00
2fcc523f20 Merge branch 'feature-surfaceUtilities' into 'develop'
ENH: surface: various updates to the surface utilities

surfaceBooleanFeatures: use CGAL for intersection
surfaceCheck: write surface zoning as vtk file
surfaceInflate: new utility to offset surface
surfacePatch: replacement for surfaceAutoPatch. Also does cutting of surfaces.

See merge request !4
2015-11-19 10:01:14 +00:00
ac818f9abf Merge branch 'feature-parallel' into 'develop'
Feature parallel

All low-level parallel bits:
- support for surfaceFields
- low-level distributed Field mapping
- complete rewrite of redistributePar


See merge request !6
2015-11-19 10:00:54 +00:00
8f5997bb6a ENH: displacementMotionSolver: additional hierarchy
- shm: have displacementMotionSolver as alternative mesh shrinker
  (instead of medialAxis).
- updated iglooWithFridges tutorial to use displacementLaplacian
- selectable interpolation from cells to points in the motion solvers
  using the 'interpolation' keyword:
    interpolation volPointInterpolation;    // default
    or
    interpolation patchCorrected (lowerWall upperWall);
- wrapped up mesh shrinkers (see above) for use as a displacementMotionSolver
  (i.e. the opposite of the displacementMotionSolver mesh shrinker)
2015-11-19 09:35:20 +00:00
d968ee30e1 TurbulenceModels: Improved instantiation of single-phase models in solvers
Simplifies lookup of RAS or LES models
2015-11-18 21:10:03 +00:00
fd82b7b55c Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-18 17:24:38 +00:00
d27756fe39 ENH: autoHexMesh: write baffled mesh to separate time when debugging 2015-11-18 17:24:28 +00:00
3a5cb13608 advectiveFvPatchField: Added support localEuler ddt (LTS)
This functionality is inherited by the waveTransmissive BCs
2015-11-18 09:33:13 +00:00
916dcb8685 ENH: parallel: overhaul of parallel mapping
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
- low-level distributed Field mapping
- support for mapping surfaceFields (including flipping faces)
- support for decomposing/reconstructing refinement data
2015-11-17 15:05:05 +00:00
0ddb4eb9f3 Updated header 2015-11-17 12:07:33 +00:00
33fdce88f5 porosityModels: Specification of name and dimensions of porosity coefficients is now optional
e.g.

    DarcyForchheimerCoeffs
    {
        d   (5e7 -1000 -1000);
        f   (0 0 0);

        coordinateSystem
        {
            type    cartesian;
            origin  (0 0 0);
            coordinateRotation
            {
                type    axesRotation;
                e1      (1 0 0);
                e2      (0 0 1);
            }
        }
    }
2015-11-17 12:05:57 +00:00
8f0dfea06c Merge branch 'feature-functionObjects' into 'develop'
Feature function objects

Lots of updates migrated from internal development line

### Updated functionObjectFile
Old code maintained a list of file pointers, and provided a clunky interface to output to file.  Although OK for function objects that only created a single file, those that created multiple files were required to refer to each by an index and making it very easy to introduce errors.
The new code simplifies the functionObjectFile class so that it provides helper functions to create and write to files, and no longer maintains a list of file pointers.  Instead, each function object must create and take responsibility for all of the file streams that it requires.
Changes propagated across dependencies:
* fieldValues
* forces/forceCoeffs
* yPlus
* fieldMinMax
* residuals
* regionSizeDistribution
* fieldMinMax
* cloudInfo

### Created new functionObjectState
Previously, if function objects required to store data on disk to enable smooth restarts, e.g. fieldAverage, the object would need to provide the mechanism for reading/writing state information itself.  This class abstracts out the reading/writing of state information in a straightforward manner, whereby an object can retrieve its own data, or retrieve e.g. the latest available data from another object (e.g. see fieldValueDelta).
* fieldAverage
* fieldMinMax
* forces
* forceCoeffs

### Created new runTimePostProcessing function object
New function object to generate images at run-time, or in 'post-processing' mode via the execFlowFunctionObjects utility
* Constant DataEntry - added construct from components
* Set and surface writers updated to enable retrieval of filename of generated output
* Additional changes to surface writers from internal line:
  + Ensight collate times option
  + Nastran output updated based on user feedback
  + new boundaryData output


See merge request !5
2015-11-16 17:30:03 +00:00
d25649c44d ENH: movingWallVelocityFvPatchVectorField: corrected comment. Fixes #4 2015-11-16 14:14:29 +00:00
269483f0bf src/combustionModels: Updated LES model lookup 2015-11-16 10:25:42 +00:00
9be1bc411c reactingEulerFoam: Updated phase-change support
Patches provided by Juho Peltola
2015-11-15 16:57:52 +00:00
06f565569d steadyStateDdtScheme: Correct dimensions of fvcDdtUfCorr
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1913
2015-11-13 14:33:34 +00:00
6ab06c57e2 STYLE: cellSourceTemplates: line length 2015-11-12 11:02:23 +00:00
7175c872e6 ENH: Added FO documentation 2015-11-11 16:10:38 +00:00
d26b4ee490 ENH: fieldValues FOs updated following update to use functionObjectState 2015-11-11 16:10:01 +00:00
1afb36a476 BUG: polyMesh: update patchGroups when polyMesh::readUpdate 2015-11-11 13:28:41 +00:00
cc3ef7b876 STYLE: cyclicPolyPatch: unused include files 2015-11-11 13:26:09 +00:00
18b42907af STYLE: processorPolyPatch: typo in comment 2015-11-11 13:25:37 +00:00
40680a43b1 ENH: Initial commit of new runTimePostProcessing function object
- Allows generation of images (currently PNG files) during the run
- ... or afterwards by invoking the execFlowFunctionObjects utility
- Wrapper around VTK functionality
- Support for objects:
  - text
  - points (glyphs: sphere, arrow)
  - lines (tubes)
  - surfaces (wireframe, shaded, combination)
- Colour using:
  - user-defined
  - field values (several colour maps availale)
- For image sequences:
  - dynamic views (camera movement)
  - objects can appear/disappear using opacity
- Building
  - VTK dependency v6+
  - satisfied using ParaView from ThirdParty directory
  - or separate VTK installation
2015-11-11 12:55:15 +00:00
c48a203267 BUG: procesorPolyPatch: fixed check on oppositeness, correct tolerance 2015-11-11 12:54:08 +00:00
3457f567e5 ENH: uniformFixedValue: typo in comment 2015-11-11 12:52:51 +00:00