Commit Graph

22955 Commits

Author SHA1 Message Date
sergio
1db1815b54 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2019-06-11 15:11:33 -07:00
sergio
58312bf850 INT: Back-tracking multiphaseSystem 2019-06-11 15:10:55 -07:00
Kutalmis Bercin
a1f9256829 ENH: extend header documentation for forceCoeffs 2019-06-11 16:19:37 +01:00
Andrew Heather
dd437aa667 INT: Clean-up and integration of wave BC updates 2019-06-11 15:29:15 +01:00
Gabriel Barajas
7d9f3c8a0d INT: waveMaker boundary condition - added dynamic wave paddle of a solitary wave
Based on Goring et al., 1980
2019-06-11 14:55:51 +01:00
Andrew Heather
65f3faa203 WIP: Refactored forces/Coeffs to always use a co-ord system and simplified inputs [UNCHECKED] 2019-06-11 11:57:22 +01:00
sergio
bb9225f3f7 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2019-06-10 10:17:00 -07:00
sergio
fa61775768 ENH: Small changes on overBuoyantPimpleFoam tutorial 2019-06-10 10:16:08 -07:00
mattijs
533410aab4 COMP: phaseSystemModels: few compilation fixes 2019-06-10 13:59:26 +01:00
mattijs
09c67d90de BUG: mpi: use system openmpi by default 2019-06-10 13:05:54 +01:00
Mark Olesen
53b88d99a3 COMP: only compile wmake toolchain for host when cross-compiling
- no use having wmkdepend on the target architecture when it will only
  be needed on the host architecture.
2019-06-09 19:21:27 +02:00
Mark Olesen
e02ed85637 DOC: fix links 2019-06-09 19:17:34 +02:00
Mark Olesen
50bbc2bd6b DOC: cross-reference readme/build/requirements 2019-06-07 13:43:27 +02:00
Mark Olesen
21599f0365 DOC: added Build and Requirements information 2019-06-07 13:30:10 +02:00
Mark Olesen
b46992f66b COMP: compile wmake toolchain for host when cross-compiling 2019-06-07 10:32:37 +02:00
Mark Olesen
137130e437 ENH: reduce wmake bootstrap dependencies
- remove make target for wmdep (flex-based scanner), which eliminates
  a bootstrap dependency on flex.

  As of OpenFOAM-v1806, wmdep has been superseded by wmdepend
  (ragel-based scanner).

- replace dirToString binary with shell/awk equivalent for simpler
  maintenance. The utility is very rarely used (auto scanning to
  create Make/files) so there is no performance difference.
2019-06-07 09:51:18 +02:00
Andrew Heather
2e544489bf Merge branch 'feature-VOF-updateSolvers' into 'develop'
Feature vof update solvers

See merge request Development/OpenFOAM-plus!266
2019-06-07 09:38:35 +01:00
Sergio Ferraris
8170f2ad92 INT: Org integration of VOF, Euler phase solvers and models.
Integration of VOF MULES new interfaces. Update of VOF solvers and all instances
of MULES in the code.
Integration of reactingTwoPhaseEuler and reactingMultiphaseEuler solvers and sub-models
Updating reactingEuler tutorials accordingly (most of them tested)

New eRefConst thermo used in tutorials. Some modifications at thermo specie level
affecting mostly eThermo. hThermo mostly unaffected

New chtMultiRegionTwoPhaseEulerFoam solver for quenching and tutorial.

Phases sub-models for reactingTwoPhaseEuler and reactingMultiphaseEuler were moved
to src/phaseSystemModels/reactingEulerFoam in order to be used by BC for
chtMultiRegionTwoPhaseEulerFoam.

Update of interCondensatingEvaporatingFoam solver.
2019-06-07 09:38:35 +01:00
Mark Olesen
0628bfb017 CONFIG: remove legacy tools, update foamPackRelease/foamUpdateCaseFileHeader 2019-06-06 16:45:57 +02:00
Andrew Heather
88e042afd9 COMP: resolved compiler warning 2019-06-06 14:23:12 +01:00
Mark Olesen
c7e5f4a9e7 BUG: surfaceWriter pointData merging fails on single processor
- if surface is only on a single processor, no point merging occurs
  and the pointsMap is empty.
2019-06-06 14:36:53 +02:00
Pawan
0d8601f273 TUT: rhoSimpleFoam/squareBend - added example use of isentropic pressure 2019-06-06 12:18:10 +01:00
Mark Olesen
bf9d74ba8b ENH: increase robustness of PrecisionAdaptor
- overload the ref() method to allow modification of the referenced
  (non-const) field directly. Same as constCast(), but less typing
  and less prone to error.

- construct ConstPrecisionAdaptor from tmp for improved efficiency.
2019-06-06 09:46:31 +02:00
Mark Olesen
255e47356c BUG: surface writer for surfaceNoise was not Time-aware
- the updated surface writers must be explicitly tagged as being
  Time-aware (useTimeDir) to have them splice Time (in this case freq)
  into the output path.

  The older writers worked in the opposite way. They extracted a time
  value from the naming of the output directory (which was fragile).
2019-06-05 16:17:33 +02:00
Mark Olesen
a2906d4302 ENH: improve handling of font sizes for scalarBar 2019-06-05 15:31:49 +02:00
Andrew Heather
4c25755202 Merge branch 'feature-single-precision' into 'develop'
Feature single precision

See merge request Development/OpenFOAM-plus!234
2019-06-05 14:55:59 +01:00
Andrew Heather
24371a1d84 BUG: set the oriented flag - see #1324 2019-06-05 14:12:51 +01:00
Andrew Heather
289a7acf76 ENH: p field for potentialFoam now registsered 2019-06-05 14:11:50 +01:00
mattijs
a31d0c834e ENH: overset: add value field. Fixes #1334. 2019-06-05 11:38:06 +01:00
Mark Olesen
1de2f30545 COMP: fixes for label=64, scalar=32 2019-06-05 09:13:08 +02:00
sergio
5c58b07f5a ENH: Adding overBuoyantPimpleFoam and tutorial 2019-06-04 12:18:13 -07:00
sergio
aaf5d7be6d Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2019-06-04 11:06:35 -07:00
Mark Olesen
c8cf4b21c4 STYLE: suppress output of solveScalar when identical to scalar size 2019-06-04 15:16:46 +02:00
Mark Olesen
ca724b2e1a TUT: cleanup postProcessing in planeTransport finiteArea tutorial 2019-06-04 15:11:05 +02:00
Mark Olesen
298cb46572 BUG: fix spurious time indexing in collated ensight output (#1333)
- need additional tolerance when comparing time values to those
  stored in the fieldDict (both less and equal operators)
2019-06-04 15:04:09 +02:00
Andrew Heather
b65a6d32f5 Merge branch 'fix-GL1276' into 'develop'
ENH: improved handling of regIOobject deletion (#1276)

See merge request Development/OpenFOAM-plus!263
2019-06-04 14:32:30 +01:00
Andrew Heather
0329a9044e Merge branch 'feature-functionObjects-lambVector' into 'develop'
ENH: FO: Lamb vector and its divergence

See merge request Development/OpenFOAM-plus!245
2019-06-04 12:44:59 +01:00
kuti
6cb7e80d7d ENH: FO: Lamb vector
- If applied:
      This commit allows the user to compute:
        - the Lamb vector (https://en.wikipedia.org/wiki/Lamb_vector),
        - on-the-fly or via postProcess utility
        - for a given volVectorField (one per functionObject entry)

  - Why:
      The motivation is the literature-reported quantitative connection
      between the Lamb vector (divergence) and the spatially localised
      instantaneous fluid motions, e.g. high- and low-momentum fluid
      parcels, which possess considerable level of capacity to affect
      the rate of change of momentum, and to generate forces such as drag.

  - Verification:
      - Smooth-wall plane channel flow case (Moser et al. 1999) by
          # Curtis et al. (2008) On the Lamb vector divergence
            in Navier–Stokes flows, doi:10.1017/S0022112008002760

  - What's next:
      - The verification-show case
      - Extended code guide entry titled "Lamb vector"
2019-06-04 12:42:06 +01:00
Mark Olesen
e120df0923 ENH: improved handling of regIOobject deletion (#1276)
- remove registration and ownership before deleting a regIOobject
  from within objectRegistry to avoid possible recursion.

- regIOobject destructor now removes any registered object from
  registry regardless if ownedByRegistry or not. It also removes
  always removes the ownership flag to avoid possible recursion.

- the regIOobject::checkOut() now unconditionally clears file watches.
  These will only be there if the object is registered (a no-op for an
  unregistered object), but this additional safety is needed to manage
  case where the registration has been modified elsewhere (eg, by the
  objectRegistry).
2019-06-04 12:29:55 +02:00
Mark Olesen
073e0a7f5d Merge branch 'feature-complex-cleanup' into 'develop'
Feature complex cleanup

See merge request Development/OpenFOAM-plus!264
2019-06-04 11:25:26 +01:00
Mark Olesen
52df9a2fee TUT: use mpiexec instead of mpirun for msmpi in RunFunctions (#1238) 2019-06-04 11:22:21 +02:00
kuti
e42cc287de BUG: incorrect scalar/complex division (#1331)
ENH: define addition/subtraction operations for scalar and complex

- required since construct complex from scalar is explicit
- additional tests in Test-complex
2019-06-04 09:08:42 +01:00
Mark Olesen
663b422587 ENH: optional parameter on regIOobject::release (#1276)
- can additionally relinquish the registered state as well as
  ownedByRegistry state
2019-06-03 15:11:10 +02:00
Mark Olesen
ef88919ef5 STYLE: incorrectly documented wmake option 2019-06-04 09:11:37 +02:00
Mark Olesen
9d593adc98 ENH: relax the (zeroGradient, ddt2) replacement token requirement (#1330)
- when a single (non-regex) source field is specified, it is now
  possible to specify the result name without any '@@' substitution
  tokens
2019-06-04 08:45:46 +02:00
mattijs
2ce1ca48a8 BUG: objectRegistry: two-pass deletion. See #1276. 2019-06-03 13:58:51 +01:00
mattijs
5dd6a04ff8 BUG: attach/detach: correctly change modified faces. Fixes #1329. 2019-06-03 11:07:05 +01:00
Mark Olesen
fc11c40841 ENH: add wmake -debug option
- forces c++DBUG='-DFULLDEBUG -g -O0' for the compilation, to allow
  localized debugging during development without file editing and
  while retaining the WM_COMPILE_OPTION (eg, Opt)

  Note that switching between 'wmake' and 'wmake -debug' will not
  cause existing targets to be rebuilt. As before, these are driven by
  the dependencies. An intermediate wclean may thus be required.
2019-06-03 10:16:31 +02:00
Mark Olesen
e1bd3400ef ENH: allow selective disabling of parallel VTK rendering
- in case an individual geometry element has render issues in parallel

- additional debug information
2019-06-03 09:46:49 +02:00
Mark Olesen
be35426f85 SUBMODULES: cfmesh with updated argList methods 2019-05-31 18:57:29 +02:00