Commit Graph

3750 Commits

Author SHA1 Message Date
b31dc84dba Merge branch 'master' into cvm 2009-08-11 11:21:23 +01:00
ea10184298 Tweak VSMALL -> SMALL to avoid conflict with master 2009-08-11 11:21:16 +01:00
ee033487a6 Merge commit 'OpenCFD/master' into olesenm 2009-08-10 18:52:05 +02:00
d548839a83 back to the roots with tokenizing numbers
- since atof is just a call to strtod (in glibc at least), revert to the
  original character collection, convert the number via strtod/strtol and
  check the end pointer so see if everything was converted. Flag both bad
  formats (eg, ".e") and trailing junk (eg, "1.e4e") as a tokenize error.
  These were previously silently ignored.

- simple (same weight as before), but with trivial error checking.
  Retain buffer overflow check.
2009-08-10 16:10:00 +02:00
8a884892bc version tokenize scalar that stops reading on invalid input 2009-08-10 15:30:48 +02:00
b14ccb4f36 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-10 11:44:04 +01:00
b90ee94d02 weighted decomposition 2009-08-10 11:43:56 +01:00
6059bc7cc1 reduce synchronisation 2009-08-10 11:39:51 +01:00
c635b44ae5 stabilisation for zero-area faces 2009-08-10 11:30:52 +01:00
7d30766d18 consistency update BiIndirectList, IndirectList
- allow construct with Xfer container for the addressing

- Replaced non-const addressing() method in BiIndirectList with
  resetAddressing() method as per IndirectList
2009-08-10 11:08:35 +02:00
330a120082 fixed bad .gitignore again
- only ignore html files in the main directory, not everywhere.
  This is how we lost FoamFooter.html, FoamHeader.html in doc/Doxygen/ in
  the 1.6.x release
2009-08-10 09:35:45 +02:00
ce567e4b76 foamCopySettings: more readable with sed/tr 2009-08-10 09:04:26 +02:00
9960977642 foamCopySettings enhancement
- read ~OpenFOAM/foamCopySettings.rc file for an extra rsync options
  for example, to ignore post-processing or sampling directories
2009-08-09 19:02:05 +02:00
ef37a55f1a improvments to tokenizing Scalar
- avoid other degenerate sequences from being treated as a scalar
  eg, '1-e', '1e+', '1e.2'
2009-08-09 16:16:40 +02:00
9407443e69 improvments to tokenizing Scalar
- for alphanumeric sequences (optionally with [-+.]) that don't look
  like a float or int -> return as a word

  This means that '0patch' now looks like a <word> (not <label>)
  and '1.end' looks like a <word> and not <scalar>

  Something like '1-e' still does get treated as a bad <scalar> though
2009-08-09 15:43:49 +02:00
e905f9b03f tokenizing Scalar is more stringent
- require a digit somewhere. This traps '.' or '.+E' type of sequences
  instead of returning them as 0

- avoid buffer overruns on really long sequences

- should we be considering strtod() as an alternative to atof() and checking
  the errno?
  The same might be true for using strtoul() or strtol() instead of atol()
2009-08-09 12:43:45 +02:00
77b2fecc7f check for empty word/expression in keyType and wordRe IO 2009-08-09 09:58:00 +02:00
bdbdd25bac Allwmake and {applications,src}/Allwmake use wmake/wmakeCheckPwd
- solves problems that can occur when checking $PWD and links are involved
2009-08-07 20:24:11 +02:00
1d8294b5b0 added draft of foamCheckPwd 2009-08-07 17:06:49 +02:00
df90d1abf8 Merge commit 'OpenCFD/master' into olesenm 2009-08-07 15:09:02 +02:00
5ac6840d06 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-07 11:28:12 +01:00
dc999ad07e fvMesh xfer constructor change 2009-08-07 11:27:48 +01:00
a7c5d31c3e typo 2009-08-06 19:24:22 +01:00
31c76da40f Changed the runtime-selection tables to output a sorted toc. 2009-08-06 18:01:28 +01:00
7297ae0e23 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-06 17:44:06 +01:00
85f11fa7cc added sortedToc() 2009-08-06 17:43:39 +01:00
1f245a256f Tweak to output to screen 2009-08-06 16:51:58 +01:00
5c28dd80cd Added control for surface conformation rebuild frequency.
Adding execution time to application.

Adding boolean control for timeChecks, setting to off.

Added determination and reporting of the net number of vertices removed during
an iteration.

Modified and cleaned up all reporting to screen.
2009-08-06 16:39:48 +01:00
b29a383ab8 buildSurfaceConformation reconformationMode logic 2009-08-06 14:43:38 +01:00
5872f2a7e6 added test/ensightFoamReader with udr_checker.c from ensight80
- it looks okay to include: same copyrights as the other ensight headers
2009-08-06 15:34:55 +02:00
60549b30f5 ensightFoamReader - updated README* and global_extern*h from ensight-82
- still using the same version of the reader API (2.03)

- this seems to solve strange issues with genericPatchField symbols,
  but it still doesn't get the reader module working.

- added in the release information (the build string)
2009-08-06 14:53:40 +02:00
13bd15284d Merge commit 'OpenCFD/master' into olesenm 2009-08-06 08:55:42 +02:00
a3cd621b53 update docs for fileName, word, wordRe 2009-08-06 08:42:08 +02:00
73ae3ddc6d include topoChangerFvMesh 2009-08-05 21:31:30 +01:00
0b990fd925 Tweak to commented out function. 2009-08-05 18:20:24 +01:00
e5a710d3eb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-05 16:18:38 +01:00
eba6c985a9 added rawTopoFvChanger mesh 2009-08-05 16:11:47 +01:00
20407ca628 Moved vertex size and alignment setting to an external function. Still needs to
have a stored point rebuild mechanism.

Added functions to decide when and how to rebuild and store the surface
conformation.  conformToSurface is now private, so only move can be called from
outside the conformalVoronoiMesh class.
2009-08-05 15:27:06 +01:00
97900b0ba4 Using a remove and insert method to move points to avoid problems with the CGAL
move function.  If move can't be fixed by the CGAL guys then go to a complete
removal and reinsertion at each step.
2009-08-05 13:25:00 +01:00
df37b6b431 read not pure virtual 2009-08-05 11:38:16 +01:00
1849d86a0e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-05 11:16:31 +01:00
c4fd345ab1 added solverFreq to read(), and changed fvm->fvmSup header 2009-08-05 10:46:03 +01:00
2c62c83b4b actually compile genericPatchFields lib
- also have it use LIB_LIBS to always load finiteVolume
2009-08-05 08:46:19 +02:00
8baeac8d0e Merge commit 'OpenCFD/master' into olesenm 2009-08-05 08:02:33 +02:00
d4864d9b6e Moved the "generic" BCs into a separate library and included it only in those utilities
which need this functionality.  Solvers will now check the correctness of the BCs on
read.
2009-08-04 22:13:54 +01:00
e82106c619 Storing and reinserting surface conformation instead of recalculating at each
iteration. Rebuilding every 10 steps as a hard-coded experiment.
2009-08-04 18:26:55 +01:00
f3e40598a0 applyWallFunctionBoundaryConditions - use mvBak() 2009-08-04 18:02:07 +02:00
fe0745476d revert to reading surfaces from constant so parallel works out of the box 2009-08-04 16:43:38 +01:00
0b16a73a5a better error checking if restart 2009-08-04 16:43:08 +01:00
876135a83d forcing scheduling calculation 2009-08-04 16:42:54 +01:00