fa11efeba6
src/OpenFOAM/primitives/ints: Corrected MIN and MAX for uints
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2137
2016-07-01 10:24:42 +01:00
0326b6211f
DOC: Removing pdf files from git repo
OpenFOAM-v1606
2016-07-01 09:09:36 +01:00
9965c5006c
STYLE: minor improvement when writing list entry
2016-07-01 09:55:51 +02:00
ce121c92dc
STYLE: minor simplification of check for uniform contents
2016-07-01 09:09:50 +02:00
cae7ce37f5
ENH: provide formatting version of Foam::name() (issue #253 )
...
- there are some cases in which the C-style sprintf is much more
convenient, albeit problematic for buffer overwrites.
Provide a formatting version of Foam::name() for language
primitives that is buffer-safe.
Returns a Foam::word, so that further output will be unquoted, but
without any checking that the characters are indeed entirely valid
word characters.
Example use,
i = 1234;
s = Foam::name("%08d", i);
produces '00001234'
Alternative using string streams:
std::ostringstream buf;
buf.fill('0');
buf << setw(8) << i;
s = buf.str();
Note that the format specification can also be slightly more complex:
Foam::name("output%08d.vtk", i);
Foam::name("timing=%.2fs", time);
It remains the caller's responsibility to ensure that the format mask
is valid.
2016-07-01 08:23:13 +02:00
ff0557cf22
BUG: ensight output - corrected mask
2016-06-30 23:05:23 +01:00
eb6cf446fc
STYLE: wrong permissions on some tutorial files
2016-06-30 15:39:38 +02:00
bde2fb728f
Merge remote-tracking branch 'origin/develop' into develop
2016-06-30 15:34:06 +02:00
6d71d03f44
ENH: default to collateTimes on for ensight output
...
- the uncollated version becomes quite difficult to process.
Caveat: cannot use "collateTimes true" for non-static geometries
2016-06-30 15:32:21 +02:00
da6820c300
ENH: Added Pawan's sineWaveDamping tutorial to test new acousticDamping fvOption
2016-06-30 12:48:50 +01:00
a60b1ddd6e
ENH: acousticDamping - updated blending factor
2016-06-30 12:46:46 +01:00
7bc05996ba
SloanRenumber: link with libboost_system.so rather than libboost_thread.so
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2135
2016-06-30 12:01:32 +01:00
f2d05873b8
BUG: cshrc - corrected version back to 'plus'
2016-06-30 11:23:34 +01:00
eff10b0f96
BUG: acousticDamping - set the blending factor after reading the coefficients
2016-06-30 11:22:50 +01:00
9fdb5506f4
timeVaryingMappedFixedValueFvPatchField: Simplifed for consistency with the output of sampledPlane
...
Now a case can be sampled and written in 'foam' format and used for the
timeVaryingMappedFixedValue BC of another case.
2016-06-30 10:35:01 +01:00
507b8988ec
functionObjects::surfaceRegion: Write the surface geometry for formats in which the data is in separate files
2016-06-30 10:33:55 +01:00
c224d19c83
sampledCuttingPlane: Rationalized
2016-06-30 10:33:28 +01:00
939376a844
src/sampling/Make/files: Updated
2016-06-30 10:33:07 +01:00
c6200ea25e
sampledPlane, plane: standardize the selection of the plane type
2016-06-30 10:32:31 +01:00
fdb4f37148
foamFileSurfaceWriter -> foamSurfaceWriter for consistency with the naming of the other writers
2016-06-30 10:31:09 +01:00
3be20b492d
Merge remote-tracking branch 'origin/develop' into develop
...
- conflicts resolved:
src/conversion/ensight/file/ensightGeoFile.C
2016-06-30 01:05:35 +02:00
c133f98dda
BUG: corrupt keywords in ensight binary
...
- regression introduced by ef9a14b288
2016-06-30 00:52:49 +02:00
ad4e8a1f76
ENH: cleaner output directory for ensight surfaces
...
- similar to foamToEnsightParts, provide a data/ subdirectory to hold
the time-varying field information (collated output only).
- widen data mask to avoid possible overflows with many time steps
2016-06-30 00:44:14 +02:00
a4f6836f3e
BUG: avoid duplicate ensight surface mesh/geometries (issue #167 )
...
- ensight does supports geometry in a separate file, but for the
surface writer we claim that this is not true. This allows
the field writers to control where the mesh/case files land.
With 'true', the uncollated output would incidentally create
things like this:
Previous (w/ fields) | Now (w/ fields)
----------------------------+----------------------
0.05/surf.case |
0.05/surf.mesh |
0.05/p/surf.case | 0.05/p/surf.case
0.05/p/surf.mesh | 0.05/p/surf.mesh
0.05/p/surf.0000.p | 0.05/p/surf.0000.p
Previous (w/o fields) | Now (w/o fields)
----------------------------+----------------------
0.05/surf.case | 0.05/surf.mesh
0.05/surf.case | 0.05/surf.mesh
Move the separateGeometry() flag to the *.C code, where it is less
likely to be mistakenly altered.
2016-06-29 23:11:27 +02:00
287b6537f2
fvcD2dt2: Updated non-const dereferencing to use '.ref()'
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2133
2016-06-29 21:55:57 +01:00
4b266671a3
Merge branch 'feature-noise' into 'develop'
...
Feature noise
New functionality includes:
- run-time selectable noise models: point|surface
- run-time selectable window models: Hanning (+ options symmetric, extended), uniform
- calculates PSD (Pa^2/Hz) and dB/HZ; SPL (Pa^2) and dB
- calculates 1/3 octave data, with centre frequency 1kHz
surfaceNoise only:
- reads ascii/binary ensight surface data (requires collateTimes option)
- generates graphs for surface average quantities
- operates in parallel
See merge request !50
2016-06-29 21:44:36 +01:00
038356cdda
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2016-06-29 21:37:10 +01:00
208de6b320
ENH: Added new mapFields function object
2016-06-29 21:34:33 +01:00
5062c50ebc
ENH: surfaceNoise - using mean for surface average
2016-06-29 21:16:59 +01:00
a0b598a5e4
COMP: Created conditional Allwmake scripts for FFTW dependent applications
2016-06-29 20:50:49 +01:00
7972d0b0e3
ENH: Noise functionality library and application updates
2016-06-29 20:46:20 +01:00
fe13ff56fc
ENH: Updated ensight surface file reading
2016-06-29 20:43:20 +01:00
a415752eb5
ENH: window models - updated and added uniform window
2016-06-29 20:40:29 +01:00
0efe8b8ffa
ENH: FFT - replaced Numerical Recipes-based FFT by the FFTW library
2016-06-29 20:37:39 +01:00
6d330d3d12
tutorials: Updated formatting of dictionaries and specification of 'plane' and 'samplePlane'
2016-06-29 18:02:57 +01:00
45198c5884
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2016-06-29 18:00:52 +01:00
5c673119ad
BUG: ensightFile: does not handle writeKeyword since no virtual for const word&
...
Related to #132 .
2016-06-29 17:58:38 +01:00
2058ae5a85
ENH: TurbulentDFSEM - increment eddy OBJ file index to avoid over-writing
2016-06-29 17:13:01 +01:00
a158c30710
plane, sampledPlane: Rationalize the naming convention for the defining normal and point
...
normalVector -> normal
basePoint -> point
The old names are supported for backward-compatibility.
2016-06-29 16:58:35 +01:00
b2234f19e5
BUG: could not set system clang (issue #166 )
...
- gcc/g++ always being used
STYLE: spurious unsetenv WM_COMPILER_TYPE (csh only)
- more stringent cleanup of ThirdParty settings for wmUNSET
2016-06-29 16:06:48 +02:00
5de8c1538f
BUG: motorBike: starting off with correct controlDict
2016-06-29 14:34:35 +01:00
6e6ed0ca94
STYLE: cleanup rhoPorousSimpleFoam tutorial case
...
- better cleanup, avoid collisions between implicit and explicit cases
2016-06-29 14:21:02 +02:00
820f809bd5
STYLE: cleanup handling of 0.org directories (in parallel)
...
- remove duplicate 0/ files from the repository
2016-06-29 13:34:36 +02:00
8bdc7e01bf
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2016-06-29 10:43:51 +01:00
49e4475b46
STYLE: redistributePar: indentation
2016-06-29 10:43:36 +01:00
3e3a183732
Completed transformation of post-processing utilities into functionObjects
2016-06-28 19:26:23 +01:00
cc36db19de
GIT: Resolved conflict
2016-06-28 16:59:01 +01:00
f0375fc35c
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2016-06-28 16:53:35 +01:00
0f6f3e3c90
COMP: TensorI.H - provide default case to suppress compiler warning
2016-06-28 16:53:21 +01:00
dd3fb6225f
ENH: Tutorials - added new channel tutorial to show turbulence DFSEM inlet behaviour
2016-06-28 15:49:18 +01:00