Commit Graph

282 Commits

Author SHA1 Message Date
mattijs
4d1159e685 ENH: snappyHexMesh: various improvements. See below or the default snappyHexMeshDict.
Refinement:
-----------
// Optionally avoid patch merging - keeps hexahedral cells
// (to be used with automatic refinement/unrefinement)
//mergePatchFaces off;

// Optional multiple locationsInMesh with corresponding optional cellZone
// (automatically generates faceZones inbetween)
locationsInMesh
(
    ((-0.09 -0.039 -0.049)  bottomAir)  // cellZone bottomAir
    ((-0.09 0.009 -0.049)   topAir)     // cellZone topAir
);

// Optional faceType and patchType specification for these faceZones
faceZoneControls
{
    bottomAir_to_topAir
    {
        faceType baffle;
    }
}

/ Optional checking of 'bleeding' of mesh through a specifying a locations
// outside the mesh
locationsOutsideMesh ((0 0 0)(12.3 101.17 3.98));

// Improved refinement: refine all cells with all (or all but one) sides refined

// Improved refinement: refine all cells with opposing faces with different
// refinement level. These cells can happen on multiply curved surfaces.
// Default on, can be switched off with
//interfaceRefine false;

Snapping
--------
// Optional smoothing of points at refinement interfaces. This will reduce
// the non-orthogonality at refinement interfaces.
//nSmoothInternal $nSmoothPatch;

Layering
--------

// Layers can be added to patches or to any side of a faceZone.
// (Any faceZone internally gets represented as two patches)

// The angle to merge patch faces can be set independently of the
// featureAngle. This is especially useful for large feature angles
// Default is the same as the featureAngle.
//mergePatchFacesAngle 45;

// Optional mesh shrinking type 'displacementMotionSolver'. It uses any
// displacementMotionSolver, e.g. displacementSBRStress
// (default is the medial-axis algorithm, 'displacementMedialAxis')
//meshShrinker displacementMotionSolver;
2015-10-14 14:49:37 +01:00
mattijs
0b54e1cc33 ENH: surfaceIntersection: cleanup 2015-10-14 08:52:32 +01:00
Henry Weller
37cfc3ab46 tutorials: Removed unnecessary spaces between parentheses and values in vectors 2015-07-21 20:55:44 +01:00
Henry Weller
4c21f24a8c Input of dimensionedScalars: update read-construction of dimensionedScalar in applications
so that the specification of the name and dimensions are optional in property dictionaries.

Update tutorials so that the name of the dimensionedScalar property is
no longer duplicated but optional dimensions are still provided and are
checked on read.
2015-07-20 22:52:53 +01:00
Henry Weller
0fb6a01280 fluxRequired: Added setFluxRequired function to fvSchemes class
Added calls to setFluxRequired for p, p_rgh etc. in all solvers which
avoids the need to add fluxRequired entries in fvSchemes dictionaries.
2015-07-15 21:57:16 +01:00
Henry
d93063e238 foamyQuadMesh/square: Updated extrude2DMeshDict 2015-05-18 13:58:33 +01:00
Henry
0a6ca7ae45 includeEtcEntry: New dictionary include directive: #includeEtc "etcFile"
Description
    Specify an etc file to include when reading dictionaries, expects a
    single string to follow.

    Searches for files from user/group/shipped directories.
    The search scheme allows for version-specific and
    version-independent files using the following hierarchy:
    - \b user settings:
      - ~/.OpenFOAM/\<VERSION\>
      - ~/.OpenFOAM/
    - \b group (site) settings (when $WM_PROJECT_SITE is set):
      - $WM_PROJECT_SITE/\<VERSION\>
      - $WM_PROJECT_SITE
    - \b group (site) settings (when $WM_PROJECT_SITE is not set):
      - $WM_PROJECT_INST_DIR/site/\<VERSION\>
      - $WM_PROJECT_INST_DIR/site/
    - \b other (shipped) settings:
      - $WM_PROJECT_DIR/etc/

    An example of the \c \#includeEtc directive:
    \verbatim
        #includeEtc "etcFile"
    \endverbatim

    The usual expansion of environment variables and other constructs is
    retained.
2015-04-26 10:44:11 +01:00
Henry
50ada7c994 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-04-24 22:29:57 +01:00
Henry
5ecfb06398 tutorials: remove unnecessary under-relax fields entry 2015-02-22 16:52:21 +00:00
Henry
7be1393fef tutorials: corrected comments in snappyHexMeshDict
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1541
2015-02-17 23:59:59 +00:00
Henry
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
1edf292c00 Correct Doxygen multiline comments 2015-02-14 10:59:29 +00:00
Henry
2aec249647 Updated the whole of OpenFOAM to use the new templated TurbulenceModels library
The old separate incompressible and compressible libraries have been removed.

Most of the commonly used RANS and LES models have been upgraded to the
new framework but there are a few missing which will be added over the
next few days, in particular the realizable k-epsilon model.  Some of
the less common incompressible RANS models have been introduced into the
new library instantiated for incompressible flow only.  If they prove to
be generally useful they can be templated for compressible and
multiphase application.

The Spalart-Allmaras DDES and IDDES models have been thoroughly
debugged, removing serious errors concerning the use of S rather than
Omega.

The compressible instances of the models have been augmented by a simple
backward-compatible eddyDiffusivity model for thermal transport based on
alphat and alphaEff.  This will be replaced with a separate run-time
selectable thermal transport model framework in a few weeks.

For simplicity and ease of maintenance and further development the
turbulent transport and wall modeling is based on nut/nuEff rather than
mut/muEff for compressible models so that all forms of turbulence models
can use the same wall-functions and other BCs.

All turbulence model selection made in the constant/turbulenceProperties
dictionary with RAS and LES as sub-dictionaries rather than in separate
files which added huge complexity for multiphase.

All tutorials have been updated so study the changes and update your own
cases by comparison with similar cases provided.

Sorry for the inconvenience in the break in backward-compatibility but
this update to the turbulence modeling is an essential step in the
future of OpenFOAM to allow more models to be added and maintained for a
wider range of cases and physics.  Over the next weeks and months more
turbulence models will be added of single and multiphase flow, more
additional sub-models and further development and testing of existing
models.  I hope this brings benefits to all OpenFOAM users.

Henry G. Weller
2015-01-21 19:21:39 +00:00
Henry
89f826419a Remove cyclic link in foamyHexMesh/mixerVessel tutorial
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1191
2015-01-18 21:11:54 +00:00
Henry
41368addc9 Minor change to comment 2014-12-14 21:50:14 +00:00
OpenFOAM-admin
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
william
333818408f STYLE: sh instead of bash for tutorial scripts 2014-02-05 16:53:44 +00:00
mattijs
b620938829 ENH: mixerVessel: dummy Alltest 2014-02-05 12:24:11 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
mattijs
340accf46d ENH: OpenCFD: naming regions 2014-01-28 10:13:05 +00:00
mattijs
a643ad71eb ENH: simpleShapes: no need for naming of patches 2014-01-27 15:24:25 +00:00
mattijs
8acfa4692a STYLE: snappyHexMeshDict: removed optional parameter 2014-01-27 12:25:56 +00:00
mattijs
e3a3e78f07 Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-23 16:50:46 +00:00
mattijs
de78cf6901 GIT: OpenCFD: removed boundary file 2014-01-23 14:53:28 +00:00
mattijs
3e414187fc ENH: simpleShapes: add additional collapsing 2014-01-23 13:00:00 +00:00
mattijs
7899cd77b7 BUG: blob: clean up correctly 2014-01-23 12:19:09 +00:00
Henry
a7ad50ce7d VoF tutorials: changed interfaceCompression to linear
This provided greater accuracy and stability while MULES guarantees boundedness
2014-01-23 11:30:45 +00:00
Henry
36f3e513ea sixDoFRigidBodyMotion: Update code and tutorial cases to use new explicit motion
simpleHarmonicMotion case removed temporarily pending the introduction of a suitable motion solver
2014-01-23 11:24:50 +00:00
andy
e7201c0326 ENH: tutorial updates 2014-01-20 16:25:13 +00:00
mattijs
a271e98077 ENH: mixerVessel: use smoothSolver for transported quantities 2014-01-20 12:15:53 +00:00
mattijs
9bfa86e3fb ENH: mixerVessel: undo rotation of decomposition 2014-01-20 12:14:33 +00:00
mattijs
d950be041b ENH: mixerVessel: reverted AMI specification 2014-01-20 12:08:32 +00:00
mattijs
2f220e103d STYLE: Allrun: comment 2014-01-16 12:36:25 +00:00
mattijs
e86d044b7a ENH: mixerVessel: original geometry 2014-01-16 12:35:29 +00:00
andy
6c7879f300 ENH: mixerVessel turorial update 2014-01-16 09:47:06 +00:00
andy
e18b42c881 ENH - mixer vessel - Allrun should run complete tutorial 2014-01-14 17:55:34 +00:00
andy
ae114cd9de ENH: tutorial update 2014-01-14 17:51:38 +00:00
andy
14119caa97 ENH: script update 2014-01-14 17:50:31 +00:00
mattijs
7336826eab ENH: mixerVessel: adjust deomposition to avoid baffles on processor boundaries 2014-01-13 16:23:51 +00:00
mattijs
aca704b2c1 ENH: mixerVessel: shrunk rotating surface to avoid dimples. Switch on AMI surface projection mode 2014-01-13 15:34:26 +00:00
mattijs
131a6c8c6b Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-13 15:09:47 +00:00
Henry
05a55b6c9f tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre: remove directory 102 when not needed 2014-01-13 10:00:42 +00:00
mattijs
d73a0c6a6e ENH: foamyHexMesh: add straightDuctImplicit to foamyHexMesh tutorials 2014-01-10 15:36:19 +00:00
mattijs
9fda4249f0 ENH: snappyHexMeshDict: remove debug flag 2013-12-20 12:15:32 +00:00
Henry
2612f6beac sixDoFRigidBodyMotion: Renamed constraints 2013-12-16 21:19:18 +00:00
Henry
a66979bd20 tutorials/mesh/moveDynamicMesh/simpleHarmonicMotion: update constraints 2013-12-16 10:53:55 +00:00
Henry
8af82f02bf sixDoFRigidBodyMotion: remove the constraint and restraint "Coeffs"
sub-dict and put the coefficients in the containing dictionary.
2013-12-15 22:30:52 +00:00
mattijs
5ffd600baa Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev
Conflicts:
	tutorials/mesh/foamyHexMesh/mixerVessel/system/fvSchemes
2013-12-06 17:52:34 +00:00
mattijs
bed3074127 ENH: mixerVessel: disable running; mesh only 2013-12-06 16:29:00 +00:00
Henry
3f5eda25f0 symmetryPlane: add symmetryPlane as a special type of symmetry condition applied to a single plane
The standard/previous general symmetry type is now named symmetry
    both in class and lookup name for consistency.  The rigorous
    symmetryPlane type is needed for moving-mesh cases in which the
    motion it constrained by one or two planes.
2013-12-06 15:45:11 +00:00
Henry
182f46b357 foamyHexMesh/mixerVessel: correct links to be local 2013-09-27 22:46:46 +01:00
laurence
74d43602f7 ENH: foamyHexMesh: Update mixer vessel tutorial 2013-09-27 15:23:33 +01:00
laurence
fab029fb5f ENH: foamyHexMesh: Add new mixerVessel tutorial with baffles 2013-09-27 13:00:17 +01:00
laurence
686e520611 TUT: foamyHexMesh flange tutorial update 2013-09-26 14:16:18 +01:00
laurence
974e509eb4 ENH: surfaceIntersection: Change error to warning 2013-09-26 14:15:19 +01:00
laurence
615a74626e ENH: foamyHexMesh: Include baffle handling 2013-09-25 12:37:19 +01:00
mattijs
5063ff7e1c ENH: flange: include foamyHxMeshDict 2013-09-17 09:36:44 +01:00
mattijs
7a0d73e94e ENH: Allrun: added comment 2013-09-10 12:09:58 +01:00
Henry
51f085faa5 Rewrite of ddtPhiCorr - ddtCorr and density-weight HbyA on compressible solvers.
For DyM solvers phiAbs is replaced by Uf but this conversion is currently not complete
2013-09-09 12:41:20 +01:00
Henry
442a30e529 foamyHexMesh/flange/Allclean: Remove 0 directory 2013-08-20 11:34:13 +01:00
laurence
adf1fb11e0 TUT: Update flange test in tutorial and remove flange.obj 2013-08-20 10:39:13 +01:00
Henry
03c07e8689 tutorials/mesh/foamyHexMesh/mixerVessel: Reconstruct mesh after parallel generation 2013-08-19 14:14:38 +01:00
Henry
12539b23c5 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2013-08-15 17:03:57 +01:00
laurence
77b7a4d88b STYLE: foamyHexMesh: Update Allclean tutorial scripts 2013-08-15 12:02:17 +01:00
Henry
b9f9598725 tutorials/mesh/foamyHexMesh/flange: Add flange.obj as required by the mesher 2013-08-15 10:34:57 +01:00
Henry
cd8c83ca93 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2013-08-15 10:31:41 +01:00
Henry
d986830a24 tutorials/mesh/foamyHexMesh/mixerVessel: use hierarchical rather than scotch for decomposition due to bugs in scotch 2013-08-15 10:31:31 +01:00
laurence
31c5a8ebeb BUG: foamyHexMesh flange tutorial reads wrong file 2013-08-14 14:43:27 +01:00
mattijs
9ad0015d95 STYLE: boundary: remove regenerated files 2013-07-16 09:54:02 +01:00
laurence
4b750266d3 STYLE: Remove old .obj file 2013-07-11 12:38:48 +01:00
mattijs
7c081ac3e7 ENH: snappyHexMeshDict: fix header 2013-07-11 12:03:01 +01:00
mattijs
9dce138da4 ENH: foamyHexMesh: add patch type so we can run with snappyHexMesh 2013-07-11 11:48:55 +01:00
laurence
b65f2a9ee8 BUG: flange foamyHexMesh tutorial missing meshDict.geometry 2013-07-04 16:33:55 +01:00
laurence
7546c1529a BUG: searchableSurfaceControl: Correct resizing of region controls 2013-07-04 13:12:11 +01:00
mattijs
ae9d794649 BUG: flange: wrong application name 2013-07-03 12:50:53 +01:00
mattijs
f2397e7f41 ENH: snappyHexMesh: clean up mesh quality settings 2013-07-02 15:01:32 +01:00
Henry
1e81657da1 Reformat 2013-06-20 10:49:41 +01:00
laurence
805e8ead0d ENH: foamyHexMesh: Update tutorials 2013-06-14 17:03:03 +01:00
laurence
f0b562e6f3 ENH: foamyHexMesh: Update tutorials 2013-06-14 16:55:59 +01:00
laurence
7c00bbe7fa ENH: foamyHexMesh: Add mixerVessel tutorial 2013-06-05 12:19:07 +01:00
laurence
a40168675c STYLE: Change name of foamyHex2DMesh to foamyQuadMesh 2013-06-04 16:21:16 +01:00
laurence
a31cb80862 ENH: foamyHexMesh: Update simpleShapes tutorial 2013-06-04 15:50:47 +01:00
laurence
00dcfb2282 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-06-04 14:58:41 +01:00
laurence
7e9e8d3bd8 ENH: foamyHexMesh: Update blob and simpleShapes tutorials 2013-06-04 14:57:32 +01:00
laurence
96aba9e8ea ENH: foamyHexMesh: Update flange tutorial 2013-06-04 14:53:37 +01:00
laurence
9d2a0b25db ENH: Update foamyHexMesh tutorials 2013-05-31 10:36:32 +01:00
laurence
c0eb9d678f STYLE: Change cv2DMesh to foamyHex2DMesh 2013-05-16 10:29:36 +01:00
laurence
9a5b9e6ba2 ENH: Add automatic feature extraction to foamyHexMesh 2013-05-13 10:24:03 +01:00
laurence
850474d273 STYLE: Change name from cvMesh to foamyHexMesh 2013-05-10 01:00:52 +01:00
laurence
84022b6ad0 STYLE: Remove unnecessary cvMesh dictionary entries 2013-04-15 10:58:14 +01:00
laurence
15ff97d947 ENH: Update cv2DMesh tutorials 2013-03-15 15:45:00 +00:00
laurence
986532b18a ENH: cvMesh: Update tutorials 2013-02-05 16:51:37 +00:00
laurence
c0a417355d Revert "COMP: cvMesh and cv2DMesh removed"
This reverts commit e4c1409679.
2013-01-08 10:48:45 +00:00
laurence
e4c1409679 COMP: cvMesh and cv2DMesh removed 2013-01-07 16:08:56 +00:00
laurence
45ce8ab68d ENH: Update cellShapeControl to work with 2D mesher and remove dependency on the Triangulation 2013-01-04 14:30:07 +00:00
laurence
5879a730fc cv2DMesh: Initial Commit with tutorials 2013-01-03 17:07:25 +00:00
mattijs
59c1c382e4 BUG: Allrun: old subsetMesh syntax 2012-12-19 10:43:15 +00:00
laurence
33bc5f596c BUG: simpleShapes Allrun script error corrected 2012-12-13 17:25:10 +00:00
laurence
16ef46f6d7 ENH: foamRunTutorials: Enable Alltest files to be read as well as Allrun
foamRunTutorials now accepts two arguments:
-test : Preferentially execute Alltest, if present, over Allrun.
-skipFirst : Skip Alltest/Allrun at the top level to prevent recursion

Added because some tutorials are not dependent on controlDict and take
a long time.
2012-12-13 16:07:15 +00:00