- Jun 29, 2020
-
-
Andrew Heather authored
-
- Dec 23, 2019
-
-
Andrew Heather authored
-
- Jun 26, 2019
-
-
Mark OLESEN authored
-
- Jun 14, 2019
-
-
Mark OLESEN authored
-
- Mar 15, 2019
-
-
Mark OLESEN authored
-
- Feb 23, 2019
-
-
Mark OLESEN authored
- While a rectilinear mesh can be created with blockMesh, not every mesh created with blockMesh will satisfy the requirements for being a rectilinear mesh. This alternative to blockMesh uses a single block that is aligned with the xy-z directions and specifications of the control points, mesh divisions and expansion ratios. For example, x { points ( -13.28 -0.10 6.0 19.19 ); nCells ( 10 12 10 ); ratios ( 0.2 1 5 ); } y { ... } z { ... } With only one block, the boundary patch definition is simple and the canonical face number is used directly. For example, inlet { type patch; faces ( 0 ); } outlet { type patch; faces ( 1 ); } sides { type patch; faces ( 2 3 ); } ... - After a mesh is defined, it is trivial to retrieve mesh-related information such as cell-volume, cell-centres for any i-j-k location without an actual polyMesh. STYLE: remove -noFunctionObjects from blockMesh - no time loop, so function objects cannot be triggered anyhow.
-
- Jan 22, 2019
-
-
Mark OLESEN authored
- since foamDictionary doesn't use system/controlDict it will use the standard default precision. The '-precision' option allows adjusting that value.
-
- Dec 21, 2018
-
-
Mark OLESEN authored
- the utility had automatic triangulation removed some time ago, but never changed its name. - catch old uses with a surfaceMeshTriangulate deprecated script
-
- Dec 17, 2018
-
-
Mark OLESEN authored
-
- Dec 13, 2018
-
-
Mark OLESEN authored
- for some special cases we wish to mark command-line arguments as being optional, in order to do our own treatment. For example, when an arbitrary number of arguments should be allowed. Now tag this situation with argList::noMandatoryArgs(). The argList::argsMandatory() query can then be used in any further logic, including the standard default argument checking. - with the new default check, can consolidate the special-purpose "setRootCaseNonMandatoryArgs.H" into the regular "setRootCase.H" - revert to a simple "setRootCase.H" and move all the listing related bits to a "setRootCaseLists.H" file. This leaves the information available for solvers, or whoever else wishes, without being introduced everywhere. - add include guards and scoping to the listing files and rename to something less generic. listOptions.H -> setRootCaseListOptions.H listOutput.H -> setRootCaseListOutput.H
-
- Dec 10, 2018
-
-
Mark OLESEN authored
- change previous default (convert all faceZones unless -noFaceZones specified) with the default behaviour to only convert face zones on request. - uses the '-faceZones' option as per foamToEnsight
-
- Dec 05, 2018
-
-
Mark OLESEN authored
- now consider options '-hostRoots', '-roots' to be advanced options that don't need to be in the cache
-
- Nov 21, 2018
-
-
Mark OLESEN authored
- have -help-full as the last entry in the list of options. This permits some optimizations when generating shell completions.
-
- Oct 09, 2018
-
-
Mark OLESEN authored
- this also removes the '-newTimes' option cruft from appearing everywhere. reconstructPar and redistributePar are unaffected by this since they define their own -newTimes option independently.
-
- Sep 25, 2018
-
-
Mark OLESEN authored
Previously had 3 possibilities for handling exposed internal faces 1. use default "oldInternalFaces" 2. specify -patch, to use the specified (existing) patch 3. specify -patches, to use the geometrically closest patches Now relaxed the restriction on -patch to allow specification of a new (not yet existing) patch name. This improves flexibility, but won't catch typing mistakes. Harmonize behaviour of -patches and -patch. When -patches is used to specify a single, non-regex patch name, it now behaves identically to -patch. Since the getList handling for options already allows special treatment for single parameter lists, the following will work identically: subsetMesh -patch patch0 subsetMesh -patches patch0 subsetMesh -patches '( patch0 )' In the future it might be reasonable to fully combine the behaviour of '-patch' and '-patches' and treat them as aliases for each other. ENH: support subsetMesh on a cellZone. - when the '-zone' option is specified, the command argument is treated as the name (or names) of cellZones to be selected instead of as the name of the cellSet. The command argument can be a single word, regex, or list of word/regex. Eg, subsetMesh -zone -patch mypatch mixer subsetMesh -zone -patch mypatch '(mixer "moving.*" )' STYLE: simplify set handling and other code cleanup in subsetMesh
-
- Aug 08, 2018
-
-
Mark OLESEN authored
- With argList::noFunctionObjects() we use the logic added in 4b933332 (issue #352) By removing the '-noFunctionObjects' option, we automatically suppress the creation of function-objects via Time (with argList as a parameter). There is generally no need in these cases for an additional runTime.functionObjects().off() statement Use the argList::noFunctionObjects() for more direct configuration and reduce unnecessary clutter in the -help information. In previous versions, the -noFunctionObjects would have been redundant anyhow, so we can also just ignore it now instead.
-
- Jul 31, 2018
-
-
Mark OLESEN authored
General: * -roots, -hostRoots, -fileHandler Specific: * -to <coordinateSystem> -from <coordinateSystem> - Display -help-compat when compatibility or ignored options are available STYLE: capitalization of options text
-
- Jul 26, 2018
-
-
Mark OLESEN authored
-
- Jun 21, 2018
-
-
Mark OLESEN authored
-
- Dec 30, 2017
-
-
Andrew Heather authored
-
- Dec 19, 2017
-
-
Mark OLESEN authored
- The -rotate-angle option allows convenient specification of a rotation about an arbitrary axis. Eg, -rotate-angle '((1 1 1) 45)' - The -origin option can be used to temporarily shift the origin for the rotation operations. For example, -origin '(0 0 1)' -rotate-angle '((1 0 0) 180)' for mirroring.
-
- Dec 18, 2017
-
-
Mark OLESEN authored
- include bash completion for paraFoam, and provision for using foamEtcFile as well.
-
- Jan 08, 2018
-
-
Mark OLESEN authored
-
- Jul 19, 2018
-
-
Mark OLESEN authored
- can be used to test the behaviour of the decomposion and its characteristics without writing any decomposition to disk. Combine with -cellDist to visualize the expected decomposition result.
-
- Jul 02, 2018
-
-
Mark OLESEN authored
- relocate some standard functionality to TimePaths to allow a lighter means of managing time directories without using the entire Time mechanism. - optional enableLibs for Time construction (default is on) and a corresponding argList::noLibs() and "-no-libs" option STYLE: - mark Time::outputTime() as deprecated MAY-2016 - use pre-increment for runTime, although there is no difference in behaviour or performance.
-
- Sep 26, 2017
-
-
Mark OLESEN authored
-
- Sep 11, 2017
-
-
Mark OLESEN authored
- relocate as Test-surfaceMeshConvert.
-
- Jun 14, 2018
-
-
Mark OLESEN authored
-
- Aug 08, 2017
-
-
Mark OLESEN authored
- this reduces the number of functions and allows lazy loading of completion options, which makes it easy to quickly add any other OpenFOAM application in completion. The generic '_of_complete_' function handles (bash) completion for any OpenFOAM application. On the first call for any particular application, it retrieves the available options from the application help output and adds this information to its environmental cache for subsequent use. - Tcsh completion uses the same function via a bash wrapper. But since its wrapper is transient, the on-the-fly generation would be less efficient. For this case, a pre-generated completion_cache can be used, which is generated with bin/tools/foamCreateCompletionCache
-