Commit Graph

503 Commits

Author SHA1 Message Date
Andrew Heather
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
Andrew Heather
80f4227d40 ENH: Updated regionModels from internal development line 2015-12-02 12:21:50 +00:00
Henry Weller
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
Henry Weller
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
Henry Weller
55f7d50be1 FreeBSD sed: ensure that a "-e" option immediately follows "-i" 2015-11-14 17:03:03 +00:00
Henry Weller
d98136e122 tutorials: Removed unnecessary "boundary" files 2015-11-13 20:05:37 +00:00
Chris Greenshields
8726cf20a0 blockMeshDict files: removed redundant location entries in FoamFile headers 2015-11-13 16:09:57 +00:00
sergio
eedbd182d1 ENH: Adding solar radiation modelling and tutorial changes 2015-11-02 11:54:27 -08: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 Weller
f92d657ab7 LTS: Formalize the naming of the rDeltaT and rSubDeltaT fields
Now the specification of the LTS time scheme is simply:

ddtSchemes
{
    default         localEuler;
}
2015-06-28 21:41:40 +01:00
Henry Weller
af8185c0a6 reactingParcelFoam, coalChemistryFoam: Added LTS support
Replaces LTSReactingParcelFoam and LTSCoalChemistryFoam

    Select LTS via the ddtScheme:

        ddtSchemes
        {
            default         localEuler rDeltaT;
        }
2015-06-28 11:01:04 +01:00
Henry Weller
ca81d01ca8 LTSReactingParcelFoam: Minor improvement 2015-06-27 12:30:10 +01:00
Henry Weller
8293227964 Rationalized the LTS solvers 2015-06-16 12:42:37 +01:00
Henry
3a004fda10 fvOptions: Separate options for all cells, cellSets and inter-region coupling
by introducing rational base-classes rather than using the hideous
'switch' statement.  Further rationalization of the cell-selection
mechanism will be implemented via an appropriate class hierarchy to
replace the remaining 'switch' statement.

Mesh-motion is currently handled very inefficiently for cellSets and not
at all for inter-region coupling.  The former will be improved when the
cell-selection classes are written and the latter by making the
meshToMesh class a MeshObject after it has been corrected for mapFields.
2015-05-31 16:38:01 +01:00
Henry
c3ee2348a6 MRF: Separate MRF from fvOptions
fvOptions does not have the appropriate structure to support MRF as it
is based on option selection by user-specified fields whereas MRF MUST
be applied to all velocity fields in the particular solver.  A
consequence of the particular design choices in fvOptions made it
difficult to support MRF for multiphase and it is easier to support
frame-related and field related options separately.

Currently the MRF functionality provided supports only rotations but
the structure will be generalized to support other frame motions
including linear acceleration, SRF rotation and 6DoF which will be
run-time selectable.
2015-05-29 23:35:43 +01:00
Henry
0d69b108a2 tutorials/lagrangian/MPPICFoam: Remove spurious phi specifications in p BCs 2015-05-28 17:09:55 +01:00
Henry
1568641986 DPMFoam, MPPICFoam: Corrected contiuousPhaseName -> continuousPhaseName
Resolves second part of http://www.openfoam.org/mantisbt/view.php?id=1717
2015-05-28 17:01:18 +01:00
Henry
3bed4c91d3 MPPICFoam: Updated tutorials 2015-04-30 08:34:41 +01:00
Henry
d18d4aa08f patchInteractionDataList: Ignore empty patches 2015-04-29 23:06:09 +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
c28036665d potentialFoam: No longer executes functionObjects by default
Use the new -withFunctionObjects command-line option to execute functionObjects
2015-04-25 21:56:14 +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
ca53949d22 thermoSingleLayer: Revert q back to the working version in OpenFOAM-2.1.x
Revert changes in tutorial to correspond to the version in OpenFOAM-2.1.x
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1207
2015-03-10 19:59:09 +00:00
Henry
ed9f9e04d4 lagrangian: Completed update of phaseProperties to handle specie list mismatch
between liquid and solid mixture composition and the specie lists
defined in the thermodynamics package.

Note this does not change the current limitation that both liquid and
solid mixtures contain ALL the corresponding phase species defined in
the thermodynamics package.  However, missing species are included
automatically during construction of phaseProperties.
2015-03-07 11:51:38 +00:00
Henry
1619a27398 simplifiedSiwek: Temporarily define all gaseous species to be present
This hack will be removed when the rewrite of the parcel thermodynamics is complete.
2015-03-05 23:39:40 +00: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
77a6995346 tutorials: Simplify rhoMax and rhoMin specification 2015-02-17 10:55:02 +00:00
Henry
e26498eed3 Rationalized sprayFoam family of solvers and added sprayDyMFoam 2015-02-16 21:47:15 +00:00
Henry
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
4129560601 potentialFoam: Solve for velocity potential named Phi rather than using the pressure field for this purpose
The Phi field is read if available otherwise created automatically with
boundary conditions obtained automatically from the pressure field if
available (with optional name) otherwise inferred from the velocity
field.  Phi Laplacian scheme and solver specification are required.  See
tutorials for examples.
2015-02-14 11:03:37 +00:00
Henry
6c3d9e7574 tutorials: removed empty files 2015-02-14 10:13:55 +00:00
Henry
ec143fcdb1 tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/patchifyObstacles: another change to avoid duplicate registration 2015-02-12 22:01:06 +00:00
Henry
183615e84f tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes: Avoid using the same same for different objects in setSet 2015-02-12 16:46:37 +00:00
Henry
332c3cc37f Tutorials: change topoSetDicts to avoid duplicate names 2015-02-12 10:01:31 +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
69ff8aa4d2 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
Henry
402ce6c834 Renamed minParticleMass -> minParcelMass
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1288
2014-12-18 12:25:19 +00:00
Henry
46bf38d5de Ensure fields are initialized before mapping to avoid SIGFPE caused by uninitialized values 2014-12-16 14:32:39 +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
Henry
3bcc136458 Updated DPM and MPPIC tutorials 2014-04-29 17:40:09 +01:00
william
2044d2df8b ENH: made cyclone particles larger to compensate for drag model changes 2014-04-04 16:07:47 +01:00
william
dfd957514d BUG: divergence in cyclone tutorial fixed by turning off cellValueSourceCorrection 2014-04-04 09:27:02 +01:00
sergio
5fecd2b5dc Changing BC for U at side and front/back patches 2014-03-31 12:17:01 +01:00
william
0aa4d54666 BUG: making patchifyObstacles script POSIX compliant 2014-02-19 14:16:29 +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
william
11416d066d BUG: removed bash-dependent test for the existence of gnuplot 2014-02-05 16:20:53 +00:00
andy
3ae4a2e43c ENH: Tutorial update 2014-02-03 10:44:21 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
andy
f9f5977539 BUG: Tutorials - updated reactingParcelFoam verticalChannel fvSolution 2014-01-30 11:46:20 +00:00
Henry
205efe8627 ODE solver: change SIBS -> seulex (SIBS is deprecated) 2014-01-29 17:08:06 +00:00
william
aaa1a3dcd6 STYLE: removed explicit region name from cyclone snappy dict 2014-01-27 16:48:51 +00:00
william
3f0da4150c Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-24 16:17:58 +00:00
william
4096a013f3 ENH: MPPICFoam: Added cyclone tutorial 2014-01-24 16:13:07 +00:00
andy
9a73599edd ENH: tutorial update 2014-01-24 15:59:45 +00:00
andy
b95c4f9ee7 ENH: lagrangian tutorial updates 2014-01-24 12:38:08 +00:00
mattijs
3341e7c7c1 ENH: GAMG: use cacheAgglomeration unless moving case 2014-01-23 17:40:47 +00:00
andy
5fffbd7bc3 ENH: lagrangian tutorial updates 2014-01-22 19:19:50 +00:00
andy
8f776987df ENH: tutorial updtaes 2014-01-17 14:11:55 +00:00
william
8fd06924ef BUG: fixed incorrect particle direction in injectionChannel tutorial 2013-12-20 16:39:45 +00:00
william
005ff02085 ENH: added column, Goldschmidt and injectionChannel tutorials for MPPICFoam 2013-12-20 10:31:06 +00:00
william
5e884ea48a ENH: added DPMFoam, DPM drag models and Goldschmidt tutorial case 2013-12-16 18:16:12 +00:00
andy
203157e3e1 ENH: Tutorial updates 2013-12-09 10:20:38 +00:00
andy
3e5864be6f ENH: Tutorial update 2013-11-20 11:22:08 +00:00
andy
84e3fb4db2 ENH: Tutorial update 2013-11-19 16:38:44 +00:00
andy
3349601662 ENH: tutorial update 2013-11-19 15:35:31 +00:00
andy
ba9fbcbd4b ENH: tutorial update 2013-11-12 16:33:29 +00:00
andy
00f7b44fa1 ENH: Tutorial updates 2013-11-05 15:22:35 +00:00
Henry
72d5e471f8 Merge branch 'master' of ssh://opencfd:8007/home/dm4/OpenFOAM/OpenFOAM-dev 2013-10-11 22:15:38 +01:00
Henry
c7174c0302 Updated schemes 2013-10-11 22:15:15 +01:00
andy
fd9d4dad31 ENH: Tutorial updates 2013-10-11 11:54:05 +01:00
Henry
9d45269abc chemistryModel: Remove support for the sequential solver and rationalise EulerImplicit 2013-10-02 08:37:55 +01:00
Henry
131f1daa61 chemistryModel: rewrite main solver loop and update chemistrySolvers
accordingly to reuse the estimated sub-time-step more effectively
2013-10-01 17:58:26 +01:00
Henry
a02a1ba64d Updated counterFlowFlame2D tutorials to run laminar 2013-09-27 12:43:28 +01:00
andy
2d7959ec46 BUG: hotBoxes tutorial - updated patchifyObstacles script - mantis #1007 2013-09-17 18:06:55 +01:00
mattijs
1348eabe3b BUG: changeDictionary: reset fields to uniform 2013-09-13 11:35:03 +01:00
mattijs
2dae4cefa1 ENH: hotBoxes: make uniformFixedValue 2013-09-13 11:07:44 +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
andy
d7f67c78b1 ENH: Tutorial update 2013-08-28 10:44:09 +01:00
andy
35aba04b2a Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-08-23 10:56:44 +01:00
andy
d021166d87 ENH: Tutorial update 2013-08-23 10:56:34 +01:00
Henry
e4f8804a37 counterFlowFlame2D: make tutorials consistent 2013-08-22 16:53:02 +01:00
andy
fa34e2aeaf ENH: Tutorial update 2013-08-13 17:28:20 +01:00
andy
02bb584fca ENH: tutorial updates 2013-08-13 14:16:05 +01:00
mattijs
c4a65259ad GIT: boundary: remove usued file 2013-08-07 11:27:34 +01:00
andy
4e91dd46a8 ENH: Removed unused files 2013-08-05 12:36:10 +01:00
andy
63de0dfa84 BUG: sprayFoam tutorial - corrected injection input params - mantis #931 2013-07-29 09:19:16 +01:00
Henry
14c3689fec epsilon/omega: ensure non-0 values are set on all boundaries 2013-06-20 16:33:15 +01:00
Sergio Ferraris
fd5cbde3a4 BUG: Fixing solidProperties New construtctor when defaultCoeffs is false 2013-06-20 12:36:28 +01:00
mattijs
c253f7c387 ENH: hopper: removed patch interaction (done through springSliderDashpot) 2013-06-17 17:30:53 +01:00
andy
d568f1bf6e ENH: Tutorial updates 2013-05-28 17:36:10 +01:00
andy
599a5f1d8d ENH: tutorial updates 2013-05-03 12:17:12 +01:00
Henry
48272dc5ab alphatWallFunctions: add "compressible::" qualifier to compressible alphat wall-functions 2013-04-10 17:04:49 +01:00
andy
0cc8a4f816 ENH: Updating changes from 2.2.0 2013-03-07 12:55:52 +00:00
andy
70dddc08a0 ENH: Tutorial update 2013-02-18 16:43:00 +00:00
sergio
acd5b1f089 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-02-08 11:25:27 +00:00