Commit graph

376 commits

Author SHA1 Message Date
Hrvoje Jasak
8a64613197 Reverting debug change: file based communication replaced by Pstream. 2019-05-08 11:48:51 +01:00
Hrvoje Jasak
ef519cd839 Porting: typed label bug fix. Daniel Khazaei 2019-04-30 15:44:41 +01:00
Hrvoje Jasak
78276e48af Porting: strip register keyword 2019-04-25 14:00:49 +01:00
Hrvoje Jasak
71a25fc3c3 Bugfixes and improvements in DLB and AMR. Vuko Vukcevic 2019-04-09 12:00:24 +01:00
Vuko Vukcevic
ac71ae4d16 Added a few comments regarding recent bugfixes 2019-03-08 12:51:33 +01:00
Vuko Vukcevic
d1116b86a9 Temporary change in refinement.C regarding edge consistency
Removed FatalError and instead issuing a warning (if debug) for runs with
Parallel Load Balancing. Still need to test thoroughly
2019-02-20 13:54:16 +01:00
Vuko Vukcevic
cea60ab8ab Refactorisation in refinement polyMeshModifier
Moved extendMarkedCellsAcrossFaces and extendMarkedCellsAcrossPoints from
refinement to meshTools.
2019-02-20 12:55:06 +01:00
Vuko Vukcevic
0efa19e651 Wrapped DLB output around if (debug) 2019-02-20 12:06:25 +01:00
Vuko Vukcevic
7f08269ab2 Two bugfixes:
1. polyTopoChanger::changeMesh -> call to polyTopoChanger::update needs to
   happen after polyMesh::updateMesh (more specifically,
   polyBoundaryMesh::updateMesh) in order to correctly build the processor data,
2. refinement::updateMesh -> now that number 1 is fixed, point sync happens in
   updateMesh instead of setRefinement.

These two combined were responsible for hard-to-track errors in AMR + DLB
2019-02-19 22:15:16 +01:00
Vuko Vukcevic
bb23c4851d Bugfix on debug
When issuing a Warning, don't raise FatalError
2019-02-18 13:04:44 +01:00
Vuko Vukcevic
3742439d0f Bugfix in prismatic2DRefinement
Mistakenly used patch.size() instead of patch.start() to fetch the global face
index. This caused points at the boundary to be marked as split points, which is
not allowed. Also corrected a few typos.
2019-02-17 12:01:18 +01:00
Vuko Vukcevic
712807e126 Removed temporary debug stuff from polyhedralRefinement 2019-02-17 10:01:18 +01:00
Vuko Vukcevic
33c4eb5986 Minor formatting and debug output 2019-02-17 10:00:41 +01:00
Vuko Vukcevic
9871df3d78 Added minimum protected level to protectedInitialRefinement 2019-02-17 09:59:35 +01:00
Danial Khazaei
be47d0ece1
[format]: make forward declaration style consistent. 2019-02-15 23:12:44 +03:30
Danial Khazaei
0642eb7c4a
[bugfix]: friend operators need forward declaration to avoid gcc warning.
Without forward declaration, gcc warns that the operator has not been declared
within foam but only as a friend.
2019-02-15 22:30:51 +03:30
Hrvoje Jasak
b07ee20154 Improvement in protectedInitialRefinement. Author: Vuko Vukcevic 2019-02-13 15:27:57 +00:00
Hrvoje Jasak
4311ba296a GCC8 compatibility improvements. Cumulative improvment on gcc8 compliance. Added support for openmpi version 4.0.0 Updated cfMesh library to latest version. Author: Danial Khazaei 2019-02-13 15:25:42 +00:00
Hrvoje Jasak
396997c0ae BUGFIX: Compile WM_LABEL_SIZE=64 (final). Author: Henrik Rusche. 2019-02-13 15:17:29 +00:00
Henrik Rusche
f000c7f6b8 List<label> -> labelList and simiar throughout 2019-02-04 21:58:51 +01:00
Henrik Rusche
923fee738e BUGFIX: Compile WM_LABEL_SIZE=64 2019-02-04 21:58:51 +01:00
Vuko Vukcevic
11acc2de1d Temporary commit: intermediate refactorisation stage 2019-02-03 16:46:49 +01:00
Danial Khazaei
23ef4e1dc3
Bugfix: overflow in conversion from Foam::label to int 2019-01-31 17:11:22 +03:30
Hrvoje Jasak
e1837adbf8 Cumulative development and fixes. Vuko Vukcevic. 2019-01-30 14:46:17 +00:00
Hrvoje Jasak
c6babd359a Update to c++-11 standard: nullptr and compilation flags 2019-01-25 16:22:44 +00:00
Vuko Vukcevic
957235997b Bugfix in AMR related to PLB
Allow 2:1 face consistency on possibly newly created processor faces.
2019-01-25 10:26:08 +01:00
Vuko Vukcevic
920ff7bcc4 Manually merged Henrik's DLB and some other stuff 2019-01-23 13:03:44 +01:00
Vuko Vukcevic
0f73d80cf0 Added minimum protected level to protectedInitialRefinement 2019-01-23 09:39:20 +01:00
Vuko Vukcevic
9d01881b39 Wrapped Pout statements around debug switch 2018-12-11 12:44:59 +01:00
Vuko Vukcevic
ea8c85198c Whitespace clean-up and minor formatting 2018-12-06 16:18:53 +01:00
Vuko Vukcevic
73df75ce1a Improvement in refinement cell selection
Check whether the refinement level would exceed the maximum specified refinement
level only after the buffer layers have been considered.
2018-12-06 16:18:06 +01:00
Hrvoje Jasak
da3db5cd07 Merge /u/dario-zivkovic/foam-extend/ branch BUGFIX-nextRelase-implement-mapping-methods-in-point-patch-vector-fields into nextRelease
https://sourceforge.net/p/foam-extend/foam-extend-4.0/merge-requests/84/
2018-12-03 17:15:44 +00:00
Vuko Vukcevic
75a6813d3a Whitespace clean-up and minor formatting 2018-11-26 10:27:15 +01:00
Hrvoje Jasak
b9d1febcdc Buxfix: multiGgiRotorFvMesh, move ggi zone points 2018-11-16 11:58:46 +00:00
Vuko Vukcevic
70967af85c Improvement in refinement cell selection
Check whether the refinement level would exceed the maximum specified refinement
level only after the buffer layers have been considered.
2018-11-15 18:22:51 +01:00
Hrvoje Jasak
b18df8c99e Dynamic mesh with multiple GGI rotors 2018-11-05 22:07:52 +00:00
Hrvoje Jasak
f85e54b3a2 Formatting 2018-11-05 22:07:15 +00:00
Dario Zivkovic
f22bc2261a Bugfix: added mapping methods to point patch vector fields that have pointField 'p0_' member. 2018-10-28 18:33:48 +01:00
Hrvoje Jasak
8a3e798d5a Resolve cell and point level load balancing for cases without adaptive refinement 2018-10-24 17:19:55 +01:00
Hrvoje Jasak
d23e612f80 Add brackets around send/receive of fields for better scoping in load balance comms 2018-10-24 17:15:19 +01:00
Hrvoje Jasak
69d3b15a86 Better messaging on debug 2018-10-24 17:10:05 +01:00
Hrvoje Jasak
2ef8bbb6b7 Clean-up of default copy constructors for polyPatches - copy constructor needed 2018-10-18 19:17:14 +01:00
Hrvoje Jasak
fbed59fec8 LabelField change for pointLevel and cellLevel 2018-10-16 09:21:57 +01:00
Hrvoje Jasak
96a2f708c6 Formatting 2018-10-16 09:21:38 +01:00
Hrvoje Jasak
e044a43866 Added info on refinement selection constructor 2018-10-16 09:20:30 +01:00
Hrvoje Jasak
7fc3e1d6bb Bugfix: dynamic refinement restart: only initialise topo modifiers if they haven't been read in during construction 2018-10-16 09:20:09 +01:00
Hrvoje Jasak
eac673ee7c Update poly refinement to escape multiple checks within a time-step 2018-10-05 18:22:24 +01:00
Hrvoje Jasak
32d3595ded PLB with particles + accumulated bugfixes/backports. Author: Henrik Rusche. 2018-09-25 12:30:18 +01:00
Henrik Rusche
8d356e7456 PLB with clouds 2018-09-25 09:12:53 +02:00
Vuko Vukcevic
fac6af9e34 Minimum 2D face area refinement selection algorithm
Basically a 2D version of minCellVolume refinement which is quite useful for
wedge geometries. If a per-cell-maximum face area on empty (or wedge) patch
exceeds a specified minimum face area, cell is selected for refinement. Used as
a part of composite refinement.
2018-09-04 13:00:35 +02:00