OpenFOAM-plus merge requestshttps://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests2019-10-17T12:26:30Zhttps://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/284Issue 1454 post process2019-10-17T12:26:30ZAndrew HeatherIssue 1454 post processUpdated `postProcess` for mesh changes to update the function objects instead of performing a full clear-outUpdated `postProcess` for mesh changes to update the function objects instead of performing a full clear-outv1912Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/228Feature run time control triggers2019-01-24T05:50:29ZAndrew HeatherFeature run time control triggersExtends the `runTimeControl` function object to set 'trigger' values, that can be used to start other function objects. For example, to run for 100 steps after the average drag coefficient converges (reported by a `forceCoeffs` function...Extends the `runTimeControl` function object to set 'trigger' values, that can be used to start other function objects. For example, to run for 100 steps after the average drag coefficient converges (reported by a `forceCoeffs` function object) the following could be used:
```
runTimeControl1
{
type runTimeControl;
libs ("libutilityFunctionObjects.so");
conditions
{
condition1
{
type average;
functionObject forceCoeffs1;
fields (Cd);
tolerance 1e-3;
window 20;
windowType exact;
}
}
satisfiedAction setTrigger;
trigger 1;
}
runTimeControl2
{
type runTimeControl;
libs ("libutilityFunctionObjects.so");
controlMode trigger;
triggerStart 1;
conditions
{
condition1
{
type maxDuration;
duration 100;
}
}
satisfiedAction end;
}
```
See the `$FOAM_TUTORIALS/incompressible/simpleFoam/simpleCar tutorial`v1906Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/110Feature surface feature extract2017-05-31T15:33:46ZMark OLESENFeature surface feature extractawaiting further testing (@Prashant, @landmann)
FYI: @Mattijs awaiting further testing (@Prashant, @landmann)
FYI: @Mattijs Version v1706Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/104Initial attempt to track oriented surface fields2017-05-24T13:30:52ZAndrew HeatherInitial attempt to track oriented surface fieldsThese changes are an attempt to cleanly identify oriented surface fields, i.e. those where the value is signed according to the owner->neighbour direction e.g. the face flux.
Still to do:
* [x] propagate through field mapping - read...These changes are an attempt to cleanly identify oriented surface fields, i.e. those where the value is signed according to the owner->neighbour direction e.g. the face flux.
Still to do:
* [x] propagate through field mapping - ready to test
* [x] simplify surfaceFieldValue function object - passed tests
* [x] check other uses, .e.g. AMI?
* [x] clean-up of dev statements
Checks
* [x] rhoCentral[DyM]Foam solvers
@MattijsVersion v1706Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/OpenFOAM-plus/-/merge_requests/60Merge foundation2016-10-27T14:04:44ZAndrew HeatherMerge foundation# Lots of style/API rename changes:
Indices in loops now using a lower case letter (?) - lots of code now in a 'mixed' state using I and i
## GeometricField types
- DimensionedInternalField -> Internal
- PatchFieldType -> Patch
...# Lots of style/API rename changes:
Indices in loops now using a lower case letter (?) - lots of code now in a 'mixed' state using I and i
## GeometricField types
- DimensionedInternalField -> Internal
- PatchFieldType -> Patch
- GeometricBoundaryField -> Boundary
## GeometricField access functions
- dimensionedInternalField() -> ref()
- internalField() -> primitiveField()
## fvPatchField access
- dimensionedInternalField -> internalField()
# Tutorials
- les renamed LES
- ras renamed RAS
# Deprecated:
- expandDictionary -> foamDictionary -expand
- foamDebugSwitches -> foamDictionary/foamList -debug
- foamInfoExec -> foamDictionary
- secondaryWrite -> equivalent behaviour using function object time controls
- execFlowFunctionObjects -> new postProcess utility
# Function objects
## New
- components
## Deprecated
- partialWrite -> set using adjustTime in writeRegistered FO
- stressComponents -> turbulenceFields -> components
- wallGradU -> grad
- patchAverage -> surfaceFieldValue + areaAverage
- patchIntegrate -> surfaceFieldValue + sum
## Renamed
- createTurbulenceFields -> turbulenceFields
- faceSource -> surfaceFieldValue
- cellSource -> volFieldValue
- pressureTools -> pressure
- Peclet -> PecletNo
## Syntax
- functionObjectLibs -> libs
- outputControl -> writeControl
- outputTime -> writeTime
# Solvers
For postProcess:
- createFields.H split into createFields.H and createFieldsRef.H (references)
- all modelling construction moved to createFields, e.g. MRFVersion v1612Andrew HeatherAndrew Heather