Commit graph

4812 commits

Author SHA1 Message Date
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
5526c3a048 Updated comment for member function 2019-02-19 21:59:45 +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
Vuko Vukcevic
46756467b4 Improvement in globalProcFaceIndex
globalProcFaceIndex::globalLabel returns a reference and not a copy
2019-02-17 00:34:17 +01:00
Vuko Vukcevic
028cafdb32 Slight refactorisation in processorMeshesReconstructor::reconstructMesh 2019-02-17 00:32:00 +01:00
Vuko Vukcevic
f1c714eabf Upper-triangular neighbour ordering PLB bugfix
In PLB, the upper-triangular error (for neighbours of a given owner) was
appearing because the faces merged from two processor patches into an internal
face were not ordered correctly. This is now fixed by sorting out these faces
when doing the decomposition.
2019-02-17 00:29:14 +01:00
Vuko Vukcevic
11acc2de1d Temporary commit: intermediate refactorisation stage 2019-02-03 16:46:49 +01:00
Vuko Vukcevic
21154aa132 Temporary bugfix in decomposeMesh
Needs clean-up and refactorization
2019-02-01 09:43:40 +01: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
75a6813d3a Whitespace clean-up and minor formatting 2018-11-26 10:27:15 +01: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
76db42b9ac Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2018-11-05 22:08:05 +00: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
Hrvoje Jasak
430adf4ce3 Added loadBalance switch to refining immersed boundary tutorials 2018-11-01 14:26:19 +00:00
Hrvoje Jasak
ce296a9354 Added region option to setFields utility 2018-10-24 17:32:45 +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
556b9c0731 Remove global reduce in immersed boundary polyPatch. Testing, load balance 2018-10-24 17:10:47 +01:00
Hrvoje Jasak
69d3b15a86 Better messaging on debug 2018-10-24 17:10:05 +01:00
Hrvoje Jasak
59096bd2e1 Simplified form of dynamic mesh in load balancing 2018-10-24 17:09:25 +01:00
Hrvoje Jasak
8c81b396f0 Cannot evaluate mixedIbFvPatchField on creation from dictionary as it triggers calculation of intersection. Load balancing fix 2018-10-24 17:09:08 +01:00
Hrvoje Jasak
324b129060 Parallel load balancing: cannot use weights in field decomposition 2018-10-24 17:06:01 +01:00
Hrvoje Jasak
b60b67ffb6 Change format of global face index in passiveProcessorPolyPatch to labelField 2018-10-24 17:03:27 +01:00
Hrvoje Jasak
776d458012 Update change of copyright script 2018-10-24 16:55:36 +01:00
Hrvoje Jasak
d05d477f30 Added virtual function for fvPatch slicing: support for immersed boundary 2018-10-24 16:53:25 +01:00
Hrvoje Jasak
f60da6ec49 Bugfix: operator= for PtrList needs to check if source pointers are set 2018-10-24 16:51:48 +01:00
Hrvoje Jasak
2a04913eaf Clean-up 2018-10-18 19:21:06 +01:00
Hrvoje Jasak
faf418d2fd Added load balance switch to topoChanger 2018-10-18 19:20:33 +01:00
Hrvoje Jasak
d9e45cb58c Clean-up of default copy constructors for polyPatches - copy constructor needed 2018-10-18 19:18:19 +01:00
Hrvoje Jasak
284344a11e Near-wall distance handling for variable number of patches during topo change: dynamic load balancing 2018-10-18 19:17:47 +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
d349a41795 LabelField change for pointLevel and cellLevel 2018-10-16 09:22:29 +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
6b09536c33 Merged volume continuity check files 2018-10-12 10:37:05 +01:00
Hrvoje Jasak
850f11a9fc Tutorial update 2018-10-11 17:32:54 +01:00
Hrvoje Jasak
e51b6eea28 Bugfix: whne comparing IB patch size, fvPatch is relevant (polyPatch size is different and wrong) 2018-10-11 17:15:07 +01:00
Hrvoje Jasak
f9c325021f Simplification of the pimple IB solver: mesh update and flux correction 2018-10-11 16:47:58 +01:00
Hrvoje Jasak
b8b7ba6eee Dynamic IBM tutorial: change parallel test to 10 processors 2018-10-11 16:46:19 +01:00
Hrvoje Jasak
187115af22 Update Immersed boundary unrefinement criteria 2018-10-09 11:02:55 +01:00