Commit graph

4967 commits

Author SHA1 Message Date
Henrik Rusche
5f75c33058 Backport: changeDictionary utility 2018-02-16 15:27:23 +01:00
Henrik Rusche
6aaa5ac976 Update of new FOs (from VV) to new signature 2018-02-16 15:08:00 +01:00
Henrik Rusche
7fe57ece38 BUGFIX: next wall distance may cause seg fault 2018-02-16 15:08:00 +01:00
Henrik Rusche
08a7e2e03b Vanilla backport
-in turbulenceModels
backported alphat() member function
backported rhoEpsilonEff() memberfunction
backported to constructor sigature to allow derivation of classes
backported member functions for compatibility with FOs
allow mutkWallFunction to work with LES
2018-02-16 15:08:00 +01:00
Henrik Rusche
34d4a30be7 Added additional weighted Ops for faceSource 2018-02-16 15:08:00 +01:00
Henrik Rusche
67ab0b5abd Vanilla backport
- in FOAM library
updated containers
backported PackedBoolList, hashedWordList, nullObject, wordRe,
backported functions to
backported int32 support
backported tableReaders
backported Function1, TimeFunction1
backported dynamicCode (for codedBCs, ...) -- needs to be mapped out
advanced error macros (FatalIOErrorInFunction, ...) -- needs to be mapped out
backported IOobject::MUST_READ_IF_MODIFIED and added IOobject::READ_IF_PRESENT_IF_MODIFIED (only in FO)

- in postProcessing
backported IO FOs (partialWrite, removeRegisteredObject, writeDictionary, writeRegisteredObject)
backported field FOs (fieldCoordinateSystemTransform, fieldValues, nearWallFields, processorField, readFields, regionSizeDistribution, streamLine, wallBoundedStreamLine)
backported fvTools FOs (calcFvcDiv, calcFvcGrad, calcMag)
backported jobControl FOs (abortCalculation)
backported utilities FOs (ourantNo, Lambda2, Peclet, Q, codedFunctionObject, pressureTools, residuals, scalarTransport, setTimeStep, timeActivatedFileUpdate, turbulenceFields, vorticity, wallShearStress)
2018-02-16 15:07:55 +01:00
Vanja Skuric
046fc069a8 Changes to solutionControl.C in order to make it compatible with changes made by Vuko Vukcevic regarding consistency 2018-02-11 21:22:24 +01:00
Vanja Skuric
c180b7088c Added solutionFaControl files (forgot to add it in the previous commit) 2018-02-11 21:20:36 +01:00
Vanja Skuric
f569d9ffaa Fixed a typo in solutionTemplates.C 2018-02-11 19:14:04 +01:00
Vanja Skuric
2df03ebe25 New feature: Added solutionFaControl (with simple, pimple and piso controls) and VectorN to finiteArea 2018-02-11 19:01:44 +01:00
Vanja Skuric
f58e0ebf49 New feature: Added switch which enables storing only first and last iteration residuals in solvePerformance 2018-02-11 19:00:28 +01:00
Vanja Skuric
e3115846f5 New feature: generalization of storage for solverPerformanceDict based on templated BlockSolverPerformance (by Pascal Beckstein)
To correct the previous commit, the BlockSolverPerformance has been enhanced
by a replace(...) and max(...) memeber function.
The matrix solve functions of fvMatrix, faMatrix and tetFemMatrix now store
solver performance data for all components in the solverPerformance dictionary
of solution. However, they will still return a scalar-valued
lduSolverPerformance based on the component with the max residual.
This is necessary as otherwise the type of a non-scalar field, which may be
specified in fvSolution::residualControl does not match the type which is
written to and read from the solverPerformance dictionary in the
maxTypeResidual(...) from solutionControl. If e.g. the field U is given
in fvSolution::residualControl of solutionControl, the constructor of
BlockSolverPerformance in the maxTypeResidual(...) from solutionControl
expects to read a vector ( u1 u2 u3 ) from the dictionary and not just one
component.
The changes are inspired and directly related to the following vanilla
commit:
1944b09bb5
2018-02-11 18:59:15 +01:00
Hrvoje Jasak
ec83275923 Merge commit '084a033843ed2e8693454de9760c8cb98952bf72' into nextRelease 2018-02-09 13:48:18 +00:00
Hrvoje Jasak
10298020aa Merge commit '084a033843ed2e8693454de9760c8cb98952bf72' 2018-02-09 13:47:50 +00:00
Hrvoje Jasak
e95c5184e3 GGI bridging bug fixes. Vuko Vukcevic 2018-02-09 12:10:57 +00:00
Vanja Skuric
084a033843 Bugfix (MacOS): Fixed compilation of libccmio and ParMGridGen for High Sierra 2018-02-09 09:52:36 +01:00
Hrvoje Jasak
e872cf5c69 Merge branch 'geometricImmersedBoundary' into development 2018-02-08 12:26:27 +00:00
Hrvoje Jasak
38d299e856 Clean up dynamicMeshDict 2018-02-08 10:55:58 +00:00
Hrvoje Jasak
cd3f391f90 Formatting 2018-02-08 10:55:41 +00:00
Hrvoje Jasak
0588fa5103 Revert files file 2018-02-08 10:53:56 +00:00
Hrvoje Jasak
8be6f18661 New solver work: selection policy, ILUC0 smoother 2018-02-07 14:56:26 +00:00
Hrvoje Jasak
f987749bde Formatting 2018-02-07 14:45:34 +00:00
Hrvoje Jasak
6d693b5b34 Refactor decomposition/reconstruction tools 2018-02-07 14:44:18 +00:00
Hrvoje Jasak
fdb48d643c Comments and formatting 2018-02-07 14:42:26 +00:00
Hrvoje Jasak
bb8423f3e2 Merge branch 'geometricImmersedBoundary' into development 2018-02-07 14:40:02 +00:00
Hrvoje Jasak
19e6290e76 Clean up files file 2018-02-07 14:34:48 +00:00
Hrvoje Jasak
2d95f0caf4 Formatting 2018-02-07 13:23:21 +00:00
Hrvoje Jasak
a550f52e8c Formatting 2018-02-07 13:22:58 +00:00
Hrvoje Jasak
1fe52e730b Formatting 2018-02-07 13:22:41 +00:00
Hrvoje Jasak
553a9b8c62 Fix comments referring to fv in fa code 2018-02-07 13:21:35 +00:00
Hrvoje Jasak
188651d998 Merge commit '9c11730d7c0af71ee29be98c803071d791dc6a6d' into nextRelease 2018-02-07 13:04:16 +00:00
Hrvoje Jasak
c3ced91c1a Merge commit '889b8dcd4ca11b64dfa79f79e9c1222e23e258a9' into nextRelease 2018-02-07 13:04:08 +00:00
Hrvoje Jasak
67c4f3d348 Merge commit '89b2a122b2bcffca1edfcca12862cc1ce8431330' into nextRelease 2018-02-07 13:03:50 +00:00
Hrvoje Jasak
0af2d16958 Merge commit '9c11730d7c0af71ee29be98c803071d791dc6a6d' 2018-02-07 13:00:40 +00:00
Hrvoje Jasak
15a2b162de Merge commit '889b8dcd4ca11b64dfa79f79e9c1222e23e258a9' 2018-02-07 12:59:51 +00:00
Hrvoje Jasak
afc80a8669 Merge commit '89b2a122b2bcffca1edfcca12862cc1ce8431330' 2018-02-07 12:58:43 +00:00
Vanja Skuric
9c11730d7c Limitting cosTheta to be inside [-1,1] interval 2018-02-07 13:31:47 +01:00
Vanja Skuric
889b8dcd4c Fixed storing every residual in solvePerformance (increasing solverPerformance list size). Significant influence on speed when running with large number of correctors (i.e. solidMechanics) 2018-02-07 13:28:47 +01:00
Vanja Skuric
89b2a122b2 Enabling Finite Area parallel run (fix by Hrvoje Jasak) 2018-02-07 13:27:09 +01:00
Hrvoje Jasak
6a78019898 Merge commit '9bd721da3e43cb8da8c6dfbc9b264bd30374bd72' into nextRelease 2018-02-07 12:15:19 +00:00
Hrvoje Jasak
e3b43562a7 Merge commit '9fbf8f1bfce0b178d61be485fac02007bf9c8b77' into nextRelease 2018-02-07 12:14:10 +00:00
Hrvoje Jasak
b64753cb75 Merge commit '8d83cebef638c75e56f746690399d78a572f079a' into nextRelease 2018-02-07 12:13:35 +00:00
Hrvoje Jasak
a81d8bfd5c Merge commit '8d83cebef638c75e56f746690399d78a572f079a' 2018-02-07 12:12:51 +00:00
Hrvoje Jasak
ee38fbdc4e Merge commit '333c815d8fbb0a0b57250be9f8f4d47120245f1d' into nextRelease 2018-02-07 12:12:12 +00:00
Hrvoje Jasak
88ba7f654f Merge commit '1e8dd2ecb10f97091b3a5fb5b1e8f8d1cbe06bb3' into nextRelease 2018-02-07 12:10:43 +00:00
Hrvoje Jasak
9af1e121aa Merge commit '4be7661f1d586bad69ddad93b4463cc683b7f671' into nextRelease 2018-02-07 12:09:04 +00:00
Vuko Vukcevic
4d091782ed Corrected spacing 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
ec8b2eb97b nuRatio boundary conditions for epsilon and omega
Given a desired nuRatio, the boundary conditions automatically calculate
epsilon/omega from k.
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
bee6a2228a Consistent divDevReff calculation in incompressible turbulence models
Note: a minor bugfix is also included (previously, dev has been used instead of
dev2. This is included in the current mathematical reformulation).
Tested on cavity case: now simpleFoam with laminar turbulence model gives
exactly the same results as icoFoam.
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
eee9507e55 Reorganisation of improved wall functions
Instead of calculating pressure gradient and convection terms in each
wall function (for each patch), function objects pressureGradient and
velocityConvection will update them and register them in the database and we
only fetch the data when updating wall functions.
2018-02-07 12:02:39 +00:00