aa70b282b4
functionObjects::MachNo: New functionObject to calculate the Mach number volScalarField
...
of a compressible single-phase flow
See tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict
2016-05-23 21:45:41 +01:00
32b66139cd
functionObjects::forces: Corrected lookup of fluidThermo
2016-05-23 21:45:07 +01:00
21773a47b6
etc/config.*/aliases: Renamed aliases to be less SHOUTY and confusing
2016-05-23 18:47:28 +01:00
16284bcd78
functionObjects::enstrophy: new functionObject to calculate the enstrophy of the velocity
2016-05-23 15:22:15 +01:00
2b07709b74
functionObjects::flowType: new functionObject which calculates and writes the flowType of velocity field
...
The flow type parameter is obtained according to the following equation:
\verbatim
|D| - |Omega|
lambda = -------------
|D| + |Omega|
-1 = rotational flow
0 = simple shear flow
1 = planar extensional flow
\endverbatim
2016-05-23 14:59:10 +01:00
2aec6916f0
functionObjects: Corrected 'grp' entries for 'field' functionObjects
2016-05-23 14:56:06 +01:00
39cf529866
DimensionedScalarField, GeometricScalarField: Added more rigorous dimension-checking for 'pow' functions
2016-05-23 12:04:02 +01:00
3ec4370139
functionObjects::pressure: Use the new 'tmp' 'move' constructor
...
to return unchanged 'tmp' arguments
2016-05-23 12:03:19 +01:00
8f75fa5d46
tmp: Added 'move' constructor to simplify return of unchanged 'tmp' arguments.
2016-05-23 12:01:36 +01:00
f58a48c675
functionObjects::pressureTools: simplified, standardized, rationalized and renamed 'pressure'
2016-05-22 21:29:46 +01:00
593df27f58
functionObjects::residuals: Minor reformatting
2016-05-22 21:29:22 +01:00
a3d88f3e82
functionObjects::writeDictionary: Write the dictionaries from the write function not execute
2016-05-22 21:28:46 +01:00
2e399d34bc
functionObjects: Corrected member function documentation
2016-05-22 21:28:24 +01:00
da1c026f67
tutorials/incompressible/pimpleDyMFoam/propeller/system/Q: Updated
2016-05-22 19:03:23 +01:00
d69c9e3d1a
functionObjects/field: link turbulenceModel
2016-05-22 19:02:59 +01:00
b93943ae55
functionObjects::yPlus: simplified, standardized, rationalized
2016-05-22 17:08:40 +01:00
e825f1ece0
fvcCellReduce: Correct signature and implementation of 'cellReduce' of a 'tmp' field
2016-05-22 17:07:53 +01:00
45e3b49c0d
functionObjects::blendingFactor: simplified, standardized, rationalized
2016-05-22 16:30:48 +01:00
2ff102c5db
fvMeshFunctionObject: Rename 'write' -> 'writeField' to avoid clash with base-class
2016-05-22 16:30:12 +01:00
2d1573d2ed
transformGeometricField: Use '.ref()' to obtain non-const access to a temporary
2016-05-22 14:29:59 +01:00
a05001d87f
functionObjects: Standardized field template parameter names
2016-05-22 14:29:14 +01:00
df5955a8fe
functionObjects/field/fieldCoordinateSystemTransform: simplified, standardized, rationalized
2016-05-22 14:26:40 +01:00
d67f296265
functionObjects::Peclet -> functionObjects::PecletNo for consistency with functionObjects::CourantNo
2016-05-22 11:18:16 +01:00
c5c277f5f9
functionObjects: Cleanup, reorganize and simplify
2016-05-21 23:12:12 +01:00
f8f39d54ae
tmp: Allow '.ref()' for const 'tmp'
...
const-ness of the stored object is checked at run-time.
2016-05-21 23:10:58 +01:00
7c6b0e684f
functionObjectList: Filter unnecessary warning from new 'libs' entry
2016-05-21 23:10:06 +01:00
e22c65dd8e
Standardized the selection of required and optional fields in BCs, fvOptions, functionObjects etc.
...
In most boundary conditions, fvOptions etc. required and optional fields
to be looked-up from the objectRegistry are selected by setting the
keyword corresponding to the standard field name in the BC etc. to the
appropriate name in the objectRegistry. Usually a default is provided
with sets the field name to the keyword name, e.g. in the
totalPressureFvPatchScalarField the velocity is selected by setting the
keyword 'U' to the appropriate name which defaults to 'U':
Property | Description | Required | Default value
U | velocity field name | no | U
phi | flux field name | no | phi
.
.
.
However, in some BCs and functionObjects and many fvOptions another
convention is used in which the field name keyword is appended by 'Name'
e.g.
Property | Description | Required | Default value
pName | pressure field name | no | p
UName | velocity field name | no | U
This difference in convention is unnecessary and confusing, hinders code
and dictionary reuse and complicates code maintenance. In this commit
the appended 'Name' is removed from the field selection keywords
standardizing OpenFOAM on the first convention above.
2016-05-21 20:28:20 +01:00
ddfbaa7fa4
Updated header
2016-05-21 20:27:29 +01:00
96f4d7d66f
temperatureCoupledBase: Rationalized the selection of the method for obtaining the thermal conductivity
...
kappa -> kappaMethod
kappaName -> kappa
2016-05-21 20:26:23 +01:00
f9ebf3956a
Updated headers
2016-05-21 20:24:31 +01:00
2037fc02cf
functionObjects, foamCalcFunctions, fvOptions: Standardized keywords for selecting fields and objects
...
Generally fields and objects are selected using the 'field[s]' and
'object[s]' keywords but this was not consistent between all
functionObject, fvOptions etc. and now fixed by applying the following
renaming:
fieldName -> field
fieldNames -> fields
objectName -> object
objectNames -> objects
2016-05-21 20:15:21 +01:00
c5e05bb79a
functionObjects: Simplified and reorganised using the fieldExpression base-class
2016-05-21 20:10:47 +01:00
1b5a7fd943
fvMeshFunctionObject: Improved log output
2016-05-21 20:08:28 +01:00
2215db630a
functionObjectList: Added support for 'libs' to load libraries for all functionObjects
...
e.g.
functions
{
libs ("libfieldFunctionObjects.so");
div
{
type div;
field U;
executeControl writeTime;
writeControl writeTime;
}
Q
{
type Q;
executeControl writeTime;
writeControl writeTime;
}
}
2016-05-21 20:01:42 +01:00
57f3ac2773
wrmdep: Now prints the full path of the .dep files removed
2016-05-21 17:19:07 +01:00
6905425467
functionObjects: New abstract base-class 'fieldExpression' for simple field expression evaluation functionObjects
...
Updated and simplified 'div', 'grad' and 'mag' functionObjects by deriving from 'fieldExpression'.
Corrected the handling of cached gradients in 'grad'.
2016-05-21 13:58:08 +01:00
abd4b881a0
codedBase.H: Minor reformat
2016-05-21 13:56:27 +01:00
ffbc4c8c88
tmp, autoPtr: Provide a typedef 'Type' to the stored type
2016-05-21 13:55:47 +01:00
1387f95858
Updated header
2016-05-19 09:40:29 +01:00
08e22d3af0
Updated code comments
2016-05-19 09:40:17 +01:00
ae9889697e
Scalar: Documented 'posPart' and 'negPart'
2016-05-19 09:39:45 +01:00
f2331a8587
dynamicCode: Renamed 'redirectType' to 'name' to clarify the purpose
...
of the entry which is to provide the name of the generated class.
'redirectType' is supported for backward-compatibility.
2016-05-18 23:10:42 +01:00
02f0d095ed
IOOutputFilter: Updated the signature of the 'write' function to correspond to the new functionObject
2016-05-18 23:09:26 +01:00
4500971827
Further standardization of loop index naming: pointI -> pointi, patchI -> patchi
2016-05-18 21:20:42 +01:00
aa4b93068b
functionObjects: minor reformatting of output
2016-05-18 13:37:08 +01:00
982ebe6f59
functionObjects::partialWrite: Redundant and removed
...
the equivalent functionality is provided by the writeRegisteredObject
functionObject in a MUCH simpler, easier and extensible manner.
functionObject: Removed the now redundant 'timeSet' function.
2016-05-18 12:23:29 +01:00
38b99504c0
dynamicCode: the "code" entry is now optional
...
codedFunctionObject: Added the "codeWrite" entry
for the "write" function for consistency.
The previous method of using the "code" entry for the "write"
function was inconsistent and very confusing.
2016-05-18 12:20:03 +01:00
83517fac63
timeControlFunctionObject: Updated the control logic in the 'end' function
...
to correspond to the new default behavior of the 'end' function in
functionObject which now calls 'execute' then 'write'.
2016-05-18 09:05:24 +01:00
ca60658aee
functionObject: Call 'execute' then 'write' from the default 'end' function.
2016-05-17 22:56:47 +01:00
64ec817c9f
patchProbes: Corrected the signature of the write function
2016-05-17 21:49:17 +01:00