Commit Graph

10204 Commits

Author SHA1 Message Date
f4447d7049 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-12 21:53:54 +00:00
abafef4a02 Added calls to the 'setUpToDate' function for the caching mechanism. 2009-03-12 21:53:05 +00:00
c271c97a7e Added the new 'cacheFields' entry to allow derived fields like 'grad(U)' to be
specified to be cached to avoid unnecessary recalculation.
2009-03-12 21:51:52 +00:00
2944ce59c1 Added a 'default' entry to the 'relaxationFactors'. When it is set to 0 it is
equivalent to the 'none' entry in fvSchemes and relaxation factors must be
provided for all fields which might require one.  If it is set to a value
between 0 and 1 this value is used as the default relaxation factor.
2009-03-12 21:49:40 +00:00
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
5e76511069 minor formatting changes 2009-03-12 18:28:39 +00:00
156b71b9f1 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-12 17:22:35 +00:00
6c387489d7 subset constructor 2009-03-12 15:59:27 +00:00
728c9514ef Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-12 14:42:51 +00:00
71a6424c60 iso surfaces on separated cyclics 2009-03-12 13:42:22 +00:00
5ecf891b28 indentation 2009-03-12 13:42:00 +00:00
cd107e764a bb tolerances 2009-03-12 13:41:50 +00:00
ccb4adc73c Added to the forces functionObject the ability to read a force density (fD) volVectorField directly rather than a p and U field. To use, the following entries go in the controlDict directForceDensity true; fDName fDMean; 2009-03-12 12:16:36 +00:00
8d8a8ef88d db/runTimeSelection - fixed up missing/extra semi-colons 2009-03-12 12:06:06 +01:00
eb3c47c75f pass-thru object in assignment of primitive types (strings) 2009-03-12 11:29:39 +01:00
f2b46bb5fe Merge branch 'master' into lagrangianDev 2009-03-12 10:07:10 +00:00
b6b96fb3c5 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-12 10:04:21 +00:00
e011328d99 Merge commit 'OpenCFD/master' into olesenm 2009-03-12 10:39:22 +01:00
471d45f39f Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-11 16:49:56 +00:00
73b153f302 Updates and extensions to the MRF and SRF handling. 2009-03-11 16:49:46 +00:00
ded140c2e8 Added a resetOnOutput switch to fieldAverage to allow the averaging to be only of the preceding writeInterval for transient cases. 2009-03-11 12:27:51 +00:00
3a73f3d1aa Removed boundary setting in DsmcCloud field calculation, calling correctBoundaryConditions in solver instead. 2009-03-11 11:35:03 +00:00
77a80dd5e7 iso surfaces on coupled patches 2009-03-10 22:04:25 +00:00
dc0d41f816 Cartesian subCelling of collision cell implemented. Need to check the impact on performance and results 2009-03-10 17:41:25 +00:00
542e05ce7f Changed way of populating database for dsmcFieldCalc. Added correctBoundaryConditions() to sigmaTcRMax on initialisation 2009-03-10 14:25:15 +00:00
31dd5faf7d sliced fields as unallocated copies 2009-03-10 13:53:36 +00:00
0b4d8e5892 signed unsigned comparison 2009-03-10 13:53:09 +00:00
9ec530528f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-10 12:50:34 +00:00
a1db98fae7 dependency checking 2009-03-10 12:50:21 +00:00
34da731896 sampledSurface hacking proof-of-concept
- using 'nil' type to write geometry only, in the future we could fallback to 'null'
  writer and hook in arbitrary formats from surfMesh

- IOobject gets writeEndDivider() static method
2009-03-10 13:12:00 +01:00
ea736dd82b breaking infinite loop for bad decompositions 2009-03-10 09:42:29 +00:00
ce3d79de1c surfMesh changes
- can read MeshedSurface, UnsortedMeshedSurface from surfMesh/
- can write surfMesh in any third-party format
2009-03-10 01:37:06 +01:00
95d134f4ed Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-09 19:51:01 +00:00
26161164bb Corrected the filtering of the processor patches.
See http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/11559
2009-03-09 19:50:42 +00:00
8e57ed53f6 Merge commit 'bundle/olesenm' into home 2009-03-09 20:32:24 +01:00
e49d70a85a Created new functionObject for dsmcFields, renamed post processing utility dsmcFields to dsmcFieldsCalc and calling function object from there. 2009-03-09 19:29:08 +00:00
b386f4e5e2 Switch: make operator= pass-thru value 2009-03-09 16:35:45 +01:00
6ecdf4fc41 updated DebugSwitches, surfaceWriter
- added obj surfaceWriter
- don't bother with prepended field names on obj and stl surfaceWriter.
  It fills the disk and suggests differences where there are none.
2009-03-09 15:37:54 +01:00
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
e26ca2defb readUpdate corrected for new mesh data 2009-03-06 13:35:25 +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
7677c87f15 further updates en route to new evap model(s) 2009-03-05 15:48:51 +00:00