- Jul 08, 2009
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- May 20, 2009
-
-
Mark Olesen authored
-
- May 19, 2009
-
-
Mark Olesen authored
-
Mark Olesen authored
- also drop various unused time options from src/OpenFOAM/include
-
Mark Olesen authored
Oriented somewhat on dictionary methods. Return the argument string associated with the named option: Info<< "-foo: " << args.option("foo") << nl; Return true if the named option is found if (args.optionFound("foo")) ... Return an IStringStream to the named option old: value = readScalar(IStringStream(args.options()["foo"])()); newer: value = readScalar(args.optionLookup("foo")()); also: List<scalar> lst(args.optionLookup("foo")()); Read a value from the named option newest: value = args.optionRead<scalar>("foo"); Read a value from the named option if present. old: if (args.options().found("foo")) { value = readScalar(IStringStream(args.options()["foo"])()); } new: args.optionReadIfPresent("foo", value); Read a List of values from the named option patches = args.optionReadList<word>("patches"); Didn't bother adding optionReadListIfPresent<T>(const word&), since it probably wouldn't be common anyhow.
-
graham authored
-
Mark Olesen authored
- made const_iterator::operator* and const_iterator::operator() const only - added const versions of iterator::operator* and iterator::operator()
-
- May 18, 2009
-
-
Mark Olesen authored
- Read a bracket-delimited list, or handle a single value as list of size 1. Mostly useful for handling command-line arguments. eg, if (args.options().found("patches")) { patches = readList<word>(IStringStream(args.options()["patches"])()); } can handle both of these: -patches patch0 -patches \( patch1 patch2 patch3 \)
-
Mark Olesen authored
- use isFile() instead of exists() for file-checking
-
Mark Olesen authored
- change name of environment variable from $WM_OS -> $WM_OSTYPE as a better description
-
- May 15, 2009
-
-
henry authored
-
- May 13, 2009
-
-
Mark Olesen authored
- get version from $ParaView_VERSION or from -version option - added QT gui support (useful when compiling enGrid) - update files for finding cmake-2.6.4 as well - added bin/engridFoam for calling a version of enGrid that uses the paraview libraries compiled with/for OpenFOAM - added foam3rdParty change directory alias
-
- May 12, 2009
-
-
ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-devhenry authored
Conflicts: src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutRoughWallFunction/nutRoughWallFunctionFvPatchScalarField.C Conflicts: src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutRoughWallFunction/nutRoughWallFunctionFvPatchScalarField.C
-
henry authored
-
Andrew Heather authored
-
Mark Olesen authored
foamToEnsight: - add -noPatches option - had incorrect part# when the internalMesh was not output - case file is always ascii foamToEnsightParts: - fixed field selection bug, no fields were selected when a single time-step was selected
-
Andrew Heather authored
-
- May 11, 2009
-
-
henry authored
location for the specification is the same as that for the pd level.
-
-
henry authored
-
henry authored
-
Mark Olesen authored
-
Mark Olesen authored
- with minor additional changes
-
Mark Olesen authored
- explicitly remove any previously decomposed 'mut' and 'nut' when decomposing fields since they can otherwise prevent the turbulence model from being upgraded properly. Removing all decomposed fields first might be a better idea in the long-term, but would probably be slower.
-
- May 08, 2009
-
-
Mark Olesen authored
- added constructor dictionary(const dictionary*) that also handles NULL pointers and makes it convenient to construct from a possibly nonexistent sub-dictionary: eg, dictionary dict2(dict1.subDictPtr("someDict")); - make some of the turbulence Coeffs sub-dictionary optional. Their contents are all 'lookupOrAddDefault' anyhow. - in turbulentMixingLength BCs, skip namespace qualifier in template (eg, <RASModel> vs. <compressible::RASModel>) - change comments from 'turbulenceProperties' to RASProperties/LESProperties - consistency between compressible/incompressible - no separate file for 'New' selector etc - consistency in accessing the model coefficients. Use method coeffDict() for const access. Use protected data member coeffDict_ for read/write access. - document model coefficients in etc/constant/RASProperties. Need the same for LESProperties before we can prune these from the tutorials.
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark Olesen authored
- actually blend correction factors as well in fixedBlended scheme - consistency change: move 'linearUpwindV' into same directory as 'linearUpwind', move correction code from .H into .C code. - minor docu format/spelling changes A more general question: ~~~~~~~~~~~~~~~~~~~~~~~~ - would it make more sense to use template specializations for the '*V' differencing schemes?
-
- May 07, 2009
-
-
Mark Olesen authored
-
- May 06, 2009
-
-
Mark Olesen authored
- place wmkdep and dirToString executables under utilbin/$(WM_ARCH)$(WM_COMPILER). This helps somewhat when copying rules about, and might help when creating general rules.
-
-
Mark Olesen authored
Conflicts: applications/utilities/mesh/manipulation/createBaffles/createBaffles.C Can't use [0] to assign the first value of a DynamicList unless it has been preceded by a setSize() - use append() instead.
-
- May 05, 2009
-
-
henry authored
Renamed the LES wall-function back to how it was because it is more generally applicable than just to the Spalart Allmaras model.
-
henry authored
-
henry authored
-
henry authored
-
henry authored
-
henry authored
-
Mark Olesen authored
- #inputMode error now issues a FatalError on duplicate entries - #inputMode warn issues a warning on duplicate entries, corresponds to the old behaviour of 'error' - #inputMode protect prevents overwriting existing entries The 'protect' mode provides a simple mechanism for supplying default values. eg, in file1: #inputMode protect intensity 0.1; mixingLength 0.005; #inputMode merge inlet { type turbulentIntensityKineticEnergyInlet; intensity $intensity; } which is included from file2: intensity 0.05; #include "file1"
-