Commit graph

5134 commits

Author SHA1 Message Date
Hrvoje Jasak
1f5b9fa132 Reverting to old (correct) consistency faceU calculation. Vuko Vukcevic. 2019-07-18 15:01:46 +01:00
Hrvoje Jasak
6c3a4880a4 Dual stream heat exchanger for porous media 2019-07-18 14:59:33 +01:00
Vuko Vukcevic
c762381f90 Bugfix in solutionControl
I made a mistake previously: in attempting to make the BC's fully consistent, I
completely messed up the faceU field which is needed for all transient moving
mesh simulations.
2019-07-18 15:23:59 +02:00
Hrvoje Jasak
baabe4700b Clean-up of porous heat transfer 2019-07-17 10:37:18 +01:00
Martin Beaudoin
2f3cfc2e74 Merge branch 'nextRelease' into bugfix/nr/testHarness 2019-07-16 15:43:13 -04:00
Hrvoje Jasak
cac07ccaed Fixed prefs for old openmpi version 2019-07-16 16:50:16 +02:00
Hrvoje Jasak
b33cc9e828 Added thermal support in the porous zone. Vanja Skuric 2019-07-16 16:32:54 +02:00
Martin Beaudoin
a2496c1388 Bugfix for the testHarness runFunctions:
When using the '-l' option for the runApplicationAndReportOnError macro in the tutorials Allrun files,
  the default log filename will be overriden. In case of a runtime error for a testHarness test, we
  need to dump the last 50 lines from this filename instead of using the default log filename.
2019-07-15 23:13:43 -04:00
Hrvoje Jasak
957e6abe8c Added ucx spec 2019-07-15 12:38:13 +02:00
Hrvoje Jasak
721eb55b35 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-07-15 12:37:41 +02:00
Martin Beaudoin
e9bcc97355 ThirdParty: minor adjustments under macOS 10.14.5 for the compilation of ParMGridGen-1.0 and metis-5.1.0.
The environment variable $CC has to be written between double-quotes when using it as a make command-line parameter for CC.
2019-07-11 17:05:45 -04:00
Martin Beaudoin
fd0e75b822 ThirdParty: libccmio. Usual adjustments when moving to a newer version of macOS/OSX. In this case, macOS 10.14.5 (darwin18) 2019-07-11 17:00:12 -04:00
Martin Beaudoin
6a68bc39c7 foamToTecplot360: adjusting the compilation under macOS 10.14.5 (64 bits).
The compilation constant MAC64 is necessary for the proper definition of integer types like UInt64_t,
                  UInt32_t, and ArbParam_t
2019-07-11 16:45:54 -04:00
Hrvoje Jasak
baf1bbd90d Better overset assembly controls in validation suite case. Vuko Vukcevic 2019-07-11 15:38:41 +01:00
Vuko Vukcevic
08e4545f1c Updated oversetMeshDict file for validationSuite NACA case 2019-07-11 15:58:24 +02:00
Hrvoje Jasak
52072b3296 Consistent velocity reconstruction with moving meshes. Vuko Vukcevic 2019-07-11 14:48:12 +01:00
Vuko Vukcevic
8e70e3fb53 Bugfix: consistent velocity reconstruction
Make fluxes relative before correcting velocity boundary conditions and call
correct boundary conditions before interpolating and storing the values in the
faceU field.
2019-07-11 15:13:59 +02:00
Hrvoje Jasak
1416e3c96c Additional overset fringe strategy. Vuko Vukcevic
cuttingPatchFringe (based on cutting patches)
2019-07-11 13:42:23 +01:00
Vuko Vukcevic
4203848450 Merge branch 'feature/donorBasedOverlapFringe' of ssh://git.code.sf.net/u/vvukcevic/foam-extend-4.0-vv into feature/donorBasedOverlapFringe 2019-07-11 14:36:18 +02:00
Hrvoje Jasak
c862d507ae DLB and AMR fixes and additional developments. Vuko Vukcevic 2019-07-11 11:51:08 +01:00
Vuko Vukcevic
907c80509d Added comment in PrimitivePatchMeshData
Regarding usage of unsorted variant of meshPoints.
2019-07-11 12:44:40 +02:00
Hrvoje Jasak
21de351fe2 Updates to fvcReconstruct and Overset include files. Vuko Vukcevic 2019-07-11 08:54:58 +01:00
Vuko Vukcevic
b4835466d4 Additional sanity check for duplicate connected regions 2019-07-09 12:54:23 +02:00
Vuko Vukcevic
d9bf1218a2 Bugfixes in cuttingPatchFringe
1. No need to flip the face when creating .stl
2. Removed wrong break statement
3. Slight reorganization and improvements
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
db859b968c First version of cuttingPatchFringe algorithm
Similar to donorBasedOverlapFringe but better in a sense that it relies on
determining inside/outside region by creating an STL of the patch from donor
region. Note: still has bugs
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
db6dd0cf97 Minor update to faceCells' fringe interface 2019-07-09 12:54:23 +02:00
Vuko Vukcevic
f353593d6e Minor updates to oversetCourantNo.H and oversetAlphaCourantNo.H
Just to make it more self-sustainable
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
506c150bdb Post processing updates to Overset Mesh
oversetMesh::regionIDPtr_ is now a pointer to volScalarField instead of
labelField in order to allow automatic I/O for post processing.
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
6bbf74eee5 Parallel bugfixes in donorBasedLayeredOverlapFringe 2019-07-09 12:54:23 +02:00
Vuko Vukcevic
390f535542 Work in progress regarding parallel bugfix in donorBasedLayeredOverlapFringe 2019-07-09 12:54:23 +02:00
Vuko Vukcevic
af26bfb81c Minor formatting 2019-07-09 12:54:23 +02:00
Vuko Vukcevic
bcdab3b784 Robustness improvement in donorBasedLayeredOverlapFringe
Looking at bounding box of the connected region to determine whether we are
going in the right direction.
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
02f459fc91 Run-time bugfixes in donorBasedLayeredOverlapFringe
Note: still need to thoroughly test in parallel and with multiple donor regions
for a single background region
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
805c942ac4 Version of donorBasedOverlapFringe that compiles
Note: still not tested
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
deec392065 Finished writing first version of donorBasedLayeredOverlap fringe
Note: did not attempt to compile yet, let alone test it
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
548bf940c9 Temporary commit
donorBasedLayeredOverlap fringe algorithm. Work in progress.
2019-07-09 12:54:23 +02:00
Vuko Vukcevic
15af49e74a Bugfix in faceZone reconstruction procedure
Forgot to take into account the "turning face" index and decrement by one
2019-07-09 12:52:05 +02:00
Vuko Vukcevic
49769f0397 Reconstruction of cell/face/point zones during DLB
Wrote a missing piece of code that maps cell/face/point zones from different
mesh bits to the new, reconstructed mesh when doing Dynamic Load Balancing.
2019-07-09 12:52:05 +02:00
Vuko Vukcevic
57d3af8960 Bugfix on creating PrimitivePatch::meshPointsPtr_
We must not enforce the order of points on processor patches when collecting
patch points from faces because this occasionally causes ordering errors on two
sides (e.g. in DLB).
2019-07-09 12:52:05 +02:00
Vuko Vukcevic
d9cfdea84f Reverted to inv in fvcReconstruct 2019-07-09 12:52:05 +02:00
Vuko Vukcevic
13f349b769 Added empty and wedge direction tolerances in polyMesh
On same DLB+AMR cases, the round-off error caused the difference in global and
local empty direction to be slightly larger than SMALL.
2019-07-09 12:51:09 +02:00
Vuko Vukcevic
fd18eaffa1 Temporarily issuing an error if we have zones while doing DLB 2019-07-09 12:51:09 +02:00
Vuko Vukcevic
d5948f3fb7 Start/restart handling in dynamicPolyRefinementFvMesh
If the constant/polyMesh/meshModifiers file is present, we simply neglect it and
use the controls from dynamicMeshDict to avoid confusion.
2019-07-09 12:51:09 +02:00
Vuko Vukcevic
44cef61dbe Clean-up after merge (duplicate stuff) 2019-07-09 12:51:09 +02:00
Vuko Vukcevic
d5030fc035 Removed temporary debug stuff
1. Writing down mesh during load balancing,
2. Left-over sleep statement,
3. Output formatting (some output wrapped around debug statements)
2019-07-09 12:51:09 +02:00
Danial Khazaei
9e401eedca
[port]: completed List container implementation with new functions. 2019-07-08 21:10:15 +04:30
Danial Khazaei
4e8d74617b
[bugfix]: corrected APPBIN path for RichardsFoam solver. 2019-07-08 19:36:38 +04:30
Danial Khazaei
314069356e
[port]: disabled flex++ warnings during foam compile. 2019-07-08 19:34:33 +04:30
Danial Khazaei
69192ae1f4
[port]: re-write List container to suppress [-Walloc-size-larger-than=].
- Changes are ported from OpenFOAM-dev project.
2019-07-08 19:13:27 +04:30
Danial Khazaei
9e8966483f
[bugfix]: writing to an object with no trivial copy-assignment [wclass-memaccess]. 2019-07-08 19:08:47 +04:30