Commit graph

2827 commits

Author SHA1 Message Date
Vuko Vukcevic
805c942ac4 Version of donorBasedOverlapFringe that compiles
Note: still not tested
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
deec392065 Finished writing first version of donorBasedLayeredOverlap fringe
Note: did not attempt to compile yet, let alone test it
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
548bf940c9 Temporary commit
donorBasedLayeredOverlap fringe algorithm. Work in progress.
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
15af49e74a Bugfix in faceZone reconstruction procedure
Forgot to take into account the "turning face" index and decrement by one
2019-07-09 12:52:05 +02:00
Vuko Vukcevic
49769f0397 Reconstruction of cell/face/point zones during DLB
Wrote a missing piece of code that maps cell/face/point zones from different
mesh bits to the new, reconstructed mesh when doing Dynamic Load Balancing.
2019-07-09 12:52:05 +02:00
Vuko Vukcevic
57d3af8960 Bugfix on creating PrimitivePatch::meshPointsPtr_
We must not enforce the order of points on processor patches when collecting
patch points from faces because this occasionally causes ordering errors on two
sides (e.g. in DLB).
2019-07-09 12:52:05 +02:00
Vuko Vukcevic
d9cfdea84f Reverted to inv in fvcReconstruct 2019-07-09 12:52:05 +02:00
Vuko Vukcevic
13f349b769 Added empty and wedge direction tolerances in polyMesh
On same DLB+AMR cases, the round-off error caused the difference in global and
local empty direction to be slightly larger than SMALL.
2019-07-09 12:51:09 +02:00
Vuko Vukcevic
fd18eaffa1 Temporarily issuing an error if we have zones while doing DLB 2019-07-09 12:51:09 +02:00
Vuko Vukcevic
d5948f3fb7 Start/restart handling in dynamicPolyRefinementFvMesh
If the constant/polyMesh/meshModifiers file is present, we simply neglect it and
use the controls from dynamicMeshDict to avoid confusion.
2019-07-09 12:51:09 +02:00
Vuko Vukcevic
44cef61dbe Clean-up after merge (duplicate stuff) 2019-07-09 12:51:09 +02:00
Vuko Vukcevic
d5030fc035 Removed temporary debug stuff
1. Writing down mesh during load balancing,
2. Left-over sleep statement,
3. Output formatting (some output wrapped around debug statements)
2019-07-09 12:51:09 +02:00
Danial Khazaei
9e401eedca
[port]: completed List container implementation with new functions. 2019-07-08 21:10:15 +04:30
Danial Khazaei
69192ae1f4
[port]: re-write List container to suppress [-Walloc-size-larger-than=].
- Changes are ported from OpenFOAM-dev project.
2019-07-08 19:13:27 +04:30
Danial Khazaei
9e8966483f
[bugfix]: writing to an object with no trivial copy-assignment [wclass-memaccess]. 2019-07-08 19:08:47 +04:30
Hrvoje Jasak
7bc0c8b3d8 Bugfix: addes support for dealing with zero-sized patch fields (immersed boundary) 2019-07-04 11:27:14 +01:00
Hrvoje Jasak
2a83c710b9 Update sGamma handling 2019-07-01 18:26:31 +01:00
Hrvoje Jasak
e2bffde2aa Improved initial deltaT controls 2019-07-01 18:13:23 +01:00
Hrvoje Jasak
011589a375 Upddate IB masks: zero or one only 2019-06-28 18:51:35 +01:00
Hrvoje Jasak
5ae7812464 Added minDeltaT option to automatic time-step control, 2 2019-06-27 16:03:19 +01:00
Hrvoje Jasak
3fdcd79b67 Added minDeltaT option to automatic time-step control, 2 2019-06-27 16:02:29 +01:00
Hrvoje Jasak
6333212551 Added minDeltaT option to automatic time-step control 2019-06-27 15:29:51 +01:00
Hrvoje Jasak
16b9d2b796 Comment 2019-06-26 17:16:54 +01:00
Hrvoje Jasak
19890cb253 Added fallthrough attribute 2019-06-19 11:38:43 +01:00
Hrvoje Jasak
d4f21693fa Change Immersed Boundary dead cell handling in matrix: boost diagonal and setValues 2019-06-19 11:23:18 +01:00
Hrvoje Jasak
6c80a5b3e4 fixedGradient writes value - avoid duplicate write 2019-06-18 14:59:11 +01:00
Hrvoje Jasak
31ea91e35b Rewrite of wall function boundary conditions to support immersed boundary wall functions. Incompressible fixes; extended to compressible 2019-06-18 12:48:16 +01:00
Hrvoje Jasak
cffe702f75 Use labelField for refinement history to allow for parallel decomposition and reconstruction + load balancing 2019-06-18 12:47:16 +01:00
Hrvoje Jasak
94af00fa04 Splitting immersed boundary turbulence libraries to incompressible and compressible; Added compressible wall functions 2019-06-18 12:46:03 +01:00
Hrvoje Jasak
624b6a72b8 Rewrite of parallel gather-write of immersed boundary patch data 2019-06-17 18:16:26 +01:00
Hrvoje Jasak
328c75a101 Refactoring for immersed boundary support 2019-06-17 15:37:54 +01:00
Hrvoje Jasak
1fd5416dfc Fixed read and mapping errors on turbulence boundary conditions 2019-06-17 11:11:49 +01:00
Hrvoje Jasak
7334b895fe Style changes: FatalError 2019-06-17 11:10:35 +01:00
Vuko Vukcevic
07c16f1454 Updates to oversetMesh include files 2019-06-13 11:14:49 +02:00
Vuko Vukcevic
ce6f4f6473 Update in fvcReconstruct to enable hinv
Reconstruction equation reformulated in a way such that the inverse is always
calculated for a dimensionless dyadic tensor (Sf*Sf/magSf^2) instead of one that
scales with magSf (Sf*Sf/magSf). This proved to be problematic when we had
extremely small cells which triggered the calculation of inverse using
Householder's method.
2019-06-13 11:10:32 +02:00
Vuko Vukcevic
43080d7042 Fixed typos in comments 2019-06-13 11:07:18 +02:00
Hrvoje Jasak
070957cff2 Revert hinv in fvcReconstruct - problem cases. 2019-06-09 21:41:57 +01:00
Hrvoje Jasak
b2c5b1f561 Make pointLevel and cellLevel labelIOField for consistency 2019-06-02 19:24:13 +01:00
Vuko Vukcevic
860a681c8b Another orEqOp bugfix in the nLayers loop 2019-05-27 11:23:28 +02:00
Vuko Vukcevic
f6b3e9932b Bugfixes in cuttingPatchFringe
1. Marking cut hole cells as inside cells,
2. Parallel bugfix when syncing mark-up field across faces: used orOp instead of
   orEqOp for combination.
2019-05-27 10:37:49 +02:00
Vuko Vukcevic
8051a31239 Refactorization of cuttingPatchFringe 2019-05-22 12:08:44 +02:00
Vuko Vukcevic
7631b1d9db Additional sanity check for duplicate connected regions 2019-05-21 09:26:02 +02:00
Vuko Vukcevic
a9c1ebfe3d Bugfixes in cuttingPatchFringe
1. No need to flip the face when creating .stl
2. Removed wrong break statement
3. Slight reorganization and improvements
2019-05-20 16:50:25 +02:00
Vuko Vukcevic
127741a4a9 First version of cuttingPatchFringe algorithm
Similar to donorBasedOverlapFringe but better in a sense that it relies on
determining inside/outside region by creating an STL of the patch from donor
region. Note: still has bugs
2019-05-20 16:16:13 +02:00
Vuko Vukcevic
2ac52835c6 Minor update to faceCells' fringe interface 2019-05-20 16:15:51 +02:00
Vuko Vukcevic
f041b8e746 Minor updates to oversetCourantNo.H and oversetAlphaCourantNo.H
Just to make it more self-sustainable
2019-05-20 09:21:22 +02:00
Vuko Vukcevic
189078e98e Post processing updates to Overset Mesh
oversetMesh::regionIDPtr_ is now a pointer to volScalarField instead of
labelField in order to allow automatic I/O for post processing.
2019-05-20 08:57:29 +02:00
Vuko Vukcevic
7b4ec99683 Parallel bugfixes in donorBasedLayeredOverlapFringe 2019-05-20 08:57:29 +02:00
Vuko Vukcevic
9a178ce555 Work in progress regarding parallel bugfix in donorBasedLayeredOverlapFringe 2019-05-20 08:57:29 +02:00
Vuko Vukcevic
6f532eee4f Minor formatting 2019-05-20 08:57:29 +02:00
Vuko Vukcevic
9e1470a06d Robustness improvement in donorBasedLayeredOverlapFringe
Looking at bounding box of the connected region to determine whether we are
going in the right direction.
2019-05-20 08:57:29 +02:00
Vuko Vukcevic
0590d254e0 Run-time bugfixes in donorBasedLayeredOverlapFringe
Note: still need to thoroughly test in parallel and with multiple donor regions
for a single background region
2019-05-20 08:57:29 +02:00
Vuko Vukcevic
ba114c1b5d Version of donorBasedOverlapFringe that compiles
Note: still not tested
2019-05-20 08:57:29 +02:00
Vuko Vukcevic
6a5117ed51 Finished writing first version of donorBasedLayeredOverlap fringe
Note: did not attempt to compile yet, let alone test it
2019-05-20 08:57:29 +02:00
Vuko Vukcevic
31019383d2 Temporary commit
donorBasedLayeredOverlap fringe algorithm. Work in progress.
2019-05-20 08:57:29 +02:00
Hrvoje Jasak
b6c9f0c577 Tow-stage Immersed face tolerance consistency. QUick reject using shortest face in edge and detailed analysis edge-by-edge. Inno Gatin 2019-05-15 13:02:15 +01:00
Hrvoje Jasak
6c9291cd4e Immersed face tolerance consistency. Inno Gatin 2019-05-15 09:42:05 +01:00
Hrvoje Jasak
a4d077f45b Formatting 2019-05-13 11:48:26 +01:00
Hrvoje Jasak
494ffcff89 Porting: single precision requires casting in max 2019-05-10 14:27:58 +01:00
Hrvoje Jasak
8a64613197 Reverting debug change: file based communication replaced by Pstream. 2019-05-08 11:48:51 +01:00
Hrvoje Jasak
7ef4377a9c Improved normalisation of reported residuals for block-coupled systems 2019-05-02 13:29:21 +01:00
Hrvoje Jasak
93849cea09 Bugfix: decomposeMesh offset. Vuko Vukcevic 2019-05-01 17:19:53 +01:00
Hrvoje Jasak
3214174c2c Removed templated NamedEnum::names instantiation: always in specialisations 2019-05-01 13:58:24 +01:00
Hrvoje Jasak
d2c6d4e489 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-05-01 13:56:13 +02:00
Hrvoje Jasak
b71851619f Porting: Clean up of initialisation of static data, casting and comparison with enum, Mac OSX 2019-05-01 13:55:18 +02:00
Hrvoje Jasak
1817de53ad BUGFIX: View factor smoothing now takes into account reciprocity condition 2019-05-01 09:41:55 +01:00
Hrvoje Jasak
076919ae55 Bugfix: call to completeAssembly in wrong place. Henrik Rusche 2019-05-01 09:40:29 +01:00
Hrvoje Jasak
267fa0eba8 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-04-30 16:59:25 +02:00
Hrvoje Jasak
884667e262 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-04-30 15:45:37 +01:00
Hrvoje Jasak
ef519cd839 Porting: typed label bug fix. Daniel Khazaei 2019-04-30 15:44:41 +01:00
Hrvoje Jasak
f97c0f81ab Updated I/O handling of fixed gradient and mixed FV patches for DLB. Vuko Vukcevic 2019-04-30 15:44:09 +01:00
Hrvoje Jasak
e63cc43dfa Reverting unnecessary DLB change by HR 2019-04-30 15:43:38 +01:00
Hrvoje Jasak
b1e3690002 Fixed fallthrough attribute 2019-04-30 15:43:01 +01:00
Hrvoje Jasak
2d799c2cdf Bugfix: bad addressing in analysis of coupled boundar IBM cut 2019-04-30 15:07:08 +01:00
Henrik Rusche
70ed6ba967 BUGFIX: View factor smoothing now takes into account reciprocity condition 2019-04-25 18:39:16 +02:00
Hrvoje Jasak
785fbd9c25 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-04-25 15:05:32 +02:00
Hrvoje Jasak
78276e48af Porting: strip register keyword 2019-04-25 14:00:49 +01:00
Hrvoje Jasak
9eac282022 Revert change in Make/files 2019-04-25 13:58:15 +01:00
Hrvoje Jasak
83d768ad9a Pstream::commsTypes fix script change error 2019-04-25 13:52:15 +01:00
Hrvoje Jasak
b08982a4d0 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-04-25 12:18:30 +02:00
Hrvoje Jasak
109b8456d8 Merge of friend function declaration 2019-04-25 11:12:34 +01:00
Hrvoje Jasak
84121da55f Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-04-25 11:09:35 +01:00
Hrvoje Jasak
f538892f93 Porting: Mac OSX scoping of Pstream 2019-04-25 11:04:41 +01:00
Hrvoje Jasak
cf061271af Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-04-19 11:22:56 +02:00
Hrvoje Jasak
aefefb78d9 mall update to solutionControl's interface. Vuko Vukcevic 2019-04-09 12:01:28 +01:00
Hrvoje Jasak
71a25fc3c3 Bugfixes and improvements in DLB and AMR. Vuko Vukcevic 2019-04-09 12:00:24 +01:00
Hrvoje Jasak
ca3b76f412 gcc8 compliance improvments. Danial Khazaei 2019-04-09 11:50:59 +01:00
Hrvoje Jasak
67ee1222b5 Bugfix: return scalar instead of truncated label. Daniel Khazaei. 2019-04-09 11:46:48 +01:00
Hrvoje Jasak
6a466c4378 Adjust IBM cut tolerances 2019-04-05 15:33:40 +01:00
Hrvoje Jasak
2bd012729b Bugfix: live factor rejection by cells ; not by faces 2019-04-05 15:33:15 +01:00
Hrvoje Jasak
9bdc8ce728 Multiple bug fixes: wet-on-cut faces must be wet; iteration in cut; consistent cut on processor boundary; adjust cut for 2-D geometries in case STL is not normal; report zero area IBM face 2019-04-05 15:31:52 +01:00
Hrvoje Jasak
39501b9254 Comment 2019-04-05 15:28:41 +01:00
Hrvoje Jasak
f8f6b78897 Added info on volume change in mesh motion 2019-04-03 13:05:34 +01:00
Hrvoje Jasak
6071684d0f Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-03-30 10:44:19 +00:00
Hrvoje Jasak
4d6f8b5bec Better report on volume change 2019-03-29 21:51:08 +00:00
Hrvoje Jasak
686c7a20ed Formatting 2019-03-29 15:08:02 +00:00
Vuko Vukcevic
038f60dc73 Slight update to solutionControl interface
Changed time and under-relaxation consistency members from private to protected
2019-03-28 17:28:08 +01:00
Hrvoje Jasak
eeefdf7552 Comment on IB patch normal 2019-03-28 15:49:47 +00:00
Hrvoje Jasak
63bd3ed52b Bugfix: Use Sf normal rather than n in moving immersed boundary: they are not parallel due to Marooney maneouvre 2019-03-28 15:49:14 +00:00
Hrvoje Jasak
8207c9cd62 Do not write phi in immersedBoundaryFvsPatchField 2019-03-28 15:48:35 +00:00