Commit graph

5140 commits

Author SHA1 Message Date
Hrvoje Jasak
6fed6d347f Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-07-30 11:42:38 +01:00
Hrvoje Jasak
0ed5f51ce2 Reading heat transfer coefficients in a porous zone is optional 2019-07-18 16:55:48 +01:00
Hrvoje Jasak
8d9c6a9c79 Suppress Gcc-8 warnings and List copy. Danial Khazaei. 2019-07-18 15:11:40 +01:00
Hrvoje Jasak
3800bf824d fixed wrong usuage of find in etc/getVariables.py. Fabian Preiss. 2019-07-18 15:06:30 +01:00
Hrvoje Jasak
76e215946d Bugfix for the testHarness runFunctions. Martin Beaudoin 2019-07-18 15:04:49 +01:00
Hrvoje Jasak
f44abc5368 Update the compilation of the nextRelease branch under macOS. Martin Beaudoin 2019-07-18 15:02:59 +01:00
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