Commit graph

1993 commits

Author SHA1 Message Date
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
Vuko Vukcevic
b5be6201e0 Correct sign in processorFaPatchScalarField while updating matrix 2017-12-14 12:44:30 +01: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
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
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
3b612e6748 Bugfix: Finite Area bugfixes + WedgePointPatchField bugfix. Vanja Skuric 2017-09-21 14:09:46 +01:00