Commit graph

1993 commits

Author SHA1 Message Date
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
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
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
Henrik Rusche
01fb221ee3 Bugfix: Injection model hangs on parallel 2017-08-10 09:40:57 +02: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
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
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
Vuko Vukcevic
2af7fe9b02 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
2017-05-29 14:02:48 +02:00
Vuko Vukcevic
c0741e5def 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
2017-05-29 09:46:39 +02:00
Vuko Vukcevic
072238fa11 Fixed typos in comments 2017-04-28 07:30:51 +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
795249e50e Fixed typo in error stream in checkField macro 2017-04-20 08:24:47 +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
Robert Keser
d69eccdc69 Bugfix: Avoid zero in log function in dsmcInitialise Authors: Robert Keser & Vanja Skuric 2017-04-19 14:21:43 +02:00
Robert Keser
64eed6d825 Bugfix: Reading files on Windows (recognizing relative or absoulte path) Author: Vanja Skuric 2017-04-17 15:27:50 +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
333c815d8f Make all axis point labels available in wedgeFaPatch (idea from Zeljko) 2017-04-04 03:04:33 +02:00
Pascal Beckstein
9bd721da3e Performance upgrade for global patch creation in tetPolyMesh 2017-04-04 02:49:53 +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
Robert Keser
f9c99a109c Updated cross-coupling terms in coupledKEpsilon turbulence model. 2017-03-29 16:49:49 +02:00
Vuko Vukcevic
fcb7267543 Minor update in comment 2017-03-14 15:54:03 +01:00
Vuko Vukcevic
26f9cf0b5b Added member function to initialize force and moment in sixDOFODE 2017-03-14 14:57:49 +01:00
Vuko Vukcevic
ea398214f1 Added access functions in constraints/restraints 2017-03-13 17:01:32 +01:00
Vuko Vukcevic
67f3d04b5c 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.
2017-03-13 16:03:30 +01:00
Vuko Vukcevic
715ee6a0fb Moved static functions in finiteRotation to public interface 2017-03-13 12:34:47 +01:00
Vuko Vukcevic
b245c86343 Update to eulerAngles static function in finiteRotation 2017-03-13 12:30:51 +01:00
Vuko Vukcevic
603882b543 Minor updates to sanity checks in sixDOFODE.C 2017-03-13 10:46:52 +01:00
Vuko Vukcevic
445630ae8d Changed reference in geometricSixDOF.H class description 2017-03-13 08:50:06 +01:00
Vuko Vukcevic
dfad77e0ec Added stabilisation for constraints
Note: necessary for arbitrary DAE systems
2017-03-10 16:36:15 +01:00
Vuko Vukcevic
8bf831fdc4 Force/moment update to sixDOFBodies 2017-03-10 15:35:38 +01:00
Vuko Vukcevic
e31adfa8fd Angular damper rotational restraint 2017-03-10 12:58:14 +01:00
Vuko Vukcevic
8459f22dbb Finalised the use of translationa/rotational restraints in sixDOFODE classes 2017-03-10 11:20:42 +01:00
Vuko Vukcevic
26f51f4572 Adding interface for restraints
Abstract base classes translationalRestraint and rotationalRestraint are laid
out. Need to use them in sixDOFODE class and write basic restraints.
2017-03-10 09:59:56 +01:00
Vuko Vukcevic
1531334d60 Relocated motion constraints to sixDOFODE base class 2017-03-09 10:35:50 +01:00
Vuko Vukcevic
9caa3ceb3b Periodic oscillation translational constraint 2017-03-09 10:08:39 +01:00
Vuko Vukcevic
65b54e96d0 Extended interface for motion constraints 2017-03-08 15:59:13 +01:00
Vuko Vukcevic
02680c81a8 Updated comments 2017-03-08 15:40:00 +01:00
Vuko Vukcevic
577ae885a0 Updates to sixDOFODE classes
2nd order accurate updates of force and moment during the ODE solution.
2017-03-08 11:08:20 +01:00
Vuko Vukcevic
8173f43dfb quaternionSixDOF using general constraints 2017-03-08 08:42:26 +01:00
Vuko Vukcevic
7b2a0ccb9d Fixed output of constraints for proper restart 2017-03-08 08:06:09 +01:00
Vuko Vukcevic
f88320f59c 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.
2017-03-07 12:37:03 +01:00
Vuko Vukcevic
b2c6c1d020 Implementation of constraints, part 3 2017-03-07 10:52:00 +01:00
Vuko Vukcevic
f6010446df Implementation of constraints, part 2 2017-03-07 10:28:43 +01:00
Vuko Vukcevic
9bf56b6571 Implementation of constraints, part 1 2017-03-07 09:05:34 +01:00
Vuko Vukcevic
2ac69ec9aa Added sanity check for mass and moment of inertia 2017-03-06 13:19:50 +01:00
Vuko Vukcevic
ded50536b9 Minor formatting 2017-03-06 12:25:23 +01:00
Vanja Skuric
5b563af464 Bugfix: Checking if running in parallel during processor patch points correction 2017-03-03 15:05:34 +01:00
Vanja Skuric
ab1330fc1c Bugfix: Corrected edge indexing in faMatrix::setValues() 2017-03-03 14:58:14 +01:00
Vuko Vukcevic
eecdc6e24c Restored translationODE class
Accidentally removed it in one of the previous commits
2017-03-02 14:22:30 +01:00
Vuko Vukcevic
106f871fc5 Updates to geometricSixDOF
Changed convention of rotation tensor and updated dexp member function to allow
higher order accuracy
2017-03-02 13:57:49 +01:00
Vuko Vukcevic
f4db00045d Updates to dynamicRefineFvMesh
Ported protection for non-hex cells from Vanilla
2017-03-02 09:58:12 +01:00
Vuko Vukcevic
b45ccb6bf5 Bugfix related to nonBlocking comms in ProcessorPointPatchField 2017-03-02 07:40:47 +01:00
Vuko Vukcevic
23caada7b0 Updates to Aitkens relaxation
Now completely handled from the sixDOFODE class
2017-03-01 16:47:34 +01:00
Vuko Vukcevic
5e03c726a4 Updates to ODESolver and sixDOFODE classes
Updates enable automatic handling of multiple calls to ODESolve::solve within a
single time step
2017-03-01 15:38:38 +01:00
Vuko Vukcevic
d4ed7d23d1 Restructured sixDOFODE interface
Removed implementation specific data and left only essential interface for
coupling with CFD solver.
2017-03-01 10:58:59 +01:00
Vuko Vukcevic
89ef2f50fc Minor updates in sixDOF classes 2017-03-01 08:02:57 +01:00
Vanja Skuric
248fcc3a2d Bugfix: Check for the zero-size WedgePointPatchField in parallel runs. Author: Zeljko Tukovic 2017-02-28 16:33:45 +01:00
Vuko Vukcevic
438fe88504 Runtime bugfixes and minor reorganization 2017-02-28 16:08:03 +01:00
Vuko Vukcevic
72d07087e4 First version of geometricSixDOF class
Compiles but does not produce correct results. Still need to find bugs.
2017-02-28 13:59:52 +01:00
Vuko Vukcevic
9e202d2f8d OutputControlDictionary host class
Used to enable a combination of run-time selection and automatic read/write
provided by IOdictionary. Currently used in sixDOFODE class.
2017-02-28 09:33:36 +01:00
Vuko Vukcevic
46da6ee8bd Additional functionality in finiteRotation 2017-02-27 16:57:45 +01:00
Vuko Vukcevic
442ac70b0f 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)
2017-02-27 16:56:17 +01:00
Vuko Vukcevic
3bc8dbbb28 Reorganized sixDOFbodies in terms of sixDOFODE 2017-02-27 08:25:08 +01:00
Vuko Vukcevic
cd6a4a6f16 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.
2017-02-27 08:01:40 +01:00
Vuko Vukcevic
330d3a33af Abstract base class sixDOFODE 2017-02-24 11:13:54 +01:00
Hrvoje Jasak
4fad65ce7c Merge branch 'bugfix/UCMModel' Authoer: Miguel Nobrega etal. Merge: Hrvoje Jasak. 2017-02-10 14:24:57 +00:00
Hrvoje Jasak
09992c2b75 UCM model stability improvement. M. Nobrega etal 2017-02-10 14:19:52 +00:00
Hrvoje Jasak
6e7e7ec622 Merge commit 'c8949a5f9e822ec508fd6c732ab0c089e507d27d'. Author: Hrvoje Jasak. Merge: Hrvoje Jasak.
Conflicts:
	src/foam/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C
2017-02-10 13:22:03 +00:00
Hrvoje Jasak
2ad4afaa0c Merge commit '79e61466993b52644d36f73302a9e1be4840b721' Author: Inno Gatin. Merge: Hrvoje Jasak. 2017-02-10 13:20:34 +00:00
Hrvoje Jasak
6df1d9861d Added option to relax only a part of the matrix 2017-02-10 10:03:04 +00:00
Hrvoje Jasak
f9540ece34 Bugfix: Added handling for matrix constraints 2017-02-10 10:01:22 +00:00
Hrvoje Jasak
c373b855ba Bugfix: do not read fluxRequired from dictionary 2017-02-10 10:00:24 +00:00
Hrvoje Jasak
6653e9a5d4 Bugfix: Aitken relaxation 2017-02-10 09:59:29 +00:00
Vanja Skuric
978c747d9d Bugfix: Conditionals for checking if FLEX_DIR is specified are corrected in Make/options 2017-02-07 12:38:46 +01: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
fdffd47248 Report cluster size in AMG coarsening 2017-02-06 11:38:05 +00:00
Hrvoje Jasak
a8ddd0885f Added option for zonal under-relaxation 2017-02-06 11:32:06 +00:00
Hrvoje Jasak
71540e2164 Moved conjugate heat transfer library to src 2017-02-06 11:31:10 +00:00
Inno Gatin
c0de9b1b1e Bugfix: fvMesh.C and sixDOFqODE.C. Minor changes to lduMatrix and lduAdressing. 2017-01-25 14:09:01 +01:00
Hrvoje Jasak
5ad239d7ec Bugfix: simple matrix operations 2017-01-24 16:44:43 +00:00
Hrvoje Jasak
78a9142214 Bugfix: MRF zone flux check 2017-01-24 16:44:22 +00:00
Vuko Vukcevic
b2d3172e52 fvcConsistentDdtPhiCorr for ddtSchemes in dbns library 2017-01-23 08:32:32 +01: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
59c57be5e4 Bugfix: Formatting 2017-01-11 12:03:56 +00:00
Hrvoje Jasak
88f3579418 Formatting 2017-01-11 12:01:30 +00:00