Commit graph

4720 commits

Author SHA1 Message Date
Hrvoje Jasak
e0e2ed8c14 Remove body-fitted tutorial from immersed boundary 2018-09-05 16:04:14 +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
Hrvoje Jasak
d7d07ea75b Recent cumulative port fixes related to nextRelease. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2018-09-05 12:18:24 +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
9ac13fd1e9 Changed Allrun script in NACA4412 100 cores overset test
Running in parallel with -oversubscribe option to circumvent the issues related
to mpi config on small machines.
2018-09-03 10:23:41 +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
2c007a1404 Bugfix: add global point patch. Zeljko Tukovic 2018-08-28 14:37:27 +01: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
c78f57ec2a Formatting 2018-08-23 09:47:56 +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
1644c147f6 Added system MPICH support for linux64Gcc 2018-08-21 14:35:48 +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
d3760c2b7f Added system MPICH support for linux64Gcc 2018-08-21 14:15:57 +01:00
Hrvoje Jasak
32c8ba2f7d Bugfix in parallel overset regarding FatalError. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2018-08-12 21:29:42 +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
Hrvoje Jasak
5299f79343 Bugfix in parallel overset regarding FatalError. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2018-08-09 13:17:27 +01: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
77a51c3c9e Fixed tutorial errors 2018-08-01 18:28:39 +01:00
Hrvoje Jasak
d7b941dcc4 Fixed tutorial errors 2018-08-01 18:28:14 +01:00
Hrvoje Jasak
438dd0a3ab Updated meshDict for a faster-running tutorial 2018-07-30 19:43:25 +01: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
095ac84cb4 Update to overset validationSuite NACA4412 case
Switched from old overlpa assembly to new adaptiveOverlap assembly
2018-07-30 09:11:05 +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
657c6abfb8 Updates to overset tutorials using overlap fringe 2018-07-30 08:31:41 +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