Commit Graph

3832 Commits

Author SHA1 Message Date
a7341a7e95 Merge branch 'master' into dsmc 2009-03-09 11:20:58 +00:00
6309810e2e surfMesh reworked
- treat 'ofs' IO just like any other format
- dropped BasicMeshedSurface, since MeshedSurface can now also have zero or
  more zones
- UnsortedMeshedSurface is a special type of MeshedSurface with zero zones,
  but with additional zoneId labels
- use MeshedSurfaceProxy for writing surfaces with points/faces/zones and
  optional faceMap - provides output interface for MeshedSurface,
  UnsortedMeshedSurface and surfMesh.
- simplify output to filenames only, I can't see that the Ostream
  is needed anywhere
- surfMesh renaming now works, after the objectRegistry fix
2009-03-08 00:59:33 +01:00
4b75568c90 Added an if (cR < SMALL) guard to VHS sigmaTcR calculation. Giving each processor a different random number generator seed, otherwise they follow the same sequence and are not independent. Tnis is a practical problem because they were producing molecules with the same velocity in neighbouring cells on different procs which then collided and caused a floating point error because they had equal velocities. 2009-03-06 16:30:33 +00:00
0505dbee3e tidy-up and added CaCO3 - put solids in their own namespace? 2009-03-06 15:53:58 +00:00
9c32b96e01 Added equipartition internal energy distribution sampling function and calling on particle intialisation, Maxwellian wall collision and free stream injection. Interface with WallInteractionModel modified to pass a scalar& for the internal energy and a label to specify the typeId. 2009-03-06 15:53:01 +00:00
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
0e2b526cfd more updates 2009-03-06 13:50:17 +00:00
e111540322 Info line tweaks. 2009-03-06 13:41:24 +00:00
e26ca2defb readUpdate corrected for new mesh data 2009-03-06 13:35:25 +00:00
e1c28506b7 scaling logic 2009-03-06 13:35:05 +00:00
00328814d9 disconnected cell check 2009-03-06 13:34:35 +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
11d9c0f279 rename snappy parameter 2009-03-05 17:01:31 +00:00
7e69b33586 include file 2009-03-05 17:01:16 +00:00
7677c87f15 further updates en route to new evap model(s) 2009-03-05 15:48:51 +00:00
50df688455 demand driven volPointInterpolation 2009-03-05 14:01:23 +00:00
aa7be71de3 problem cell deletion 2009-03-05 13:11:28 +00:00
9ce984d1dc added edge/triFace to the hashing tests 2009-03-05 12:39:22 +01:00
7544164d53 regIOobject, Hasher, IOobject tweak
- regIOobject: don't re-register an unregister object on rename/assignment
- Hasher: split-off HasherInt with uint32_t specializations
- IOobject: writeBanner/writeDivider return Stream for easier chaining.

... also dropped some namespace bracketing while I was at it.
2009-03-05 12:06:57 +01:00
d25686db61 Data entry updates + new polynomial type 2009-03-05 10:56:22 +00:00
0cfce1a7ab Merge commit 'OpenCFD/master' into olesenm 2009-03-05 11:00:34 +01:00
7b069d85bf further developments towards evap model 2009-03-04 19:31:56 +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
a5b60b171f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-04 15:27:00 +00:00
a19fe74890 clean-up 2009-03-04 15:16:33 +00:00
1296e86758 tidy-up of constrain functions for pos and U 2009-03-04 14:53:54 +00:00
9b8cb1b20d supply constrained dimensions for positions/velocities 2009-03-04 14:48:22 +00:00
603d744f4f removed polyMeshInfo - functionality now in meshTools/polyMesh 2009-03-04 14:47:37 +00:00
dc7c3ae7af Properly random distribution of particles across inflow patch faces. Modified info() reporting to average per-molecule energy and momentum - more useful. 2009-03-04 14:17:42 +00:00
9611853659 FixedList: added missing #include "contiguous.H" 2009-03-04 15:03:15 +01:00
47bd172682 pushed too soon before fixing typo on wmakeLnInclude 2009-03-04 14:31:37 +01:00
70f1bad088 mesh.C on cyclics 2009-03-04 12:35:15 +00:00
8de54d3ba7 error message 2009-03-04 12:35:01 +00:00
f411ac6884 patchnames on uncached meshes 2009-03-04 12:34:53 +00:00
0d6b61bd81 Merge branch 'master' into lagrangianDev 2009-03-04 12:26:27 +00:00
c0a96ae8c3 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-04 12:25:10 +00:00
db8febe9f9 wmakeLnInclude -f now also changes the default linking to 'ln -sf'
- this seems to be the most sensible solution.
  The changed time stamps on the links doesn't seem to bother make at all.
2009-03-04 13:14:11 +01:00
1b9ae82909 streamlined input for DataEntry 2009-03-04 11:36:07 +00:00
1a2bcf7d84 Merge commit 'OpenCFD/master' into olesenm 2009-03-04 12:20:51 +01:00
9b8de83ab4 HashTable minor/cosmetic changes 2009-03-04 12:15:01 +01:00
17548296be Switched from old hashing functions to use Bob Jenkins' hash routine
- If the underlying type is contiguous, FixedList hashes its storage directly.
- Drop labelPairHash (non-commutative) from fvMeshDistribute since
  FixedList::Hash does the right thing anyhow.
- Hash<edge> specialization is commutative, without multiplication.
- Hash<triFace> specialization kept multiplication (but now uLabel).
  There's not much point optimizing it, since it's not used much anyhow.

Misc. changes

- added StaticAssert to NamedEnum.H
- label.H / uLabel.H : define FOAM_LABEL_MAX, FOAM_ULABEL_MAX with the
  values finally used for the storage.  These can be useful for pre-processor
  checks elsewhere (although I stopped needing them in the meantime).
2009-03-04 10:50:14 +01:00
3b07525b5a added interpolationCellPointWallModified 2009-03-04 09:43:45 +00:00
fdd9cbee92 Added InflowBoundaryModel submodel with NoInflow and FreeStream models. Free stream inserts particles at a specified patch. Currently inserting particles half way along the face centre to cell centre line - will randomise. Fixed label/scalar inconsistency between declaration and accessors of nParticles. 2009-03-03 18:57:20 +00:00
cb697ea37a moved warningIn msgs to inside if (debug) statements 2009-03-03 18:54:10 +00:00
5d3db386e7 initial check-in of entrainment injection model 2009-03-03 18:46:53 +00:00
295b0e7367 consistency update 2009-03-03 18:11:09 +00:00
e906591522 multiple updates
Injection:
  - moved position and velocity constraints for 2-d cases to the base InjectionModel
  - added validInjection function

  Clouds
  - added an effective density function to the KinematicCloud
2009-03-03 17:59:44 +00:00
7e735715a4 more flexible mrfzones
modified:   finiteVolume/cfdTools/general/MRF/MRFZone.C
modified:   finiteVolume/cfdTools/general/MRF/MRFZone.H
	modified:   ../tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/MRFZones
2009-03-03 17:09:01 +00:00
4f51b61d2d Added velocity and temperature lookup from boundary fields to MaxwellianThermal wall. 2009-03-03 14:37:12 +00:00