Commit Graph

2917 Commits

Author SHA1 Message Date
f04cdab21d Update to compressible omegaWallFunction
Changed the evaluation of omega to be a function of both omega in the viscous
sublayer and omega in the log region
2009-12-11 17:39:49 +00:00
87f05dd72f Update to incompressible omegaWallFunction
Changed the evaluation of omega to be a function of both omega in the viscous
sublayer and omega in the log region
2009-12-11 17:26:21 +00:00
bf2865a087 Add missing low-level peek() to ISstream. 2009-12-11 17:31:15 +01:00
497ec32ed8 Add missing low-level peek() to ISstream. 2009-12-11 17:31:15 +01:00
d016db1bc6 Enhance edgeMesh to support more formats.
Read only support:

  .bdf, .nas - NASTRAN format. Handles both CBEAM and CROD as lines.
  CROD is what Hypermesh happens to output.

Write only support:

  .vtk - VTK legacy format in ASCII

Read/write support:
  .eMesh - native format, which is simply a list of points, edges
      with an additional IOobject header that lets them be moved about
      easily to use as a featureEdgeMesh.

  .inp - STAR-CD inp/cel/vrt combination
       IOobject header)

  .obj - Alias waverfront format

Radically simplify surfaceFeatureConvert by using the new edgeMesh
functionality.
2009-12-11 16:29:55 +01:00
46a455ccea Remove unused Istream methods from surfMesh classes.
Move compilation edgeMesh and surfMesh up in the list
(they are independent of triSurface).
2009-12-11 15:04:28 +01:00
6791d10570 Changed indentation 2009-12-11 11:59:28 +00:00
ce7274639d Added missing face-flipping flag 2009-12-11 11:58:12 +00:00
834e493812 Fixed missing arguments in error message 2009-12-11 11:56:04 +00:00
88e407043e Fixed typo in printing 2009-12-11 11:55:36 +00:00
7bed6626c7 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-10 16:03:54 +00:00
35eeedeaa5 Added allowFreeStandingZoneFaces flag
This determines when faceZones and cellZones are being meshed any zone faces
can only be on the boundary of the cellZone or also 'free standing'. The
latter option can be used to e.g. create free-standing baffles
(that do not separate two regions)
2009-12-10 15:31:04 +00:00
17846a6bda Removed unused include file 2009-12-10 15:27:21 +00:00
7a46fea0d0 Updates to phase change model and ethalpy coupling
- Using parcel chemical enthalpy to update cloud chemical enthalpy transfer
  instead of total parcel enthalpy.
- Added functionality to allow enthalpy transfer to be user-controlled,
  either using latent heat, or instanteous enthalpy difference
2009-12-10 15:09:18 +00:00
9016db20dc Updates and corrections for the polynomial thermo
Added missing operators, and converted polys to be molar-intensive
to enable mixing using existing molar-weighted strategy
2009-12-10 12:34:42 +00:00
a8b2b4a91c Correcting poor coding style 2009-12-10 12:30:45 +00:00
a029a59036 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-09 17:44:13 +00:00
9e3527b315 Added more intelligent checking for finding same intersection 2009-12-09 17:42:57 +00:00
812b8f7a94 Changed the way in which the sub-dictionaries prepend the name of the parent to
avoid accumulation of the name during copy and clone.
2009-12-09 13:35:21 +00:00
352ef55b6d Added setCapacity function to presize storage 2009-12-09 12:50:21 +00:00
5b15180100 Added setCapacity function and added pre-sizing of reverse maps 2009-12-09 12:49:41 +00:00
17121a46a3 Corrected checking of component 2009-12-09 12:49:04 +00:00
30eac79d55 argList gets addNote() static method
- output any notes in the usage
2009-12-09 10:58:32 +01:00
8d0522633e argList - surround option parameters with <>
- increase usageMin to 20 to compensate for extra <>

- look for _source.html instead of -source.html to match newer doxygen
2009-12-09 09:03:49 +01:00
00a9a51b3b Reorganised the location of the "sixDoFRigidBodyDisplacement" BC to avoid unnecessary
dependency on the libforces.so and the libraries it requires.
2009-12-08 22:36:17 +00:00
ddfd9da81f Reorganised the location of the "sixDoFRigidBodyDisplacement" BC to avoid unnecessary
dependency on the libforces.so and the libraries it requires.
2009-12-08 22:35:35 +00:00
d92ea78c11 Added the field name to the creation of "mut". 2009-12-08 15:08:22 +00:00
d7ee0a6fbb Corrected handling of "value" entry to allow post-processing of input file. 2009-12-08 15:06:18 +00:00
b67c07177c Removed "forces" library dependency to avoid many solvers inheriting unnecessary
dependencies.
2009-12-08 15:05:52 +00:00
0a533f700d Corrected the name for the source doc file created by the -srcDoc option. 2009-12-08 15:04:44 +00:00
94ab70b94d only using part of fvc that is needed - fvc.H brings in everything... 2009-12-08 11:18:26 +00:00
426a74efdf cosmetics 2009-12-08 11:17:49 +00:00
41fc71458b Use the PackedList unset() method in a few places
- also PackedBoolList.get(x) == 1 can be written without the ==
  comparison since the unsigned -> bool conversion is fast
2009-12-08 11:16:43 +01:00
d2d39c32be HashSet and PackedList get an unset() method
- provides a convenient (and lazy) means of removing entries
2009-12-08 10:01:48 +01:00
16c715ceec Applied Mattijs' PackedList improvements
- resize with factor 2 as per DynamicList

Old insertion speed:
    1000000 in 0.61 s
    2000000 in 2.24 s
    3000000 in 3.97 s
    4000000 in 5.76 s
    5000000 in 7.54 s
    6000000 in 9.41 s
    7000000 in 11.5 s

New insertion speed:
    1000000 in 0.01 s
    2000000 in 0.02 s
    3000000 in 0.01 s
    4000000 in 0.02 s
    5000000 in 0.01 s
    6000000 in 0.01 s
    7000000 in 0.01 s
2009-12-08 09:42:38 +01:00
8227aee6a2 STARCDsurfaceFormat - read cellTable names from .inp file 2009-12-07 15:33:35 +01:00
c183d0875d blockMesh splineEdge - drop old names 'simpleSpline' and 'polySpline' 2009-12-07 13:48:22 +01:00
a19e488f1e consistency update - writeCompression in system/controlDict
allow switch/bool values for writeCompression in system/controlDict

- eg,
    writeCompression false; or writeCompression uncompressed;
    writeCompression true;  or writeCompression compressed;

improves consistency with other controlDict parameters
2009-12-07 13:40:32 +01:00
190bbd69de add corners() method to boundBox 2009-12-07 13:06:03 +01:00
45f17a9e6c Merge commit 'OpenCFD/master' into olesenm 2009-12-07 10:41:19 +01:00
0b1a73673d cosmetic changes to arcEdge 2009-12-07 09:43:05 +01:00
73f9f7f780 Remove legacy splines code and use CatmullRomSpline as 'spline'
- compatibility:
  * 'polySpline' and 'simpleSpline' accepted
  * detect and discard end tangent specifications

- a BSpline is also included (eg, for future support of NURBS), but is
  not selectable from blockMesh since it really isn't as nice as the
  Catmull-Rom (ie, doesn't *exactly* go through each point).
2009-12-07 06:54:06 +01:00
a820021a0a Adding moment of inertia code, unused as yet. 2009-12-06 12:20:38 +00:00
6b7dd8160d Adding a function to calculate the moment of inertia of a triangle to
triangle, from:

http://en.wikipedia.org/wiki/Inertia_tensor_of_triangle

Adding the ability to calculate the inertia tensor of a polygon face
by summing the triangle inertias.

Added a test application to draw a test face with its principal
axes and moments of inertia.
2009-12-04 16:33:46 +00:00
1b0cf102cc testing on fileName Istream construction 2009-12-04 16:22:59 +01:00
066b3158e7 quickly implemented BSpline2 as an alternative B-Spline implementation
- also looks reasonable and doesn't deviate much from Catmull-Rom
2009-12-04 15:34:42 +01:00
b634c17e55 fixed off-by-one error in argList text wrap 2009-12-04 14:34:04 +01:00
37c4f2f375 remove empty 'Description' from various .C files 2009-12-04 14:11:33 +01:00
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
24543185dc removed cellPointWeight.H.old - left over from pre-git era 2009-12-04 13:30:26 +01:00