Commit Graph

739 Commits

Author SHA1 Message Date
6a908364c2 added cylinderToCell and sphereToCell options 2009-02-09 11:59:31 +00:00
87f0693973 Merge branch 'master' into cvm 2009-02-09 10:01:14 +00:00
4d42f6e518 Changed mistake in declaring alignmentDirections, now a non-const reference. Added initial loop outline for cell based looping. 2009-02-09 09:18:01 +00:00
844211a940 Merge commit 'OpenCFD/master' into olesenm 2009-02-06 21:19:42 +01:00
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
9b0bebec00 making overwrite work 2009-02-06 15:12:24 +00:00
bda9076130 Added isotropic forcing, face area weighted. Added global aligment to the rotation to alignment method. 2009-02-06 13:11:39 +00:00
d3ec38f0aa Merge commit 'OpenCFD/master' into olesenm 2009-02-06 10:40:19 +01:00
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
fb29e08539 Merge commit 'bundle/home' into olesenm 2009-02-06 08:34:43 +01:00
22f6b4dc06 surfMesh gets surfPointFields, surfaceFormats write() for surf mesh components
- add placeholder BoundaryMesh to surfMesh allows us to drop the
  SurfGeoMesh class and just reuse the GeoMesh class.
  Do the same for triSurface.
2009-02-05 22:41:22 +01:00
07ed75e8e3 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-05 15:37:32 +00:00
f903801502 forgot to commit new files 2009-02-05 15:36:56 +00:00
11176914d4 memory leak 2009-02-05 15:28:32 +00:00
3aba0e28ff surfMesh, surfaceRegistry re-working 2009-02-05 16:12:35 +01:00
a4d0094e48 added surfaceMeshImport, surfaceMeshExport 2009-02-05 00:08:24 +01:00
a43df3bddd added surfMesh, reworked MeshedSurface
- renamed surface regions (formerly patches or groups) to surfZone.

- added surfMesh, but without any of the patch information needed to make it
  useful for finiteArea.

- promoted coordinateSystem transformation to surfaceMeshConvert and moved
  old to surfaceMeshConvertTesting.
2009-02-04 16:17:14 +01:00
6d1466465b consistency update 2009-02-04 11:27:35 +00:00
a83588ec11 using surfaceScalarField constructor to name field 2009-02-04 10:25:31 +00:00
efdb3fd3fa improved flux calcs + more clean-up 2009-02-04 10:21:23 +00:00
61e1c0c1ea major clean-up 2009-02-04 09:46:26 +00:00
3b8c849b09 Using all of the surface alignment directions to perform near surface alignment. 2009-02-03 19:54:40 +00:00
6d3a272372 applying improved flux-velocity correspondence 2009-02-03 18:24:23 +00:00
75f6168b0b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-03 17:19:58 +00:00
ddf1a3c224 I did what I had to do 2009-02-03 16:59:45 +00:00
338b72b1eb Improved the flux-velocity correspondence for cases where hydrostatic balance is
important e.g. in atmospheric flows.
2009-02-03 16:51:07 +00:00
a434d4f9de Prantdl -> turbulent Prandtl number 2009-02-03 16:29:39 +00:00
bf6915455d Merge commit 'OpenCFD/master' into olesenm 2009-02-02 16:58:00 +01:00
05440dd4a0 updated surfaceCoordinateSystemTransform 2009-02-02 16:57:50 +01:00
e5c5829244 OSspecific: isDir(), isFile() instead of dir(), file() 2009-02-02 16:50:18 +01:00
dcf2345194 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-02 12:24:44 +00:00
8fa4620e0a cutting plane 2009-02-02 12:24:32 +00:00
d1854c4559 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 16:41:33 +00:00
91e12bc50f Merge commit 'OpenCFD/master' into olesenm 2009-01-30 17:21:12 +01:00
206caf4ccb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 14:45:10 +00:00
5ec940465b missing link libraries 2009-01-30 14:44:44 +00:00
fe6a83a3a8 moved fileName::IOobjectComponents -> IOobject::fileNameComponents 2009-01-30 09:06:47 +01:00
1f6733d91d PackedList - activated lazy evaluation
- moving back to original flat addressing in iterators means there is no
  performance issue with using lazy evaluation
- set() method now has ~0 for a default value.
  We can thus simply write 'set(i) to trun on all of the bits.
  This means we can use it just like labelHashSet::set(i)
- added flip() method for inverting bits. I don't know where we might need
  it, but the STL has it so we might as well too.
2009-01-30 00:07:53 +01:00
9b9bef99e7 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-29 15:02:40 +00:00
f0f677e3d6 Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:57:08 +01:00
f7040f7cc1 using DpDt and adding run-time modifiable timestep support 2009-01-29 13:41:08 +00:00
bdb4349ebd zonal postprocessing 2009-01-29 13:26:46 +00:00
6ac84bf1ef Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:08:33 +01:00
4e56643efe PackedList improvements
- dropped auto-vivification for now (performance issue), but reworked to
  allow easy reinstatement
- derived both iterator and const_iterator from iteratorBase and use
  iteratorBase as our proxy for non-const access to the list elements.
  This allows properly chaining assignments:
     list[1] = list[2];
     list[1] = list[2] = 10;
- assigning iterators from iteratorBase or other iterators works:
     iterator iter = list[20];
- made template parameter nBits=1 the default
2009-01-29 14:03:53 +01:00
fe6d908e59 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 16:05:36 +00:00
1ab7bdce12 new pointMesh allocation method 2009-01-28 16:05:32 +00:00
0f3c91ce0a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 15:55:28 +00:00
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
7c739978b1 PackedList gets count() and trim() methods
- the bit counting is relatively fast:
  under 0.2 seconds for 1M bits counted 1000 times

- trim()'ing the final zero elements tested for a few cases,
  but might need more attention
2009-01-28 16:32:47 +01:00
d0e99ff347 Adding new buoyantBoussinesqSimpleFoam
- incompressible, Boussinesq variant of buoyantSimpleFoam
    - requires new fixedFluxBoussinesqBuoyantPressure bc on pd at walls
      to balance the flux generated by the temperature gradient
2009-01-28 15:11:43 +00:00