Commit Graph

535 Commits

Author SHA1 Message Date
sergio
6a8948bb4f Changing permissions 2016-10-07 11:56:11 -07:00
sergio
be148fa44f File styles and permissions 2016-10-07 11:54:11 -07:00
sergio
97c0acd643 ENH: Adding compartmentFire and thermo pyrolysis model 2016-10-07 11:46:51 -07:00
Andrew Heather
e98e372f8e ENH: Tutorial updates 2016-09-30 15:31:35 +01:00
Andrew Heather
bd0e982d99 MRG: Initial commit after latest Foundation merge 2016-09-30 11:16:28 +01:00
Andrew Heather
3dbd39146c STYLE: consistency updates 2016-09-27 15:17:55 +01:00
Andrew Heather
89d9fd1550 ENH: Tutorial updates 2016-09-26 13:00:49 +01:00
Andrew Heather
ad1e798293 ENH: Initial testing updates 2016-09-26 09:28:31 +01:00
Andrew Heather
1fbcb686ff STYLE: Consistency updates 2016-09-23 16:52:46 +01:00
Henry Weller
1e94682f24 tutorials: Renamed sub-directories ras -> RAS and les -> LES 2016-09-20 19:03:40 +01:00
Andrew Heather
9fbd612672 GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
Henry Weller
86ccbca390 combustionModels/FSD: Corrected
Renamed 'omega' to 'FSDomega' to avoid a clash with the k-omega
turbulence models.

Resolves bug-report http://bugs.openfoam.org/view.php?id=2237
2016-09-09 16:23:28 +01:00
Henry Weller
0857f479a8 PBiCGStab: New preconditioned bi-conjugate gradient stabilized solver for asymmetric lduMatrices
using a run-time selectable preconditioner

References:
    Van der Vorst, H. A. (1992).
    Bi-CGSTAB: A fast and smoothly converging variant of Bi-CG
    for the solution of nonsymmetric linear systems.
    SIAM Journal on scientific and Statistical Computing, 13(2), 631-644.

    Barrett, R., Berry, M. W., Chan, T. F., Demmel, J., Donato, J.,
    Dongarra, J., Eijkhout, V., Pozo, R., Romine, C. & Van der Vorst, H.
    (1994).
    Templates for the solution of linear systems:
    building blocks for iterative methods
    (Vol. 43). Siam.

See also: https://en.wikipedia.org/wiki/Biconjugate_gradient_stabilized_method

Tests have shown that PBiCGStab with the DILU preconditioner is more
robust, reliable and shows faster convergence (~2x) than PBiCG with
DILU, in particular in parallel where PBiCG occasionally diverges.

This remarkable improvement over PBiCG prompted the update of all
tutorial cases currently using PBiCG to use PBiCGStab instead.  If any
issues arise with this update please report on Mantis: http://bugs.openfoam.org
2016-09-05 11:46:42 +01:00
Henry Weller
428b1d8866 Updated headers 2016-08-24 08:57:44 +01:00
Henry Weller
30e456a641 fvDOM radiation model: Removed unreliable 'cacheDiv' option
Resolves bug-report http://bugs.openfoam.org/view.php?id=2182
2016-08-17 17:12:20 +01:00
Henry Weller
2e1557a79e tutorials Allrun scripts: Update running of postProcess application
Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2173
2016-08-02 16:24:28 +01:00
Henry Weller
1d57269680 TDACChemistryModel: New chemistry model providing Tabulation of Dynamic Adaptive Chemistry
Provides efficient integration of complex laminar reaction chemistry,
combining the advantages of automatic dynamic specie and reaction
reduction with ISAT (in situ adaptive tabulation).  The advantages grow
as the complexity of the chemistry increases.

References:
    Contino, F., Jeanmart, H., Lucchini, T., & D’Errico, G. (2011).
    Coupling of in situ adaptive tabulation and dynamic adaptive chemistry:
    An effective method for solving combustion in engine simulations.
    Proceedings of the Combustion Institute, 33(2), 3057-3064.

    Contino, F., Lucchini, T., D'Errico, G., Duynslaegher, C.,
    Dias, V., & Jeanmart, H. (2012).
    Simulations of advanced combustion modes using detailed chemistry
    combined with tabulation and mechanism reduction techniques.
    SAE International Journal of Engines,
    5(2012-01-0145), 185-196.

    Contino, F., Foucher, F., Dagaut, P., Lucchini, T., D’Errico, G., &
    Mounaïm-Rousselle, C. (2013).
    Experimental and numerical analysis of nitric oxide effect on the
    ignition of iso-octane in a single cylinder HCCI engine.
    Combustion and Flame, 160(8), 1476-1483.

    Contino, F., Masurier, J. B., Foucher, F., Lucchini, T., D’Errico, G., &
    Dagaut, P. (2014).
    CFD simulations using the TDAC method to model iso-octane combustion
    for a large range of ozone seeding and temperature conditions
    in a single cylinder HCCI engine.
    Fuel, 137, 179-184.

Two tutorial cases are currently provided:
    + tutorials/combustion/chemFoam/ic8h18_TDAC
    + tutorials/combustion/reactingFoam/laminar/counterFlowFlame2D_GRI_TDAC

the first of which clearly demonstrates the advantage of dynamic
adaptive chemistry providing ~10x speedup,

the second demonstrates ISAT on the modest complex GRI mechanisms for
methane combustion, providing a speedup of ~4x.

More tutorials demonstrating TDAC on more complex mechanisms and cases
will be provided soon in addition to documentation for the operation and
settings of TDAC.  Also further updates to the TDAC code to improve
consistency and integration with the rest of OpenFOAM and further
optimize operation can be expected.

Original code providing all algorithms for chemistry reduction and
tabulation contributed by Francesco Contino, Tommaso Lucchini, Gianluca
D’Errico, Hervé Jeanmart, Nicolas Bourgeois and Stéphane Backaert.

Implementation updated, optimized and integrated into OpenFOAM-dev by
Henry G. Weller, CFD Direct Ltd with the help of Francesco Contino.
2016-07-17 15:13:54 +01:00
Henry Weller
b00e67ca37 foamChemistryReader: Added support for elements and specie composition
Based on a patch contributed by Francesco Contino, Tommaso Lucchini,
Gianluca D’Errico, Hervé Jeanmart, Nicolas Bourgeois and Stéphane
Backaert.
2016-07-12 09:05:00 +01:00
Henry Weller
6d330d3d12 tutorials: Updated formatting of dictionaries and specification of 'plane' and 'samplePlane' 2016-06-29 18:02:57 +01:00
Mark Olesen
1988e4bb60 STYLE: avoid backticks for getApplication 2016-06-27 17:50:55 +02:00
Mark Olesen
dd60cfcd06 FIX: provide restore0Dir function to fix issue #159
- makes it easier to ensure the correct behaviour, consistently
2016-06-27 16:33:55 +02:00
Henry Weller
64aa9925e4 totalPressureFvPatchScalarField, uniformTotalPressureFvPatchScalarField: simplified and rationalized
The modes of operation are set by the dimensions of the pressure field
    to which this boundary condition is applied, the \c psi entry and the value
    of \c gamma:
    \table
        Mode                    | dimensions | psi   | gamma
        incompressible subsonic | p/rho      |       |
        compressible subsonic   | p          | none  |
        compressible transonic  | p          | psi   | 1
        compressible supersonic | p          | psi   | > 1
    \endtable

    For most applications the totalPressure boundary condition now only
    requires p0 to be specified e.g.
    outlet
    {
        type            totalPressure;
        p0              uniform 1e5;
    }
2016-06-16 12:21:34 +01:00
Henry Weller
3d98d6e5c6 changeDictionary: Simplified by removing the need for the superfluous dictionaryReplacement sub-dictionary
Added the option '-subDict' to specify a sub-dictionary if multiple
replacement sets are present in the same file.  This also provides
backward compatibility by setting '-subDict dictionaryReplacement'
2016-06-15 09:03:05 +01:00
Chris Greenshields
344f435f54 Tutorials fvSolution files: removed solver entries which use default
values; formatted Switch entries consistently across all cases
2016-06-15 07:39:12 +01:00
Chris Greenshields
3d810c11dc Tutorials: made laplacianSchemes consistent and correct 2016-06-13 23:38:03 +01:00
Henry Weller
3eec5854be Standardized the selection of required and optional fields in BCs, fvOptions, functionObjects etc.
In most boundary conditions, fvOptions etc. required and optional fields
to be looked-up from the objectRegistry are selected by setting the
keyword corresponding to the standard field name in the BC etc. to the
appropriate name in the objectRegistry.  Usually a default is provided
with sets the field name to the keyword name, e.g. in the
totalPressureFvPatchScalarField the velocity is selected by setting the
keyword 'U' to the appropriate name which defaults to 'U':

        Property     | Description             | Required    | Default value
        U            | velocity field name     | no          | U
        phi          | flux field name         | no          | phi
        .
        .
        .

However, in some BCs and functionObjects and many fvOptions another
convention is used in which the field name keyword is appended by 'Name'
e.g.

        Property     | Description             | Required    | Default value
        pName        | pressure field name     | no          | p
        UName        | velocity field name     | no          | U

This difference in convention is unnecessary and confusing, hinders code
and dictionary reuse and complicates code maintenance.  In this commit
the appended 'Name' is removed from the field selection keywords
standardizing OpenFOAM on the first convention above.
2016-05-21 20:28:20 +01:00
Henry Weller
83c7e97655 dynamicCode: Renamed 'redirectType' to 'name' to clarify the purpose
of the entry which is to provide the name of the generated class.

'redirectType' is supported for backward-compatibility.
2016-05-18 23:10:42 +01:00
Henry Weller
83bae2efd3 functionObjects: Renamed dictionary entry 'functionObjectLibs' -> 'libs'
This changes simplifies the specification of functionObjects in
controlDict and is consistent with the 'libs' option in controlDict to
load special solver libraries.

Support for the old 'functionObjectLibs' name is supported for backward compatibility.
2016-05-16 22:09:01 +01:00
Henry Weller
78d2971b21 functionObjects: rewritten to all be derived from 'functionObject'
- Avoids the need for the 'OutputFilterFunctionObject' wrapper
  - Time-control for execution and writing is now provided by the
    'timeControlFunctionObject' which instantiates the processing
    'functionObject' and controls its operation.
  - Alternative time-control functionObjects can now be written and
    selected at run-time without the need to compile wrapped version of
    EVERY existing functionObject which would have been required in the
    old structure.
  - The separation of 'execute' and 'write' functions is now formalized in the
    'functionObject' base-class and all derived classes implement the
    two functions.
  - Unnecessary implementations of functions with appropriate defaults
    in the 'functionObject' base-class have been removed reducing
    clutter and simplifying implementation of new functionObjects.
  - The 'coded' 'functionObject' has also been updated, simplified and tested.
  - Further simplification is now possible by creating some general
    intermediate classes derived from 'functionObject'.
2016-05-15 16:40:01 +01:00
Henry Weller
cf4b35693c tutorials: Remove the unnecessary "\"s on "cp", "rm" and "mv"
Resolves bug-report http://bugs.openfoam.org/view.php?id=2077
2016-05-05 15:17:55 +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
c9a57e4009 tutorials/combustion/fireFoam/les: Added missing ph_rgh.orig files 2016-04-27 16:18:25 +01:00
Henry Weller
673e0d1704 fireFoam: Added optional hydrostatic initialization of the pressure and density
Also added the new prghTotalHydrostaticPressure p_rgh BC which uses the
hydrostatic pressure field as the reference state for the far-field
which provides much more accurate entrainment is large open domains
typical of many fire simulations.

The hydrostatic field solution is controlled by the optional entries in
the fvSolution.PIMPLE dictionary, e.g.

    hydrostaticInitialization yes;
    nHydrostaticCorrectors 5;

and the solver must also be specified for the hydrostatic p_rgh field
ph_rgh e.g.

    ph_rgh
    {
        $p_rgh;
    }

Suitable boundary conditions for ph_rgh cannot always be derived from
those for p_rgh and so the ph_rgh is read to provide them.

To avoid accuracy issues with IO, restart and post-processing the p_rgh
and ph_rgh the option to specify a suitable reference pressure is
provided via the optional pRef file in the constant directory, e.g.

    dimensions      [1 -1 -2 0 0 0 0];
    value           101325;

which is used in the relationship between p_rgh and p:

    p = p_rgh + rho*gh + pRef;

Note that if pRef is specified all pressure BC specifications in the
p_rgh and ph_rgh files are relative to the reference to avoid round-off
errors.

For examples of suitable BCs for p_rgh and ph_rgh for a range of
fireFoam cases please study the tutorials in
tutorials/combustion/fireFoam/les which have all been updated.

Henry G. Weller
CFD Direct Ltd.
2016-04-23 10:04:39 +01:00
Henry Weller
4bc77e6aff Sprucing up the tutorials folder and adding -dict to "collapseEdges"
Patch provided by Bruno Santos
Resolves patch application request http://www.openfoam.org/mantisbt/view.php?id=2015
2016-03-06 19:06:44 +00:00
Henry Weller
acac7d786b tutorials: Added missing 'value' entry for 'calculatedFvPatchField's 2016-02-24 16:21:50 +00:00
Henry Weller
271935c1bf calculatedFvPatchField: 'value' entry is now required to avoid problems with non-initialization 2016-02-24 16:01:40 +00:00
Andrew Heather
b6ad46e139 GIT: Resolved conflict 2016-06-17 14:20:45 +01:00
Andrew Heather
7572c99c79 GIT: Resolve conflict 2016-06-10 16:05:48 +01:00
sergio
4ba2b7bec7 Improved mesh motion in pyrolyis region. Fixed energy Eq in pyrolysis model
and adding tutorial
2016-06-09 15:38:13 +01:00
Andrew Heather
86bdabccb5 GIT: Resolved conflict 2016-06-08 13:57:05 +01:00
sergio
3eb6cb89e7 Adding comment on limitations on using cachedDiv option in FvDom and
changing tutorial settings to cachedDiv = false
2016-06-08 12:06:28 +01:00
sergio
6a49568b8d ENh: Adding reactionSensitivityAnalysis FO and adding it to utorials/combustion/chemFoam/gri/ test case 2016-06-02 10:31:31 -07:00
sergio
c9e872b3bc ENH: Changing boundaryRadiationProperties to read an scalar when a lookup mode is used for boudanry radiation properties.
Tutorials updated accordingly
2016-05-31 08:42:07 -07:00
Andrew Heather
62144e4dd7 Revert "Change boundaryRadiationProperties and boundaryRadiationPropertiesPatch to mesh object and changing tutorials accordingly"
This reverts commit 662f9242e9.

Note: functionality moved to feature-boundaryRadiationProperties branch
2016-05-05 12:21:23 +01:00
sergio
b7ee80c926 GIT: Resolve conflict when applying Sergio's updates to new local branch 2016-04-29 15:51:08 -07:00
sergio
662f9242e9 Change boundaryRadiationProperties and boundaryRadiationPropertiesPatch to mesh object and changing tutorials accordingly 2016-04-29 15:51:08 -07:00
sergio
fd27dafcc6 ENH: Adding option for closing or opening wall/cyclic double baffle in activePressureForceBaffleVelocityFvPatchVectorField 2016-04-27 12:15:31 -07:00
Andrew Heather
d1e4b6dbec ENH: More tuorial updates 2016-04-26 16:57:35 +01:00
Andrew Heather
58513c63bb ENH: Tutorial updates 2016-04-26 15:04:42 +01:00
Andrew Heather
16dfd33db8 ENH: Tutorials - updates 2016-04-26 14:32:19 +01:00
Andrew Heather
a7dcf8fc61 ENH: Tutorials - updated use of -log to use -s 2016-04-26 09:31:44 +01:00
andy
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
Henry Weller
979e1ee191 tutorials/combustion/reactingFoam: ras -> laminar 2016-02-19 15:13:52 +00:00
Henry Weller
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Henry Weller
cfa7678ba8 foamRunTutorials: Rationalized support for the "-test" option
RunFunctions: Added "isTest()" argument parsing function
tutorials: Updated Allrun scripts to propagate the "-test" option
tutorials: Removed the lower Alltest scripts and updated the Allrun to
    use the "isTest()" function to handle test-specific operation
2016-02-15 15:49:05 +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
b3d47f0423 bin/tools/RunFunctions: runParallel now obtains the number of processors from numberOfSubdomains
in decomposeParDict.

This default number of processors may be overridden by the new "-np"
option to runParallel which must be specified before the application
name e.g.:

runParallel -np 4 pisoFoam
2016-01-27 14:19:25 +00:00
Andrew Heather
14aee79198 STYLE: Corrected typos in file header - fixes #57 2016-01-18 09:02:14 +00:00
sergio
c6fe2f29fb ENH: Changing BC for k and epsilon and scheme for Xi for oscillatingCylinder tutorial 2016-01-05 12:17:06 -08:00
sergio
9dd487a359 STY: Correcting spelling mistake in diffusionMulticomponent 2016-01-05 09:55:16 -08:00
Andrew Heather
f0c3e8d599 STYLE: Updated version to 'plus' 2015-12-22 23:14:17 +00:00
Andrew Heather
cab9b02c9e STYLE: Updated docs to OpenFOAM.com 2015-12-22 16:57:50 +00:00
Andrew Heather
04752147c8 GIT: Resolved conflict on merge from upstream 2015-12-22 16:49:44 +00:00
sergio
8924b4ca86 BUG: Adding boundaryRadiationProperties in oppositeBurningPanels tutorial
Adding decompose boundaryRadiationProperties in constant folder in Allrun for oppositeBurningPanels and smallPoolFire3D
2015-12-14 10:02:49 -08: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
mattijs
92b5ee3487 Merge branch 'develop' into radiation
Conflicts:
	applications/utilities/preProcessing/viewFactorsGen/shootRays.H
	src/lagrangian/intermediate/submodels/addOns/radiation/absorptionEmission/cloudAbsorptionEmission/cloudAbsorptionEmission.C
	src/thermophysicalModels/radiation/derivedFvPatchFields/radiationCoupledBase/radiationCoupledBase.C
	src/thermophysicalModels/radiation/derivedFvPatchFields/radiationCoupledBase/radiationCoupledBase.H
	src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.C
	src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C
	tutorials/mesh/parallel/filter/0.org/T
2015-12-11 09:50:43 +00:00
Andrew Heather
0e01c44129 GIT: Resolved conflict 2015-12-09 16:19:28 +00: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
Andrew Heather
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
Andrew Heather
e8118a9b04 ENH: Tutorials - removed boundary files from repository 2015-12-08 15:06:13 +00:00
mattijs
2e7d7d1609 BUG: RunFunctions: missing fi. Renamed variable. Updated Allrun scripts 2015-12-08 14:35:02 +00:00
Andrew Heather
dbea5806ce ENH: Tutorials - removing fluxRequired from fvSchemes 2015-12-08 12:14:13 +00:00
sergio
4ba032b2be ENH: Adding diffusionMulticomponent combustion model.
Adding optional files to smallPoolFire2D to run using this model.
Taking out of the compilation of FSD combustion. It needs futher work to run using the new turbulent framework
2015-12-07 17:02:18 -08:00
Andrew Heather
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
Henry Weller
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
Henry Weller
62945ab1ea chemFoam: Remove unused turbulence model 2015-11-21 18:30:35 +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
c1c7b30220 tutorials/combustion/fireFoam/les/smallPoolFire.*: Minor correction 2015-11-15 18:10:28 +00:00
Henry Weller
f4695953aa tutorials/combustion/fireFoam/les/oppositeBurningPanels: Improved schemes and BCs 2015-11-14 19:31:06 +00:00
Henry Weller
d98136e122 tutorials: Removed unnecessary "boundary" files 2015-11-13 20:05:37 +00:00
Henry Weller
d84db55bd4 tutorials/combustion/fireFoam/les/smallPoolFire?D: Improved outlet BC
Now applies totalPressure and pressureInletOutletVelocity with hRef set
to the height of the outlet plane.
2015-11-13 14:17:07 +00:00
Henry Weller
fb2eacf2f1 tutorials/combustion/fireFoam/les/smallPoolFire?D: Improved outlet BC
Now applies totalPressure and pressureInletOutletVelocity with hRef set
to the height of the outlet plane.
2015-11-13 14:15:19 +00:00
mattijs
031de9c4ab ENH: XiDyMFoam: new solver and tutorials
XiDyMFoam               : compressible version of XiFoam
oscillatingCylinder     : 2D case with cylinder moving up and down
annularCombustorTurbine : part of 3D combuster using cyclicPeriodicAMI
2015-11-10 12:24:34 +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
64e831fea0 reactingFoam: Added run-time selectable LTS support replacing LTSReactingFoam
Select LTS via the ddtScheme:

    ddtSchemes
    {
        default         localEuler rDeltaT;
    }
2015-06-27 22:35:49 +01:00
Henry
d36657a9f1 tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/0/N2: Correct name
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1706
2015-05-25 10:39:50 +01:00
Chris Greenshields
295a357a02 Updated kivaTest to run without restart at CA = -15 degs
using coded function object to change time step at CA = -15 degs
Also updated incorrect scheme keywords in fvSchemes
2015-05-20 08:28:03 +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
5a2c5c8fdc Explicitly name derived fields to improve readability of diagnostic messages and avoid duplicate registration 2015-02-12 09:59:52 +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
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
11416d066d BUG: removed bash-dependent test for the existence of gnuplot 2014-02-05 16:20:53 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
william
69d6f29428 Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-30 10:17:57 +00:00
william
699b7d2517 BUG: removed executable permissions on flameSpreadWaterSuppressionPanel case files and foamy make/options 2014-01-30 10:17:32 +00:00
Henry
205efe8627 ODE solver: change SIBS -> seulex (SIBS is deprecated) 2014-01-29 17:08:06 +00:00
Henry
c392b0748a tutorials: deprecate filteredLinear.* in favour of LUST for LES cases 2014-01-23 17:13:58 +00:00
Sergio Ferraris
a2d6fe298d ENH: Updating combustion and heat transfer tutorials 2014-01-08 10:15:01 +00:00
mattijs
b479c83c17 ENH: flameSpreadWaterSuppressionPanel: unused patchField entry in p_rgh 2013-12-13 13:04:11 +00:00
Sergio Ferraris
fbffbdb185 ENH: Adding soot field in 0 folder 2013-12-02 12:57:38 +00:00
Sergio Ferraris
9b482442e5 ENH: Adding soot model and updating tutorial for fireFoam 2013-11-29 16:53:17 +00:00
Henry
dd7809b4e2 Corrected ODE solver name 2013-11-11 13:02:59 +00:00
andy
6359588079 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-11-08 12:07:35 +00:00
Henry
bc2d925d61 chemFoam tutorials: set ODE solver to seulex which performs best overall 2013-11-07 18:38:58 +00:00
Henry
69ffc9051f chemFoam tutorials: Changed ODE solver to rodas32 which is fastest and robust 2013-11-07 09:38:20 +00:00
andy
ce4131ccc4 GIT: resolve conflict 2013-11-05 16:39:20 +00:00
andy
00f7b44fa1 ENH: Tutorial updates 2013-11-05 15:22:35 +00:00
Henry
5c3df09323 LTSReactingFoam, reactingFoam counterFlowFlame2D: Chemistry is not stiff
and low accuracy is required so EulerImplicit is more efficient
2013-11-04 13:13:06 +00:00
Henry
d9cdb08934 ODESolvers: Completed Rosenbrock methods and removed legacy KRR4 2013-11-04 12:21:40 +00:00
Henry
17ae13c9c1 ODESolvers: Updated tolerance handling to use absolute and relative 2013-11-03 16:04:05 +00:00
Sergio Ferraris
584bf9b1f2 STY: Changing headers in dictionaries 2013-10-23 11:01:56 +01:00
Sergio Ferraris
fb52643a25 STY: Adding version to header 2013-10-23 10:46:29 +01:00
Sergio Ferraris
92629f2c8a Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-10-23 10:42:46 +01:00
Henry
c7174c0302 Updated schemes 2013-10-11 22:15:15 +01:00
william
0bcdf88e30 ENH: laminarFlameSpeed: added RaviPetersen flame speed for Hydrogen 2013-10-09 09:27:08 +01:00
Sergio Ferraris
4beac9ac0e Adding flameSpreadWaterSuppressionPanel which showa how to couple
gas , pyrolysis and film regions using fireFoam
2013-10-03 12:10:44 +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
1e85b525a6 tutorials/combustion/LTSReactingFoam/ras/counterFlowFlame2D: more accurate settings for time-step 2013-09-27 22:47:12 +01:00
Henry
a02a1ba64d Updated counterFlowFlame2D tutorials to run laminar 2013-09-27 12:43:28 +01:00
Henry
ff2a274770 tutorials/combustion/LTSReactingFoam/ras/counterFlowFlame2D: new tutorial 2013-09-26 22:46:25 +01:00
Henry
3004606a5a tutorials/combustion/reactingFoam/ras/counterFlowFlame2D: Improved
solver selection
2013-09-26 22:41:44 +01:00
Henry
5d7f39b60a tutorials/combustion/reactingFoam/ras/counterFlowFlame2D: Changed p BCs
to totalPressure to avoid unstable entrainment
2013-09-26 22:40:51 +01:00
mattijs
40697fc131 BUG: flameProp tut: work with subsetMesh 2013-09-25 09:47:41 +01:00
Sergio Ferraris
3402f87a7c BUG: Fixing naming of SolidChemistrySolverType templates and add fvSchemes
for laplacian of T in the solid for ppositeBurningPanels tutorial
2013-09-09 16:10:43 +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
16e00bda6d ENH: Tutorial updates 2013-09-04 09:27:41 +01:00
andy
d7f67c78b1 ENH: Tutorial update 2013-08-28 10:44:09 +01:00
Henry
e4f8804a37 counterFlowFlame2D: make tutorials consistent 2013-08-22 16:53:02 +01:00
andy
29f483b508 ENH: Tutorial updates 2013-08-13 17:02:13 +01:00
mattijs
c4a65259ad GIT: boundary: remove usued file 2013-08-07 11:27:34 +01:00
Sergio Ferraris
bb8be32f13 ENH: Modification in Allclean for oppositeBurningPanels tutorial 2013-08-06 12:01:09 +01:00
mattijs
9ad0015d95 STYLE: boundary: remove regenerated files 2013-07-16 09:54:02 +01:00
Sergio Ferraris
b2fd56d54c ENH: Changing startTime in controlDict 2013-07-09 17:31:38 +01:00
Sergio Ferraris
b5ee55a535 ENH: Update to pyrolysis model, adding solid physical types and solid reaction solver types,
fixing bug in hExponentialThermo. Updating oppositeBurningPanels tutorial.
2013-07-09 17:26:36 +01:00
andy
d568f1bf6e ENH: Tutorial updates 2013-05-28 17:36:10 +01:00
Sergio Ferraris
672194747e ENH: Optimization of
1) fvDOM BC. greyDiffusiveRadiationMixedFvPatchScalarField.C
	2) radiationProperties and fvSolution for rays in fvDOM model
	3) radiativeIntensityRay.C using weighted residuals.
2013-05-28 11:32:54 +01:00
andy
599a5f1d8d ENH: tutorial updates 2013-05-03 12:17:12 +01:00
Sergio Ferraris
9ea79303b7 ENH: Changing typeName for solidChemistryModel in dictionary 2013-04-11 11:12:00 +01:00
Henry
afe060fe2e tutorials/combustion/fireFoam/les/oppositeBurningPanels: rationalised dictionary location 2013-04-10 18:43:25 +01:00
Henry
a5857bed29 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2013-04-10 17:05:07 +01:00
Henry
48272dc5ab alphatWallFunctions: add "compressible::" qualifier to compressible alphat wall-functions 2013-04-10 17:04:49 +01:00
Sergio Ferraris
6f2e475ba7 BUG: Adding entry to the table for solidChemistryModels and correcting chemistryThermo entry
in chemistryProperties for pyrolisis
2013-04-09 09:45:38 +01:00
sergio
a6948a1c12 ENH: Changing name from ODESolidChemistryModel to solidChemistryModel,
adding a base class basicSolidChemistryModel and deriving
pyrolysisSolidChemistry  model for solid
2013-02-21 15:05:11 +00:00
sergio
cf5317d6bc ENH: Updating solver chemFoam and fireFoam tutorials to use new naming
for gasThermoType based on type of energy solved
2013-01-28 10:49:35 +00:00
andy
da6bec3152 ENH: Tutorial updates 2012-12-06 09:27:07 +00:00
mattijs
c8a0ea85cc Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-12-05 15:53:26 +00:00
mattijs
03fa70e4af ENH: tutorials: dict command line option 2012-12-05 15:30:33 +00:00
Henry
acbbaf3f4d tutorials: Updated "limited" snGrad schemes 2012-12-05 14:58:42 +00:00
andy
640d8157c8 ENH: Pyrolysis tutorials updates 2012-11-19 09:55:44 +00:00
sergio
708743752a Solving problem with sampledSurfaces
Removing specieSolid specialization
Updating tutorials using solidThermo and solid reactions
2012-11-01 17:46:37 +00:00
sergio
e113bebcef Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/thermophysicalModels/reactionThermo/Make/options
	src/thermophysicalModels/solidChemistryModel/ODESolidChemistryModel/ODESolidChemistryModel.C
	src/thermophysicalModels/solidSpecie/solidSpecie/solidSpecie.C
	tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/panelRegion/chemistryProperties
	tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/panelRegion/thermophysicalProperties
	tutorials/compressible/rhoPorousMRFSimpleFoam/angledDuctExplicitFixedCoeff/constant/MRFZones
	tutorials/compressible/rhoPorousMRFSimpleFoam/angledDuctExplicitFixedCoeff/constant/RASProperties
	tutorials/compressible/rhoPorousMRFSimpleFoam/angledDuctExplicitFixedCoeff/constant/polyMesh/boundary
2012-10-31 17:34:12 +00:00
sergio
92d2bc1b76 ENH: Aligning solid thermo mixing with gas mixing and solid reaction 2012-10-31 17:13:03 +00:00
andy
182f660634 ENH: Updates to tutorial Allrun scripts 2012-10-26 10:27:30 +01:00
andy
555800c28a ENH: Updated tutorial radiationProperties dictionaries 2012-10-15 12:24:20 +01:00
Henry
06d573d69a solidChemistryModel: Reorganised input of thermo-physical data for the gases 2012-10-08 16:13:50 +01:00
Henry
f897de27b8 Thermodynamics: E-equation generalized to handle mesh motion 2012-10-08 15:39:29 +01:00
Henry
cf2783348d solidChemistryModel: Updated runtime selection mechanism 2012-10-08 10:36:27 +01:00
sergio
54432bb18a ENH: Adding greyMeanSolidAbsorptionEmission, updating tutorial.
The radiative properties are now held in the radiationModel in the solid
region instead than in the solidThermo
2012-10-05 11:48:48 +01:00
sergio
2b9ce017f5 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/thermophysicalModels/radiationModels/derivedFvPatchFields/radiationCoupledBase/radiationCoupledBase.C
2012-10-04 11:01:41 +01:00
sergio
99aa00e33c ENH: Adding greyMeanSolidAbsorptionEmission for radiative properties of
the solid
2012-10-04 10:55:49 +01:00
Henry
ca2ad8032e Thermodynamics: Completed dictionary based selection mechanisms for all thermodynamic packages
Rationalised "make" macros to reduce code duplication
Removed solid phase radiation properties
Updated tutorials appropriately
2012-10-03 22:43:50 +01:00
Henry
88050abcab ChemistryModel: the from of the compressibility thermo is now selectable
The form of the chemistry model is no longer selectable (only one choice).
2012-10-02 11:33:04 +01:00
Henry
7d17731637 ChemistryModel: Updated names and lookup 2012-10-01 17:00:43 +01:00
Henry
9bf80af379 Thermodynamics: Update selection mechanism for reaction and chemistry thermodynamics 2012-09-30 21:27:18 +01:00
Henry
27deb733aa Thermodynamics: Further rationalization of the selection mechanism 2012-09-27 21:57:21 +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
966dd4192b Removed trailing space 2012-09-23 22:12:06 +01:00
Henry
7e0d4565b7 Thermodynamics: Updated combustion solvers to use EEqn and support h/e or ha/ea 2012-09-23 22:11:38 +01:00
Henry
78121bac4a Solvers: Updated to solve EEqn rather than h,hs,eEqn 2012-09-22 16:34:20 +01:00
mattijs
b6c4e144c4 ENH: flowRateInletVelocity: require volumeFlowRate or massFlowRate keyword 2012-09-20 14:42:48 +01:00
Henry
afcd78e005 Tutorials: Updated for thermo changes 2012-09-19 15:55:41 +01:00
Henry
dd3ab88f47 Thermodynamics: renamed isobaricPerfectGas -> incompressiblePerfectGas and incompressible -> rhoConst
Added isochoric and incompressible identifiers to equations of state to indicate the supported processes
2012-09-11 14:07:22 +01:00
Henry
41a13eba57 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2012-08-23 14:13:41 +01:00
Henry
830c0ef382 Thermodynamyics: rename basicThermo -> fluidThermo and veryBasicThermo -> basicThermo 2012-08-23 14:13:13 +01:00
Henry
8f4b56b3c3 Thermodynamics: Rationalised the base classes for fluid and solid thermo.
New base class for fluid and solid thermo: veryBasicThermo
Base class for fluid thermo: basicThermo (derived from veryBasicThermo)
Base class for solid thermo: solidThermo (derived from veryBasicThermo)

Note in next commit basicThermo -> fluidThermo, veryBasicThermo -> basicThermo
2012-08-23 11:39:02 +01:00
andy
5541a62875 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-08-21 18:14:10 +01:00
andy
e7a238dc3a ENH: Cleaned-up lagrangian tutorial cloud input properties dictionaries 2012-08-21 18:13:44 +01:00
mattijs
831bcdc6b9 STYLE: scripts: removed trailing spaces 2012-08-17 12:30:55 +01:00
andy
3821ee560a ENH: Tutorial input dictionary updates 2012-08-14 14:27:10 +01:00
sergio
0731c47257 ENH: Modifying oppositePanels combustion case 2012-08-08 10:27:40 +01:00
sergio
4113feb869 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-08-03 14:49:25 +01:00
sergio
3fa9f70018 ENH: Modifying fvSolution and fvSchemes in smallPoolFire3D 2012-08-03 13:43:31 +01:00
andy
362d2fdac8 ENH: Updated lagrangian tutorials after radiation update 2012-08-03 10:39:43 +01:00
sergio
785adf0495 BUG: Changing rho name in fvSolution for the solid region 2012-07-24 17:08:39 +01:00
Henry
b18dac86cb fireFoam/les/oppositeBurningPanels/0/alphaSgs: Update for new generalised wall-functions 2012-07-24 16:42:03 +01:00
Henry
5cb555db9e Tutorials: Corrected selection of thermodynamics packages 2012-07-24 15:36:51 +01:00
Henry
734f853ca9 tutorials/combustion/XiFoam/les: Deleted the combusting pitzDaily case 2012-07-13 10:25:14 +01:00
sergio
433f81df7e Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-07-03 14:12:09 +01:00
sergio
2cc1d163bf Changing write interval at control 2012-07-03 14:10:08 +01:00