Commit Graph

17013 Commits

Author SHA1 Message Date
507e7a1b98 missing include for turbulenceModel in lagrangian Make/options 2008-12-01 15:40:46 +01:00
dee34f2775 DynamicList: cosmetics
- using SizeInc to define the granularity in the SizeMult=0 needed?
2008-11-29 13:11:52 +01:00
d637c270fe Automatic determination of reference positions of arbitrary rigid molecule w.r.t. centre of mass and in principal moment of inertia orientation. 2008-11-28 17:15:52 +00:00
b30a6faf2c Merge commit 'OpenCFD/master' into olesenm 2008-11-28 18:06:40 +01:00
093305d324 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-28 12:14:09 +00:00
008858010e Added RAS and LES models to the turbulenceModel selection table. 2008-11-28 12:14:02 +00:00
61cbf11d0a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-27 17:17:32 +00:00
9eb5d198bb multiple isosurfaces from unregistered samplefield 2008-11-27 17:17:24 +00:00
c98e404f45 Corrected HPMPI case. 2008-11-27 16:46:06 +00:00
ece5fc8924 distance at centre 2008-11-26 11:14:29 +00:00
7493d1ca16 handling of empty 2008-11-26 11:14:15 +00:00
05fc4832b2 transformation shortcut 2008-11-25 19:48:19 +00:00
5037380a83 Dynamics fixed - using notation from Dullweber et al, storing body local angular momentum and torque. Care required when measuring global angular momentum. 2008-11-25 18:14:52 +00:00
8745c6c03d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-25 16:00:38 +00:00
7e2a940dfb SortableList + ListOps changes
- dropped setSize() in favour of List::setSize().
  The size of the indices is set in sort() anyhow and undefined before that.
- added reverseSort() method
- added ListOps uniqueOrder() and duplicateOrder()
2008-11-25 11:52:38 +01:00
a3f0b52fd3 RASMODEL path 2008-11-24 17:42:58 +00:00
c7fa0a279e out of range cell id 2008-11-24 17:18:51 +00:00
c54c92dabb Added momentum and energy monitors, angular momentum and energy running away - need to investigate. 2008-11-24 16:57:17 +00:00
1cff9e5409 merge 2008-11-24 16:42:44 +00:00
5a85f3c83d merge 2008-11-24 16:40:33 +00:00
0b31de2d17 RAS/LES reshuffle 2008-11-24 16:40:19 +00:00
7c2cbbb266 parallel fix 2008-11-24 16:35:45 +00:00
7c9f49b98f full match 2008-11-24 16:35:18 +00:00
41bbcb6337 DynamicList changes.
- setSize() adjusts the addressable length only.
  Changed setSize(label) usage to setCapacity(label) or reserve(label)
  throughout. The final name (capacity vs. storageSize() vs. whatever) can
  easily be decided at a later date.
- added setSize(label, const T&), which may still not be really useful, but
  is at least now meaningful
- made shrink() a bit more legible.
- added append(UList<T>&)
- copying from a UList avoids reallocations where possible

The following bits of code continue to use the DynamicList::setSize(), but
appear to be legitimate (or the corresponding code itself needs rethinking).

  src/OpenFOAM/meshes/primitiveMesh/primitiveMeshPointCells.C:167: error: within this context
  src/OpenFOAM/lnInclude/faceTemplates.C:44: error: within this context
  src/surfMesh/surfaceFormats/tri/TRIsurfaceFormatCore.C:178: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:737: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:741: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:745: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:749: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:754: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:935: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:940: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1041: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1046: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2161: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2162: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2201: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2205: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2261: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2262: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2263: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2264: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2265: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3011: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3076: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3244: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3371: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
2008-11-24 17:22:37 +01:00
0e78f04bd8 Merge branch 'master' into molecularDynamics 2008-11-24 15:15:31 +00:00
60673abbd6 Added sitePositions to referredMolecules and the referredCell referring functions. Added multisite interactions to referred-real pairs and evaluatePotentialLimit. 2008-11-24 15:11:41 +00:00
b7e349a727 Merge commit 'bundle/home' into olesenm 2008-11-24 08:44:47 +01:00
c61868e91b Merge commit 'OpenCFD/master' into olesenm 2008-11-24 08:33:55 +01:00
47d0a28d7d Updated utilities to use the new turbulenceModels paths. 2008-11-23 16:17:05 +00:00
a8550cd0ba List - adjusted transfer(DynamicList) and added transfer(SortableList) 2008-11-23 16:08:28 +01:00
381b1e8c9f Updated compressible applications to use the new turbulenceModel base-class where appropriate
(transient solvers) and corrected paths to the new location of the turbulence models.
2008-11-23 15:01:53 +00:00
8b72dbedbe sampling changes
- cuttingPlane and sampledPatch now use PrimitiveMeshedSurface for their
  storage.
- cuttingPlane always triangulates since the cut faces tend to look quite
  horrible anyhow.
- moved triangulation request out of sampledSurface to the inherited
  classes. It might disappear anyhow.
2008-11-23 15:08:16 +01:00
5109a8d233 Added generic tumbulenceModel base class to the compressible RAS and LES models.
This allows the constructions of applications which are independent of the particular
type of turbulence modelling.
2008-11-23 11:51:08 +00:00
a1d7080d40 face class - triangulation
- plain nTriangles() inline method for face class
  - triFace gets the same for symmetry
  - face::triangles(), face::trianglesQuads() return the number of faces generated
  - face::triangles() can append to a DynamicList
2008-11-22 12:29:46 +01:00
129e16f975 DynamicList improvements/disambiguities
* DynamicList::allocSize(label)
  - Adjust the allocated size. The addressed list can be truncated but not
    extended, use setSize() for that.

* DynamicList::reserve(label)
  - Reserve allocation for *at least* this number of elements.
    Never shrinks the allocated size, nor touches the addressed list size.

* DynamicList::setSize(label)
  - proposed behaviour:
    Adjust the addressed list size, allocating extra space if required.
  - The current behaviour is ambiguous about what addressable size will
    actually get set and using it to extend the addressable size (as
    per List) automatically shrinks the allocated space to this size!
2008-11-23 12:17:11 +01:00
e72a6234d6 surfMesh changes
- expose faceMap info in triangulate() - for use in inherited classes
 - surfMesh::triangulate() works with or without underlying pointField
 - onePatch tries to be more intelligent about retaining the patch name
2008-11-22 11:22:34 +01:00
d6b247a3b1 added static data boundBox::greatBox and boundBox::invertedBox
- boundBox::invertedBox is useful for initializing our own calculations
- NOTE treeBoundBox::greatBox is still in place, since it uses GREAT
  instead of VGREAT. If this is only historical, we can drop it.
2008-11-22 11:15:20 +01:00
7cf90b039e sampling: use new runtime macros and avoid typedefs for each writer/instance 2008-11-21 21:46:06 +01:00
99eea2d52e sampling: use new runtime macros and avoid typedefs for each writer/instance 2008-11-21 21:46:06 +01:00
b352c06f0f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-21 15:19:25 +00:00
a42e73af92 Merge commit 'OpenCFD/master' into olesenm 2008-11-21 10:09:48 +01:00
41880c2760 added triFace::reverseFace() for symmetry with face class 2008-11-21 10:01:31 +01:00
fa69fd6690 surfMesh streamlining
- all formats except ftr and gts are now read as MeshedSurface (thus sorted
   immediately). Avoid unnecessary sorting during construction though.
 - moved cleanup routines completely into PrimitiveMeshedSurface
2008-11-21 01:38:56 +01:00
fbc185dee4 Removed the Warning again. 2008-11-20 22:12:05 +00:00
7bbe6c9d10 SubList: added void operator=(const T&) for convenience 2008-11-20 23:02:14 +01:00
642022105e Merged 2008-11-20 21:11:25 +00:00
7dd2f06708 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/turbulenceModels/Allwmake

Conflicts:
	src/turbulenceModels/Allwmake

Conflicts:
	src/turbulenceModels/Allwmake

Conflicts:
	src/turbulenceModels/Allwmake
2008-11-20 21:08:34 +00:00
0479165024 Added generic turbulenceModel base class to incompressible turbulence models. 2008-11-20 20:33:06 +00:00
85a852291a Temporary insertion of two molecules by hand. Testing new evaluatePair site-by-site function for real molecules. 2008-11-20 18:47:59 +00:00
326b86ec2d Added generic turbulenceModel base class to incompressible turbulence models. 2008-11-20 17:07:17 +00:00