Commit Graph

608 Commits

Author SHA1 Message Date
29b5340b05 ENH: externalCoupled: changed to non-OutputFilter functionObject.
- moved control to functionObject (from bc)
- this allows multi-region support
- see heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater tut
- generalisation of streamed reading/writing of specialised bcs
2015-11-26 13:04:06 +00:00
3e7375e061 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 10:20:35 +00:00
cfe8704418 BUG: streamLine function object - added missing file to Make/files 2015-11-26 10:13:54 +00:00
6cd823494e GIT: Resolve comflict on pull from remote 2015-11-26 09:26:02 +00:00
c383d05686 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 09:24:15 +00:00
6838df9cd2 ENH: Multiple updates to function objects
Updated objects
- corrected Peclet number for compressible cases
- propagated log flag and resultName across objects

New function objects
- new fluxSummary:
  - calculates positive, negative, absolute and net flux across face
    zones
- new runTimeControl
  - abort the calculation when a user-defined metric is achieved.
    Available options include:
    - average value remains unchanged wrt a given threshold
    - equation initial residual exceeds a threshold - useful to abort
      diverging cases
    - equation max iterations exceeds a threshold - useful to abort
      diverging cases
    - min/max of a function object value
    - min time step exceeds a threshold - useful to abort diverging
      cases
- new valueAverage:
  - average singular values from other function objects, e.g. Cd, Cl and
    Cm from the forceCoeffs function object
2015-11-25 17:19:06 +00:00
6c1b2f4edc ENH: forces|forceCoeffs - updated header documentation to include porosity effects. Fixes #6 2015-11-25 08:22:13 +00:00
7b23ac7503 ENH: runTimePostProcessing - updated CMakeLists.txt for cmake > 3 2015-11-25 08:13:27 +00:00
777b139907 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop
Conflicts:
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C
2015-11-19 10:40:51 +00:00
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
6ab06c57e2 STYLE: cellSourceTemplates: line length 2015-11-12 11:02:23 +00:00
7175c872e6 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
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
564598452f ENH: pressureTools FO - updated header documentation 2015-10-12 17:06:41 +01:00
c20bb23de0 ENH: IO FOs - moved documentation to doc sub-directory 2015-10-07 13:29:10 +01:00
69f0b4dcc4 ENH: forces FO - moved documentation to doc sub-directory 2015-10-07 13:21:08 +01:00
2a7fe0294c ENH: forceCoeffs FO updated following update to use functionObjectState
Properties stored in state dictionary:
- Moment coefficient: Cm
- Drag coefficient: Cd
- Lift coefficient: Cl
- Front lift coefficient: Cl(f)
- Rear lift coefficient: Cl(r)
2015-10-07 13:11:01 +01:00
bc00be2c9a ENH: forces FO updated following update to use functionObjectState
Properties stored in state dictionary:
- normalForce
- tangentialForce
- porousForce
- normalMoment
- tangentialMoment
- porousMoment
2015-10-07 13:02:44 +01:00
137668ba81 ENH: fieldMinMax FO updated following update to use functionObjectState
Properties stored in state dictionary:
- minimum value: min<identifier>
- position of minimum value: min<identifier>_position
- processor ID of minimum value: min<identifier>_processor
- maximum value: max<identifier>
- position of maximum value: max<identifier>_position
- processor ID of maximum value: max<identifier>_processor
2015-10-06 15:32:01 +01:00
9b10608715 ENH: fieldAverage FO updated following update to use functionObjectState 2015-10-06 15:21:24 +01:00
7760d19c86 ENH: field function objects - moved documentation to doc sub-directory 2015-10-06 14:58:13 +01:00
e8c239ed2f ENH: Function object documentation updates for evaluateControl 2015-10-06 14:53:56 +01:00
f9ce017f21 ENH: cloudInfo FO - moved documentation to doc sub-directory 2015-10-06 14:51:34 +01:00
d8e8cdae97 ENH: fieldValues FO updated follwing changes to functionObjectFile 2015-10-06 14:36:18 +01:00
d4a2ac2159 STYLE: Updated copyright notices 2015-10-06 14:32:46 +01:00
ec24badb90 ENH: forces/forceCoeffs FOs updated follwing changes to functionObjectFile 2015-10-06 13:11:19 +01:00
4f4fc3fab5 ENH: yPlus FO updated follwing changes to functionObjectFile
Also
- added documentation to header
- added 'resultName' to enable user to specify alternative name for
  output field
2015-10-06 12:19:20 +01:00
b3cea1beab ENH: fieldMinMax FO updated follwing changes to functionObjectFile
Also added 'resultName' to enable user to specify alternative name for
output field
2015-10-06 12:16:22 +01:00
9b49b7bfa8 ENH: residuals FO updated follwing changes to functionObjectFile and minor code formatting 2015-10-06 12:14:28 +01:00
bbd05f162e ENH: regionSizeDistribution FO updated follwing changes to functionObjectFile 2015-10-06 12:08:07 +01:00
602dc5ed45 ENH: fieldMinMax FO updated follwing changes to functionObjectFile 2015-10-06 12:07:18 +01:00
c03e9ffa54 ENH: cloudInfo FO updated follwing changes to functionObjectFile
Also added output of diameter info, D10, D32 and DMax
2015-10-06 11:53:34 +01: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
00e61b9bbb STYLE: turbulenceFields FO - updated header documentation 2015-10-21 11:42:13 +01:00
ebd9f94a4d functionObjects/utilities/turbulenceFields/turbulenceFields: Added k and epsilon
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1870
2015-10-17 15:20:10 +01:00
47185ee830 functionObjects/fvTools/calcFvcGrad: Avoid clash with cached gradient field
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1828
2015-08-18 12:13:09 +01:00
4372529e46 cloudInfo: Updated for changes to functionObjectFile 2015-08-05 18:01:50 +01:00
ce844e6f5b cellSource: Added weightedVolAverage option
faceSource: Added weightedAreaAverage option
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1769
2015-06-30 11:20:02 +01:00
5e05479e2a Use basicThermo::dictName rather than hard-coding "thermophysicalProperties" 2015-06-24 10:44:57 +01:00
afe7e3eee9 Update headers 2015-05-18 12:10:10 +01:00
dd04dd9c2c messageStream: Remove confusing argument-based conditional output
This had been used in functionObjects:

    Info(log)<< "messages" << data << ....

in which it is not at all clear what the "log" argument does whereas

    if (log) Info<< "messages" << data << ....

is totally clear and more efficient.
2015-05-18 11:54:56 +01:00
46a4446587 Function object that writes out the initial residual for specified fields
For vector/tensor fields, e.g. U, the largest residual of all components is written out
2015-05-17 16:48:55 +01:00
7edfb4d08d faceSource: Corrected handling of totalArea in parallel
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1693
2015-05-17 14:57:33 +01:00
b5d3f85bd4 functionObjects: Upgrade to use new turbulence modeling library 2015-05-17 14:56:40 +01:00
9b382a36d5 fieldMinMax: add optional switch to control the output of max/min location
and simplify output format for graphing

With "location yes;"

log:
    fieldMinMax fieldMinMax output:
        min/max(mag(U.air)) = 0 28.309442
        min/max(mag(U.water)) = 0 27.221734

file:
    # Field minima and maxima
    # Time          min(U.air)      max(U.air)      min(U.water)    max(U.water)
    4.00061050e-01  0.00000000e+00  2.87015987e+01  0.00000000e+00  2.71025731e+01
    4.00134265e-01  0.00000000e+00  2.86505310e+01  0.00000000e+00  2.71134246e+01
    4.00222098e-01  0.00000000e+00  2.85937449e+01  0.00000000e+00  2.71255302e+01

With "location no;"

log:
    fieldMinMax fieldMinMax output:
        min(mag(U.air)) = 0 at location (-0.058373423 -0.15376628 0.021017389)
        max(mag(U.air)) = 28.701599 at location (-0.24002836 0.0053456235 3.8964638)
        min(mag(U.water)) = 0 at location (-0.058373423 -0.15376628 0.021017389)
        max(mag(U.water)) = 27.102573 at location (-0.24002836 0.0053456235 3.8964638)

file:
    # Field minima and maxima
    # Time          field           min             location(min)   max             location(max)
    4.00061050e-01  U.air           0.00000000e+00  (-5.83734226e-02 -1.53766281e-01 2.10173892e-02)        2.87015987e+01  (-2.40028359e-01 5.34562354e-03 3.89646377e+00)
    4.00061050e-01  U.water         0.00000000e+00  (-5.83734226e-02 -1.53766281e-01 2.10173892e-02)        2.71025731e+01  (-2.40028359e-01 5.34562354e-03 3.89646377e+00)
2015-05-05 15:41:32 +01:00
062d6d3d08 Updated header 2015-04-26 21:38:29 +01:00
ef3ba43cf4 cellSource: Writing the volume of the cellSource (sum(V)) for each time is now optional
Previous behavior which may be useful for moving-mesh cases can be
selected using the optional entry:
    writeVolume  yes;

The initial volume is written in the log and data file header e.g.:

 #   Source : all
 #   Cells  : 3829
 #   Volume : 9.943164e-01

Also added
    sumMag        | sum of component magnitudes
2015-04-26 21:35:25 +01:00
e393bbbaca Updated header 2015-04-26 21:35:09 +01:00
aa965f6612 faceSource: Changed option to write faceSource area to 'writeArea' 2015-04-26 21:34:27 +01:00