Commit Graph

17613 Commits

Author SHA1 Message Date
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
62945ab1ea chemFoam: Remove unused turbulence model 2015-11-21 18:30:35 +00:00
6335be9356 specie/thermo: Use Pstd in the evaluation of equilibrium coefficients 2015-11-21 18:29:20 +00:00
37430daa19 etc/controlDict: reformatted 2015-11-21 18:28:54 +00:00
341b5b832b reactingEulerFoam/interfacialCompositionModels/saturationModels/Antoine: Corrected Tsat expression
Patch provided by Daniel Jasinski
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1893
2015-11-21 10:41:46 +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
26a2c1778a RunFunctions: Added -append and -overwrite options
-append: append to log file
-overwrite: overwrite log file
Original patch provided by Timm Severin
Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=1919
2015-11-19 15:48:06 +00:00
bca3f3053c Merge branch 'feature-motionSolvers' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-motionSolvers 2015-11-19 15:27:29 +00:00
1a992064c0 TurbulenceModels: Separate template functions into .C files 2015-11-19 13:48:37 +00:00
b24a0ba4e0 Merge branch 'feature-motionSolvers' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-motionSolvers 2015-11-19 12:18:48 +00:00
96f5ac5717 Merge branch 'feature-periodicAMIAndXiDyMFoam' into 'develop'
Feature periodic ami and xi dy m foam

Ok state. Tested tutorials.

See merge request !3
2015-11-19 10:42:51 +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
eb487eb937 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
3050ff925a rhoReactingFoam: Updated to use the latest UEqn.H from reactingFoam 2015-11-18 21:09:10 +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
91261b3047 reactingFoam: Added support for PIMPLE-consistent and pressure relaxation
Pressure relaxation is useful with LTS to damp acoustic waves
2015-11-18 09:34:16 +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
b400b8fd6a Merge branch 'feature-parallel' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-parallel 2015-11-17 17:10:48 +00:00
35faf2c81f Merge branch 'feature-parallel' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-parallel 2015-11-17 15:57:54 +00:00
d049528bbb 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
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
436902f5a8 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
40e16bdbd1 porousZone packaged fvOption: moved selectionMode to correct dict level 2015-11-17 14:59:30 +00:00
09dec5263b ENH: foamLog: added support for multi-region 2015-11-17 14:56:13 +00:00
1c066c1428 ENH: foamLog: added support for multi-region 2015-11-17 14:56:13 +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
b3208d21e8 compressibleInflowOutflow template case: corrected turbulent fields and fvSchemes 2015-11-15 22:06:43 +00:00
c1c7b30220 tutorials/combustion/fireFoam/les/smallPoolFire.*: Minor correction 2015-11-15 18:10:28 +00:00
9be1bc411c reactingEulerFoam: Updated phase-change support
Patches provided by Juho Peltola
2015-11-15 16:57:52 +00:00
17fdf51000 reactingEulerFoam/interfacialModels/wallDampingModels: Added interpolatedWallDamping abstract base-class
To simplify linear, sine and cosine wall-damping implementation
2015-11-15 13:32:19 +00:00
7197f68670 reactingEulerFoam/interfacialModels/wallDampingModels: Added cosine and sine damping functions 2015-11-14 21:25:09 +00:00
6a59811e09 reactingEulerFoam/interfacialModels/liftModels: wallDampedLift
New lift model supporting near-wall damping using the new
wallDampingModels.

e.g.

lift
(
    (air in water)
    {
        type            wallDamped;
        lift
        {
            type            constantCoefficient;
            Cl              0.5;
        }
        wallDamping
        {
            type            linear;
            Cd              0.5;
        }
    }
);

in which a linear near-wall damping function min(y/(Cd*d), 1) is applied to the constant
coefficient lift model.  Additional wall-damping functions will be added.
2015-11-14 19:31:41 +00:00
f4695953aa tutorials/combustion/fireFoam/les/oppositeBurningPanels: Improved schemes and BCs 2015-11-14 19:31:06 +00:00