Commit Graph

16371 Commits

Author SHA1 Message Date
916dcb8685 ENH: parallel: overhaul of parallel mapping
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
- low-level distributed Field mapping
- support for mapping surfaceFields (including flipping faces)
- support for decomposing/reconstructing refinement data
2015-11-17 15:05:05 +00:00
09dec5263b ENH: foamLog: added support for multi-region 2015-11-17 14:56:13 +00:00
1afb36a476 BUG: polyMesh: update patchGroups when polyMesh::readUpdate 2015-11-11 13:28:41 +00:00
cc3ef7b876 STYLE: cyclicPolyPatch: unused include files 2015-11-11 13:26:09 +00:00
18b42907af STYLE: processorPolyPatch: typo in comment 2015-11-11 13:25:37 +00:00
c48a203267 BUG: procesorPolyPatch: fixed check on oppositeness, correct tolerance 2015-11-11 12:54:08 +00:00
3457f567e5 ENH: uniformFixedValue: typo in comment 2015-11-11 12:52:51 +00:00
d1b2ccd5ca ENH: objectRegistry: print type when debugging 2015-11-11 12:51:13 +00:00
4c8ba8b5db BUG: dictionary: topDict function 2015-11-11 12:49:51 +00:00
edc2a9ab8d BUG: ISstream: only check character if reading succeeded 2015-11-11 12:48:51 +00:00
7f95c64b16 ENH: containers: small changes to containers 2015-11-11 12:44:26 +00:00
8f0dfea06c Merge branch 'feature-functionObjects' into 'develop'
Feature function objects

Lots of updates migrated from internal development line

### Updated functionObjectFile
Old code maintained a list of file pointers, and provided a clunky interface to output to file.  Although OK for function objects that only created a single file, those that created multiple files were required to refer to each by an index and making it very easy to introduce errors.
The new code simplifies the functionObjectFile class so that it provides helper functions to create and write to files, and no longer maintains a list of file pointers.  Instead, each function object must create and take responsibility for all of the file streams that it requires.
Changes propagated across dependencies:
* fieldValues
* forces/forceCoeffs
* yPlus
* fieldMinMax
* residuals
* regionSizeDistribution
* fieldMinMax
* cloudInfo

### Created new functionObjectState
Previously, if function objects required to store data on disk to enable smooth restarts, e.g. fieldAverage, the object would need to provide the mechanism for reading/writing state information itself.  This class abstracts out the reading/writing of state information in a straightforward manner, whereby an object can retrieve its own data, or retrieve e.g. the latest available data from another object (e.g. see fieldValueDelta).
* fieldAverage
* fieldMinMax
* forces
* forceCoeffs

### Created new runTimePostProcessing function object
New function object to generate images at run-time, or in 'post-processing' mode via the execFlowFunctionObjects utility
* Constant DataEntry - added construct from components
* Set and surface writers updated to enable retrieval of filename of generated output
* Additional changes to surface writers from internal line:
  + Ensight collate times option
  + Nastran output updated based on user feedback
  + new boundaryData output


See merge request !5
2015-11-16 17:30:03 +00:00
d25649c44d ENH: movingWallVelocityFvPatchVectorField: corrected comment. Fixes #4 2015-11-16 14:14:29 +00:00
6ab06c57e2 STYLE: cellSourceTemplates: line length 2015-11-12 11:02:23 +00:00
cb358dc5ee Merge branch 'feature-functionObjects' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-functionObjects 2015-11-11 16:13:18 +00:00
7175c872e6 ENH: Added FO documentation 2015-11-11 16:10:38 +00:00
5a32996280 ENH: Added FO documentation 2015-11-11 16:10:38 +00:00
d26b4ee490 ENH: fieldValues FOs updated following update to use functionObjectState 2015-11-11 16:10:01 +00:00
daede6874a ENH: fieldValues FOs updated following update to use functionObjectState 2015-11-11 16:10:01 +00:00
40680a43b1 ENH: Initial commit of new runTimePostProcessing function object
- Allows generation of images (currently PNG files) during the run
- ... or afterwards by invoking the execFlowFunctionObjects utility
- Wrapper around VTK functionality
- Support for objects:
  - text
  - points (glyphs: sphere, arrow)
  - lines (tubes)
  - surfaces (wireframe, shaded, combination)
- Colour using:
  - user-defined
  - field values (several colour maps availale)
- For image sequences:
  - dynamic views (camera movement)
  - objects can appear/disappear using opacity
- Building
  - VTK dependency v6+
  - satisfied using ParaView from ThirdParty directory
  - or separate VTK installation
2015-11-11 12:55:15 +00:00
387fc6ad12 ENH: Initial commit of new runTimePostProcessing function object
- Allows generation of images (currently PNG files) during the run
- ... or afterwards by invoking the execFlowFunctionObjects utility
- Wrapper around VTK functionality
- Support for objects:
  - text
  - points (glyphs: sphere, arrow)
  - lines (tubes)
  - surfaces (wireframe, shaded, combination)
- Colour using:
  - user-defined
  - field values (several colour maps availale)
- For image sequences:
  - dynamic views (camera movement)
  - objects can appear/disappear using opacity
- Building
  - VTK dependency v6+
  - satisfied using ParaView from ThirdParty directory
  - or separate VTK installation
2015-11-11 12:55:15 +00:00
11c3654a26 ENH: Updates to set and surface writers
- New boundaryData surface writer
- Moved templated code into separate files
- Output filenames written to functionObjectState dictionary
- Ensight surface writer now supports a 'collate times' option [mattijs]
- Nastran surface writer updated based on user feedback
2015-11-11 12:50:16 +00:00
c972a37595 ENH: Updates to set and surface writers
- New boundaryData surface writer
- Moved templated code into separate files
- Output filenames written to functionObjectState dictionary
- Ensight surface writer now supports a 'collate times' option [mattijs]
- Nastran surface writer updated based on user feedback
2015-11-11 12:50:16 +00:00
636673b7e3 BUG: Removed log file 2015-11-11 12:26:22 +00:00
040e06b8f5 ENH: Constant DataEntry - added construct from components 2015-11-11 12:25:52 +00:00
312b019f50 ENH: Constant DataEntry - added construct from components 2015-11-11 12:25:52 +00:00
f5a9ae43c6 COMP: liquidPropertiesFvPatchFields: compilation order 2015-11-10 12:59:47 +00:00
4f9e48bfc5 BUG: scalarTransport: have regIOobject member data
functionObjects only get detroyed when the runTime gets destroyed. So the
mesh is already destroyed and we cannot hold e.g. a volScalarField since
that will try to 'checkOut' from the objectRegistry(=mesh) upon destruction.
Note that we only see this in chtMultiRegionFoam.
2015-11-09 15:42:16 +00:00
0431b8fbe1 ENH: humidityTemperatureCoupledMixed: moved to separate library
This bc was in compressible turbulence library which made it dependent
on liquidProperties. It was moved to a separate library since it is only
used in a single tutorial.
2015-11-09 14:40:21 +00:00
4caacdddb3 Merge branch 'feature-snappyHexMesh-gapRefinement' into 'develop'
Feature snappy hex mesh gap refinement

Adding automatic gap refinement capability

See merge request !2
2015-11-09 11:48:06 +00:00
95eb7cc681 Merge branch 'feature-snappyHexMesh' into 'develop'
Feature snappy hex mesh

It's got all of the VW snappyHexMesh developments in it.

Not yet the automatic-gap refinement.

See merge request !1
2015-11-09 11:36:13 +00:00
047211b1f7 ENH: Adding humidityTemperatureCoupledMixed BC and directionalPressureGradientExplicitSource and the corresponding tutorial
tutorials/heatTransfer/chtMultiRegionFoam/windshieldCondensation
2015-11-03 14:42:08 -08:00
4927f97c5d Merge branch 'feature-snappyHexMesh' into feature-snappyHexMesh-gapRefinement 2015-11-03 12:55:32 +00:00
d0a00a6b27 Merge branch 'develop' into feature-snappyHexMesh 2015-11-03 12:37:05 +00:00
86ea4a074b ENH: tutorial: chmod +x of run scripts 2015-11-03 10:23:11 +00:00
865af48969 BUG: globalMeshData() : trigger of globalMeshData inside e.g. deltaCoeffs
Original fix (http://www.openfoam.org/mantisbt/view.php?id=1780)
did an increment to create a new communicator. This might
access the communicator-to-mpi_structure tables in PstreamGlobals.H outside
range. Instead allocate and release communicator.
2015-11-03 10:04:08 +00:00
35ef4ba87c COMP: autoMesh: build order. autoMesh now indirectly uses fvMotionSolvers 2015-11-02 10:57:41 +00:00
30fd47e7bd ENH: searchableCone: generalised hollow cone/cylinder 2015-10-30 18:11:02 +00:00
d5d062cbfe STYLE: autoHexMesh: remove unused code 2015-10-28 15:05:13 +00:00
aacf2ca07f BUG: searchableCone: fixed hollowness and radius1=radius2 2015-10-28 15:04:33 +00:00
b5b3ab9f87 ENH: searchableCone: searching on (optionally hollow) cone.
Initial implementation. Still goes wrong on r1 == r2.
2015-10-28 15:03:19 +00:00
ec76bca024 ENH: snappyHexMesh: improvements to gap detection:
- shoot rays to nearest point on surface and two perpendicular rays
  (instead of always shooting in the 3 coordinate directions)

- avoid bleeding through the surface intersection
2015-10-28 15:02:17 +00:00
3f2d5983ad ENH: snappyHexMesh: shoot gap-detection rays perpendicular to the surface 2015-10-28 13:35:52 +00:00
afa6bd5056 ENH: snappyHexMesh: added to automatic gap-refinement capabilities
1. multi-ray shooting. It now shoots rays in all the 3 coordinate directions
from the cell centre. Before it would shoot just a single ray from the
nearest point on the surface, going through the cell centre.

There is a cost overhead in that now it shoots 6 rays (+-x, +-y, +-z)
instead of just 1.

2. bleeding of refinement. It marks the cells inside a gap and walks out
the gap-size to neighbouring cells (which are just outside the gap). This
should make for a smoother refinement pattern.
2015-10-28 13:34:51 +00:00
71db93570a BUG: gap_detection: added to Allrun 2015-10-28 13:31:18 +00:00
9c0a715ac3 ENH: snappyHexMesh: added tutorial for testing automatic gap refinement 2015-10-28 13:30:39 +00:00
9dd6a5b003 ENH: snappyHexMesh: add automatic gap-level detection and refinement 2015-10-28 13:28:32 +00:00
df010ec6c0 Merge branch 'feature-snappyHexMesh' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-snappyHexMesh 2015-10-26 14:38:19 +00:00
2de68a9ae7 BUG: snappyHexMesh: minThickness > 1 caused truncation of layers
The start of the layer addition loop does a synchronisation of the wanted
displacement. This also does a truncation of the displacement if it is <
minThickness. At the first iteration the displacement was initialised to
vector::one which might trigger the truncation logic (and then disable
extrusion altogether). Instead we now initialise the displacement to
vector::GREAT before entering the synchronisation.
2015-10-26 14:37:17 +00:00
867d0b09c1 BUG: uniformInletOutlet - uniform value updated as a function of time in updateCoeffs(). Fixes #2 2015-10-21 17:02:51 +01:00