Commit Graph

277 Commits

Author SHA1 Message Date
mattijs
6acfd6a3ae execute bit set 2009-07-07 15:48:04 +01:00
henry
218b2baec4 Changed SP and DP to WM_SP and WM_DP. 2009-07-03 11:46:45 +01:00
andy
8d70babf13 adding time and region options 2009-06-23 15:19:51 +01:00
andy
cc6fe463cd updated since origProc and origId are now stored on the particle 2009-06-22 18:19:55 +01:00
andy
6a9dfcdc82 merge of thermo branch into master 2009-06-19 13:21:55 +01:00
graham
864e56d1df Merge branch 'master' into dsmc 2009-06-18 15:19:32 +01:00
graham
edcf49af67 More modified copyright years 2009-06-17 14:59:34 +01:00
andy
7d73dd3171 updates for new thermo and general code tidying 2009-06-15 15:36:57 +01:00
andy
9af9f9c478 merging master into local branch 2009-06-11 17:29:19 +01:00
andy
dee5c153ca Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-11 17:24:51 +01:00
andy
1ebc1c1ad4 Merge branch 'FT' 2009-06-11 17:10:58 +01:00
andy
42c240b97e cosmetics/code-tidying 2009-06-11 17:09:19 +01:00
henry
4c2adfe276 Fixed!!! 2009-06-11 16:18:19 +01:00
andy
c3c36e6b16 updated name change of combustion->reaction lib 2009-06-10 19:37:52 +01:00
andy
0903bf0b3b removed include file 2009-06-09 13:48:44 +01:00
andy
279df4d0e6 merge into master 2009-06-05 17:40:08 +01:00
andy
4e2dbe6598 added option to use time name instead of time index for file names 2009-06-02 10:41:32 +01:00
henry
46ca766a4b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-05-29 09:33:58 +01:00
henry
47beddc1c1 Added output of the patch area magnitude and the integral over the patch area magnitude. 2009-05-29 09:33:47 +01:00
mattijs
55f5241fc8 output wallDistance 2009-05-28 18:14:38 +01:00
andy
5969f1629c updates 2009-05-27 19:05:26 +01:00
andy
2a1236c0c2 updates 2009-05-27 16:49:58 +01:00
andy
02b6d0c661 adding new particle tracks app - needs work... 2009-05-22 17:03:49 +01:00
Mark Olesen
8edf105c45 cleanup of time handling (cosmetic changes), used timeSelector in more places 2009-05-20 15:40:30 +02:00
Mark Olesen
d1295da31f adjust solvers and utilities to use new argList methods
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
Mark Olesen
72362de6b1 foamToEnsight* fixes and tweaks
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
2009-05-12 12:37:25 +02:00
mattijs
2d96e32b13 add region option 2009-04-25 14:46:03 +01:00
andy
fa794c981d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-26 13:50:34 +00:00
andy
5569bd4bfe Merge branch 'olesenm' 2009-03-24 13:38:19 +00:00
henry
a55441e758 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-23 19:25:25 +00:00
henry
232d22a7a1 New version from Niklas. 2009-03-23 19:25:17 +00:00
andy
9bc9b9cd65 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-23 17:44:57 +00:00
Mark Olesen
852d9f3298 #undef VTKPV3FOAM_DUALPORT to disable dual-port output for paraview reader 2009-03-23 18:39:29 +01:00
Mark Olesen
5af070f914 Merge commit 'OpenCFD/master' into olesenm 2009-03-23 17:22:48 +01:00
Mark Olesen
be8cbc1018 use timeSelector mechanism in a few more utilities 2009-03-23 16:57:26 +01:00
Mark Olesen
549c78f9fe PV3FoamReader fix
- using a filter such as clip-plane on a multi-port source causes
  inconsistent UPDATE_TIME_STEPS() on each port. This looks like a
  VTK/Paraview bug to me.
  Workaround: check both ports and take the first one that has a value
  different than the last time set.
2009-03-23 14:53:14 +01:00
andy
ff78c6d637 conflict resolution 2009-03-23 11:58:03 +00:00
mattijs
84c8fe33ce probing on regions 2009-03-20 16:29:23 +00:00
Mark Olesen
681cd5fc30 sampling: use proxy surfaceWriter to generate obj, stl and other formats 2009-03-17 14:13:03 +01:00
Mark Olesen
fb1e155eed Merge commit 'OpenCFD/master' into olesenm 2009-03-16 08:28:08 +01:00
Mark Olesen
fe455d1cbf cloud, surfaceRegistry: rename subInstance -> prefix 2009-03-16 08:27:03 +01:00
andy
e5dd634327 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-13 16:43:36 +00:00
andy
48b3071742 Merge branch 'dsmc' 2009-03-13 16:26:52 +00:00
mattijs
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
andy
156b71b9f1 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-12 17:22:35 +00:00
Mark Olesen
e011328d99 Merge commit 'OpenCFD/master' into olesenm 2009-03-12 10:39:22 +01:00
graham
542e05ce7f Changed way of populating database for dsmcFieldCalc. Added correctBoundaryConditions() to sigmaTcRMax on initialisation 2009-03-10 14:25:15 +00:00
mattijs
9ec530528f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-10 12:50:34 +00:00
graham
e49d70a85a Created new functionObject for dsmcFields, renamed post processing utility dsmcFields to dsmcFieldsCalc and calling function object from there. 2009-03-09 19:29:08 +00:00
Mark Olesen
6ecdf4fc41 updated DebugSwitches, surfaceWriter
- added obj surfaceWriter
- don't bother with prepended field names on obj and stl surfaceWriter.
  It fills the disk and suggests differences where there are none.
2009-03-09 15:37:54 +01:00
graham
a7341a7e95 Merge branch 'master' into dsmc 2009-03-09 11:20:58 +00:00
Mark Olesen
b968e62ef9 objectRegistry fixes
- objectRegistry gets a rename() that also adjusts the dbDir
- cloud reworked to use static variables subInstance and defaultName.
  This avoids writing "lagrangian" everywhere

string fixes
- avoid masking of std::string::replace in string.H
- avoid old strstream in PV3FoamReader
2009-03-06 15:18:00 +01:00
graham
e111540322 Info line tweaks. 2009-03-06 13:41:24 +00:00
graham
31964adc76 Averaging does not need to be weighted if the fields being averaged are extensive - they weight themselves automatically. Recording momentum and energy denisty, and averaging them, then once decent averaged fields exist, using the new dsmcFields utility to create the intensive fields: UMean and TMean (translational, internal and overall). 2009-03-06 12:59:58 +00:00
mattijs
7e69b33586 include file 2009-03-05 17:01:16 +00:00
mattijs
50df688455 demand driven volPointInterpolation 2009-03-05 14:01:23 +00:00
Mark Olesen
0cfce1a7ab Merge commit 'OpenCFD/master' into olesenm 2009-03-05 11:00:34 +01:00
mattijs
f411ac6884 patchnames on uncached meshes 2009-03-04 12:34:53 +00:00
Mark Olesen
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
andy
8d97ebf3cd Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-24 15:57:53 +00:00
andy
1f7a41b297 cosmetics 2009-02-24 15:57:34 +00:00
mattijs
a1525f016a extrapolate to any non-constraint patch 2009-02-20 16:47:09 +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
19aa23d707 Merge commit 'OpenCFD/master' into olesenm 2009-02-17 16:35:00 +01:00
mattijs
68f1ba6a6d extraneous files 2009-02-13 15:33:04 +00:00
Mark Olesen
b5a1f09321 functionObjectList with SHA1Digest tracking 2009-02-12 10:51:30 +01:00
Mark Olesen
3d126aca51 Merge commit 'OpenCFD/master' into olesenm 2009-02-11 10:37:22 +01:00
mattijs
7bc85824aa typos 2009-02-10 16:49:03 +00:00
Mark Olesen
69918f23c5 consistency update
- OSspecific: chmod() -> chMod(), even although it's not used anywhere

- ListOps get subset() and inplaceSubset() templated on BoolListType

- added UList<bool>::operator[](..) const specialization.
  Returns false (actually pTraits<bool>::zero) for out-of-range elements.
  This lets us use List<bool> with lazy evaluation and no noticeable
  change in performance.

- use rcIndex() and fcIndex() wherever possible.
  Could check if branching or modulus is faster for fcIndex().

- UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
  Similar to the STL front() and std::string::data() methods, they return a
  pointer to the first element without needing to write '&myList[0]', recast
  begin() or violate const-ness.
2009-02-06 20:43:09 +01:00
Mark Olesen
bf6915455d Merge commit 'OpenCFD/master' into olesenm 2009-02-02 16:58:00 +01:00
Mark Olesen
e5c5829244 OSspecific: isDir(), isFile() instead of dir(), file() 2009-02-02 16:50:18 +01:00
mattijs
8fa4620e0a cutting plane 2009-02-02 12:24:32 +00:00
mattijs
bdb4349ebd zonal postprocessing 2009-01-29 13:26:46 +00:00
andy
0f3c91ce0a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 15:55:28 +00:00
andy
5e20eeb0e9 bugfix:
- convertPointField caused a seg-fault if the internal field was null
      - attempted to name the vtk object the name of the null field

+ minor clean-up
2009-01-28 15:54:42 +00:00
Mark Olesen
29db6a6517 Merge commit 'OpenCFD/master' into olesenm 2009-01-20 18:56:29 +01:00
andy
e5e9902bec added output for areas of cyclic halves 2009-01-20 11:44:03 +00:00
Mark Olesen
246d569c4d consistency update for null pointers
- uniform use of reinterpret_cast<foo*>(0) instead of
  reinterpret_cast<foo*>(NULL)

- make all static null() members inline since they are really only a cast:
      "*reinterpret_cast<foo*>(0)"
2009-01-16 10:15:49 +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
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
mattijs
eb2e37b296 SiCortex port 2009-01-06 21:41:20 +00:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
48af574040 new management for sampledSurface(s)
//- Does the surface need an update?
        virtual bool needsUpdate() const = 0;

        //- Mark the surface as needing an update.
        //  May also free up unneeded data.
        //  Return false if surface was already marked as expired.
        virtual bool expire() = 0;

        //- Update the surface as required.
        //  Do nothing (and return false) if no update was required
        virtual bool update() = 0;

    The constructors for the derived classes should generally start in a
    'expired' condition (ie, needsUpdate() == true) and rely on a subsequent
    call to the update() method to complete the initialization. Delaying the
    final construction as late as possible allows the construction of
    surfaces that may depend on intermediate calculation results (eg,
    iso-surfaces) and also avoids the unnecessary reconstruction of surfaces
    between sampling intervals.

    It is the responsibility of the caller to ensure that the surface
    update() is called before the surface is used.  The update() method
    implementation should do nothing when the surface is already up-to-date.
2008-12-31 18:53:57 +01:00
henry
09463aaa9f Further correction for commit bf92e86. 2008-12-30 23:02:05 +00:00
henry
bf92e869a9 Changed the IOOutputFilter constructor to accept a "name" argument. For details see the changes proposed by Vincent Tang:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10405
2008-12-30 21:18:04 +00:00
Mark Olesen
bf057f99c0 small change to CMakeLists.txt for cmake-2.6.2 2008-12-15 22:06:44 +01:00
Mark Olesen
c65a40d57d don't need shrink before List::transfer(DynamicList&) anymore 2008-12-12 14:20:56 +01:00
Mark Olesen
e2d140fa94 timeSelector: improved functionality
- the improved side-effect of enabling -zeroTimea alters default selection
  behaviour and -latestTime selection behaviour for utilities in which
  accidentally using the 0/ directory can cause damage (eg, reconstructPar)
- can combine -time ranges and -latestTime
2008-12-10 09:14:00 +01:00
mattijs
f5b23d5065 missing patch selection 2008-12-03 11:19:40 +00:00
mattijs
1cff9e5409 merge 2008-11-24 16:42:44 +00:00
henry
47d0a28d7d Updated utilities to use the new turbulenceModels paths. 2008-11-23 16:17:05 +00:00
mattijs
b352c06f0f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-21 15:19:25 +00:00
mattijs
fcf3262fb5 do not zonify baffles 2008-11-21 15:19:10 +00:00
Mark Olesen
74cb43af0b s/openfoam\.org/OpenFOAM.org/g 2008-11-19 19:03:22 +01:00
mattijs
4d2284c99d rmt isosurface correction 2008-11-12 16:05:22 +00:00
mattijs
29d67c3240 averaging in isoSurfaces 2008-11-07 18:14:06 +00:00
henry
fd57af9980 Changed sum to gSum for parallel execution. 2008-10-29 13:18:36 +00:00
mattijs
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01:00
andy
10e8b73275 merge Mark's branch 2008-10-16 12:47:25 +01:00
Mark Olesen
e8843a35b5 foamToEnsightParts: add -noMesh option 2008-10-14 18:00:33 +02:00