Commit Graph

49 Commits

Author SHA1 Message Date
Mark Olesen
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
mattijs
af8a42067c collapse cell detection 2009-02-24 12:05:35 +00:00
Mark Olesen
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
Mark Olesen
844211a940 Merge commit 'OpenCFD/master' into olesenm 2009-02-06 21:19:42 +01:00
mattijs
9b0bebec00 making overwrite work 2009-02-06 15:12:24 +00:00
Mark Olesen
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
mattijs
206caf4ccb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 14:45:10 +00:00
mattijs
5ec940465b missing link libraries 2009-01-30 14:44:44 +00:00
Mark Olesen
c048dd88c7 use new IOobject constructor: blockMesh, surfaceCoordinateSystemTransform(beta) 2009-01-27 15:12:19 +01:00
Mark Olesen
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
Mark Olesen
19503c93e1 rename xfer<T> class to Xfer<T>
- The capitalization is consistent with most other template classes, but
  more importantly frees up xfer() for use as method name without needing
  special treatment to avoid ambiguities.

  It seems reasonable to have different names for transfer(...) and xfer()
  methods, since the transfer is occuring in different directions.
  The xfer() method can thus replace the recently introduced zero-parameter
  transfer() methods.
  Other name candidates (eg, yield, release, etc.) were deemed too abstract.
2009-01-05 12:30:19 +01:00
Mark Olesen
973b9ea0ce boundBox, octree cleanup
- added boundBox(const tmp<pointField>&) constructor for use with
    coordinate systems
  - moved some methods from treeBoundBox to boundBox and use VectorSpace ops
2009-01-01 17:03:19 +01:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
dcc82bf77b boundingBox has mag() and span() methods - use them 2008-12-31 17:58:23 +01:00
mattijs
ffa75238a6 comment 2008-12-11 15:49:29 +00:00
Mark Olesen
345df1e970 Merge commit 'OpenCFD/master' into olesenm 2008-11-05 10:42:05 +01:00
Mark Olesen
9a4de95354 made xfer constructors explicit, with trickle down to polyMesh/fvMesh calls 2008-10-27 13:14:07 +01:00
Mark Olesen
4c3c2385ed blockMesh tweaks
- convertToMeters optional, also allow 'scale'
2008-10-25 17:55:56 +02:00
andy
063936cfe0 bugfix: multiple edge gradings per block 2008-10-22 16:13:37 +01:00
Mark Olesen
28696e51ab Use LIB_SRC instead of FOAM_SRC in Make/options files 2008-10-07 09:18:18 +02:00
mattijs
0dc639e90a switch off functionObjects 2008-09-28 19:27:04 +01:00
Mark Olesen
f73739c79e modified remaining Allwmake scripts to run from anywhere 2008-09-19 14:47:06 +02:00
mattijs
a105eaf3ac printing 2008-09-15 12:15:22 +01:00
mattijs
7fa60e67a5 added argument 2008-08-19 14:00:10 +01:00
Mark Olesen
f1d7955e45 BUGFIX - blockMeshApp should now handle paths properly 2008-07-29 09:11:11 +02:00
Mark Olesen
fc6780cd23 restored and updated (doxygen) usage for blockMesh 2008-07-24 08:28:32 +02:00
andy
5508e0b6cb added -dict option 2008-07-23 17:47:26 +01:00
andy
8136d271e8 Revert "DebugSwitches in etc/controlDict is incomplete/incorrect"
This reverts commit 7446cee720.
2008-07-23 16:51:45 +01:00
andy
1bd82369ff Revert "blockMesh:"
This reverts commit 3ae1a49119.
2008-07-23 16:49:16 +01:00
andy
6281e94a37 reverting blockMesh changes 2008-07-23 16:49:01 +01:00
Mark Olesen
eb604fdb88 revert to previous search order - constant/polyMesh/blockMeshDict
- retain failsafe check (constant/blockMeshDict)
2008-07-23 15:12:44 +02:00
Mark Olesen
3ae1a49119 blockMesh:
renamed genBlockMesh.C -> blockMeshApp.C for the -doc option

  Followed Eugene's suggestions and moved blockMeshDict out of polyMesh/.

  Rationale:
  blockMeshDict is not a polyMesh or part of a polyMesh, thus it doesn't
  really belong in the polyMesh/ dir anyhow. Moving it to constant/ or
  constant/<region>/ improves the overview and eases cleanup of polyMesh/ as
  well. For compatibility, constant/polyMesh/ or constant/<region>/polyMesh/
  will be searched if the new locations fail.
2008-07-18 10:23:09 +02:00
Mark Olesen
5e5b26edd5 update dictionary headers and FoamFile entry to 1.5 format 2008-07-14 14:50:35 +02:00
Mark Olesen
ff2040f26f fixup copyright dates 2008-07-14 14:49:20 +02:00
mattijs
15cad22d8c split autoHexMeshDriver; updated header 2008-07-09 00:21:36 +01:00
mattijs
72fb77ccce updated sample dictionary 2008-07-08 12:07:54 +01:00
mattijs
ab17085c1a adapted to new syntax 2008-07-07 19:51:20 +01:00
andy
3c4200e62e update to make extrusion run-time selectable 2008-06-30 11:09:38 +01:00
Mark Olesen
69bcc1baad Merge commit 'OpenCFD/master' into olesenm 2008-06-26 14:08:49 +02:00
andy
47673b653f added overwrite flag 2008-06-26 12:24:18 +01:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
andy
168c7e1ca9 removing FoamX 2008-06-04 13:40:02 +01:00
mattijs
d2bb8ce337 changed dictionary 2008-06-03 23:52:11 +01:00
henry
cce69a4a0b Added Kerstin's bug fix
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/7880

* applications/utilities/mesh/generation/blockMesh/curvedEdges/polySplineEdge.C:
2008-06-02 08:49:36 +01:00
mattijs
8827ab2df1 moved metis into src/other; moved decomposition libraries into src/ 2008-05-23 12:08:42 +01:00
mattijs
1e7c9ae822 Renamed autoHexMesh to snappyHexMesh 2008-05-20 18:30:52 +01:00
mattijs
bc124e8cf1 Was built into FOAM_USER_APPBIN 2008-04-29 12:54:07 +01:00
mattijs
40d8344e4c autoHexMesh top-level application 2008-04-24 22:36:26 +01:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00