Commit Graph

2325 Commits

Author SHA1 Message Date
97b0882ef4 timeSelector: Add support for -newTimes option
//- Return the set of times selected based on the argList options
    //  including support for \b -newTimes in which times are selected
    //  if the file <fName> does not exist in the time directory.
    //  Also set the runTime to the first instance or the
    //  \c constant/ directory if no instances are specified or available
    static instantList select
    (
        Time& runTime,
        const argList& args,
        const word& fName
    );

This is experimental functionality and currently on test in the yPlus
post-processing utility.
2015-06-24 10:04:29 +01:00
3cb01abd9b meshToMeshTemplates: Fix bug in mapTgtToSrc 2015-06-23 10:55:17 +01:00
fd457786ef surfaceToCell, surfaceToPoint: Add surface file name expansion
Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1754
2015-06-19 15:49:10 +01:00
0575911f94 LimitedScheme/LimitFuncs: Make the limiter function for symmTensor consistent with tensor
Use the trace as the limiter function for both symmTensor and tensor to
bound the normal stresses rather than the shear stresses.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1751
2015-06-18 11:45:40 +01:00
fdbce86628 PatchInjection::parcelsToInject: Ensure parallel consistency
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1746
2015-06-16 15:14:15 +01:00
37b92a6eda filmViscosityModel/thixotropicViscosity: Corrected the handling of the effect of droplet deposition
on the lambda of the film
2015-06-16 12:43:40 +01:00
23ca147218 externalWallHeatFluxTemperature: Correct doc
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1745
2015-06-15 19:13:31 +01:00
6f5936b373 ReactingMultiphaseParcel,ReactingParcel: Use T0 for consistent radiation transfer
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1636
2015-06-15 17:40:48 +01:00
8fd3cee834 pairPatchAgglomeration: Stop agglomeration loop if no further agglomeration is achieved
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1157
2015-06-15 17:14:24 +01:00
9e0f08b204 Corrected typo
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1741
2015-06-15 11:20:56 +01:00
94e1fd68c2 pairPatchAgglomeration: Do not use the result agglomeratePatch if the return indicates it is not valid
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1157
2015-06-13 23:05:45 +01:00
d8f45cf8c1 Lagrangian radiation models and fvDOM: Apply updates
Applying patches provided by Timo Niemi
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1636
2015-06-12 15:35:43 +01:00
6ba9208e2c Updated header 2015-06-12 09:44:48 +01:00
a5aefc54a7 TurbulenceModels/phaseCompressible: Do not call correctNut in constructor
if it depends on the availability of the physical properties of both
phases as the construction of the phase-system may not be complete.
2015-06-12 09:43:07 +01:00
34e062daab polyMesh::findCell: Call tetBasePtIs for CELL_TETS to ensure parallel consistency
Resolves additional bug-report http://www.openfoam.org/mantisbt/view.php?id=1544
2015-06-11 17:45:25 +01:00
abf75f3a51 tetDecomposer: Rename enumeration elements for consistency with polyMesh 2015-06-11 16:08:41 +01:00
fc4ecc22ec calculateMeshToMesh0Addressing: Change decomposition method to CELL_TETS
Resolves additional request in http://www.openfoam.org/mantisbt/view.php?id=1544
2015-06-11 15:29:34 +01:00
9bc5a92f70 Update headers 2015-06-07 18:54:19 +01:00
2337ef4ef6 TurbulenceModels/phaseCompressible: Up-cast the phase-system to twoPhaseSystem 2015-06-07 18:53:22 +01:00
ce27420e13 combustionModel: Change the base turbulenceModel to compressibleTurbulenceModel
to allow combustionModel to be used with more general forms of multi-phase
2015-06-07 18:51:36 +01:00
0a6814ee36 combustionModels: Added multiphase-phase support
by naming fields including the phase name is needed
2015-06-05 08:19:13 +01:00
1a3ef4d827 IOobject: Added member function "member()" which returns the member name of the object
i.e. without the group suffix.

Patch provided by William Bainbridge
2015-06-04 17:09:42 +01:00
44c176dd84 filmViscosityModel/ArrheniusViscosity: temperature-dependent viscosity function
Applied as a correction pre-factor to the viscosity obtained from a
run-time selectable base-model.
2015-06-04 11:34:21 +01:00
e2c0ae0328 filmViscosityModel/thixotropicViscosity/thixotropicViscosity: Remove the spurious mask and correct the blending 2015-06-03 17:29:18 +01:00
944e09742c solidificationMeltingSource: Removed all need for the "alwaysApply" hack
Also removed the underlying structure for "alwaysApply" from fvOption
2015-06-01 21:53:13 +01:00
940e63c9c4 Updated header 2015-06-01 15:47:50 +01:00
d84fc7adf3 fixedTemperatureConstraint,effectivenessHeatExchangerSource: Set the field name to that of the energy
field from which the temperature is obtained

Removes the need for the 'alwaysApply' hack.
2015-06-01 15:46:17 +01:00
4726029e06 limitTemperature: Set the field name to that of the energy field from which the temperature is obtained
Removes the need for the 'alwaysApply' hack.
2015-06-01 14:21:44 +01:00
39466811bf fvOption: Rationalize corrections 2015-06-01 11:18:45 +01:00
6cddfdda74 fvOptions: Rationalize naming convention for constraints 2015-06-01 09:58:33 +01:00
a99fb1de93 Update headers 2015-05-31 17:15:44 +01:00
4c753e1e4c fvOption: Rationalize read to support re-reading
writeData is not yet completely consistent with read.
2015-05-31 17:14:32 +01:00
b8d15ba459 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
2b9a2adf8c 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
8b7e02167f MRFZone: rationalize to allow support for general frame acceleration 2015-05-29 15:31:53 +01:00
1b6f46fae0 simpleFoam/SRFSimpleFoam: Added support for SIMPLEC
SIMPLEC (SIMPLE-consistent) is selected by setting "consistent" option true/yes:

SIMPLE
{
    nNonOrthogonalCorrectors 0;
    consistent yes;
}

which relaxes the pressure in a "consistent" manner and additional
relaxation of the pressure is not generally necessary.  In addition
convergence of the p-U system is better and reliable with less
aggressive relaxation of the momentum equation, e.g. for the motorbike
tutorial:

relaxationFactors
{
    equations
    {
        U               0.9;
        k               0.7;
        omega           0.7;
    }
}

The cost per iteration is marginally higher but the convergence rate is
better so the number of iterations can be reduced.

The SIMPLEC algorithm also provides benefit for cases with large
body-forces, e.g. SRF, see tutorials/incompressible/SRFSimpleFoam/mixer
and feature request http://www.openfoam.org/mantisbt/view.php?id=1714
2015-05-29 11:30:40 +01:00
80f923d0f1 fvPatchFields: Support explicitly named U, phi and rho in all BCs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1717
2015-05-28 20:42:47 +01:00
c54cc16017 cyclicAMIPolyPatch: Correct report of sweep angle
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1716
2015-05-28 16:29:06 +01:00
7a4b3ce655 tabulatedAccelerationSource: New fvOption to support 6-DoF solid-body motion
Example usage:

SBM
{
    type            tabulatedAccelerationSource;
    active          true;
    selectionMode   all;

    tabulatedAccelerationSourceCoeffs
    {
        timeDataFileName "constant/acceleration.dat";
    }
}

Where the file constant/acceleration.dat contains a list of tuples
containing time and a vector of the linear acceleration, angular
velocity and angular acceleration e.g.

100
(
(0 ((0 0 0) (0 0 0) (0 0 0)))
(0.001 ((-0.0001 0 4e-05) (5e-5 -0.0002 -3e-8) (0.24 -0.8 -1e-4)))
.
.
.
)
2015-05-28 15:25:22 +01:00
71c6af8fe9 mapFields: Reinstated mapFields from OpenFOAM-2.2.x and renamed the current mapFields -> mapFieldsPar
This required the addition of the meshToMesh class in the sampling
library from OpenFOAM-2.2.x which is now named meshToMesh0.
2015-05-26 11:32:46 +01:00
526d7efeb0 Updated header 2015-05-26 11:32:04 +01:00
a917fbdf53 Corrected comment 2015-05-26 11:31:54 +01:00
95bc70a9f8 externalWallHeatFluxTemperature: Added support for relaxing the radiative contribution
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1704
2015-05-25 21:46:48 +01:00
9c08ae6fac MRFZone: Synchronize the faceType across processor patches
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1685
2015-05-25 11:33:11 +01:00
b1cfbcf4c8 radiationModels/derivedFvPatchFields: Corrected documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1687
2015-05-24 19:02:41 +01:00
e02530a0ac src/parallel/decompose/Allwmake: remove redundant -lscotch condition 2015-05-21 17:58:43 +01:00
fee9b188f6 cyclicAMIPolyPatch: Correct particle transformations across cyclic AMI patches
Patch provided by Daniel Jasiński
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1694
2015-05-20 12:44:31 +01:00
54af0e3359 Time: Correct precision adjustment for user-time 2015-05-20 12:43:54 +01:00
997b3e7e2c ODESolver: Add more diagnostics when the max number of iterations is reached 2015-05-19 14:35:15 +01:00
4c256a3a5d ptscotchDecomp: link scotch library to resolve undefined symbol 2015-05-19 14:34:49 +01:00