Commit Graph

512 Commits

Author SHA1 Message Date
Henry Weller
c983670c91 functionObjects: Changed options 'outputControl' -> 'writeControl' and 'outputInterval' -> 'writeInterval'
for consistency with the time controls in controlDict and to avoid
unnecessary confusion.  All code and tutorials have been updated.

The old names 'outputControl' and 'outputInterval' are but supported for
backward compatibility but deprecated.
2016-05-12 11:38:11 +01:00
Henry Weller
1b34231340 tutorials: Renamed .org -> .orig
See http://www.openfoam.org/mantisbt/view.php?id=2076
  - .org is the file extension for emacs org-mode as well
  - .orig is more to the point (.org isn't always recognized as "original")
  - .original is too long, although more consistent with the convention
    of source code file naming

Update script contributed by Bruno Santos
2016-04-30 21:53:50 +01:00
Henry Weller
88561eea95 plenumPressureFvPatchScalarField: New plenum pressure boundary condition
This condition creates a zero-dimensional model of an enclosed volume of
gas upstream of the inlet. The pressure that the boundary condition
exerts on the inlet boundary is dependent on the thermodynamic state of
the upstream volume.  The upstream plenum density and temperature are
time-stepped along with the rest of the simulation, and momentum is
neglected. The plenum is supplied with a user specified mass flow and
temperature.

The result is a boundary condition which blends between a pressure inlet
condition condition and a fixed mass flow. The smaller the plenum
volume, the quicker the pressure responds to a deviation from the supply
mass flow, and the closer the model approximates a fixed mass flow. As
the plenum size increases, the model becomes more similar to a specified
pressure.

The expansion from the plenum to the inlet boundary is controlled by an
area ratio and a discharge coefficient. The area ratio can be used to
represent further acceleration between a sub-grid blockage such as fins.
The discharge coefficient represents a fractional deviation from an
ideal expansion process.

This condition is useful for simulating unsteady internal flow problems
for which both a mass flow boundary is unrealistic, and a pressure
boundary is susceptible to flow reversal. It was developed for use in
simulating confined combustion.

tutorials/compressible/rhoPimpleFoam/laminar/helmholtzResonance:
    helmholtz resonance tutorial case for plenum pressure boundary

This development was contributed by Will Bainbridge
2016-04-23 13:43:49 +01:00
mattijs
bcb17b23b1 ENH: createPatch: removed createPatch after snappyHexMesh to remove zero-sized patches
This is now handled inside snappyHexMesh with the keepPatches setting.
2016-06-22 11:21:00 +01:00
andy
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
Henry Weller
f8aa84e5c1 tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff: Updated for change in U boundary condition update order 2016-02-18 21:15:57 +00:00
Henry Weller
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Henry Weller
daf44fda3d tutorials and templates: Updated wall BC for velocity to noSlip 2016-02-09 20:08:34 +00:00
Henry Weller
d64e8f1414 tutorials/compressible/rhoPimpleFoam/ras/angledDuct: Updated for change in U boundary condition update order 2016-02-08 18:40:54 +00:00
Andrew Heather
f0c3e8d599 STYLE: Updated version to 'plus' 2015-12-22 23:14:17 +00:00
sergio
cf97c5d71c BUG: Changing relaxation factors of angledDuctExplicitFixedCoeff.
Adding boundary file from our dev to incompressible/simpleFoam/airFoil2D
     Adding missing boundaryRadiationProperties  combustion/fireFoam/les/flameSpreadWaterSuppressionPanel
2015-12-14 09:36:42 -08:00
Andrew Heather
5c9dff6146 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
Andrew Heather
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +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
ad24568623 Redundant boundary.org files removed from tutorial cases 2015-11-13 16:59:58 +00: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
722a824b44 tutorials/compressible/rhoSimpleFoam/squareBend: update application 2015-07-05 18:23:05 +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
4180b6857d rhoPimpleFoam: Added run-time selectable LTS support replacing rhoLTSPimpleFoam
Select LTS via the ddtScheme:

        ddtSchemes
        {
            default         localEuler rDeltaT;
        }
2015-06-27 22:08:43 +01:00
Henry Weller
8fc3d158ff rhoSimpleFoam: Added "consistent" option to replace rhoSimplecFoam
See tutorials/compressible/rhoSimpleFoam/squareBend

SIMPLE
{
    nNonOrthogonalCorrectors 0;
    rhoMin          0.1;
    rhoMax          1.0;
    transonic       yes;
    consistent      yes;

    residualControl
    {
        p               1e-3;
        U               1e-4;
        e               1e-3;

        // possibly check turbulence fields
        "(k|epsilon|omega)" 1e-3;
    }
}

relaxationFactors
{
    fields
    {
        p               1;
        rho             1;
    }
    equations
    {
        p               1;
        U               0.9;
        e               0.9;
        k               0.9;
        epsilon         0.9;
    }
}
2015-06-27 17:42:59 +01:00
Henry Weller
8cad93c724 rhoPimpleFoam: Added "consistent" option to replace rhoPimplecFoam
e.g. in tutorials/compressible/rhoPimpleFoam/ras/angledDuctLTS

PIMPLE
{
    momentumPredictor   yes;
    transonic           no;
    nOuterCorrectors    50;
    nCorrectors         1;
    nNonOrthogonalCorrectors 0;
    consistent          yes;

    rhoMin          0.5;
    rhoMax          2.0;

    residualControl
    {
        "(U|k|epsilon)"
        {
            relTol          0;
            tolerance       0.0001;
        }
    }

    turbOnFinalIterOnly off;
}

relaxationFactors
{
    fields
    {
        "p.*"           0.9;
        "rho.*"         1;
    }
    equations
    {
        "U.*"           0.9;
        "h.*"           0.7;
        "(k|epsilon|omega).*" 0.8;
    }
}
2015-06-27 16:26:51 +01:00
Henry Weller
38e200ce83 tutorials/compressible/rhoCentralFoam/biconic25-55Run35: Change to LTS 2015-06-27 15:33:48 +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
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
35d8078251 rhoCentralDyMFoam: Add support for morphing-meshes and provide movingCone tutorial case 2015-02-25 12:20:12 +00:00
Henry
f6e868e1f7 tutorials/compressible/sonicDyMFoam/movingCone: sonic version of the pimpleDyMFoam/movingCone tutorial 2015-02-22 16:53:33 +00:00
Henry
5ecfb06398 tutorials: remove unnecessary under-relax fields entry 2015-02-22 16:52:21 +00:00
Henry
77a6995346 tutorials: Simplify rhoMax and rhoMin specification 2015-02-17 10:55:02 +00:00
Henry
af3f566cb3 tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit: simplify rhoMax and rhoMin specification 2015-02-17 10:49:07 +00:00
Henry
78ca0ce02c Add simulationType entry even for simpleFoam cases
so that generic utilities like yPlus select the appropriate turbulence model
2015-01-21 21:08:19 +00:00
Henry
46b2417f12 Remove references to mut and muSgs 2015-01-21 19:52:42 +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
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
6a51cc3cbb tutorials: use PIMPLE rather than PISO for rotating mesh problems to ensure updated fluxes are used for momentum transport 2014-07-17 11:34:39 +01:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
Henry
bd5e4cf172 Default transport solver: change from PBiCG to smoothSolver with symGaussSeidel smoother
Better for most but not all cases.
2014-02-04 16:27:35 +00:00
Henry
d25d7b28f5 symmetryPlane -> symmetry 2014-02-01 17:37:16 +00:00
mattijs
1f192f8b73 ENH: snappyHexMesh: have single region surface named as <surface> instead of <surface>_<region> 2014-01-27 12:44:45 +00:00
mattijs
8acfa4692a STYLE: snappyHexMeshDict: removed optional parameter 2014-01-27 12:25:56 +00:00
mattijs
3341e7c7c1 ENH: GAMG: use cacheAgglomeration unless moving case 2014-01-23 17:40:47 +00:00
Henry
cd33aa2ae1 tutorials/compressible/rhoPimpleFoam/les/pitzDaily: change from h to e to avoid instabilities from dp/dt
Also updated schemes and BCs
2014-01-23 16:59:40 +00:00
mattijs
c32add9e90 ENH: edgeMesh: added extendedEdgeMesh 2013-12-13 15:35:24 +00:00
mattijs
5552d5500b ENH: angledDuct: renamed wall to walls 2013-12-13 14:34:08 +00:00
mattijs
86233780e3 ENH: annularThermalMixer: renamed wall to walls 2013-12-13 14:31:34 +00:00
mattijs
9d2e472a5a ENH: angledDuct: renamed wall to walls 2013-12-13 13:09:31 +00:00
mattijs
a5e3f89b0e ENH: biconic25-55Run35: add overwrite flag to collapseEdges 2013-10-24 10:46:40 +01:00
Henry
6ece4921f1 Corrected psi 2013-10-10 12:32:48 +01:00
Henry
e42af28f7d Updated tutorial 2013-10-01 11:29:32 +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
mattijs
c4a65259ad GIT: boundary: remove usued file 2013-08-07 11:27:34 +01:00
Henry
f75138d1f6 solidBodyMotionFunctions: Changed CofG to origin where appropriate and support run-time selectable omega specification in rotatingMotion 2013-07-30 09:41:27 +01:00
mattijs
9ad0015d95 STYLE: boundary: remove regenerated files 2013-07-16 09:54:02 +01:00
Henry
14c3689fec epsilon/omega: ensure non-0 values are set on all boundaries 2013-06-20 16:33:15 +01:00
Henry
32e26ac2db rhoPimpleDyMFoam/annularThermalMixer: new tutorial 2013-04-29 15:25:50 +01:00
Henry
48272dc5ab alphatWallFunctions: add "compressible::" qualifier to compressible alphat wall-functions 2013-04-10 17:04:49 +01:00
sergio
20cfa7c6ae BUG: Correcting axesRotation.C virtual member functions and
tutorials using coordinates systems dictionary
2013-02-07 11:32:40 +00:00
mattijs
bbee49b8f6 BUG: fvOptions: comment line 2013-02-01 17:39:27 +00:00
Henry
8bcb8132bf Update tutorials 2013-01-25 12:43:07 +00:00
andy
6562441220 ENH: Made fvOptions consistent with old porousZones input settings 2013-01-22 09:12:30 +00:00
andy
dbd59096e7 ENH: Tutorial updates 2013-01-21 17:53:42 +00:00
andy
2ee940af19 ENH: removed unused file 2013-01-21 17:40:52 +00:00
andy
863f2fd74f ENH: Tutorial update 2013-01-21 17:28:33 +00:00
andy
c6bfa19a30 ENH: Tutorial update 2013-01-21 16:52:48 +00:00
andy
03ee3a5046 GIT: merge conflict resolution 2013-01-21 16:48:22 +00:00
andy
c71cfa3d3b ENH: Tutorial updates - porosityProperties->fvOptions 2013-01-21 16:29:07 +00:00
laurence
b8bace6cd8 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-01-21 14:40:37 +00:00
laurence
4256e0a770 ENH: edgeCollapser: Make mesh checking optional and set default values for dictionary
Update biconic25-55Run35 tutorial with simplified collapseDict
2013-01-21 14:39:16 +00:00
sergio
9692a52e3a ENH: Update tutorials using coordinate systems for porosity models 2013-01-21 12:37:54 +00:00
andy
ba391381ab STYLE: minor input file change 2013-01-21 11:40:20 +00:00
laurence
32d358e4c3 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-01-20 15:25:30 +00:00
laurence
b8b8f50d2c BUG: Update biconic25-55Run35 tutorial to run with latest version of collapseEdges 2013-01-20 15:23:38 +00:00
andy
985219c0ff ENH: Tutorial file updates 2013-01-09 14:05:53 +00:00
andy
d1bd734059 ENH: Updated tutorial files 2013-01-08 09:50:59 +00:00
andy
e2955dd6f7 ENH: Tutorial updates for run-time selectable sources 2012-12-18 09:30:47 +00:00
Henry
db89978ade Updated headers for Laurence and Andy 2012-12-17 11:42:00 +00:00
andy
71abedf412 ENH: Tutorial updates 2012-12-10 15:34:45 +00:00
andy
74e2acbc22 ENH: Tutorial updates 2012-12-06 15:48:25 +00:00
andy
28c883564a ENH: Tutorial updates 2012-12-06 11:07:05 +00:00
andy
26b17afe44 ENH: Tutorial updates 2012-12-06 10:28:19 +00:00
andy
d55ca09465 ENH: Tutorial update 2012-12-06 10:13:14 +00:00
andy
e733e7ba1c EMH: Added file missed during commit #c0dbc94 2012-12-05 17:51:04 +00:00
andy
7769292a33 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-12-05 17:43:19 +00:00
andy
c0dbc94b8a ENH: Updated rhoLTSPimpleFoam angledDuct tutorial case 2012-12-05 17:41:43 +00:00
andy
811740ceaa ENH: Moved/translated rhoPorousMRFPimpleFoam/mixerVessel2D tutorial to rhoPimpleFoam/mixerVessel2D 2012-12-05 17:30:08 +00:00
andy
ef1d4a2a96 ENH: Updated/created tutorial for rhoSimpleFoam 2012-12-05 17:01:58 +00:00
andy
78181c2629 ENH: Updated rhoPorousSimpleFoam tutorials 2012-12-05 16:36:06 +00:00
Henry
acbbaf3f4d tutorials: Updated "limited" snGrad schemes 2012-12-05 14:58:42 +00:00
andy
2c8acfb455 ENH: Tutorial updates re: temperature constraint 2012-11-19 14:46:11 +00:00
andy
acc5bb0fc7 ENH: Tutorial updates 2012-11-16 14:50:28 +00:00
andy
af35662c5c ENH: Tutorial update 2012-11-16 13:05:46 +00:00
Henry
7334d08af9 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2012-11-05 15:17:17 +00:00
Henry
9ef3301748 Thermodynamics: Added phaseName option to the constructors and selectors of all thermo packages 2012-11-05 15:17:02 +00:00
andy
dec670d2f3 ENH: Updated MRF tutorials 2012-10-30 08:22:11 +00:00
andy
182f660634 ENH: Updates to tutorial Allrun scripts 2012-10-26 10:27:30 +01:00
andy
75f666c74a ENH: added porosiyty tutorial using fixed coefficients 2012-10-23 12:28:55 +01:00
andy
f54a12e32a ENH: Tutorial updates 2012-10-19 13:54:41 +01:00
andy
97ac66ad9e ENH: Updated porosity-based tutorials 2012-10-18 17:31:11 +01:00
Henry
657863b007 sonicFoam: Update tutorials 2012-10-12 11:16:25 +01:00
Henry
9b1ed88057 rhoPimpleFoam/les/pitzDaily: Update thermophysicalProperties 2012-10-12 11:16:13 +01:00
Henry
6119938615 sonicFoam shockTube tutorial: updated for new Eeqn 2012-10-11 18:11:50 +01:00
Henry
015d1fb1bf thermophysicalProperties: added demo of dictionary tree lookup 2012-10-11 18:11:21 +01:00
Henry
9bf80af379 Thermodynamics: Update selection mechanism for reaction and chemistry thermodynamics 2012-09-30 21:27:18 +01:00
Henry
5e59b510e6 Thermodynamics: Updated tutorials to use the new dictionary based thermo package selection mechanism 2012-09-27 16:49:45 +01:00
Henry
ef8b6810f2 Thermodynamics: add specie type as argument to the "makeThermo" macros
Added "8" as the default Order of polynomial thermodynamic functions
2012-09-25 18:09:05 +01:00
Henry
f1bfeba127 Thermodynamics: rename specieThermo -> species::thermo and create the species namespace
Also remove the "<thermo" part of the names of thermodynamics packages
2012-09-24 15:37:36 +01:00
Henry
78121bac4a Solvers: Updated to solve EEqn rather than h,hs,eEqn 2012-09-22 16:34:20 +01:00
Henry
a114345eab Thermodynamics and sub-models: Removed "Sp" boundedness corrections on transport, replaced with "bounded Gauss" scheme 2012-09-21 14:34:42 +01:00
mattijs
cbdba6b471 GIT: revert: revert bad commit b6c4e144c4 2012-09-20 15:19:25 +01:00
mattijs
dfa74d978c ENH: flowRateInletVelocity: different keywords for volumetric and mass 2012-09-20 14:21:40 +01:00
Henry
dbe48b482c Thermodynamics: Changed all eEqn to EEqn and reformulated to conserve E in sonic solvers
To support these changes the need for "Sp" corrections on div-terms has been
eliminated by introducing a "bounded" convection scheme which subtracts the Sp
term from the selected scheme.  The equivalent will be needed for the ddt term.

A warning message is generated for steady-state solvers in which the "bounded"
scheme is not selected for the convection terms.
2012-09-19 12:49:07 +01:00
Henry
8609c83645 Thermodynamics: Initialized dpdt to 0 and added a switch on update
so that the effect of the term on the enthalpy equation is optional
2012-09-13 11:25:55 +01:00
Henry
7eef5af786 sonicFoam: change internal energy equation formulation to conserve total energy 2012-09-12 15:36:39 +01:00
mattijs
ea0ba70e7a Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-08-03 17:37:18 +01:00
mattijs
e316a4d647 GIT:0/Ma: postprocessing file 2012-08-03 15:22:40 +01:00
Henry
6db2e55ab0 tutorials: Removed unmaintained files and unused dictionary entries 2012-08-02 15:30:10 +01:00
Henry
30eba3882a Tutorials: Removed unmaintained files 2012-08-02 13:37:15 +01:00
mattijs
a0a0f89017 ENH: blockMeshDict: use new boundary syntax 2012-07-25 12:22:35 +01:00
Henry
df152c1ca4 sonicFoam/ras/prism/constant/thermophysicalProperties: Corrected choice of thermodynamics 2012-07-24 16:42:29 +01:00
Henry
5cb555db9e Tutorials: Corrected selection of thermodynamics packages 2012-07-24 15:36:51 +01:00
Henry
0f03a90a69 rhoCentralFoam/biconic25-55Run35: Reduced the Courant number to improve boundedness and stability 2012-07-20 16:54:08 +01:00
Henry
63da3e9afc Thermodynamics: Rationalization
At the specie level:
    hs = sensible enthalpy
    ha = absolute (what was total) enthalpy
    es = sensibly internal energy
    ea = absolute (what was total) internal energy

At top-level
    Rename total enthalpy h -> ha
    Rename sensible enthalpy hs -> h

Combined h, hs, e and es thermo packages into a single structure.

Thermo packages now provide "he" function which may return either enthalpy or
internal energy, sensible or absolute according to the run-time selected form

alphaEff now returns the effective diffusivity for the particular energy which
the thermodynamics package is selected to solve for.
2012-05-30 15:19:38 +01:00
Henry
e5cd8fff64 compressible solvers: renamed Kp -> Ekp (kinetic + pressure energy) 2012-05-04 16:20:11 +01:00
Henry
f36879826e rhoPimplecFoam: setup tutorial consistent with rhoPimpleFoam 2012-05-03 15:18:50 +01:00
Henry
b55941c07f compressible solvers: Name pressure diffusivity Dp 2012-05-03 14:15:15 +01:00
Henry
26c9d330e7 rhoPimplecFoam: New compressible solver featuring PIMPLEC 2012-05-03 14:14:40 +01:00
Henry
ac9203e1b8 rhoSimplecFoam: Added coupled-patch handling to H1 to support parallel running 2012-05-02 10:53:29 +01:00
Henry
28762dc468 Removed trailing whitespace 2012-04-19 14:17:30 +01:00
sergio
47355f43e4 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-04-13 16:31:37 +01:00
sergio
48c70a91df ENH: Adding dimensioSet to DataEntry and modify MRFZone entry types 2012-04-13 16:31:07 +01:00
Henry
fca4d338ea rhoSimplecFoam/squareBend: Update tutorial for latest version of rhoSimplecFoam 2012-04-04 17:44:42 +01:00
andy
2dc13eb942 ENH: tutorialse: use orthogonal scheme on orthogonal meshes 2011-12-16 15:30:58 +00:00
Henry
e58c1a9d77 rhoCentralFoam tutorials: move All.* scripts into each case 2011-11-28 16:16:59 +00:00
Henry
70592ba210 Tutorials: updates to run with the latest developments 2011-11-28 16:15:42 +00:00
Henry
fc6049ab3f Thermodynamics: Further changes relating to the total energy sources for the enthalpy equation 2011-11-24 08:33:05 +00:00
Henry
dc810ea88d Thermodynamics: Completed most of the conversion of the enthalpy source 2011-11-23 16:56:13 +00:00
Henry
3c7dc0e20a Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2011-11-22 17:55:13 +00:00
Henry
96068a670d Thermodynamics: Changed h-eqn to conserve total energy 2011-11-22 17:54:13 +00:00
andy
6b71297665 ENH: tutorial input file updates related to DataEntry changes 2011-11-21 18:38:47 +00:00
Henry
991a0366ba gcc: 4.6.1 is now the default 2011-10-19 12:19:56 +01:00
andy
f4f078b979 ENH: Updated tutorial fvSolution files to employ updated solution ctrl params 2011-09-09 14:36:28 +01:00
andy
4f40cdb7d7 GIT: Resolve conflict 2011-08-16 16:09:56 +01:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
OpenFOAM-admin
c720299876 ENH: Reverted back to version dev 2011-06-17 10:08:20 +01:00
Henry
0ee842a113 rhoPimpleFoam/ras/angledDuct tutorial: under-relax U,h,etc. on last iteration also 2011-06-13 17:17:30 +01:00
andy
050bcfafb3 GIT: Conflict resolution 2011-06-08 16:34:27 +01:00
andy
29c485361a STYLE: renamed version 2.0 -> 2.0.0 2011-06-08 16:31:07 +01:00
Henry
6038d5b02b tutorials: Updated run and clean scripts and corresponding 0 directories 2011-06-08 16:28:18 +01:00
andy
d2d91bb84f STYLE: Updated tutorial headers to version 2.0 2011-06-07 11:18:46 +01:00
andy
57f6a904ec ENH: Updated tutorial thermo files 2011-05-27 17:33:41 +01:00
Henry
b6f8897268 tutorials: Upgraded all of the blockMeshDict files to the new format
Upgraded other files as necessary for consistency with the blockMeshDict, in
particular cases with cyclic patches.
2011-05-26 12:43:16 +01:00
andy
a81bfbfa09 ENH: Tutorial updates 2011-05-12 12:17:39 +01:00
Henry
e3eae71014 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2011-04-28 21:14:18 +01:00
Henry
24adaa0e1d Updated tutorials 2011-04-28 21:14:13 +01:00
mattijs
eaa2a9f1b5 COMP: tutorial scripts: add #!/bin/sh, chmod +x etc. 2011-04-28 17:47:11 +01:00
andy
335da20074 ENH: changed absTol->tolerance for consistency with solvers 2011-04-20 12:59:08 +01:00
Henry
f8f575e23c Tutorial solvers and mesh converters moved to applications 2011-04-19 23:20:18 +01:00
andy
154761a3a1 ENH: Updated tutorials 2011-04-15 16:46:35 +01:00
andy
e7c75377ce ENH: Updated tutorial to use pimpleControl functionality 2011-04-13 17:21:51 +01:00
andy
44aae9f765 Merge branch 'olesenm' 2011-04-05 10:04:51 +01:00
Henry
19c08b9e5a tutorials: Set the file type to ascii for ascii files 2011-03-31 15:32:07 +01:00
Mark Olesen
3177e81566 ENH: adjust thermalPorousZone to match documentation
eg, dictionary entry:

        thermalModel
        {
            type        none; // fixedTemperature;
            // fixedTemperature coefficients
            T           350;
        }

A missing thermalModel is treated as 'none'
2011-03-31 13:53:48 +02:00
Henry
b33c31ebf1 rhoPorousMRFLTSPimpleFoam: Added porosity and MRF support in rhoLTSPimpleFoam 2011-03-30 15:43:23 +01:00
Henry
5ec353c85c tutorials: Updated PIMPLE settings and corrected application 2011-03-26 21:49:23 +00:00
Henry
a4e25e5155 rhoLTSPimpleFoam: New solver and test case.
Supports local time-stepping for steady solution.
2011-03-25 14:25:06 +00:00
Henry
a93e63e7b7 tutorials: use getApplication rather than hard-coded application name 2011-03-25 12:06:18 +00:00
Henry
e1c9f43c08 tutorials: Use getApplication to set the application rather than hard-coding it 2011-03-24 21:42:09 +00:00
Henry
7db4078ac0 rhoPorousMRFSimpleFoam/angledDuctImplicit tutorial: added MRFZones dictionary 2011-03-24 21:41:25 +00:00
Henry
76981e8770 rhoPorousMRFSimpleFoam: Added MRF support to rhoPorousSimpleFoam 2011-03-17 16:03:06 +00:00
Henry
a302f0637f shockTube tutorial: removed spurious surface specification in sampleDict 2011-03-17 15:15:05 +00:00
Henry
b6cd0b135f Resolved confict 2011-03-17 15:07:06 +00:00
Henry
80393339a9 Upgrade of compressible solvers merging in developments from OpenFOAM-1.7.x 2011-03-17 15:03:15 +00:00
andy
58e2a245df ENH: Updates to sample dictionaries 2011-03-17 10:55:57 +00:00
andy
6ffbe0553c ENH: Updated tutorial fvSchemes for transpose operator 2011-01-18 15:24:30 +00:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
Henry
0a6c711664 Tutorials: removed all references to metis to protect the innocent from persecution. 2011-01-07 12:01:08 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
Mark Olesen
6091cdb0a5 BUG: incorrect log-check in runParallel (RunFunctions)
STYLE: minor rewording, drop grep/sed in favour of sed only
2011-01-02 18:42:26 +01:00
andy
8962878a1c STYLE: Updated tutorial foam headers back to dev (from dev.localBranchName) 2010-10-18 13:13:21 +01:00
andy
b4e91aa468 Merge branch 'master' into dicts 2010-10-14 10:10:04 +01:00
andy
1970573609 STYLE: Misc coding cosmetics 2010-10-13 18:20:14 +01:00
mattijs
84ddfa8391 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-10-13 11:06:20 +01:00
mattijs
2a90d8638f STYLE : datToFoam : removed unused include files 2010-10-13 11:01:57 +01:00
andy
efe68b6ce6 Merge branch 'master' into dicts 2010-10-12 16:59:10 +01:00
Henry
b7705de2ef Deleted rhoSonicFoam and rhopSonicFoam 2010-10-12 14:48:13 +01:00
andy
265ed0f033 ENH: Updated tutorial thermo props 2010-10-12 14:15:11 +01:00
andy
9b87336b3f COMP: merge conflict 2010-10-11 17:59:46 +01:00
andy
806dfc707f ENH: tutorial thermo input updates 2010-10-11 17:42:47 +01:00
andy
ee046de0e1 ENH: tutorial updates 2010-10-08 17:51:13 +01:00
andy
611a107bfd ENH: Multiple tutorial updates 2010-10-07 17:17:48 +01:00
andy
d8cb793e36 ENH: Added Allrun script to rhoPimpleFoam tutorial to generate mesh 2010-10-07 17:12:27 +01:00
andy
b362957124 ENH: Multiple tutorial updates 2010-10-07 13:52:51 +01:00
Henry
d3f0b7a06b Documentation: Added skeleton ReleaseNotes-dev 2010-10-06 12:05:25 +01:00
graham
ed314b62bc STYLE: Removed unused dynamicMeshDicts. 2010-09-20 17:36:41 +01:00
mattijs
b8216e22a4 COMP: makeMesh script not posix 2010-08-18 14:10:22 +01:00
mattijs
9e7cb86097 ENH: proper restart for maxWellU bc 2010-08-03 14:07:16 +01:00
graham
49a853116a STYLE: copyright and 80 char line fixes. 2010-07-27 15:45:43 +01:00
graham
67136c25ee STYLE: Remove tabs. 2010-07-27 12:24:27 +01:00
henry
ccfb6e32a6 Corrected headers. 2010-06-23 16:54:54 +01:00
Mark Olesen
895a077cb1 STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
henry
361b153343 Final iteration information now available in mesh::data (used to be mesh::fvData)
Relaxation and solution parameters for the final iteration in PIMPLE loops are
now selected according to the value of the "finalIteration" entry in the
mesh::data dictionary.

rhoPimpleFoam significantly updates and now replaces rhoPisoFoam.
2010-05-25 18:45:25 +01:00
mattijs
c367e07642 ENH: Converted all cellSet/faceSet/pointSet to topoSet. 2010-05-10 17:17:49 +01:00
henry
4437361674 thermodynamicProperties: Added comment to explain the "normalisedGas" used. 2010-04-19 12:05:25 +01:00
Mark Olesen
f7b0b7ca71 STYLE: drop 'getopt' in favour of hand-rolled option parsing
- improves flexibility and allows more consistent long options
2010-04-09 16:55:47 +02:00
Mark Olesen
3fef72510e STYLE: use switch value for 'writeCompression' in controlDict's
- simpler/clearer to use "on/off" instead of "compressed/uncompressed"
2010-04-09 13:12:35 +02:00
Mark Olesen
10141f907b STYLE: use dict entry for function objects in controlDict 2010-04-09 12:23:25 +02:00
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
henry
4f926a376f New solver: rhoPorousMRFPimpleFoam
Added compressibility support to MRFZone.
Required generalisation of the oneField concept.
Also clean-up the use of one and zero for consistency.
Simple mixerVessel2D tutorial case supplied.
2010-03-19 17:54:35 +00:00
Mark Olesen
6b6dd51a27 STYLE: more consistent shell style in tutorial run/clean scripts 2010-03-10 10:55:42 +01:00
Mark Olesen
2f4efd20d7 STYLE: rename starToFoam -> star3ToFoam for the sake of clarity 2010-02-16 18:40:10 +01:00
Mark Olesen
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
Mark Olesen
fa93ce8cd7 coding style adherence
- markup codingStyleGuide.org examples so they actually indent correctly

- use 'Info<<' as per codingStyleGuide instead of 'Info <<'
2009-11-27 15:39:14 +01:00
henry
06eb5b7477 Added preliminary version of the rhoSimplecFoam code and tutorial case.
This currently only runs in serial, parallelisation is worked on.
2009-11-25 11:59:19 +00:00
henry
d6a278f2b2 Introduced the new file unitConversion.H to hold degToRad, radToDeg
and other unit conversion functions as they are required e.g. slug <-> kg.
2009-10-21 10:55:00 +01:00
Mark Olesen
ffc9d0d97b find/replace pi/180.0 -> degToRad() and 180.0/pi -> radToDeg()
- note left utilities/mesh/advanced/collapseEdges/collapseEdges.C as-is.
  It looks suspicious, but the change was recent, so maybe it means something
2009-10-19 13:53:25 +02:00
henry
e9da288118 Reverted the Americanism "math" back to the original "mathematical" and reverted name of
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
henry
42162f27b7 Added basic support for thermal effects in porous zones.
Currently the only supported model is fixing the temperature within the porous zone to a fixed value.
2009-09-09 21:55:55 +01:00
andy
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
henry
bcb1fc5ea8 Removed spurious "compressible::". 2009-08-18 22:03:34 +01:00
henry
a1bf420f52 Corrected for new BCs. 2009-08-18 17:18:05 +01:00
andy
8bad166975 updated version number dev->1.6 2009-08-03 16:38:20 +01:00
Mark Olesen
ecb8d29b83 Merge commit 'OpenCFD/master' into olesenm 2009-08-03 16:20:24 +02:00
andy
6dbb672b01 updating tutorial cases to use new nut/mut wall function names 2009-08-03 12:04:40 +01:00
Mark Olesen
d749aac04d adjust tutorial fvSolution to use regular expressions and $variable 2009-08-01 14:51:59 +02:00
Mark Olesen
8d78978645 fixed bad fvSolution entries for tutorial cases
- rhoCentralFoam
2009-08-01 13:31:50 +02:00
henry
816f6b3488 Updated the headers. 2009-07-24 17:01:31 +01:00
henry
4ada91067d Changed h to e in the fvSolvers file. 2009-07-24 17:01:15 +01:00
Chris Greenshields
34f758b9f7 Changed rhoCentralFoam to be e-based 2009-07-24 15:51:07 +01:00
andy
2349fdaabe updated version numbers to 1.6 2009-07-23 12:22:48 +01:00
andy
6c222b5082 rhoPisoFoam tutorial update 2009-07-21 19:35:33 +01:00
henry
b3d455de80 Removed turbulence model coefficients from the dictionaries to allow them to default. 2009-07-21 19:05:30 +01:00
Mark Olesen
535789cf98 Merge commit 'OpenCFD/master' into olesenm 2009-07-15 08:20:06 +02:00
henry
6f48a922d0 Further corrections to tutorials following a complete Allrun. 2009-07-14 21:16:33 +01:00
Mark Olesen
f1fbc24638 Merge commit 'OpenCFD/master' into olesenm 2009-07-10 22:39:29 +02:00
Mark Olesen
7cbcc02d09 turbulence models get thermal dissipation source term(s)
- thermalDissipation()
  corresponds to the energy lost due to viscous efffects and
  what exits the energy cascade via dissipation.

- thermalDissipationEff()
  corresponds to the energy lost due to effective viscous efffects.
  Everything that is lost from momentum. Thus essentially assumes
  turbulent equilibrium, but is what STAR-CD and Fluent seem to be using.
  Thus even if it's wrong, provide it anyhow.

- minor consistency update in comments
2009-07-10 21:47:58 +02:00
henry
37b0fe0ade Corrections to get the tutorial test loop to run cleanly. 2009-07-09 23:28:54 +01:00
henry
9f46545159 Get the application from the controlDict where necessary. 2009-07-09 17:44:50 +01:00
henry
caff5576b1 Reinstated "application" entry in controlDict.
Upgraded 1.4 cases to 1.5.
2009-07-09 13:23:55 +01:00
graham
786a2621ad New MD tutorials. 2009-06-29 16:34:27 +01:00
andy
fac1b596b8 sonicFoam solver and tutorial updates 2009-06-25 13:19:41 +01:00
andy
81dfb596d6 rhoPimpleFoam tutorial updates 2009-06-23 19:06:21 +01:00
andy
9ec6e0ad35 updating hThermo->hPsiThermo in tutorials 2009-06-19 13:17:14 +01:00
andy
3393036e8f rhoPisoFoam tutorial update 2009-06-18 15:56:51 +01:00
henry
1ec66cb4d4 Added for new turbulence models. 2009-06-11 16:03:18 +01:00
henry
ec4e44e4ce Corrected for new turbulence BCs. 2009-06-11 16:01:02 +01:00
mattijs
4f1f94ad83 update tutorial
modified:   ../../../compressible/rhoPisoFoam/ras/cavity/constant/polyMesh/boundary
	modified:   ../../buoyantPisoFoam/hotRoom/constant/polyMesh/boundary
	modified:   ../../buoyantPisoFoam/hotRoom/system/controlDict
	modified:   ../../buoyantPisoFoam/hotRoom/system/fvSchemes
	deleted:    ../../buoyantPisoFoam/hotRoom/0/mut
	modified:   constant/polyMesh/boundary
	deleted:    ../../buoyantSimpleRadiationFoam/hotRadiationRoom/0/mut
	deleted:    ../../chtMultiRegionFoam/multiRegionHeater/0/mut
2009-04-17 12:35:47 +01:00
Mark Olesen
6ecdf4fc41 updated DebugSwitches, surfaceWriter
- added obj surfaceWriter
- don't bother with prepended field names on obj and stl surfaceWriter.
  It fills the disk and suggests differences where there are none.
2009-03-09 15:37:54 +01:00
Mark Olesen
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
andy
dee5fee4db tutorial updates 2009-02-18 12:29:22 +00:00
Mark Olesen
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
andy
ef874be0b9 updates 2009-02-13 16:14:44 +00:00
andy
ab4d2e0f3e updated 2009-02-13 15:20:28 +00:00
andy
a3b50aff9f further tutorial updates 2009-02-13 14:17:08 +00:00
andy
12fba38d87 restructuring to reflect solver hierarchy 2009-02-12 18:59:59 +00:00