Commit graph

44 commits

Author SHA1 Message Date
Hrvoje Jasak
71a25fc3c3 Bugfixes and improvements in DLB and AMR. Vuko Vukcevic 2019-04-09 12:00:24 +01:00
Hrvoje Jasak
1c6c10d84a Fixed merge failure 2019-02-13 18:06:23 +00:00
Hrvoje Jasak
e2189947db Resolving merge commits 2019-02-13 15:41:35 +00:00
Hrvoje Jasak
37c728edfb Bugfix: nullptr 2019-02-13 15:38:37 +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
Hrvoje Jasak
e1837adbf8 Cumulative development and fixes. Vuko Vukcevic. 2019-01-30 14:46:17 +00:00
Hrvoje Jasak
b3b16d1cc8 Layered overlap fringe strategy. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2019-01-30 14:38:37 +00:00
Hrvoje Jasak
c6babd359a Update to c++-11 standard: nullptr and compilation flags 2019-01-25 16:22:44 +00:00
Vuko Vukcevic
920ff7bcc4 Manually merged Henrik's DLB and some other stuff 2019-01-23 13:03:44 +01:00
Vuko Vukcevic
a6093ee081 Deleted donorBasedLayeredFringe
This was pushed by mistake and it's not really finished.
2018-12-06 16:11:17 +01:00
Hrvoje Jasak
2ef8bbb6b7 Clean-up of default copy constructors for polyPatches - copy constructor needed 2018-10-18 19:17:14 +01:00
Vuko Vukcevic
68b3c8db64 Bugfix in layered overlap fringe
Forgot that I have to clean-up everything on update
2018-10-09 14:59:22 +02:00
Vuko Vukcevic
89ba5dc8f9 Layered overlap fringe strategy
Quite simple: goes nLayers away from specified holes to define acceptors.
2018-10-09 14:52:45 +02:00
Vuko Vukcevic
c7cd6b09fd Bugfix when writing overset region index
The values at the coupled boundaries haven't been properly uninitialized and the
coupled patches have been skipped from assignement to patch internal field.
2018-09-03 09:39:54 +02:00
Vuko Vukcevic
e0a0502320 Same missing reduce in overlapFringe 2018-08-10 12:13:58 +02:00
Vuko Vukcevic
3d3edc820a Forgot to reduce when handling error
This caused a parallel run to fail if there's no fringe on all processors.
2018-08-06 22:19:27 +02:00
Vuko Vukcevic
3a08616a79 Added a few FatalError checks
1. donorSuitability::suitabilityFaction(...) - now checks whether the donor has
   been found (in case we don't have any eligible donors due to poor settings),
2. overlapFringe/adaptiveOverlapFringe::updateIteration(...) - now checks
   whether we have found at least 1 new acceptor when going through the
   iterative process.
2018-07-30 10:40:07 +02:00
Vuko Vukcevic
2f00bb4af1 Update to noSuitability DSF
Threshold now needs to be set to SMALL due to changed definition of DSF's
isDonorSuitable and suitabilityFraction member functions.
2018-07-30 08:32:00 +02:00
Vuko Vukcevic
9ec8d55010 Include coupledFvPatchFields.H instead of coupledFvPatchField.H 2018-07-27 11:03:56 +02:00
Vuko Vukcevic
875f0809a3 Writing regionIndex automatically 2018-07-26 16:27:31 +02:00
Vuko Vukcevic
6ba57d44fc Bugfixes in automatic overlap assembly
adaptiveOverlapFringe:
1. When combining user specified holes and cut holes, we need to get rid of
   possible duplicates,
2. All holes transferred to fringeHolesPtr_, not just cutHoles,
3. Removed minLocalSuit_ data member as the donorSuitability::threshold is
   basically the same thing.

donorSuitability:
1. Correct definition of isDonorSuitable
2018-07-26 15:46:05 +02:00
Vuko Vukcevic
dbbad653fe Updates to overlap assembly strategies
Added optional cellSet for hole cells to start the overlap and adaptiveOverlap
from. Useful when the background mesh is very coarse compared to the hole patch
in the front mesh and no hole is actually found in triSurface hole cutting
procedure.
2018-07-25 07:37:09 +02:00
Vuko Vukcevic
93e8ebe4cc Changed default value for minLocalSuit in adaptiveOverlapFringe 2018-07-23 09:48:59 +02:00
Vuko Vukcevic
ef5f6a5f59 Donor/acceptor within boundig box criterion update
Previously, we only checked whether the acceptor point is within bounding box of
donor, which may not be fair. Now, we also check whether the donor point is
within bounding box of acceptor.

Having both checks makes sense since there's no reason to prefer one criterion
over the other.
2018-07-16 16:39:09 +02:00
Vuko Vukcevic
b46ede8553 Bugfix: suitablePairsSuit_ must be data member 2018-07-16 15:34:54 +02:00
Vuko Vukcevic
3142fa27ee Parallelised adaptiveOverlapFringe 2018-07-16 14:13:31 +02:00
Vuko Vukcevic
497ccfada8 Updates (fixes) to adaptiveOverlapFringe
1. Clearing out temporary worker data for dynamic cases,
2. minLocalSuitability and orphanSuitability now given as fractions (0 to 1)
   instead of percentages (0 to 100%).
2018-07-16 12:51:21 +02:00
Vuko Vukcevic
ed06d9d919 Minor style change: adaptiveOverlapFringe 2018-07-12 19:34:32 +02:00
Vuko Vukcevic
ea0466aa43 Adaptive overlap fringe algorithm by Josip Katavic 2018-07-12 15:37:20 +02:00
Vuko Vukcevic
8a1f5f66fc Updates to overlapFringe::evaluateNonOversetBoundaries
This function is now static instead of ordinary member function so it can be
used by adaptiveOverlapFringe. A slight reorganization of this is needed.
2018-07-12 15:35:22 +02:00
Vuko Vukcevic
c9cfe3cbf8 Compilation fixes due to updated code
1. Donor suitability functions now hold reference to oversetFringe (base class)
   and not the overlapFringe,
2. Missing curly braces in oversetRegion.
2018-07-12 14:19:52 +02:00
Vuko Vukcevic
7ae045b32b Changed directory structure for overlapFringe 2018-07-12 13:51:05 +02:00
Vuko Vukcevic
4b485ab906 Updates to oversetRegion
1. Avoid deleting holeCells and eligibleDonorCells if region has not found
   suitable overlap,
2. When choosing donors, make a preference depending on whether the donor is
   within acceptors bounding box (among other things).
2018-07-12 13:47:43 +02:00
Vuko Vukcevic
1e57733ed1 Updates to donorSuitability
Added suitabilityFraction member function which returns how suitable
donor and acceptor are (0: not suitable at all, 1: perfectly suitable).
2018-07-12 13:45:43 +02:00
Vuko Vukcevic
e56083051e Updates to donorAcceptor
Added data member to check whether the donor is within bounding box of the
acceptor.
2018-07-12 13:44:09 +02:00
Henrik Rusche
fc7de48319 Removing trailing whitespace, tabs and DOS CR & Fixing some indentation 2018-06-01 18:17:04 +02:00
Henrik Rusche
4b4be75c2b Upgrade copyright notices & banner in source code 2018-06-01 18:11:37 +02:00
Henrik Rusche
ad762e6c69 Changes to make CMake work with release candidate 2018-05-29 22:56:52 +02:00
Hrvoje Jasak
9596103e05 Formatting 2018-05-17 13:10:44 +01:00
Hrvoje Jasak
6f72f3b5da MERGE: Update overset 2018-05-15 16:33:32 +01:00
Vuko Vukcevic
6c22d372bd Updates to donorAcceptor's default constructor
Initializing values acceptor and donor data to invalid (-1) values
2018-04-25 10:51:04 +02:00
Vuko Vukcevic
76b48b2fb4 Merged Overset Mesh capability from separate repository 2018-02-28 13:26:50 +01:00