Commit Graph

739 Commits

Author SHA1 Message Date
e111540322 Info line tweaks. 2009-03-06 13:41:24 +00:00
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
a967daeb34 Change of plan - fields will be stored or referenced only at the solver level and tmps will be returned from the clouds to give them their instantaneous values. Only T and U will be supplied to the dsmcCloud, as before, to provide boundary conditions. Added required field calculation functions. Taking care about what is measured - a U field requires sum(momentum)/sum(mass) per cell - cells can have zero particles in them, hence divide by zero problems. Averaging the momentum field and the rhoM field, and constructing the velocity by dividing the averages as a post-processing stage is a safer and more physcially correct method. 2009-03-05 19:15:26 +00:00
65bb236e4f Added new fields to solver and basic calculation of momentum and energy change on wall impact. Need to add references to new fields to DsmcCloud and constructors, all references are to be non-const as the field calculation will occur inside the DsmcCloud. 2009-03-04 18:00:57 +00:00
f5d45542ae Added Larsen Borgnakke internal energy redistribution and all supporting variables and function calls. Added energy and momentum monitoring functions. Added U and T fields to be used for boundary conditions and field measurement. Modified constructors accordingly. Now reading dsmcInitialiseDict in the Cloud, not the application. Initialisation dict now reads a subdict of <species keyword> <number density> entries. 2009-03-03 13:39:52 +00:00
b5add8f750 Merge branch 'dsmc' of ssh://graham@hunt//home/noisy3/OpenFOAM/OpenFOAM-dev into dsmc 2009-03-02 13:21:40 +00:00
e10c3a86ba minor formatting/coding changes 2009-03-02 13:18:45 +00:00
8b4c6f0662 Merge branch 'master' into dsmc 2009-03-02 13:11:18 +00:00
114fc6a9bd unnecessary linkage 2009-02-27 12:36:21 +00:00
9edb5b4941 Changing template-depth back to 40. Adding initialisation functions and constantProperties construction. 2009-02-25 18:04:51 +00:00
c49b302aa3 added solutionD and geometricD 2009-02-24 19:20:55 +00:00
5fca1e879d Finished DSMC code initial layout and test solver - both compile. Using lagrangian/dsmc local version of WallInteractionModel until requirements stabilise. Removed use of InjectionModel - not suitable, designed for continuum cases, requires single constProps from trackData - multispecies DSMC requires a List of constantProperties, one for each species. 2009-02-24 18:10:26 +00:00
af8a42067c collapse cell detection 2009-02-24 12:05:35 +00:00
9cea1db461 Removing CV mesher from dsmc branch 2009-02-24 10:10:31 +00:00
7f9e4755cd Adding initial dsmc cloud and solver. 2009-02-23 18:55:24 +00:00
53ab605456 Merge branch 'master' into cvm 2009-02-23 12:14:29 +00:00
2ad849811b Modified grading function. 2009-02-20 18:36:48 +00:00
a1525f016a extrapolate to any non-constraint patch 2009-02-20 16:47:09 +00:00
c09bbf8a25 Added distance to and index of closest surface patch to indexedVertex, using this to preform tests of near surface grading and refinement. 2009-02-19 18:01:13 +00:00
b1fe3cc51a processorFvPatchField now holds opposite value; not interpolate 2009-02-19 11:15:32 +00:00
7f2f779779 Fixes to point insertion, making faceAreaWeight normalised, not hard coded to cell size, adding tweak to fertex removal criteria to allow selective insertion at short-edge midpoint if the vertices have not already been flagged for removal. 2009-02-18 18:57:09 +00:00
aa6710901e Added Time::loop() to allow the
while(runTime.loop())
{
...
}

idiom.

Demonstrated in the shallowWaterFoam solver.
2009-02-17 22:00:59 +00:00
8695977fc5 Added point removal for short Delaunay edges in rotational controller as well as small and highly conntected dual cell removal. 2009-02-17 17:58:28 +00:00
fcd4e88e0e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-17 17:07:16 +00:00
17b2e50e9c Added shallowWaterFoam solver and tutorial case. 2009-02-17 17:07:09 +00:00
19aa23d707 Merge commit 'OpenCFD/master' into olesenm 2009-02-17 16:35:00 +01:00
c799fb0014 renamed to be consistent with new solver naming convention 2009-02-17 12:27:38 +00:00
a5ab4126d8 renamed to be consistent with new solver naming convention 2009-02-17 12:09:27 +00:00
c2256e51f3 change solvers, utilities, etc. to use while (..) time-looping idiom
- this (now deprecated) idiom:
      for (runTime++; !runTime.end(); runTime++) { ... }
  has a few problems:
    * stop-on-next-write will be off-by-one (ie, doesn't work)
    * function objects are not executed on exit with runTime.end()
  Fixing these problems is not really possible.

- this idiom
      while (runTime.run())
      {
          runTime++;
          ...
      }
  works without the above problems.
2009-02-17 08:47:42 +01:00
0d4433cb33 Merge branch 'master' into cvm 2009-02-16 19:19:19 +00:00
7d5e91f6a0 Added point insertions on long edges for rotational controller and identified possible point removal candidates. 2009-02-16 19:15:09 +00:00
68f1ba6a6d extraneous files 2009-02-13 15:33:04 +00:00
5e7339fe15 Merge commit 'OpenCFD/master' into olesenm 2009-02-13 16:05:16 +01:00
10dfba5795 Writing out of a pointField along with the mesh - allows restarts. Added FCC and BCC initial conditions (commented), their duals are rhombic dodecahedra and bitruncated octahedra respectively. 2009-02-12 19:06:22 +00:00
20349d2eaf Merge branch 'master' into cvm 2009-02-12 10:24:58 +00:00
2d8ec16d6c update 2009-02-12 10:11:57 +00:00
b5a1f09321 functionObjectList with SHA1Digest tracking 2009-02-12 10:51:30 +01:00
dfe1df4c61 new solver 2009-02-11 19:49:38 +00:00
a7f68e85ef restructuring 2009-02-11 18:49:54 +00:00
d12bf72ddc output min/max T as scalar 2009-02-11 18:39:34 +00:00
d6c8a34fe0 Fixed mistake in spoke search - wasn't setting closestSpokeHitDistance for further comparisons. Isotropic forcing using sqrt(faceArea). Added 3D analogue of 2D forcing function - needs experimented with. 2009-02-11 17:24:15 +00:00
ac084b840b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-11 12:45:17 +00:00
3d126aca51 Merge commit 'OpenCFD/master' into olesenm 2009-02-11 10:37:22 +01:00
28872c4432 moved SHA1::Digest class to SHA1Digest to allow forward declarations 2009-02-11 10:34:45 +01:00
adfd825441 SHA1, dictionary improvements
- added class OSHA1stream for a stream-based calculation method
- dictionary gets digest() method
- dictionaryEntry tweak: avoid trailing space after dictionary keyword
2009-02-11 00:46:01 +01:00
7bc85824aa typos 2009-02-10 16:49:03 +00:00
e96264ad9e typo 2009-02-10 14:33:56 +00:00
8e3b458231 added SHA1 class 2009-02-10 13:58:00 +01:00
03f950341f added output of geometric boundary type 2009-02-10 11:37:40 +00:00
bb278906be Using CGAL-3.4. Requires to be linked to compiled boost thread library. In this commit it is hard-coded to -lboost_thread-gcc43-mt-1_37, i.e. boost version 1.37.0, will need to be parameterised. CGAL does not need to be compiled, as before, and needs the CGAL-3.4/src/files file as before, but the compiler_config.h file, written by cmake, is now included from CGAL/3.4/include/CGAL, where it has been editted to remove the use of GMP. To use the CMP libraries, add -lgmpxx -lmpfr -lgmp to Make/options - there is little (2%) obvious performance benefit to creating a DT with GMP. -frounding-math is a required option - when running in debug assertions failures occur without it when using an exact construction. 2009-02-09 18:07:53 +00:00