Commit graph

488 commits

Author SHA1 Message Date
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
e95c5184e3 GGI bridging bug fixes. Vuko Vukcevic 2018-02-09 12:10:57 +00:00
Hrvoje Jasak
e3b43562a7 Merge commit '9fbf8f1bfce0b178d61be485fac02007bf9c8b77' into nextRelease 2018-02-07 12:14:10 +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
3aa0ac137e No slip wall boundary condition 2018-02-07 12:02:39 +00:00
Pascal Beckstein
64068d50c5 Add jumpFaceFluxCorrectionPtr_ to fvMatrix for cases of jump discontinuities in grad(psi). 2018-02-07 12:02:39 +00:00
Pascal Beckstein
224fb55219 Fix write of rAU-keyword in fixedFluxPressureFvPatchScalarField 2018-02-07 12:02:39 +00:00
Pascal Beckstein
1f6f708da8 Bugfixes and improvements for parallel decomposition/reconstruction of regions 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
3c0724fc0a Bugfix: pointPatchInterpolate
Coupled boundary update needs to happen after treatment of corner (patch-patch)
points.
2017-12-04 10:58:50 +01:00
Vuko Vukcevic
dee54c23cd Merge branch 'nextRelease' of ssh://git.code.sf.net/u/vvukcevic/foam-extend-4.0-vv into nextRelease 2017-12-04 10:56:28 +01:00
Vuko Vukcevic
58a6946769 No slip moving wall boundary condition 2017-10-30 08:22:19 +01:00
Hrvoje Jasak
5506c93163 Merge branch 'bugfix/partialOveralpGGI' into nextRelease 2017-10-20 10:22:36 +01:00
Hrvoje Jasak
255a5c7940 Bugfix: partial overlap ggi conservation fix for significantly uncovered partial overlap faces. Vuko Vukcevic 2017-10-20 10:21:53 +01:00
Vuko Vukcevic
d2c25f0a98 Removed hacked coeffs 2017-10-16 17:51:19 +02:00
Vuko Vukcevic
6a512f13f7 Temporary commit - not working properly 2017-10-16 12:11:59 +02:00
Vuko Vukcevic
3aa2b659a3 Separate treatment of partially covered faces 2017-10-16 10:30:54 +02:00
Vuko Vukcevic
bb057c090d Temporary commit 2017-10-13 12:45:08 +02:00
Vuko Vukcevic
ba798d60ac Updates to GGIInterpolation
Correct handling of partially overlapped faces. Initial commit, not tested.
2017-10-13 08:35:13 +02:00
Hrvoje Jasak
028128c240 Improved turbulence modelling and wall functions. Vuko Vukcevic 2017-09-21 14:01:34 +01:00
Hrvoje Jasak
2bd2144ae0 No slip wall boundary condition for velocity. Vuko Vukcevic 2017-09-21 13:51:17 +01:00
Hrvoje Jasak
652c004036 Add jumpFaceFluxCorrectionPtr_ to fvMatrix for cases of jump discontinuities. Pascal Beckstein 2017-09-21 13:47:15 +01:00
Vuko Vukcevic
5a54724450 Corrected spacing 2017-06-29 08:57:35 +02:00
Vuko Vukcevic
57af002275 No slip wall boundary condition 2017-04-28 07:13:40 +02:00
Vuko Vukcevic
28a310ce71 Update in solutionControl class
Flux should not be recalculated for patches with inletOutlet boundary
conditions.
2017-04-20 08:59:23 +02:00
Vuko Vukcevic
16ea621887 Consistency update in solution control class:
The rewrite enables multiple pressure/velocity systems to be treated in a time
and under-relaxation consistent way (useful for multiphase flows).
2017-04-20 08:24:25 +02:00
Pascal Beckstein
60270c0af6 Merge branch 'pascal/fix/regionDecompositionReconstruction' into pascal/fixes 2017-04-04 21:05:58 +02:00
Pascal Beckstein
7575c60201 Add jumpFaceFluxCorrectionPtr_ to fvMatrix for cases of jump discontinuities in grad(psi). 2017-04-04 03:08:52 +02:00
Pascal Beckstein
4e95161b7b Fix write of rAU-keyword in fixedFluxPressureFvPatchScalarField 2017-04-04 02:43:26 +02:00
Pascal Beckstein
5d7e870db7 Bugfixes and improvements for parallel decomposition/reconstruction of regions 2017-04-04 02:41:00 +02:00
Hrvoje Jasak
6df1d9861d Added option to relax only a part of the matrix 2017-02-10 10:03:04 +00:00
Hrvoje Jasak
c373b855ba Bugfix: do not read fluxRequired from dictionary 2017-02-10 10:00:24 +00:00
Hrvoje Jasak
13f27d9376 Added default removte field name for implicitly created regionCoupling patch fields 2017-02-06 11:43:00 +00:00
Hrvoje Jasak
a8ddd0885f Added option for zonal under-relaxation 2017-02-06 11:32:06 +00:00
Hrvoje Jasak
78a9142214 Bugfix: MRF zone flux check 2017-01-24 16:44:22 +00:00
Hrvoje Jasak
58edb15fa9 Removed info message 2017-01-13 16:08:13 +00:00
Hrvoje Jasak
5a42868d78 Bugfix: consistent steady intertial relaxation 2017-01-12 15:13:58 +00:00
Hrvoje Jasak
3d2d26334a Bugfix: added ramping to MRF zones 2017-01-11 11:57:48 +00:00
Hrvoje Jasak
7db1cb7a49 Merge branch 'PstreamUpdate' into development 2017-01-11 10:46:26 +00:00
Vuko Vukcevic
d05f9fc208 Minor bugfix in CrankNicolsonDdtScheme::fvcDdtConsistentPhiCorr 2017-01-10 15:10:40 +01:00
Vuko Vukcevic
876520462c Implementation of CrankNicolson::fvcDdtConsistentPhiCorr 2017-01-09 19:16:30 +01:00
Vuko Vukcevic
0b9e46375d Bugfix in solutionControl 2017-01-05 10:53:16 +01:00
Vuko Vukcevic
07a140a60a Added relax global functions taking tmp<fvMatrix> 2017-01-05 08:41:20 +01:00
Vuko Vukcevic
4031066a5a Changes in solutionControl::reconstructTransientVelocity
The function now takes care of making the flux relative if the mesh is moving.
This is necessary in order to consistently reconstruct the face velocity from
the flux and then call correctBoundaryConditions on U.
2017-01-04 16:22:27 +01:00
Vuko Vukcevic
ed03625c8b Changes to solutionControl time consistency functions
I realised that we need separate treatment for transient and steady state
solvers (which do not have ddt equation). Hence, I provided necessary interface
and implementation for steady state solvers.
2017-01-04 13:48:17 +01:00
Vuko Vukcevic
edb77356aa Run-time bugfixes regarding time consistency 2017-01-03 12:19:50 +01:00
Vuko Vukcevic
49b13aa2b3 Updated ddtSchemes to handle time-consistency 2017-01-02 16:33:04 +01:00
Vuko Vukcevic
1acf0274ce Handling consistency in solutionControls class
Note: additional machinery to enable easy top-level calls for
time/under-relaxation consistency in segregated solution algorithms.
Does not compile: still missing functions in ddtSchemes
2016-12-23 14:53:52 +01:00
Hrvoje Jasak
e881837bb0 Formatting 2016-12-06 12:50:42 +00:00