Commit graph

2451 commits

Author SHA1 Message Date
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
e95c5184e3 GGI bridging bug fixes. Vuko Vukcevic 2018-02-09 12:10:57 +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
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
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
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
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
Vuko Vukcevic
4b182a13ec Additional wall functions: k/epsilonNonEqWallFunctions
Non-equilibrium wall functions for k and epsilon.

Author: Filip Sutalo, Merge: Vuko Vukcevic
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
3f9271f2be Additional wall functions: omega/nutMEWTWallFunctions
Modified enhanced wall treatment by Sutalo, wall functions are
sensitive to convection and pressure gradient effects.

Author: Filip Sutalo, Merge: Vuko Vukcevic
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
4859959e29 Additional wall functions: omega/nutCWTWallFunctions
Compound wall treatment by Popovac and Hanjalic, wall functions are sensitive to
flow unsteadiness, convection effects and pressure gradient effects.

Author: Filip Sutalo, Merge: Vuko Vukcevic
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
ae2e71f52e Fixed typos in comments 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
Robert Keser
5a558cdffc Updated cross-coupling terms in coupledKEpsilon turbulence model. 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
55842641c9 Minor update in comment 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
65b8ad2fc7 Added member function to initialize force and moment in sixDOFODE 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
5a249bc26a Added access functions in constraints/restraints 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
a2f33fc147 Updates in constraints and restraints classes
They now hold a reference to underlying sixDOFODE object. Need to handle more
complex restraints/constraints depending on its state.
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
658362e122 Moved static functions in finiteRotation to public interface 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
0a13a399e7 Update to eulerAngles static function in finiteRotation 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
260f2329cc Minor updates to sanity checks in sixDOFODE.C 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
8108e0af20 Changed reference in geometricSixDOF.H class description 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
8bdb557b93 Added stabilisation for constraints
Note: necessary for arbitrary DAE systems
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
6b422ec286 Force/moment update to sixDOFBodies 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
e7fd51dc97 Angular damper rotational restraint 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
704829a15e Finalised the use of translationa/rotational restraints in sixDOFODE classes 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
c63d6b76a8 Adding interface for restraints
Abstract base classes translationalRestraint and rotationalRestraint are laid
out. Need to use them in sixDOFODE class and write basic restraints.
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
8de41a7ae4 Relocated motion constraints to sixDOFODE base class 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
d4e6ec34c3 Periodic oscillation translational constraint 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
ca5c3600fe Extended interface for motion constraints 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
b5892ea8f8 Updated comments 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
1aaa8582e9 Updates to sixDOFODE classes
2nd order accurate updates of force and moment during the ODE solution.
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
21ff583605 quaternionSixDOF using general constraints 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
40f7e0a3d1 Fixed output of constraints for proper restart 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
bd820ac31b Implementation of constraints, part 4
Version that works (compiles and runs properly).
To do:
    1. Writing out constraints to dictionary for proper restart,
    2. Stabilisation of round-off errors when using constraints.
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
041fddd197 Implementation of constraints, part 3 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
488ccffca9 Implementation of constraints, part 2 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
ef9664c191 Implementation of constraints, part 1 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
58c25980da Added sanity check for mass and moment of inertia 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
1f1efdcacd Minor formatting 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
21201c4585 Restored translationODE class
Accidentally removed it in one of the previous commits
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
6a514ecb48 Updates to geometricSixDOF
Changed convention of rotation tensor and updated dexp member function to allow
higher order accuracy
2018-02-07 12:02:39 +00:00
Vuko Vukcevic
728c5ed748 Bugfix related to nonBlocking comms in ProcessorPointPatchField 2018-02-07 12:02:39 +00:00
Vuko Vukcevic
c3a38ac471 Updates to Aitkens relaxation
Now completely handled from the sixDOFODE class
2018-02-07 11:59:05 +00:00
Vuko Vukcevic
7e0eee0f94 Updates to ODESolver and sixDOFODE classes
Updates enable automatic handling of multiple calls to ODESolve::solve within a
single time step
2018-02-07 11:59:05 +00:00
Vuko Vukcevic
57b835967c Restructured sixDOFODE interface
Removed implementation specific data and left only essential interface for
coupling with CFD solver.
2018-02-07 11:59:05 +00:00
Vuko Vukcevic
c02eac8fcb Minor updates in sixDOF classes 2018-02-07 11:59:05 +00:00
Vuko Vukcevic
afeca8ee2f Runtime bugfixes and minor reorganization 2018-02-07 11:59:05 +00:00
Vuko Vukcevic
546cfc0f5f First version of geometricSixDOF class
Compiles but does not produce correct results. Still need to find bugs.
2018-02-07 11:59:05 +00:00
Vuko Vukcevic
60821402da OutputControlDictionary host class
Used to enable a combination of run-time selection and automatic read/write
provided by IOdictionary. Currently used in sixDOFODE class.
2018-02-07 11:59:05 +00:00
Vuko Vukcevic
b33681bd75 Additional functionality in finiteRotation 2018-02-07 11:59:05 +00:00
Vuko Vukcevic
b3118e18a4 Restructuring sixDOFODE class
Separation of I/O and core functionality was necessary in order to enable
correct simulation restart because of combined run-time selection and automatic
read/write operations provided by regIOobject (IOdictionary)
2018-02-07 11:59:05 +00:00
Vuko Vukcevic
3232e008ea Reorganized sixDOFbodies in terms of sixDOFODE 2018-02-07 11:59:05 +00:00
Vuko Vukcevic
fd575d39b1 Derived class quaternionSixDOF
quaternionSixDOF provides the same functionality as the old sixDOFqODE, the only
difference being the addition of run-time selectable class hieararchy (i.e.
quaternionSixDOF is derived from sixDOFODE instead of being stand-alone class).

Note: sixDofqODE is left for backward compatibility.
2018-02-07 11:59:05 +00:00
Vuko Vukcevic
6436f1a496 Abstract base class sixDOFODE 2018-02-07 11:59:05 +00:00
Hrvoje Jasak
0642e99a97 Merge commit 'b5be6201e00421a59e574a07b3d28cde5defff84' 2018-02-07 11:55:10 +00:00
Hrvoje Jasak
ad5d97e537 Merge commit 'ae81f3834f80580b1bd411cfd213ee5e9ec4574d' 2018-02-07 11:53:52 +00:00
Hrvoje Jasak
b3a820b483 Disable compilation of immersed boundary turbulence: no longer needed 2018-01-26 17:35:48 +00:00
Hrvoje Jasak
fc36b8e10c Rename immersed boundary dynamic msh library 2018-01-02 16:06:11 +00:00
Hrvoje Jasak
d1b82b1a66 Revert GGI change 2018-01-02 11:24:24 +00:00
Hrvoje Jasak
5460dcb963 Moving immersed boundary with dynamic refinement 2017-12-30 15:38:41 +00:00
Hrvoje Jasak
67f2fba4cc Simplify moving immersed boundary dynamic mesh class 2017-12-30 15:38:15 +00:00
Hrvoje Jasak
d52be6c06b Removed immersedBoundaryForce function objects: use forces function objects instead 2017-12-30 11:38:54 +00:00
Hrvoje Jasak
e83fcedb06 Merge commit '9fbf8f1bfce0b178d61be485fac02007bf9c8b77' into geometricImmersedBoundary 2017-12-30 09:37:29 +00:00
Hrvoje Jasak
498c69257a Spare file: correct motion flux based on volume 2017-12-30 09:31:35 +00:00
Hrvoje Jasak
74240dbc1b Resize based on actual patch size: immersed boundary 2017-12-30 09:31:03 +00:00
Hrvoje Jasak
bfee0e5dc0 Simplified near-wall distance: no neighbourhood search. Experimental 2017-12-30 09:30:07 +00:00
Hrvoje Jasak
ec3f650fdb Improvements and fvPatch virtual functions for immersed boundary support 2017-12-30 09:29:43 +00:00
Hrvoje Jasak
e089353e71 Bugfix: mapper constructor 2017-12-30 09:27:58 +00:00
Hrvoje Jasak
fc6e083c3e Formatting 2017-12-30 09:27:07 +00:00
Hrvoje Jasak
a8dab17522 Update boundary conditions on model update 2017-12-30 09:26:33 +00:00
Hrvoje Jasak
2c9b34ac61 Removed unused files 2017-12-29 20:27:29 +00:00
Hrvoje Jasak
9747240660 Decomposition/reconstruction bug fixes 2017-12-29 20:27:13 +00:00
Hrvoje Jasak
e0e02afc50 Added handling of direct cut of coupled patch faces 2017-12-29 20:26:54 +00:00
Hrvoje Jasak
6cbec8ac97 Added support for directly cut processor faces 2017-12-29 10:43:56 +00:00
Hrvoje Jasak
6ca62ce11a Memory allocation bug fixes 2017-12-29 09:51:39 +00:00
Hrvoje Jasak
a6c6e3e64d Clean-up 2017-12-28 19:37:14 +00:00
Hrvoje Jasak
47f7fcddc6 Adjust tolerances 2017-12-28 19:37:02 +00:00
Hrvoje Jasak
312dfd4283 Fix read/write problems 2017-12-28 19:36:17 +00:00
Hrvoje Jasak
2ddecd498c Dynamic immersed boudnary with volume corrections, WIP 2017-12-22 18:10:53 +00:00
Vuko Vukcevic
b5be6201e0 Correct sign in processorFaPatchScalarField while updating matrix 2017-12-14 12:44:30 +01:00
Hrvoje Jasak
f20d0995f9 Removed debug messages 2017-12-13 19:32:11 +00:00
Hrvoje Jasak
b77d52e39b Added constrained types for immersedBoundary patch 2017-12-13 18:58:31 +00:00
Hrvoje Jasak
1b36d98057 Dynamic mesh support, first version 2017-12-12 16:19:02 +00:00
Hrvoje Jasak
30566d80c9 Dynamic mesh updates 2017-12-12 16:17:28 +00:00
Hrvoje Jasak
41e36e7d13 Simplify distance calculation 2017-12-12 16:15:48 +00:00
Hrvoje Jasak
e92a02886e Formatting 2017-12-12 16:15:20 +00:00
Hrvoje Jasak
fd52fe4584 Formatting 2017-12-12 16:14:17 +00:00
Hrvoje Jasak
75eea4360a Better debug messaging 2017-12-12 16:14:01 +00:00
Hrvoje Jasak
7c6a31eb3d Formatting 2017-12-12 16:13:46 +00:00
Hrvoje Jasak
bde5cde6fd Added virtual functions for patch clear-up: clearGeom(), clearAddressing() 2017-12-12 16:13:17 +00:00
Hrvoje Jasak
71fbefdb08 Removed non-existent function 2017-12-12 16:12:50 +00:00
Hrvoje Jasak
3ca56120a5 Slidec field reset 2017-12-12 16:11:47 +00:00
Hrvoje Jasak
e16f902720 Better debug messaging 2017-12-12 16:11:37 +00:00
Hrvoje Jasak
5efcc4ff87 Irregular cut clean-up 2017-12-11 20:46:08 +00:00
Vuko Vukcevic
4be7661f1d Updates to faMatrix global operators
Added binary operators for faMatrix and DimensionedField.
2017-12-04 11:10:12 +01: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
Henrik Rusche
ae81f3834f BUGFIX: sampledSets FO causes seg fault on destruction 2017-12-03 20:26:39 +01:00
Hrvoje Jasak
0a05264824 Dynamic mesh compilation update 2017-12-01 18:09:14 +00:00
Hrvoje Jasak
74b8155614 Change immersed boundary patch field not to be constrained 2017-12-01 17:57:34 +00:00
Hrvoje Jasak
648b7d2bcd Immersed boundary bug fixes: to parallel 2017-12-01 11:27:06 +00:00
Hrvoje Jasak
650a09820f Remove terminal virtual functions from processorPolyPatch 2017-11-30 23:08:50 +00:00
Hrvoje Jasak
3b0a459c7e Formatting 2017-11-30 23:08:30 +00:00
Hrvoje Jasak
3ebe05fb5c Primitive patch to store face area vectors. Immersed boundary 2017-11-30 23:08:00 +00:00
Hrvoje Jasak
36bae317f6 Provide calcInside for a single point. Immersed boundary 2017-11-30 23:07:27 +00:00
Hrvoje Jasak
2c226342a0 Name clash resolution: addressing in ggi-type interfaces 2017-11-30 23:06:34 +00:00
Hrvoje Jasak
bfae309d33 Sliced field reset functionality. New Immersed Boundary Method support 2017-11-30 23:05:27 +00:00
Hrvoje Jasak
285a6d59fd Formatting 2017-11-30 23:04:39 +00:00
Hrvoje Jasak
111d29e0c7 Formatting 2017-11-30 23:03:52 +00:00
Hrvoje Jasak
140a0f45e2 Immersed boundary updates in fvMesh and patches 2017-11-30 23:03:28 +00:00
Hrvoje Jasak
c6c7720f36 Immersed boundary mesh modification update 2017-11-30 23:01:59 +00:00
Hrvoje Jasak
c50900f826 Compilation clean-up, immersed boundary 2017-11-30 23:01:23 +00:00
Hrvoje Jasak
18fbbf20a6 Immersed boundary methodology rewrite. Version 1 2017-11-30 22:59:32 +00:00
Hrvoje Jasak
0413c44e09 Updates to MRF handling for block-coupled solver 2017-11-18 12:22:59 +00:00
Hrvoje Jasak
111979afe5 Comment 2017-11-18 12:22:59 +00:00
Hrvoje Jasak
0919f0d590 Change top-level AMG solver 2017-11-16 15:22:45 +00:00
Hrvoje Jasak
9cfd7cbe66 Formatting 2017-11-16 15:22:29 +00:00
Hrvoje Jasak
b057dac985 Provide point or face option for surface data writers 2017-11-16 15:21:46 +00:00
Hrvoje Jasak
b286fb1847 Improvements to polynomial fit immersed boundary method 2017-11-16 15:07:54 +00:00
Hrvoje Jasak
90e1ef8054 Fixed procCell search problem: no cell hit check 2017-11-09 14:54:54 +00:00
Hrvoje Jasak
6c4641366b Provide ILUC0 preconditioner for symmetric matrices 2017-11-09 13:37:18 +00:00
Hrvoje Jasak
3414e6eb38 Bugfix: valid model check and private data syntax 2017-11-09 13:36:08 +00:00
Hrvoje Jasak
9ccbcf5bc6 Bugfix: Remove double registration of symmetry finiteArea patch 2017-11-09 13:34:52 +00:00
Hrvoje Jasak
51a5c5e0ab Immersed Boundary mapDistribute comms update 2017-11-09 13:24:16 +00:00
Vuko Vukcevic
9fbf8f1bfc Bugfix in polyRef.C
Allowing arbitrary number of anchor points per face in order to treat cut cell
interfaces consistently.
2017-10-31 11:26:37 +01:00
Vuko Vukcevic
993b979617 Optional debug output in polyRef 2017-10-30 11:11:24 +01:00
Vuko Vukcevic
58a6946769 No slip moving wall boundary condition 2017-10-30 08:22:19 +01:00
Vuko Vukcevic
6e4acb64c0 Added notes to headers 2017-10-30 08:20:44 +01:00
Vuko Vukcevic
7f7401ff8c Checking severe non-orthogonality when creating internal/boundary faces 2017-10-30 08:20:44 +01:00
Vuko Vukcevic
48bfe69e10 Updates to unerfinement in polyRef.C 2017-10-30 08:20:43 +01:00
Vuko Vukcevic
9da722f174 Created polyRefinementHistory
Basically a generalisation of refinementHistory which works only for hex cells
2017-10-30 08:20:43 +01:00
Vuko Vukcevic
a50d934d7a Updates to creation of internal faces 2017-10-30 08:20:43 +01:00
Vuko Vukcevic
1064123ce5 Updates to unsplit faces containing split edges 2017-10-30 08:20:43 +01:00
Vuko Vukcevic
9c31584ba6 Updates to faces that get split 2017-10-30 08:20:43 +01:00
Vuko Vukcevic
d7b830e474 Generalisation of cell addition to polyhedral cells 2017-10-30 08:20:42 +01:00
Vuko Vukcevic
c599c4999a Updates to cellAnchorPoints 2017-10-30 08:20:42 +01:00
Vuko Vukcevic
745d9e140d Removed faceAnchorLevel validity check 2017-10-30 08:20:42 +01:00
Vuko Vukcevic
5c64455a11 Generalisation of polyRef::getAnchorLevel
The function now returns the correct anchor level for arbitrary polygonal faces,
i.e. there is no assumption that the face comes from possibly spit hex cell.
2017-10-30 08:20:42 +01:00
Vuko Vukcevic
cc19e8e421 Updated comments in polyRef.H 2017-10-30 08:20:42 +01:00
Vuko Vukcevic
657cfc7e2b Minor clean-up 2017-10-30 08:20:41 +01:00
Vuko Vukcevic
3b248a82ca Removed cell protection from dynamicRefinePolyFvMesh 2017-10-30 08:20:41 +01:00
Vuko Vukcevic
e3b2a11d58 dynamicRefinePolyMesh using polyRef instead of hexRef8 2017-10-30 08:20:41 +01:00
Vuko Vukcevic
0ad13a0817 Copied hexRef8 to polyRef 2017-10-30 08:20:40 +01:00
Vuko Vukcevic
94a6a9c746 Copied dynamicRefineFvMesh to dynamicRefinePolyFvMesh 2017-10-30 08:20:40 +01:00
Hrvoje Jasak
9fe436ac41 Remove basicSymmetry run-time selection registration 2017-10-20 12:59:00 +01:00
Hrvoje Jasak
22e02bcced Convection-diffusion steady intertial ddt scheme 2017-10-20 12:52:34 +01:00
Hrvoje Jasak
3f476fdd99 Bugfix: do not register basicSymmetry patch field with run-time selection table 2017-10-20 12:52:12 +01:00
Hrvoje Jasak
715f56ae5a Formatting 2017-10-20 12:51:47 +01:00
Vuko Vukcevic
8ce142094e Merge branch 'master' of git://git.code.sf.net/p/foam-extend/foam-extend-4.0 2017-10-20 13:35:04 +02: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
3311d1acc4 Merge branch 'master' of git://git.code.sf.net/p/foam-extend/foam-extend-4.0 2017-10-18 13:54:19 +02: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
68112a1607 Remove experimental Block AMG forms 2017-10-12 13:51:30 +01:00
Hrvoje Jasak
e77a2cbb8a Cached block AMG: precon, smoother and solver matrix update 2017-10-12 13:09:46 +01:00
Hrvoje Jasak
220a46a584 Cached block AMG: Work in progress 2017-10-12 11:29:55 +01:00
Hrvoje Jasak
f3cbb24d30 Bugfix: Simplify top-level AMG solution 2017-10-03 13:45:15 +01:00
Hrvoje Jasak
074b72cbfa Clean-up: remove forcing weights sum to 1 2017-10-03 13:43:35 +01:00
Hrvoje Jasak
3b612e6748 Bugfix: Finite Area bugfixes + WedgePointPatchField bugfix. Vanja Skuric 2017-09-21 14:09:46 +01:00
Hrvoje Jasak
028128c240 Improved turbulence modelling and wall functions. Vuko Vukcevic 2017-09-21 14:01:34 +01:00
Hrvoje Jasak
315ac1217d Bugfix: Windows bugfixes and updated tutorial cases. Robert Keser 2017-09-21 14:00:11 +01:00
Hrvoje Jasak
97d329e130 Bugfix: Windows bugfixes and updated tutorial cases. Robert Keser 2017-09-21 13:59:30 +01:00
Hrvoje Jasak
40212ce081 Bigfix: Parallel Lagrangian (2x) & parallel point interpolation. Henrik Rusche 2017-09-21 13:55:49 +01:00
Hrvoje Jasak
62d5cb9cba Reorganization and novelties in 6DOF integrators. Viktor Pandza, Vuko Vukcevic 2017-09-21 13:52:19 +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
Hrvoje Jasak
64a0b7bf57 Updated cross-coupling terms in coupledKEpsilon turbulence model. Robert Keser 2017-09-21 13:45:06 +01:00
Hrvoje Jasak
00a56bc2c0 Bugfix: fvMatrix, wedgePointPatchFields, faMatrix setValues. Vanja Skuric 2017-09-21 13:41:53 +01:00
Hrvoje Jasak
6b85f61a4e Bugfix: Parallel point field. Vuko Vukcevic" 2017-09-21 13:40:14 +01:00
Hrvoje Jasak
f0c05c478c Bugfix: Use typeName instead of string 2017-09-21 09:59:30 +01:00
Hrvoje Jasak
581ffd82e8 Formatting 2017-09-21 09:58:47 +01:00
Hrvoje Jasak
f9699575b6 Removed debug checks - efficiency 2017-09-21 09:58:09 +01:00
Hrvoje Jasak
f593ad1903 Bugfix: solving direction was not passed correctly for vector fam solution 2017-09-21 09:54:36 +01:00
Hrvoje Jasak
34573c4db6 Bugfix: Use fa match tolerances 2017-09-21 09:54:05 +01:00
Hrvoje Jasak
ac8bf27206 Bugfix: loop optimisation 2017-09-21 09:53:45 +01:00
Henrik Rusche
aaf0bf5037 BUGFIX: Enable point interpolation with global non-blocking comms 2017-09-13 12:44:25 +02:00
Henrik Rusche
71983fec41 Bugfix: reactingParcelFoam/evaporationTest tut hangs in parallel 2017-09-13 12:30:40 +02:00
Hrvoje Jasak
7db15e9fdb Bugfix: localParallel on strange decompositions 2017-09-05 07:09:00 +01:00
Hrvoje Jasak
a32a432ef5 Bugfix: fix regionCouplePolyPatch active() 2017-09-05 06:46:57 +01:00
Hrvoje Jasak
6c174399a4 Bugfix: clean-up 2017-09-05 06:46:17 +01:00
Hrvoje Jasak
69fcb2756a Bugfix: out of range array access 2017-08-28 09:00:40 +01:00
Hrvoje Jasak
abcb49ab52 Bugfix: calculation of losortStart for meshes with disconnected cells in lduAddressing 2017-08-25 18:43:21 +01:00
Hrvoje Jasak
4d70590651 Clean-up of debug statements 2017-08-25 14:15:04 +01:00
Hrvoje Jasak
990affa9ea Bugfix: error in losortStart calculation for solo cells 2017-08-25 14:06:09 +01:00
Hrvoje Jasak
b76f64c30a Hacked triple product check 2017-08-25 09:23:04 +01:00
Hrvoje Jasak
f646502011 Bugfix: sortedToc in addressing cannot be a reference. HJ 2017-08-24 17:25:44 +01:00
Hrvoje Jasak
2f92fb6c8a Bugfix: jr diagonal array indexing and reference to temporary on product 2017-08-24 15:59:19 +01:00
Hrvoje Jasak
417d2d1244 Remove info statements 2017-08-23 14:53:38 +01:00
Hrvoje Jasak
3d48eec1f9 Bugfix: triple product addressing calculation: mixed lower and upper triangle. WITH EXTRA DEBUG 2017-08-23 13:56:34 +01:00
Hrvoje Jasak
e3426fd0b6 Bugfix: hydrofoil tutorial mesh motion consistency 2017-08-10 20:30:05 +01:00
Henrik Rusche
01fb221ee3 Bugfix: Injection model hangs on parallel 2017-08-10 09:40:57 +02:00
Hrvoje Jasak
6941477843 Bugfix: remove SWIG support 2017-08-02 10:51:07 +01:00
Hrvoje Jasak
159422eba7 Bugfix: minor clean-up 2017-08-02 10:49:58 +01:00
Hrvoje Jasak
c814ad6052 Bugfix: Debug reports in parallel 2017-08-02 10:48:59 +01:00
Hrvoje Jasak
0326f7259f Fix handling for solo rows 2017-08-01 23:15:57 +01:00
Hrvoje Jasak
cc34210c87 Reduce number of debug statements 2017-07-31 10:46:09 +02:00
Hrvoje Jasak
c5a5da753a Block matrix selection: losort bug fix and performance improvements 2017-07-30 11:42:35 +01:00
Hrvoje Jasak
7dec495401 Formatting 2017-07-07 13:32:33 +01:00
Hrvoje Jasak
b4d411e23f Formatting 2017-07-07 13:32:07 +01:00
Hrvoje Jasak
4a9967a12c Better error message for generic patch 2017-07-07 13:31:29 +01:00
Hrvoje Jasak
7bad3e7de7 Rename function on coupled interfaces: isMaster() -> master() 2017-07-07 13:30:52 +01:00
Hrvoje Jasak
7794e76417 Added master() function in lduInterface: better parallel ILU preconditioning 2017-07-07 13:29:27 +01:00
Hrvoje Jasak
138d4a157d Algorithmic improvements in Block SAMG: diag factor, removal of direct coarse-coarse links, treatment of diagonally dominant cells 2017-07-07 13:27:00 +01:00
Hrvoje Jasak
0179df1da3 Removed commented out members 2017-07-07 13:25:38 +01:00
Hrvoje Jasak
930279260e Fixed info in debug statements: Extended GGI 2017-07-07 13:25:21 +01:00
Hrvoje Jasak
d52d673767 Revert to original CholeskyPrecon on coupled interfaces 2017-07-07 12:52:44 +01:00
Hrvoje Jasak
a18c6f4a23 Formatting 2017-07-07 12:50:31 +01:00
Hrvoje Jasak
a2cc351df9 Formatting 2017-07-07 12:30:10 +01:00
Hrvoje Jasak
c4d1c63792 Formatting 2017-07-07 12:28:49 +01:00
Vuko Vukcevic
5a54724450 Corrected spacing 2017-06-29 08:57:35 +02:00
Vuko Vukcevic
35427a239d nuRatio boundary conditions for epsilon and omega
Given a desired nuRatio, the boundary conditions automatically calculate
epsilon/omega from k.
2017-06-29 08:56:04 +02:00
Vuko Vukcevic
dbd2b5ccd1 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.
2017-06-28 17:08:19 +02:00
Hrvoje Jasak
04940d2a54 Added missing mag in MRF zone axis check 2017-06-23 11:06:11 +01:00
Hrvoje Jasak
225eb40091 Block Cholesky precon coupled interface variants 2017-06-19 23:40:15 +01:00
Hrvoje Jasak
20511b2418 Comment 2017-06-19 23:24:15 +01:00
Hrvoje Jasak
f458227c57 Added BlockILU smoother solvers 2017-06-19 23:09:12 +01:00
Hrvoje Jasak
5aa34daf28 Coupled interface update fix, scalar CholeskyPrecon 2017-06-19 19:24:18 +01:00
Hrvoje Jasak
cb58ca4e8f Coupled interface handling in Block Cholesky preconditioner: bug fix 2017-06-19 18:31:30 +01:00
Hrvoje Jasak
f6ea803727 Fix preconditionT in scalar ILU0 2017-06-19 18:21:24 +01:00
Hrvoje Jasak
bc7cc7ca9b Clean-up of coupled updates on scalar Cholesky and ILU0 preconditioners 2017-06-19 18:17:34 +01:00
Hrvoje Jasak
dc0ad86c6f Merging scalar Cholesky and ILU0 preconditioners: coupled boundary update 2017-06-19 18:13:08 +01:00
Hrvoje Jasak
f00a6361ac Merge branch 'development' of ssh://git.code.sf.net/u/hjasak/foam-extend-4.0 into development 2017-06-19 18:08:35 +01:00
Hrvoje Jasak
d17c293e6d Cholesky and ILU0 precon on coupled patches: bug fix 2017-06-19 17:19:17 +01:00
Hrvoje Jasak
1354e6971c Update iluSmoother for symmetric and asymmetric matrices 2017-06-19 17:18:50 +01:00
Hrvoje Jasak
af92cfddc8 Coupled boundaries in BlockCholeskyPrecon 2017-06-19 17:16:46 +01:00
Hrvoje Jasak
775edf12c0 Formatting 2017-06-19 16:18:39 +01:00
Hrvoje Jasak
0cbbf0d443 Update coupled boundaries in ILU preconditioner 2017-06-19 12:58:13 +01:00
Hrvoje Jasak
d26ff4d776 Revert: no renormalisation of residual allowed 2017-06-16 13:02:59 +01:00
Hrvoje Jasak
317e116229 Experimental: diag inverse check 2017-06-16 12:47:54 +01:00
Hrvoje Jasak
058c2b425d Comment on initialisation of xCorr in ILU smoother 2017-06-16 12:47:28 +01:00
Hrvoje Jasak
7c4511894b Experimental: Rebase residual before restriction 2017-06-16 12:47:06 +01:00
Hrvoje Jasak
34e47b44b9 Inline destructor 2017-06-16 12:46:37 +01:00
Hrvoje Jasak
58ff8e1e54 Clean-up 2017-06-16 12:44:32 +01:00
Hrvoje Jasak
c3c233a493 Formatting and clean-up 2017-06-15 19:40:53 +01:00
Vuko Vukcevic
d9690e81ae 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.
2017-06-12 15:01:17 +02:00
Hrvoje Jasak
cf887cbe5e Report coarse level size at debug level 3 in AMG 2017-06-09 00:42:13 +01:00
Hrvoje Jasak
41e28bb072 Fast processor SAMG support without search 2017-06-08 17:46:02 +01:00
Hrvoje Jasak
774009e384 Hast table optimisation for better look-up. Experimental 2017-06-08 17:45:12 +01:00
Hrvoje Jasak
f3b95fec68 Added GGL SAMG block interface fields 2017-06-08 16:12:37 +01:00
Hrvoje Jasak
a3df01751f Consistent handling of moving boundaries with new MRF mesh flux 2017-06-08 16:12:05 +01:00
Hrvoje Jasak
0fe89520a2 Improved new-style MRF 2017-06-08 14:53:33 +01:00
Hrvoje Jasak
4ac325ab77 Parallel GGI selective AMG coarsening 2017-06-08 13:39:56 +01:00
Hrvoje Jasak
cad4b9295e Serial Block GGI SAMG interface 2017-06-07 17:48:56 +01:00
Hrvoje Jasak
73d7fe4e3f Use dynamic lists in processor SAMG interfaces 2017-06-07 14:09:58 +01:00
Hrvoje Jasak
b92474c8d4 GGI SAMG interface field 2017-06-07 12:54:07 +01:00
Hrvoje Jasak
5ac0d32666 Processor and GGI Block selective AMG: reference point 2017-06-07 12:30:05 +01:00
Hrvoje Jasak
3ca1b11770 Added expandCrMatrixToZone to ggiFvPatch 2017-06-06 18:38:12 +01:00
Hrvoje Jasak
78faa550f7 Add crMatrix buffer 2017-06-06 18:25:53 +01:00
Hrvoje Jasak
c482887c99 Add null constructors to crAddressing and crMatrix 2017-06-06 18:25:41 +01:00
Hrvoje Jasak
bf1d5b22a4 Formatting 2017-06-06 18:04:34 +01:00
Hrvoje Jasak
c65ef13139 GGI SAMG interface support, first version 2017-06-06 18:03:58 +01:00
Hrvoje Jasak
1b45e34c8a Deactivate MRF debug 2017-06-06 11:32:04 +01:00
Hrvoje Jasak
27c31a4b62 MRF Zone: new calculation of MRF mesh fluxes 2017-06-06 11:09:30 +01:00
Hrvoje Jasak
8926a0a44b Clean-up 2017-06-05 13:50:11 +01:00
Hrvoje Jasak
83dea72edf Bad index for weight increment 2017-06-05 13:33:23 +01:00
Hrvoje Jasak
0b182be462 Coarse selective matrix assembly without search 2017-06-01 16:31:21 +01:00
Hrvoje Jasak
e48f1057fd Use only one norm in block selective AMG 2017-06-01 14:44:09 +01:00
Hrvoje Jasak
c5fd9c9326 Comments 2017-06-01 14:20:40 +01:00
Hrvoje Jasak
1faa10bed0 Parallel block selective AMG. Tessa Uroic 2017-06-01 10:21:19 +01:00
Hrvoje Jasak
fec3d9f714 Clean-up 2017-06-01 10:20:51 +01:00
Hrvoje Jasak
f74532adce Updates to block selective AMG 2017-05-31 16:34:40 +01:00
Hrvoje Jasak
749d15f8ea Deleted old implementation 2017-05-31 16:34:21 +01:00
Hrvoje Jasak
bd0a7f8764 Deleted old implementation 2017-05-31 16:33:26 +01:00
Vuko Vukcevic
391e98828f Additional wall functions: k/epsilonNonEqWallFunctions
Non-equilibrium wall functions for k and epsilon.

Author: Filip Sutalo, Merge: Vuko Vukcevic
2017-05-31 13:25:48 +02:00
Hrvoje Jasak
4482bcfdae Bugfix: Uncommented unused variable 2017-05-30 14:55:11 +01:00