Commit Graph

150 Commits

Author SHA1 Message Date
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
138c34fb0f tutorials/multiphase/.*woPhaseEulerFoam/: Change outlet p_rgh BC to prghPressure 2015-06-29 19:36:57 +01:00
Henry
61e52b2cb4 twoPhaseEulerFoam: Move the residualAlpha used for drag into the phaseModel
This is necessary to guarantee consistency between the residualAlpha
used for drag and buoyancy in a multi-phase system
2015-06-07 18:55:24 +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
8ac20ef8dc twoPhaseEulerFoam fluidisedBed tutorials: increase residualAlpha for phase heat transfer
to improve stability of the thermal system
2015-05-09 23:46:28 +01:00
Henry
f7e4d0a110 MULES: nLimiterIter and smoothLimiter are now user-input via the corresponding fvSolution sub-dict
nLimiterIter: Number of iterations during limiter construction
    3 (default) is sufficient for 3D simulations with a Courant number 0.5 or so
    For larger Courant numbers larger values may be needed but this is
    only relevant for IMULES and CMULES

smoothLimiter: Coefficient to smooth the limiter to avoid "diamond"
    staggering patters seen in regions of low particle phase-fraction in
    fluidised-bed simulations.

    The default is 0 as it is not needed for all simulations.
    A value of 0.1 is appropriate for fluidised-bed simulations.
    The useful range is 0 -> 0.5.
    Values larger than 0.5 may cause excessive smearing of the solution.
2015-04-29 14:37:41 +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
f5bb944965 twoPhaseEulerFoam: Improved handling of velocity/flux boundary conditions
Updated tutorials to converge pressure during PIMPLE loop to avoid
phase-fraction unboundedness which limits thermodynamics convergence.
2015-04-12 09:57:56 +01:00
Henry
4ee86fd7c7 twoPhaseEulerFoam: Correct continuity errors after temperature update 2015-04-11 11:00:28 +01:00
Henry
2003f3fb3d twoPhaseEulerFoam tutorials: Correct T names 2015-04-05 21:17:39 +01:00
Henry
b6e803ab8b tutorials/multiphase/twoPhaseEulerFoam/laminar: corrected setFieldsDict
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1579
2015-03-20 16:56:48 +00:00
Henry
ccc7eb8d56 tutorials/multiphase/twoPhaseEulerFoam: Corrected regular-expressions 2015-03-19 21:42:51 +00:00
Henry
9ea4a6f4f5 tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn: Added km and epsilonm files
Also corrected names of other fields
2015-03-19 21:41:46 +00:00
Henry
fa2721ffd5 JohnsonJacksonFrictionalStress: alphaDeltaMax -> alphaDeltaMin (it is the lower limit) 2015-03-18 15:40:39 +00:00
Henry
2e35cc76e8 twoPhaseEulerFoam JohnsonJacksonFrictionalStress: alphaDeltaMax now user input (previously hard-coded to 5e-2) 2015-03-18 15:03:10 +00:00
Henry
c530e1cd9b twoPhaseEulerFoam: transform to solve for p_rgh
to avoid excessive pressure/buoyancy balance errors on non-orthogonal meshes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1379
2015-03-17 22:40:09 +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
24679abcc5 twoPhaseEulerFoam: Add fvOptions support and tutorial 2014-05-08 11:45:50 +01:00
Henry
85da9e6a54 twoPhaseEulerFoam: Now in fully-conservative form 2014-04-29 15:47:39 +01:00
william
37c75a8b18 BUG: twoPhaseEulerFoam: removed multiple of the continuous phase fraction from force and heat transfer models 2014-03-17 16:34:32 +00:00
Henry
dd0efd159d twoPhaseEulerFoam: added optional alphaMax to phaseModel for MULES limiter
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1209
2014-03-07 23:32:00 +00:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
Henry
b49af36892 Reinstated IATE settings 2014-02-05 16:57:51 +00:00
Henry
3e3d30a5a2 twoPhaseEulerFoam tutorials: added minIter to smoothSolver settings 2014-02-05 16:55:34 +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
william
a96e531f5c BUG: twoPhaseEulerFoam: fixed typo in GidaspowSchillerNaumann drag and stability issues in fludised bed cases 2014-02-03 16:05:24 +00:00
william
05a34f3dfa ENH: twoPhaseEulerFoam: changed Cd function to CdRe and removed some residual constants 2014-02-03 12:51:59 +00:00
william
87115af2d0 ENH: twoPhaseEulerFoam: Removed requirement that a model (most likely "none") had to be specified for all pairs 2014-01-23 16:37:16 +00:00
william
acf490cb44 STYLE: twoPhaseEulerFoam: updated tutorials for bubble library developments 2014-01-23 11:27:37 +00:00
Henry
0dd02403d2 tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed: Correct inlet air BC 2014-01-13 10:02:42 +00:00
william
5d55a1f60f ENH: Added noLift model for twoPhaseEulerFoam 2014-01-06 14:16:41 +00:00
william
475e885772 ENH: Abstracted and made run-time selectable the lift models in twoPhaseEulerFoam 2014-01-02 16:53:37 +00:00
Henry
38038c1108 Corrected object name 2013-12-05 14:26:19 +00:00
andy
d302bf6819 STYLE: Updated spelling errors 2013-11-26 14:45:27 +00:00
Henry
7badd2fcf0 tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed: Updated to use interstitial inlet 2013-10-21 13:56:36 +01:00
Henry
3f476d403f twoPhaseEulerFoam/laminar/fluidisedBed: Tuned solver settings 2013-10-21 12:46:55 +01:00
Henry
fa7769c848 twoPhaseEulerFoam tutorials: updated for mass-conservative form 2013-10-20 19:49:44 +01: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
Henry
79467c20ae twoPhaseEulerFoam: Added IATE 2013-10-10 16:29:21 +01:00
Henry
ce8ba1dd67 Update BCs 2013-08-19 14:15:10 +01:00
Henry
e3edc00d41 twoPhaseEulerFoam/laminar/fluidisedBed: Updated BCs 2013-08-19 11:50:35 +01:00
Henry
c64fff5f45 twoPhaseEulerFoam tutorials: updated to ensure particle phase-fraction conservation 2013-08-15 17:30:35 +01:00
Henry
13e1addc35 twoPhaseEulerFoam: Corrected potential conservation issue at inlet-outlet BCs
Updated MULES to ensure the limiter is 1 at inlet BCs
2013-08-15 17:03:52 +01:00
Henry
175f03f87d Removed twoPhaseEulerFoam and renamed compressibleTwoPhaseEulerFoam -> twoPhaseEulerFoam 2013-08-15 10:30:09 +01:00
mattijs
c4a65259ad GIT: boundary: remove usued file 2013-08-07 11:27:34 +01:00
Henry
052d81785a multiphase: move alpha solution controls into the appropriate sub-dictionary of fvSolution:solvers 2013-06-20 16:32:39 +01:00
Henry
345f590828 twoPhaseEulerFoam/bed tutorial: update for new location of alpha solver settings 2013-06-12 12:58:39 +01:00
Henry
e90cfe33c2 tutorials/multiphase: Set phi to appropriate phase-flux for inletOutlet conditions 2013-03-25 22:07:26 +00:00
Henry
6e5e96414d compressibleTwoPhaseEulerFoam: Improved handling of compressibility effect on continuity and boundedness 2013-01-19 14:15:57 +00:00
andy
dec670d2f3 ENH: Updated MRF tutorials 2012-10-30 08:22:11 +00:00
Henry
0025112496 compressibleTwoPhaseEuler: Updated kinetic theory from 2.1.x 2012-06-22 11:50:55 +01:00
Henry
ef8efc27ba Solvers and tutorials: changed use of buoyantPressure BC to fixedFluxPressure 2012-04-20 09:49:58 +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
ed368b434c mixerVessel2D tutorials: Added missing topoSetDict 2012-04-05 17:51:45 +01:00
Henry
dd3b4452c7 twoPhaseEulerFoam/mixerVessel2D tutorial: make laminar and clean-up 2012-03-21 17:43:59 +00:00
Henry
97ffec39cc woPhaseEulerFoam/bed2: Correct BCs 2012-03-21 17:39:26 +00:00
Henry
d318bf6f5b twoPhaseEulerFoam/bed2/0/alpha1.org: initial alpha1 field 2012-03-21 17:31:31 +00:00
Henry
e09d04c3ba twoPhaseEulerFoam: updated tutorials 2012-03-19 16:15:44 +00:00
Henry
bd1317b71b twoPhaseEulerFoam/mixerVessel2D: new tutorial for MRF support in twoPhaseEulerFoam 2012-03-19 11:58:40 +00:00
Henry
7701ff470f twoPhaseEulerFoam tutorials: updated alpha1Max 2012-03-02 12:10:31 +00:00
Henry
c2041f9dba multiphase: completed phase renaming 2012-03-01 18:22:59 +00:00
Henry
2491f257b1 Corrected line lengths 2012-02-29 16:39:53 +00:00
Henry
8820040259 twoPhaseEulerFoam tutorials: add residualSlip entry 2012-02-28 16:30:08 +00:00
Henry
5eb7e465ba twoPhaseEulerFoam tutorials: update velocity BCs 2012-02-24 17:13:46 +00:00
Henry
7e580905f1 twoPhaseEulerFoam bubbleColumn tutorial: add relaxation factors 2012-02-24 17:13:18 +00:00
Henry
f5f6c87204 multiphase solvers: added support for the multiphaseFixedFluxPressure BC 2012-02-24 10:11:06 +00: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
andy
29c485361a STYLE: renamed version 2.0 -> 2.0.0 2011-06-08 16:31:07 +01:00
andy
d2d91bb84f STYLE: Updated tutorial headers to version 2.0 2011-06-07 11:18:46 +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
Henry
24adaa0e1d Updated tutorials 2011-04-28 21:14:13 +01:00
andy
74aff03191 ENH: Updated twoPhaseEulerFoam solver and tutorials 2011-04-18 15:20:15 +01:00
Henry
19c08b9e5a tutorials: Set the file type to ascii for ascii files 2011-03-31 15:32:07 +01:00
Henry
89ee9b3e0f Merged all multiphase developments in OpenFOAM-1.7.x 2010-09-29 22:22:48 +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
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
andy
8bad166975 updated version number dev->1.6 2009-08-03 16:38:20 +01:00
Mark Olesen
d749aac04d adjust tutorial fvSolution to use regular expressions and $variable 2009-08-01 14:51:59 +02:00
andy
2349fdaabe updated version numbers to 1.6 2009-07-23 12:22:48 +01:00
henry
b3d455de80 Removed turbulence model coefficients from the dictionaries to allow them to default. 2009-07-21 19:05:30 +01:00
henry
6f48a922d0 Further corrections to tutorials following a complete Allrun. 2009-07-14 21:16:33 +01:00
henry
90298600e0 Corrected buoyancy BCs for p. 2009-07-10 12:59:51 +01:00
henry
caff5576b1 Reinstated "application" entry in controlDict.
Upgraded 1.4 cases to 1.5.
2009-07-09 13:23:55 +01:00
henry
cd3b5808df Corrected class. 2009-07-08 22:45:05 +01:00
henry
d76820dc57 Changed g from being read from environmentalProperties to being read directly as a
uniformDimensionedVectorField.
2009-07-08 17:09:51 +01: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
00fbaf627a more updates... 2009-02-13 18:31:15 +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