Commit graph

2547 commits

Author SHA1 Message Date
Martin Beaudoin
6aba1630ed Minor corrections for compiling under macOS High Sierra (10.13.5) using
the stock compiler Apple LLVM version 9.1.0 (clang-902.0.39.2)
2018-06-24 22:15:40 -04:00
Hrvoje Jasak
e01e16c943 Refactorization of incompressible/compressible nut/mut wall functions. Author: Vuko Vukcevic. Merge: Hrvoje Jasak. 2018-06-20 13:34:29 +01:00
Vuko Vukcevic
3de5d66021 Compilation bugfixes:
1. Forgot to define typeName and debug level for
   nutWallFunctionFvPatchScalarField and mutWallFunctionFvPatchScalarField
2. Forgot to remove declaration of write(Ostream&) member function in
   nutSpalartAllmarasWallFunction and mutSpalartAllmarasWallFunction
2018-06-19 15:38:48 +02:00
Vuko Vukcevic
4ec81f9103 Update to backwardsCompatibilityWallFunctions.C
autoCreateMut now creates mutkWallFunction by default (instead of abstract base
class mutWallFunction)
2018-06-19 15:22:23 +02:00
Vuko Vukcevic
306bd93e81 Removed deprecated mutRoughWallFunction
Replaced by mutkRoughWallFunction
2018-06-19 15:20:33 +02:00
Vuko Vukcevic
da6f48e599 Refactored remaining Spalart Allmaras mut wall functions
1. mutSpalartAllmarasStandardWallFunction: same as mutUWallFunction
2. mutSpalartAllmarasStandardRoughWallFunction: same as mutURoughWallFunction
3. mutSpalartAllmarasWallFunction: refactored such that it derives from
   mutWallFunction
2018-06-19 15:18:04 +02:00
Vuko Vukcevic
6681c7e1ee Added mutURoughWallFunction for compatibility with incompressible wall functions
This BC is the same as mutSpalartAlmarasStandardRoughWallFunction. We will
refactor mutSpalartAlmarasStandardRoughWallFunction such that it derives from
this BC in order to have both backward compatibility and compatibility with
incompressible wall functions.
2018-06-19 15:15:08 +02:00
Vuko Vukcevic
660326047d Added mutUWallFunction for compatibility with incompressible wall functions
This BC is the same as mutSpalartAlmarasStandardWallFunction. We will refactor
mutSpalartAlmarasStandardWallFunction such that it derives from this BC in order
to have both backward compatibility and compatibility with incompressible wall
functions.
2018-06-19 15:12:56 +02:00
Vuko Vukcevic
671ad26638 Refactored mutkRoughWallFunction according to the new interface 2018-06-19 15:09:56 +02:00
Vuko Vukcevic
3d7f902f82 Refactored nutkWallFunction according to the new interface
mutkWallFunctionFvPatchScalarField now derives from
mutWallFunctionFvPatchScalarField
2018-06-19 15:05:12 +02:00
Vuko Vukcevic
0726060d77 Refactored mutLowReWallFunction according to the new interface 2018-06-19 15:03:51 +02:00
Vuko Vukcevic
e7af83c8da Refactored mutWallFunctionFvPatchScalarField
This class is now abstract base class from which all other mut wall functions
will derive. Similar organization as for nutWallFunctionFvPatchField
2018-06-19 15:02:15 +02:00
Vuko Vukcevic
335d25ad1d Minor formatting in some nut wall functions 2018-06-19 14:55:12 +02:00
Vuko Vukcevic
003a9e9eb4 Update to backwardsCompatibilityWallFunctions.C
autoCreateNut now creates nutkWallFunction by default (instead of abstract base
class nutWallFunction)
2018-06-19 14:53:43 +02:00
Vuko Vukcevic
8241e75d28 Updated Make/files for refactored wall functions 2018-06-19 12:09:38 +02:00
Vuko Vukcevic
27ddb9849c Refactored nutLowReWallFunction according to the new interface 2018-06-19 12:09:14 +02:00
Vuko Vukcevic
5c16db8055 Refactored nutMEWTWallFunction according to the new interface 2018-06-19 12:06:55 +02:00
Vuko Vukcevic
a598804c79 Refactored nutCWTWallFunction according to new interface 2018-06-19 12:04:20 +02:00
Vuko Vukcevic
798d0f0a4d Refactored nutSpalartAllmarasWallFunction according to the new interface 2018-06-19 11:27:01 +02:00
Vuko Vukcevic
8612bd74d3 Removed deprecated nutRoughWallFunction
Replaced by nutkRoughWallFunction
2018-06-19 11:23:53 +02:00
Vuko Vukcevic
7bc178f100 Refactored nutSpalartAllmarasStandardRoughWallFunction
This wall function is now the same as nutURoughWallFunction, we simply derive
from it to enable backward compatibility.
2018-06-19 11:22:57 +02:00
Vuko Vukcevic
b31f23321a Refactored nutSpalartAllmarasStandardWallFunction
This wall function is now the same as nutUWallFunction, we simply derive from it
to enable backward compatibility.
2018-06-19 11:21:28 +02:00
Vuko Vukcevic
68d275b2b8 Backported nutURoughWallFunction from Vanilla
This BC is the same as nutSpalartAllmarasStandardRoughWallFunction. We will
refactor nutSpalartAllmarasStandardRoughWallFunction such that it derives from
this BC in order to have both backward compatibility and compatibility with
Vanilla.
2018-06-19 11:17:37 +02:00
Vuko Vukcevic
0c17c8057e Refactored nutkRoughWallFunction according to Vanilla
Derives from nutkWallFunctionFvPatchScalarField
2018-06-19 11:15:00 +02:00
Vuko Vukcevic
c4db345abe Backported nutUWallFunction from Vanilla
This BC is the same as nutSpalartAlmarasStandardWallFunction. We will refactor
nutSpalartAlmarasStandardWallFunction such that it derives from this BC in order
to have both backward compatibility and compatibility with Vanilla.
2018-06-19 11:10:32 +02:00
Vuko Vukcevic
f78472f100 Refactored nutkWallFunction according to Vanilla
nutkWallFunctionFvPatchScalarField now derives from
nutWallFunctionFvPatchScalarField
2018-06-19 11:07:06 +02:00
Vuko Vukcevic
ae91f480ce Refactored nutWallFunction according to Vanilla
nutWallFunctionFvPatchScalarField is now an abstract base class (no default
behaviour)
2018-06-19 11:01:36 +02:00
Vuko Vukcevic
2b6f07eb43 Minor formatting in sixDOFODE class 2018-06-19 07:49:20 +02:00
Vuko Vukcevic
cee5c3e681 Added acceleration access function to sixDOFODE interface
1. Translational acceleration in absolute coordinate system (A)
2. Rotational acceleration in relative coordinate system (OmegaDot)
2018-06-19 07:45:18 +02:00
Hrvoje Jasak
6cdc361218 Fixed heat flux temperature BC for buoyant solvers. Author: Vuko Vukcevic. Merge: Hrvoje Jasak 2018-06-18 11:27:31 +01:00
Hrvoje Jasak
8e00ea5e5e Merge commit '751a876460d1e24cef150eb8048bd726833b3196' into nextRelease 2018-06-18 11:26:44 +01:00
Hrvoje Jasak
61b494c16c Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2018-06-18 11:25:39 +01:00
Hrvoje Jasak
d20b1781a7 Immersed boundary wall functions, WIP 2018-06-18 11:24:23 +01:00
Hrvoje Jasak
a2c594ea77 File reorganisation: immersed boundary 2018-06-18 11:22:27 +01:00
Hrvoje Jasak
78f4654c4f File reorganisation 2018-06-18 11:14:08 +01:00
Hrvoje Jasak
66e79e2e94 Remove swig support ifdefs 2018-06-18 11:13:32 +01:00
Hrvoje Jasak
7a848fd050 Remove swig support ifdefs 2018-06-18 11:12:55 +01:00
Hrvoje Jasak
367f3b33d4 Change constructor ordering in file 2018-06-18 11:11:39 +01:00
Hrvoje Jasak
a34f0344e9 Optionally read enthalpy if present to allow settings of complex (conjugate) boundary conditions 2018-06-18 11:10:28 +01:00
Hrvoje Jasak
75eae97648 Update on conjugate heat transfer tools 2018-06-18 11:09:02 +01:00
Inno Gatin
751a876460 Added combined motion restraints in sixDOFODE to handle rotationa and translation in with a same object, 2018-06-18 11:00:46 +02:00
Henrik Rusche
f148ca0ed2 BUGFIX: pisoControl does not trigger 'Final' 2018-06-14 11:45:02 +02:00
Henrik Rusche
88a815b7dd Remove C++11 which also simplifies Windows port 2018-06-14 11:41:28 +02:00
Henrik Rusche
b23dfb3284 Fixing compilation on MSWindows 2018-06-13 10:48:01 +02:00
Hrvoje Jasak
72854eb5dc Fix comment 2018-06-11 15:35:47 +01:00
Vuko Vukcevic
3d6293352a Bugfix in fixedHeatFluxTemperature BC
1. Reading in gradient from dictionary if present,
2. No need to distinguish between RAS and LES models: use turbulenceModel
   instead.
2018-06-11 14:23:48 +02:00
Vuko Vukcevic
27e5ca1f6b Bugfix in fixedHeatFluxTemperature BC
Forgot that I need to divide the heat flux with reference density and specific
heat capacity to get the gradient...
2018-06-11 13:16:17 +02:00
Henrik Rusche
58290b37f5 BUGFIX: Mess in dlTables and use of OSspecific 2018-06-06 22:19:19 +02:00
Henrik Rusche
6ffa6e9cb4 BUGFIX: Re-enable FO's movePoints 2018-06-06 17:57:35 +02:00
Henrik Rusche
6eb6f12071 Merge /u/henrus/foam-extend-4.0/ branch bugfix/swak4foam into nextRelease
https://sourceforge.net/p/foam-extend/foam-extend-4.0/merge-requests/54/
2018-06-06 12:35:52 +00:00
Hrvoje Jasak
2adfc6bd00 Bugfix: limited on boundary non-orthogonality in laplacian 2018-06-05 11:53:37 +01:00
Vuko Vukcevic
c681206a94 fixedHeatFluxTemperature boundary condition
The boundary condition uses a specified heat flux and kappe effective to
calculate the temperature gradient. It is a part of LES library in order to
allow both RAS and LES models to use the BC.
2018-06-05 09:17:07 +02:00
Henrik Rusche
2874c5e775 Enables OpenMP support for cfMesh in cmake-build 2018-06-01 19:35:39 +02:00
Hrvoje Jasak
b365dab574 Added readPatchType function to capture the patch type for patch fields which circumvent base class dictionary constructor 2018-06-01 17:29:59 +01: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
1ef48646b9 Merge branch 'feature/cmake' into nextRelease 2018-06-01 18:03:24 +02:00
Henrik Rusche
7b6ce1ff7c Enable overset & Patched up more tutorials for CMake build 2018-06-01 17:59:13 +02:00
Hrvoje Jasak
c7f24b57ed Added immersed boundary support to wall distance 2018-05-30 12:56:01 +01:00
Henrik Rusche
ad762e6c69 Changes to make CMake work with release candidate 2018-05-29 22:56:52 +02:00
Hrvoje Jasak
0b56f4494b Formatting 2018-05-28 19:10:04 +01:00
Hrvoje Jasak
3f3e330158 Fixed flux writing problem 2018-05-28 19:09:49 +01:00
Hrvoje Jasak
48ea646dc7 Reverted to dict read for zeroGradientFvPatchField 2018-05-28 19:08:58 +01:00
Hrvoje Jasak
e435bf40f6 Change top-level AMG solver settings: minIter = 0 and reset top x in each call 2018-05-27 16:25:14 +02:00
Hrvoje Jasak
facf4bc864 Robustness improvement on top block AMG level 2018-05-25 10:23:32 +01:00
Hrvoje Jasak
f00636e865 Added missing headers in immersed boundary 2018-05-25 10:12:05 +01:00
Hrvoje Jasak
0ef0eb1e6a Robustness improvement on top AMG level 2018-05-25 10:11:29 +01:00
Hrvoje Jasak
c0003d35e6 Updated coarse level solver AMG debug flags 2018-05-24 16:19:40 +01:00
Hrvoje Jasak
5c33f47532 Removed wallFvPatch.H include 2018-05-24 12:24:49 +01:00
Hrvoje Jasak
191bc255c9 Removed wallFvPatch.H 2018-05-24 12:07:16 +01:00
Hrvoje Jasak
bd806d3d2b Removed old immersed boundary wall functions 2018-05-24 11:49:49 +01:00
Hrvoje Jasak
c6fefa324c Added reversed flow function object 2018-05-24 10:57:20 +01:00
Hrvoje Jasak
04ae509a71 Added missing virtual destructor 2018-05-24 10:56:57 +01:00
Hrvoje Jasak
e739499202 Fixed upper triangular ordering in processor mesh rebuild 2018-05-23 18:37:47 +01:00
Hrvoje Jasak
085a1d85b8 Fixed syncing of global processor point label detection: syncPar 2018-05-23 18:37:24 +01:00
Henrik Rusche
ce4104072e Inital find modules for mesquite, scotch, metis, partmetis, parmgridgen 2018-05-23 15:27:30 +02:00
Robert Keser
0affdbfe19 Transition to cmake build system (added dbns and minor changes) 2018-05-23 15:27:30 +02:00
Henrik Rusche
3abb7c9f7b Enabled paraview plugin and out-of-source compilation 2018-05-23 15:27:30 +02:00
Henrik Rusche
48926a792f Transition to cmake build system (most libs and utils & some apps compile) 2018-05-23 15:26:37 +02:00
Henrik Rusche
4626c03206 Minor changes to help cmake parser 2018-05-23 15:23:51 +02:00
Hrvoje Jasak
a636a79642 Fixing shared points bug: too many points detected 2018-05-23 12:34:56 +01:00
Hrvoje Jasak
28a3c54b9b Added block-coupled form of symmetry plane 2018-05-22 11:53:22 +01:00
Hrvoje Jasak
c9d077171f Removed debug write of VTK points 2018-05-21 13:19:41 +01:00
Hrvoje Jasak
5f840ba74f Fixed bug in shared points for reconstruction 2018-05-21 13:00:34 +01:00
Hrvoje Jasak
55aa8c272a Updates for dynamic refinement and immersed boundary 2018-05-17 14:52:46 +01:00
Hrvoje Jasak
9596103e05 Formatting 2018-05-17 13:10:44 +01:00
Hrvoje Jasak
c19f0f85b5 Added loadBalanceFvMesh build 2018-05-17 12:36:46 +01:00
Hrvoje Jasak
4d3303023a Added rebuild of surfaceVectorFields 2018-05-17 12:31:53 +01:00
Hrvoje Jasak
2a90c4f924 Clean-up of immersed boundary refinement 2018-05-17 12:04:26 +01:00
Hrvoje Jasak
3210c63bb1 Fixed confusing error message 2018-05-16 20:49:43 +01:00
Hrvoje Jasak
6bb0a2c1c6 Fixed bad size of cut face 2018-05-16 20:03:09 +01:00
Hrvoje Jasak
25b3940175 Fix mesh volume handling in mesh flux updates 2018-05-16 15:11:12 +01:00
Hrvoje Jasak
4a16503359 Enabled dynamic refinement in immersed boundary dynamic mesh 2018-05-16 15:10:47 +01:00
Hrvoje Jasak
e90bc3a893 Added access functions to dynamic refinement 2018-05-16 15:10:10 +01:00
Hrvoje Jasak
a800fbcc1a Added scalar and tensor ILU precons and smoother files to compilation 2018-05-16 14:20:35 +01:00
Hrvoje Jasak
50d0a9d77e MERGE: fix V0 update in fvMesh 2018-05-16 12:28:16 +01:00
Hrvoje Jasak
6c5d254802 Block ILUC0 precon and smoother 2018-05-16 11:50:18 +01:00
Hrvoje Jasak
737dee5705 Changed resizing mechanism in load balancing topo change 2018-05-16 11:19:31 +01:00
Hrvoje Jasak
63c9311177 TEMPORARY: decomposition library load. Temporary fix, Henrik Rusche. To be reverted 2018-05-15 19:18:32 +01:00
Hrvoje Jasak
000384c651 MERGE: Clean-up 2018-05-15 16:57:53 +01:00
Hrvoje Jasak
e3af38c8d7 MERGE: Clean-up of time classes 2018-05-15 16:44:42 +01:00
Hrvoje Jasak
b76f2a810e MERGE: solution handling of multiple old residuals. Vanja Skuric 2018-05-15 16:43:15 +01:00
Hrvoje Jasak
6bc62db7c2 Formatting 2018-05-15 16:42:32 +01:00
Hrvoje Jasak
4497ddb955 MERGE: GGI handling of partially overlapped faces. Vuko Vukcevic 2018-05-15 16:41:41 +01:00
Hrvoje Jasak
d858291523 MERGE: Use convection time-step in steady intertial scheme 2018-05-15 16:41:02 +01:00
Hrvoje Jasak
9f04cc47e4 MERGE: Remove loading of libs 2018-05-15 16:40:34 +01:00
Hrvoje Jasak
549ba4fab8 MERGE: Changed format of surface writers 2018-05-15 16:39:40 +01:00
Hrvoje Jasak
b8a103a354 MERGE: Added missing includes for patchIdentifier 2018-05-15 16:39:14 +01:00
Hrvoje Jasak
a2e8f4a617 MERGE: resolving GGI merge problem 2018-05-15 16:36:35 +01:00
Hrvoje Jasak
6f72f3b5da MERGE: Update overset 2018-05-15 16:33:32 +01:00
Hrvoje Jasak
ee130abd3b MERGE: Merging surface writers 2018-05-15 16:32:42 +01:00
Hrvoje Jasak
7a54aeb99b Merge branch 'feature/JasakDevelopment' into nextRelease 2018-05-15 12:00:02 +01:00
Hrvoje Jasak
744ea0ae1f Merge branch 'dynamicLoadBalancing' into development 2018-05-15 10:57:09 +01:00
Hrvoje Jasak
511d68e98a Formatting and clean-up 2018-05-15 10:53:40 +01:00
Hrvoje Jasak
18f62ca66a Revert change: use fvMesh C for immersed boundary 2018-05-15 10:53:12 +01:00
Hrvoje Jasak
3b4ea0cc01 Cumulative Development: Vuko Vukcevic 2018-05-15 10:51:53 +01:00
Hrvoje Jasak
f779d20573 Parallel bug fix: iso-surface 2018-05-15 10:47:22 +01:00
Hrvoje Jasak
0585614ac4 Bugfix: explicit fvBoundaryMesh constructor 2018-05-15 10:43:31 +01:00
Hrvoje Jasak
84a5199d89 Formatting 2018-05-15 10:43:07 +01:00
Hrvoje Jasak
d6ae246151 Bugfix: Initialisation of child array 2018-05-15 10:38:36 +01:00
Hrvoje Jasak
5f8851bb50 Fix resetPatch flag copy 2018-05-14 09:27:41 +01:00
Hrvoje Jasak
a4617cca01 Refactoring of load balance: move function into topoChangerFvMesh 2018-05-11 18:32:37 +01:00
Hrvoje Jasak
c1f86cba2d Remove print statements 2018-05-11 18:30:54 +01:00
Hrvoje Jasak
31adfb3200 Added globalProcFaceIndex 2018-05-10 09:57:13 +01:00
Hrvoje Jasak
20e6a816a2 Bugfix: Added missing reduce in mesh quality checks 2018-05-10 09:57:03 +01:00
Vuko Vukcevic
2e170aa989 Merge branch 'polyhedralAMR-improvements' into CumulativeDevelopment-VukoVukcevic-nextRelease 2018-05-10 10:04:59 +02:00
Hrvoje Jasak
c420520633 Fixes for targeted insertion of reconstructed meshes in load balancing 2018-05-09 13:43:23 +01:00
Vuko Vukcevic
4d7859d8d2 Merged thermalModels
There were two sets of thermalModels in conjugateHeatTransfer library and
solidModels library. They are now merged into the conjugateHeatTransferLibrary
2018-05-09 14:28:48 +02:00
Hrvoje Jasak
2877964cb6 Global face index handling in passive processor patches 2018-05-09 12:55:16 +01:00
Hrvoje Jasak
8878766520 Bugfix: work with polyPatches only 2018-05-09 12:54:34 +01:00
Henrik Rusche
42cbdd1fd6 BUGFIX: Fix bug is parallel execution by bringing isoSurface in-line with vanilla 2018-05-03 12:58:50 +02:00
Vuko Vukcevic
7ad4da9e89 Update to vtkSurfaceWriter
Writing "double" instead of "float" more reliable for most paraview versions.

Author: Karl Meredith
2018-05-03 10:14:35 +02:00
Vuko Vukcevic
b0811b398d Bugfix in argList.C
Correct initialization and override of global controlDict switches
2018-05-02 15:30:17 +02:00
Hrvoje Jasak
4612194654 Remove debug print statetment 2018-05-02 12:24:08 +01:00
Hrvoje Jasak
cca5743dee Bugfix: filter empty processor patches 2018-05-02 10:21:53 +01:00
Hrvoje Jasak
1e8847d71e Refactor decompose/reconstruct tools for load balancing 2018-05-01 15:57:12 +01:00
Hrvoje Jasak
7174595839 Working load balancing code 2018-05-01 15:56:31 +01:00
Hrvoje Jasak
afde586e9f Bugfix: Update signalling for topologically changing mesh 2018-05-01 15:55:29 +01:00
Hrvoje Jasak
d490c9d9b5 Formatting 2018-05-01 15:53:44 +01:00
Hrvoje Jasak
a1eae83ca6 Added more typedefs in Field, DimensionedField and GeometricField 2018-05-01 15:52:53 +01:00
Hrvoje Jasak
48a70dfb29 Formatting 2018-05-01 15:51:56 +01:00
Vuko Vukcevic
ef69c12106 Graded normal extrude model 2018-04-25 13:29:14 +02: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
047bc41b27 Updates to polyMesh::changing_ flag
It's better to update it in polyTopoChanger::changeMesh() than in
polyMesh::updateMesh(). This way, it is consistent with directTopoChange engine
2018-04-25 10:00:27 +02:00
Hrvoje Jasak
41829c7a53 Field mapping for patch reset 2018-04-24 19:04:02 +01:00
Vuko Vukcevic
8a14f3ce8e Bugfix in samplesCuttingPlane
Need to trigger the re-calculation of cutting plane on topo changes
2018-04-24 16:03:09 +02:00
Vuko Vukcevic
d7a357b646 Bugfix in polyMesh::updateMesh
Need to set changing_ flag to true automatically when performin topo changes or
otherwise calling updateMesh
2018-04-24 16:02:27 +02:00
Hrvoje Jasak
9cc1acc8a0 Load balancing - WIP 2018-04-24 11:07:07 +01:00
Hrvoje Jasak
942ecf88c1 Load balancing support, fvMesh 2018-04-24 11:05:21 +01:00
Hrvoje Jasak
685151b9be Formatting 2018-04-24 11:04:22 +01:00