Commit graph

2827 commits

Author SHA1 Message Date
Hrvoje Jasak
1ce46b1f08 Reset field to zero if size is updated 2019-03-28 15:09:12 +00:00
Hrvoje Jasak
6c2263a2bf Tight tolerances on mesh motion error 2019-03-27 18:12:22 +00:00
Hrvoje Jasak
62228e7189 Reduced immersed boundary cutting tolerances 2019-03-22 13:34:00 +00:00
Hrvoje Jasak
24043c0817 Added virtual functions; removed looks in boundary FV data updates for IB patch 2019-03-22 13:33:07 +00:00
Hrvoje Jasak
60fa49504f Calculate Co number only on large live faces 2019-03-22 13:31:02 +00:00
Hrvoje Jasak
b7dffa272f Added virtual nf function directly from cut patch 2019-03-22 13:30:58 +00:00
Hrvoje Jasak
ec3b5f5574 Robustness: use hinv in fvcReconstruct to deal with cases of zero determinant 2019-03-22 13:26:21 +00:00
Hrvoje Jasak
f75b75df7b Make nf function virtual: better accuract for immersed boundary 2019-03-22 13:25:48 +00:00
Hrvoje Jasak
7ea4631c84 Stability fix: hinv inverse of truly singular tensors 2019-03-22 11:49:53 +00:00
Hrvoje Jasak
7fc1abd4b7 Added wet surface check for dry face 2019-03-15 10:47:56 +00:00
Hrvoje Jasak
85e0d4f65e Improbed Marooney Maneouvre debug message 2019-03-15 10:46:57 +00:00
Hrvoje Jasak
6fe4ba3aa3 Immersed boundary robustness improvements 2019-03-13 12:19:27 +00: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
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
Danial Khazaei
e8a0078301
[bugfix]: 64-bit label bugfix some how got overwritten by cfMesh update. 2019-02-16 02:21:29 +03:30
Danial Khazaei
7fee1a978c
[cxx-syntax]: consistent usage of nullptr. 2019-02-16 00:22:28 +03:30
Danial Khazaei
c429f3b275
[bugfix]: recover velocity field in a more general way.
avoiding compilation failure in e.g. waves2Foam
2019-02-15 23:19:15 +03:30
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
1c6c10d84a Fixed merge failure 2019-02-13 18:06:23 +00:00
Hrvoje Jasak
2fea87c674 Bugfix and improvement in interpolateXY function that returns a field. Vuko Vukcevic 2019-02-13 15:51:10 +00:00
Hrvoje Jasak
0dc478ae7b Wrong dimensions on creation of zero geometric field. Vuko Vukcevic 2019-02-13 15:48:26 +00:00
Hrvoje Jasak
ac82db9f2d Incorrect base class method override in sixDoFRigidBodyDisplacementPointPatchVectorField. Dario Zivkovic 2019-02-13 15:46:14 +00:00
Hrvoje Jasak
9c8f3f6649 Minor fixes: postfixedSubRegistry and non-contiguous lists indentation. Henrik Rusche 2019-02-13 15:42:47 +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
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
Hrvoje Jasak
9b5826bf88 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-02-13 14:38:06 +00:00
Hrvoje Jasak
e7fff4e89c Reorder constructors 2019-02-13 14:35:45 +00:00
Hrvoje Jasak
76d57ed7fd Added syncPar switch to enable/disable parallel comms in polyMesh 2019-02-13 14:35:33 +00:00
Danial Khazaei
d2bc2468c7
format: make cfMesh banner consistent and removed trailing whitespace 2019-02-05 07:38:23 +03:30
Henrik Rusche
f000c7f6b8 List<label> -> labelList and simiar throughout 2019-02-04 21:58:51 +01:00
Henrik Rusche
951ca591e8 Fixes to avoid changing the operators in the control switches 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
Vuko Vukcevic
21154aa132 Temporary bugfix in decomposeMesh
Needs clean-up and refactorization
2019-02-01 09:43:40 +01:00
Danial Khazaei
5f08a2f90a
Bugfix: update cfMesh to v1.1 which fixes self-comparison always evaluates to false [-Wtautological-compare] 2019-01-31 17:52:39 +03:30
Danial Khazaei
0803bdbe20
Bugfix: fixed the compiler can assume that the address of ‘t’ will never be NULL warning [-Waddress] 2019-01-31 17:33:45 +03:30
Danial Khazaei
a480f9577c
Bugfix: type qualifiers ignored on cast result type 2019-01-31 17:16:18 +03:30
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
b3b16d1cc8 Layered overlap fringe strategy. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2019-01-30 14:38:37 +00:00
Hrvoje Jasak
a031ca8136 Bugfix: Fixed missing dependency in Windows compilation. Henrik Rusche 2019-01-30 14:23:33 +00:00
Hrvoje Jasak
67e2f83134 Bugfix: resolving read problem in initialisation of IB patch fields 2019-01-29 09:53:30 +00:00
Hrvoje Jasak
758dad7a27 IB patch sizing trick deactivated 2019-01-26 13:19:35 +00:00
Hrvoje Jasak
01ae864020 remaining nullptr 2019-01-25 16:25:13 +00:00
Hrvoje Jasak
c6babd359a Update to c++-11 standard: nullptr and compilation flags 2019-01-25 16:22:44 +00:00
Hrvoje Jasak
0da8433b5d Delayed initialisation of the immersed boundary patch: avoid cutting at patchField initialisation and delay until fvMesh init 2019-01-25 16:16:16 +00:00
Hrvoje Jasak
17632aaa21 Parallelism and robustness improvements. Inno Gatin 2019-01-25 16:14:35 +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
abc4f08028 Bugfix in dimensions
steadyStateDdtScheme::fvcDdtConsistentPhiCorr returns a zero field with wrong
dimensions (need to multiply with rAU dimensions instead of dividing).
Reported by InSu Lee, Seoul National University.
2019-01-15 12:15:39 +01:00
Henrik Rusche
a18d10c0aa BUGFIX: new inletOutlet breaks with postfixedSubRegistry 2019-01-03 17:01:32 +01:00
Henrik Rusche
e114bb940d STYLE: Enable indentation for short non-contiguous lists 2018-12-30 16:06:11 +01:00
Dario Zivkovic
d40386d529 Make sixDoF's rmap override PointPatchFieldTemplate base class method 2018-12-24 14:49:22 +01:00
Vuko Vukcevic
75d5b4a289 Bugfix in pointPatchInterpolate
Regarding boundary condition update for non coupled boundaries of point
fields, take 2 (my mistake: Vuko Vukcevic)
Author: Dario Zivkovic.
2018-12-21 19:26:11 +01:00
Vuko Vukcevic
2afc0297bc Added access function to polyMeshGen in cartesianMeshGenerator 2018-12-12 16:16:31 +01:00
Hrvoje Jasak
0a5b18eff9 Added LUST scheme, moved linearUpwind 2018-12-12 13:21:24 +00:00
Vuko Vukcevic
9d01881b39 Wrapped Pout statements around debug switch 2018-12-11 12:44:59 +01:00
Vuko Vukcevic
ef386d6d44 Bugfix in pointPatchInterpolate
Regarding boundary condition update for non coupled boundaries of point fields.
Author: Dario Zivkovic.
2018-12-11 12:24:14 +01:00
Vuko Vukcevic
d078a84815 Bugfix in GeometricField::storeOldTimes
Need to update timeIndex_ regardless whether the old field has been found.
2018-12-06 16:20:21 +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
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
752fce1a02 Updated tolerance handling in sampledSet. Inno Gatin 2018-12-04 12:42:59 +00:00
Hrvoje Jasak
4e4caff5c6 Bugfix: FVM functionality must use fvMesh and fvPatch data only. Immersed boundary support 2018-12-04 12:31:46 +00:00
Hrvoje Jasak
4b4856b9f6 Updated tolerance handling 2018-12-04 12:27:36 +00:00
Hrvoje Jasak
0ac7da5a36 Bugfix: double arrow in write 2018-12-04 12:27:19 +00:00
Hrvoje Jasak
50710e0253 Updated tolerance handling 2018-12-04 12:26:19 +00:00
Hrvoje Jasak
1b8d7cbce7 Robustness improvements and support for multiple immersed boundaries. Inno Gatin 2018-12-04 11:25:38 +00:00
Hrvoje Jasak
1a912d2914 Changed sampled set tolerance. Inno Gatin 2018-12-04 11:18:29 +00:00
Hrvoje Jasak
c76fd00001 Bugfix: nCyclicPatches is a label 2018-12-04 10:41:27 +00:00
Hrvoje Jasak
6ddddd9a96 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2018-12-04 10:35:21 +00:00
Hrvoje Jasak
c96d019db1 Possible bug fixes in stream flushing for mesh objects 2018-12-04 10:34:31 +00:00
Hrvoje Jasak
b72caa65b7 Formatting 2018-12-04 10:32:25 +00:00
Hrvoje Jasak
857db99eb1 Added harmonic balance support 2018-12-04 10:31:08 +00:00
Hrvoje Jasak
ec17114a75 Formatting 2018-12-04 10:30:26 +00:00
Hrvoje Jasak
02dc1d6554 Fixed unused variable error 2018-12-04 10:30:02 +00: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
35e0a53d62 Bugfix: Reading of zone meshes in parallel; load balancing 2018-11-08 19:32:34 +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
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
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
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
e51b6eea28 Bugfix: whne comparing IB patch size, fvPatch is relevant (polyPatch size is different and wrong) 2018-10-11 17:15:07 +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
Henrik Rusche
487d4b5e30 BUGFIX: Fixed missing dependency in Windows compilation 2018-10-08 17:52:13 +02:00
Hrvoje Jasak
81f6f900b4 Formatting 2018-10-05 18:22:48 +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
9cca3228bf Added functions to carry patch type when a base copy constructor is not called 2018-10-05 18:21:48 +01:00
Hrvoje Jasak
a9cb8f1cc2 Improved controls for immersed boundary refinement: inside of the IB object 2018-10-05 18:21:00 +01:00
Hrvoje Jasak
ee10ee60aa Updated header comments 2018-10-05 18:20:20 +01:00
Hrvoje Jasak
0545b117c1 Improve immersed boundary debug info 2018-10-05 18:19:07 +01:00
Hrvoje Jasak
6246dd6946 Bugfix: carry immersed boundary patch type 2018-10-05 18:18:55 +01:00
Hrvoje Jasak
723da35299 Typo in comment 2018-10-01 19:08:06 +01:00
Hrvoje Jasak
dace0ac19d Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2018-09-26 17:27:29 +01:00
Hrvoje Jasak
c6460044b2 Bugfix: double execution of function objects per time-step 2018-09-26 17:26:40 +01:00
Hrvoje Jasak
c3251bc400 Reset gamma and sGamma patch values for IB patches 2018-09-26 14:50:38 +01:00
Hrvoje Jasak
6ba8b5e6b3 Bugfix: remove reset of pressure field on evaluate for fvs immersed boundary 2018-09-26 14:48:03 +01:00
Hrvoje Jasak
69e10d419c Control debug messages 2018-09-26 13:29:38 +01:00
Hrvoje Jasak
154fcce817 Fixed comment 2018-09-26 13:28:13 +01:00
Hrvoje Jasak
32d3595ded PLB with particles + accumulated bugfixes/backports. Author: Henrik Rusche. 2018-09-25 12:30:18 +01:00
Hrvoje Jasak
95d31b8b9d Bugfix related to variable time step on deforming meshes using backward scheme. Author: Vuko Vukcevic. Merge: Hrvoje Jasak 2018-09-25 11:59:54 +01:00
Henrik Rusche
ef1c4242c1 Bugfix in shared point detection (not all problems resolved, yet) 2018-09-25 09:13:00 +02:00
Henrik Rusche
05e7057e4d Backward compatibility and erroneous comment in DiagTensor 2018-09-25 09:12:59 +02:00
Henrik Rusche
a9c7a176e3 BUGFIX: Mesh update in lagrangian 2018-09-25 09:12:59 +02:00
Henrik Rusche
c001bc33b7 BUGFIX: hanging pointer if the local mesh is empty (no need to map particles) 2018-09-25 09:12:59 +02:00
Henrik Rusche
f67382b044 BACKPORT: MVC interpolation 2018-09-25 09:12:58 +02:00
Henrik Rusche
0d33286f17 BUGFIX: incremental switch merged incorrectly 2018-09-25 09:12:58 +02:00
Henrik Rusche
8d356e7456 PLB with clouds 2018-09-25 09:12:53 +02:00
Vuko Vukcevic
9b48a244ab Bugfix and improvement in interpolateXY template
1. Bugfix: template instantiation failed for anything except scalar for function
   returning Field<Type> because the author used scalarField instead of
   Field<Type> to calculate interpolated values.
2. Improvement: returning tmp<Field<Type> > instead of Field<Type> to avoid
   copying.
2018-09-24 16:57:22 +02:00
Vuko Vukcevic
d5b37a2d37 Bugfix: mesh flux using backward scheme with variable time step
The coefficients in backwardDdtScheme::meshPhi did not correctly take into
account the possibility of having variable time steps.

Reported by Sopheak Seng, Bureau Veritas.
2018-09-07 14:56:55 +02:00
Hrvoje Jasak
ec998a5bc1 Update debug message formatting 2018-09-07 13:43:22 +01:00
Hrvoje Jasak
ff509e6a62 Update reading mechanism for patch type in immersed boundary 2018-09-07 09:51:02 +01:00
Hrvoje Jasak
bcb361ba75 Handling refinement selection tolerances 2018-09-06 18:34:48 +01:00
Hrvoje Jasak
094039ec24 Fix set dead cell value for moving immersed boundary 2018-09-06 18:33:34 +01:00
Hrvoje Jasak
012e01815a Bugfixes in immersed boundary fvPatches: patch type 2018-09-06 18:33:14 +01:00
Hrvoje Jasak
58421f0713 Bugfix: Area tolerances needed in thin face cut 2018-09-06 18:32:35 +01:00
Hrvoje Jasak
7508fede0b Bugfix: mis-identified wet/dry face 2018-09-06 18:32:13 +01:00
Hrvoje Jasak
e38c7e68ec Formatting 2018-09-06 18:23:41 +01:00
Hrvoje Jasak
aa5131b114 Dynamic refinement with immersed boundary wall function: fixes 2018-09-06 18:23:21 +01:00
Hrvoje Jasak
dd5757b78a Minimum face area refinement selection algorithm for 2D cases. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2018-09-05 12:19:35 +01: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
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
02bc8b5f69 Bugfix in MixingPlaneInterpolation due to recent GGI updates
MixingPlaneInterpolation is actually implemented in terms of GGIIinterpolation
and that one now has handling of partially overlapping faces (needed for bridge
overlap option). There's a tolerance GGIUncoveredFaceAreaTol (defaults to 0.999)
which needs to be set to 0 in case of Mixing Plane to properly re-scale the
weights. This is now done in MixingPlaneInterpolation.
2018-08-31 14:38:15 +02:00
Vuko Vukcevic
52b2e5e0e5 Bugfix and clean-up in leastSquaresVectors
1. Need to call fvPatchField::coupled() instead of fvPatch::coupled() since the
   patch type can be coupled and the field doesn't have to be (e.g. regionCouple
   fvPatch with zeroGradient fvPatchField).
2. Clean-up of old debugging statements.
2018-08-30 16:38:47 +02:00
Vuko Vukcevic
b4f9cbd029 Bugfix: missing updateMesh call for function objects
Function object updates on topo changes are now properly handled
2018-08-30 16:27:35 +02:00
Hrvoje Jasak
d2666ed38f Bug fix for negative rpm in ramping MRF cases. Gregor Cvijetic 2018-08-23 12:14:34 +01:00
Hrvoje Jasak
be8da8b80c Updated mechanism of implicitness across coupled boundaries with transforms and mixing plane bug fix 2018-08-23 12:07:39 +01:00
Hrvoje Jasak
23ad1613aa Porting: added missing foamTime.H header 2018-08-23 09:49:11 +01:00
Hrvoje Jasak
bf8d5ed3ad Minor clean-up 2018-08-23 09:48:27 +01:00
Hrvoje Jasak
64ef3b387f Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2018-08-21 14:59:29 +01:00
Hrvoje Jasak
a0ca6258df New fv fvs patch field vidtual function: update on motion. Immersed boundary support 2018-08-21 14:59:11 +01:00
Hrvoje Jasak
6ec2ad6239 Comment clean-up 2018-08-21 14:58:26 +01:00
Hrvoje Jasak
871d03e4d3 Rename private member deltaCoeffs 2018-08-21 14:38:27 +01:00
Hrvoje Jasak
65fcc20630 Aded swirlInletVelocity boundary condition 2018-08-21 14:37:27 +01:00
Hrvoje Jasak
d5b9215b1e Moving immersed boundary turbulence modelling support 2018-08-21 14:36:29 +01:00
Hrvoje Jasak
1e8ecf40c5 Clean-up 2018-08-21 14:17:25 +01:00
Hrvoje Jasak
19794a6eba Immersed boundary moving mesh turbulence updates; fundamental IB patch field updates 2018-08-21 14:17:03 +01:00
Hrvoje Jasak
45eb621334 Formatting 2018-08-10 13:26:47 +01: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
Hrvoje Jasak
b813e11b75 Update to noSuitability DSF and tutorials. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2018-07-30 19:35:36 +01: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
Hrvoje Jasak
185ab1ad60 Adaptive mesh refinement for 2D cases. Author: Vuko Vukcevic. 2018-07-28 13:52:59 +01:00
Hrvoje Jasak
adac44fc7e Fixing compilation errors gcc 8.1. Author: Martin Beaudoin. Merge: Hrvoje Jasak. 2018-07-28 13:51:43 +01:00
Hrvoje Jasak
5d3a0cef95 ThirdParty package updates. Author: Martin Beaudoin. Merge: Hrvoje Jasak. 2018-07-28 13:50:43 +01:00
Hrvoje Jasak
9acce17165 Adaptive overlap fringe assembly. Author: Josip Katavic and Vuko Vukcevic. Merge: Hrvoje Jasak. 2018-07-28 13:49:21 +01:00
Hrvoje Jasak
69878923f9 Bugfix in periodic oscillation constraint. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2018-07-28 13:48:08 +01:00
Vuko Vukcevic
3ec42ce8c8 Bugfix in prismatic2DRefinement
Forgot to enable wedge cases by including handling of wedge patches along with
the empty patches.
2018-07-27 14:50:35 +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
6974c3f99f Bugfix in protectedInitialRefinement strategy
Protect only if the current cell level is equal to the initial cell level,
otherwise allow to unrefine.
2018-07-26 07:35:16 +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
Martin Beaudoin
2b9049af90 Correction for newer (and older) versions of gcc: You throw by value, you catch by reference.
A second correction was needed.
2018-07-23 16:45:39 +00:00
Martin Beaudoin
9ed4526742 Correction for newer (and older) versions of gcc: You throw by value, you catch by reference. 2018-07-23 16:18:31 +00:00
Vuko Vukcevic
56144efed0 Spelling errors in comments 2018-07-23 11:25:12 +02:00
Vuko Vukcevic
7a0ce22052 Removed redundant debug write of cell set 2018-07-23 09:59:07 +02:00
Vuko Vukcevic
93e8ebe4cc Changed default value for minLocalSuit in adaptiveOverlapFringe 2018-07-23 09:48:59 +02:00