Commit Graph

658 Commits

Author SHA1 Message Date
henry
06eb5b7477 Added preliminary version of the rhoSimplecFoam code and tutorial case.
This currently only runs in serial, parallelisation is worked on.
2009-11-25 11:59:19 +00:00
graham
fabbd8bb47 Merge branch 'master' into dsmc 2009-11-20 11:31:30 +00:00
henry
bb65911c45 Added a correction to the boundary velocity and flux to make them consistent
with the boundary motion before the fluxes are corrected for continuity by
pcorr.
2009-11-18 23:10:26 +00:00
mattijs
e779953746 steady state cht solver; switched default coupled bc to be fixedValue 2009-11-17 11:41:05 +00:00
andy
cf9b9bff17 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-12 13:29:10 +00:00
andy
963a8cb8d5 cleaner code 2009-11-12 13:28:55 +00:00
graham
6cbf1c9425 Merge branch 'master' into particleInteractions 2009-11-11 13:26:30 +00:00
graham
0870e22400 Merge branch 'master' into dsmc 2009-11-11 13:24:48 +00:00
andy
e7347dbd62 removed unnecessary interpolation of h - not used 2009-11-09 10:15:07 +00:00
henry
51bb18ce78 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-10-30 17:24:05 +00:00
henry
9bb3c1c1ba New solvers and tutorial cases transferred from OpenFOAM-1.6.x. 2009-10-30 17:24:02 +00:00
andy
555c1ea30d minor cosmetics 2009-10-29 14:28:57 +00:00
andy
6b289c32fd added check to ensure that the inert specie exists in available specie list 2009-10-28 12:21:28 +00:00
graham
34d8f73153 Merge branch 'master' into particleInteractions 2009-10-21 16:40:45 +01:00
graham
c3eac7b801 Merge branch 'master' into dsmc
Conflicts:
	src/lagrangian/dsmc/clouds/Templates/DsmcCloud/DsmcCloudI.H

Fixed - old cacheDeltaT in conflict.
2009-10-21 16:39:20 +01:00
graham
9221793088 Changing
deltaT().value() to deltaTValue()
and
    deltaT0().value() to deltaT0Value()
across the whole code - faster to return especially if being used
often, in each call to a submodel for example.
2009-10-21 16:36:07 +01:00
graham
e9cdaf6106 Merge branch 'master' into dsmc 2009-10-21 14:12:36 +01:00
graham
2125ba00de Merge branch 'master' into particleInteractions 2009-10-19 11:37:48 +01:00
mattijs
2ff47b7909 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-10-12 13:04:02 +01:00
graham
51ebdc5e80 Merge branch 'master' into dsmc 2009-10-11 11:16:56 +01:00
henry
e9da288118 Reverted the Americanism "math" back to the original "mathematical" and reverted name of
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
mattijs
24479b6102 use prfValue 2009-10-09 17:16:37 +01:00
graham
5f8cf390f6 Adding incompressible solver where the value of density is read from
the transportDictionary.
2009-10-07 17:08:26 +01:00
graham
b4052f716b Merge branch 'master' into particleInteractions 2009-10-07 16:19:51 +01:00
mattijs
f2ae950de6 initialise K with alphaEff 2009-10-02 17:16:39 +01:00
graham
65ca8a8b99 Merge branch 'master' into dsmc 2009-09-24 09:55:56 +01:00
graham
af09f19463 Merge branch 'master' into particleInteractions 2009-09-17 15:15:19 +01:00
mattijs
ed78938873 renamed b.c. 2009-09-15 18:40:49 +01:00
mattijs
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
graham
c1925b36e8 Fixing conflict. 2009-09-15 15:24:33 +01:00
henry
10caa3dd12 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-09-10 22:43:56 +01:00
henry
5467d69f5b Corrected handling of density. 2009-09-10 22:43:48 +01:00
andy
9215ef540e moved UEqn to within outer loop 2009-09-10 15:34:18 +01:00
henry
55f2b496a9 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-09-09 21:56:40 +01:00
henry
42162f27b7 Added basic support for thermal effects in porous zones.
Currently the only supported model is fixing the temperature within the porous zone to a fixed value.
2009-09-09 21:55:55 +01:00
graham
9a71ce6b90 Merging, fixing conflicts 2009-09-07 12:27:57 +01:00
graham
e10bb9589e Merge master, fixing conflicts 2009-09-07 12:23:13 +01:00
andy
6062a1ef66 updates/improvements to the cloud IO system and using new constants 2009-09-04 16:19:57 +01:00
graham
fbce666ec9 Adding templated interactionLists to the intermediate library. The
referred particle is the same type as the real partilce,
i.e. dispensed with reduced referredMolecule-like class.  In general
the collision between particles may involve all pieces of data (type,
size, speed etc).
2009-08-31 20:24:57 +01:00
graham
0ec2983437 Merge branch 'master' into particleInteractions 2009-08-31 11:11:09 +01:00
andy
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
graham
5fb21c8139 Merge branch 'dsmc' into particleInteractions 2009-08-20 20:09:43 +01:00
graham
0e8fdf5b9b Infrastructure for CollisionModel created and make...Submodel files
updated an created.

Included interactionLists from molecule library.  Building with
temporary length squared hard coded.

Selecting collision partnersusing DIL and applying test force to each.
2009-08-20 20:06:13 +01:00
graham
48b452ae76 Merge branch 'master' into particleInteractions 2009-08-19 18:35:48 +01:00
graham
d781ca0602 Merge branch 'master' into dsmc 2009-08-19 09:53:17 +01:00
graham
698fa32b3f Adding parcels and clouds for interacting particles. Creating solver
and test case.
2009-08-18 20:27:14 +01:00
henry
dc183f3011 Minor formatting change. 2009-08-18 17:14:25 +01:00
henry
c9be8d63de Added alternating stress term. 2009-08-18 17:12:38 +01:00
andy
9fb0ed08e7 updating turb coeffs + fix typo 2009-08-13 09:54:57 +01:00
andy
d02c8d1a52 updated Up calc to use mag() 2009-08-13 09:44:09 +01:00
henry
31c76da40f Changed the runtime-selection tables to output a sorted toc. 2009-08-06 18:01:28 +01:00
mattijs
73ae3ddc6d include topoChangerFvMesh 2009-08-05 21:31:30 +01:00
mattijs
e5a710d3eb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-05 16:18:38 +01:00
mattijs
eba6c985a9 added rawTopoFvChanger mesh 2009-08-05 16:11:47 +01:00
mattijs
876135a83d forcing scheduling calculation 2009-08-04 16:42:54 +01:00
Mark Olesen
ecb8d29b83 Merge commit 'OpenCFD/master' into olesenm 2009-08-03 16:20:24 +02:00
Mark Olesen
7a8a318312 Revert "define values for standardCmu, standardKappa, standardE in turbulenceModel.H"
This reverts commit 54a8b6a152.
2009-08-03 15:31:14 +02:00
andy
827f834a93 corrected y+ calc, re-structured, better handling for walls 2009-08-03 09:53:13 +01:00
Mark Olesen
54a8b6a152 define values for standardCmu, standardKappa, standardE in turbulenceModel.H 2009-08-01 09:36:34 +02:00
Mark Olesen
827e3659b9 consistency update: kappa=0.41, E=9.8
- this would be an argument for providing default values at the top-level
  compressible/incompressible turbulenceModel
2009-07-31 18:15:54 +02:00
graham
9d1fc15616 Merge branch 'master' into dsmc 2009-07-29 14:16:27 +01:00
henry
5297267a5f Use new patch-based wall-functions. 2009-07-27 07:52:14 +01:00
Chris Greenshields
34f758b9f7 Changed rhoCentralFoam to be e-based 2009-07-24 15:51:07 +01:00
andy
c1993c92fa Merge branch 'olesenm' 2009-07-23 12:42:52 +01:00
Chris Greenshields
2f3016173e Modified Description entries for documenting purposes 2009-07-22 14:08:02 +01:00
Mark Olesen
5692a06a32 fixed up sloppy Allwclean files 2009-07-22 12:39:20 +02:00
henry
b248dd283c Added kappa_ and E_. 2009-07-21 22:26:01 +01:00
henry
b3d455de80 Removed turbulence model coefficients from the dictionaries to allow them to default. 2009-07-21 19:05:30 +01:00
graham
85d7852fc3 Renamed U_ and T_ to boundaryU_ and boundaryT_.
Moved all fields and field reading into the DsmcCloud, all calculation and
resetting to single functions for all fields.

Changed constructors so that no fields are supplied to the solver called from
dsmcFoam and an initialisation dictionary is supplied by dsmcInitialise.
2009-07-17 18:17:26 +01:00
henry
5a83c4660c Added rho for the buoyantPressure BC. 2009-07-10 14:42:23 +01:00
henry
37b0fe0ade Corrections to get the tutorial test loop to run cleanly. 2009-07-09 23:28:54 +01:00
henry
110b65add1 Put UEqn in PIMPLE loop. 2009-07-14 21:09:15 +01:00
henry
e7d9bf9a35 Force Unity Lewis number constraint by using alphaEff in b and ft equations. 2009-07-14 21:08:52 +01:00
andy
e55c47478d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-07-08 19:10:55 +01:00
henry
d76820dc57 Changed g from being read from environmentalProperties to being read directly as a
uniformDimensionedVectorField.
2009-07-08 17:09:51 +01:00
andy
54f9cc3fe9 added output of heat release, dQ (got lost somewhere along the way...) 2009-07-08 16:54:59 +01:00
henry
bbc4e8a25e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-07-07 22:57:30 +01:00
henry
4439183d96 Corrected handling of the wall BCs of p for buoyant flows. 2009-07-07 22:56:02 +01:00
andy
2e0e5d0ba9 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-07-07 16:36:36 +01:00
mattijs
6acfd6a3ae execute bit set 2009-07-07 15:48:04 +01:00
andy
3deed0eb44 updates to ../../applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam 2009-07-06 17:07:31 +01:00
andy
516c20c8e7 adding rhoReactingFoam solver 2009-07-06 15:33:55 +01:00
andy
0df64ea1d3 merge after conflict resolution 2009-07-01 10:59:48 +01:00
andy
9e4fcd1844 clean-up of #include files 2009-07-01 10:50:41 +01:00
henry
71127a7a36 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	tutorials/mesh/snappyHexMesh/iglooWithFridges/system/snappyHexMeshDict
2009-06-30 23:16:06 +01:00
henry
1a41b9b1b5 Changed h to e. 2009-06-30 22:30:48 +01:00
graham
c73fa61a97 Merge branch 'master' into molecularDynamics 2009-06-29 13:40:29 +01:00
henry
5989bcd14d Reformatted. 2009-06-26 17:28:25 +01:00
henry
1b25af21ff Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-26 17:19:17 +01:00
henry
ac02c60442 Changed Boussinesq solvers to use p rather than pd and added hotRoom tutorial cases for them. 2009-06-26 17:19:09 +01:00
mattijs
9b4a566b2e Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-25 23:47:04 +01:00
mattijs
0f7eb36836 double registering of dictionary 2009-06-25 19:35:17 +01:00
andy
fac1b596b8 sonicFoam solver and tutorial updates 2009-06-25 13:19:41 +01:00
andy
ef847e4dce solver updates for updated tracking 2009-06-22 18:39:02 +01:00
andy
98bd47cc08 removing old (no longer used) tracking stuff 2009-06-22 18:36:22 +01:00
andy
6a9dfcdc82 merge of thermo branch into master 2009-06-19 13:21:55 +01:00
graham
6f1fdb6c21 Merge branch 'master' into molecularDynamics 2009-06-19 13:11:04 +01:00
andy
a549c0c800 not registering chemistry props dict in solvers 2009-06-19 12:56:08 +01:00
andy
b6b7943fb7 using constructor form for DpDt field 2009-06-19 12:16:53 +01:00
andy
3def6efd69 moved solver to lagrangian folder 2009-06-19 12:11:28 +01:00
graham
0bfa0e8628 Merge branch 'master' into molecularDynamics 2009-06-18 15:19:57 +01:00
graham
864e56d1df Merge branch 'master' into dsmc 2009-06-18 15:19:32 +01:00
graham
8f5e38ac9c Modified copyright years, removed old molConfig. 2009-06-17 15:11:06 +01:00
graham
edcf49af67 More modified copyright years 2009-06-17 14:59:34 +01:00
andy
13fb959f0d lagrangian solver updates 2009-06-17 13:08:33 +01:00
andy
110718d0f5 adding solver files 2009-06-17 12:38:01 +01:00
andy
27ecaba4ac tutorial/solver update 2009-06-16 19:25:27 +01:00
andy
959afc3291 updates 2009-06-16 18:21:16 +01:00
andy
7d73dd3171 updates for new thermo and general code tidying 2009-06-15 15:36:57 +01:00
andy
3c642ebdc2 updates for new thermo framework 2009-06-15 10:33:20 +01:00
andy
b70ad9e5af Merge branch 'master' into thermo 2009-06-12 18:46:35 +01:00
mattijs
7e7fa54d58 deleting file 2009-06-12 17:04:08 +01:00
andy
0929b48698 simplifying i-o for chemistry models + thermo 2009-06-12 13:28:02 +01:00
henry
7cc81b32b8 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-11 22:48:08 +01:00
henry
4465d20ac6 Changed pd -> p. 2009-06-11 22:48:05 +01:00
andy
5116bfe732 removing old (unused) code 2009-06-11 19:42:42 +01:00
andy
f27c151a67 updates needed for compatibility with new thermo descriptions - more needed... 2009-06-11 18:25:07 +01:00
andy
9af9f9c478 merging master into local branch 2009-06-11 17:29:19 +01:00
andy
89f1e6d149 updates/cosmetics 2009-06-11 17:19:41 +01:00
andy
42c240b97e cosmetics/code-tidying 2009-06-11 17:09:19 +01:00
andy
c3c36e6b16 updated name change of combustion->reaction lib 2009-06-10 19:37:52 +01:00
andy
279df4d0e6 merge into master 2009-06-05 17:40:08 +01:00
andy
44a01db5bc updates to conform with explicitCellSource 2009-06-05 16:35:35 +01:00
henry
e68480913f pd => p 2009-06-04 19:11:12 +01:00
henry
c593fa63e5 pd => p 2009-06-04 17:35:47 +01:00
andy
33e452f4d3 inclusion of point mass sources 2009-06-03 19:40:33 +01:00
andy
2bb2266872 updates to sources 2009-06-03 19:40:16 +01:00
henry
f20792493d New, improved with p rather than pd, PIMPLE rather than PISO and more general handling of the diffusivity. 2009-06-03 14:59:35 +01:00
henry
1002f8d07f Changed to use p rather than pd. 2009-06-03 14:58:30 +01:00
andy
3233ed6428 moved construction of carrier props to reacting cloud constructor 2009-06-03 11:02:43 +01:00
andy
c766b6c301 more fun with templates - templating thermo type throughout submodels 2009-06-02 19:55:56 +01:00
mattijs
fef0256620 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-02 15:19:47 +01:00
mattijs
041c48cc3a changed comment 2009-06-02 15:11:45 +01:00
mattijs
dcc957147b solving p instead of pd; parallel coupled b.c. 2009-06-02 14:55:33 +01:00
andy
d07403b308 templated thermo type 2009-06-01 19:21:21 +01:00
andy
d18719dd15 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-01 12:31:02 +01:00
andy
461e40db22 removing unused T variable 2009-06-01 11:45:23 +01:00
andy
d15041b5df correcting error with units 2009-05-29 18:59:01 +01:00
andy
0d441221f0 added mult-component point mass flow sources 2009-05-29 16:08:09 +01:00
andy
6842c643b9 renamed Lagrangian->lagrangian to be consistent with sources 2009-05-29 15:50:35 +01:00
mattijs
435baa393d usage FOAM_USER_APPBIN 2009-05-29 15:37:50 +01:00
henry
20dcad4e57 Added the reciprocal of the turbulent Schmidt number. 2009-05-29 11:03:20 +01:00
henry
1d14951bf5 Added turbulent diffusivity. 2009-05-29 09:32:32 +01:00
andy
e989229407 now building to APPBIN instead of USER_APPBIN 2009-05-28 19:01:37 +01:00
andy
531f3c06b9 removing references to /home/shelob2/andy/OpenFOAM/andy-dev.FT/lib/linux64GccDPOpt 2009-05-28 18:58:53 +01:00
andy
85e5abd344 updates + added porous zones 2009-05-26 12:01:39 +01:00
andy
4ec0c9d174 new solver 2009-05-22 16:37:34 +01:00
andy
71a73d9490 removing duplicate file 2009-05-22 11:57:05 +01:00
andy
10c2f6bee0 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-05-21 10:13:42 +01:00
andy
c7ab2fcc4c changed field name 2009-05-20 16:05:10 +01:00
Mark Olesen
7941b04785 Merge commit 'OpenCFD/master' into olesenm 2009-05-19 21:15:56 +02:00
Mark Olesen
d1295da31f adjust solvers and utilities to use new argList methods
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
andy
5dbc2e53c1 moved h-eqn out of PISO loop 2009-05-19 15:03:39 +01:00
andy
ef1f480257 adding path to meshTools/lnInclude 2009-05-19 10:02:53 +01:00
andy
a723b85abd updates to enable requested field activated injection 2009-05-18 19:04:04 +01:00
andy
13a61cb519 Merge branch 'lagrangianDev' into WBM 2009-05-18 17:13:47 +01:00
andy
f97e559be8 Merge branch 'master' into lagrangianDev 2009-05-18 17:10:02 +01:00
graham
f6e23209de Merge branch 'master' into molecularDynamics 2009-05-15 10:11:02 +01:00
andy
64c0a9813f intial commit of coal combustion functionality 2009-05-14 15:17:47 +01:00
andy
9becccaeeb removing unnecessary header file 2009-05-14 13:42:11 +01:00
andy
c9e57ad9d5 updated to reflect change in lagrangian phase source term names 2009-05-14 13:29:20 +01:00
andy
d89df4142e renamed 2009-05-14 13:25:02 +01:00
andy
92766a4418 removed link to local coalCombustion library 2009-05-12 13:23:11 +01:00
andy
69c7280f50 Merge branch 'olesenm' 2009-05-12 10:59:45 +01:00
henry
0ee817a060 Also added a separate specification of the static pressure level but the
location for the specification is the same as that for the pd level.
2009-05-11 23:19:56 +01:00
Mark Olesen
4366d8df2c cosmetics - adjust copyright dates 2009-05-11 15:10:31 +02:00
andy
02cc2455ed initial commit of reactingParcelFoam 2009-05-06 13:23:11 +01:00
graham
4fdcd3ef7b Merge branch 'master' into dsmc 2009-04-25 14:26:44 +01:00
mattijs
6c1fe9b4b6 reference instead of copy 2009-04-23 14:42:52 +01:00
mattijs
7c093d7aaa indentation corrected 2009-04-23 14:42:18 +01:00
mattijs
2aed2a2a9b moved hEqn out of inner loop for consistency 2009-04-23 14:41:59 +01:00
mattijs
89c66aa016 unused option 2009-04-23 14:41:18 +01:00
mattijs
adc012cab8 renamed ghf to prevent duplicate regIOobject 2009-04-17 12:23:05 +01:00
graham
239b954ad3 Changing FreeStream to create inflow on all patches of type patch. Implemented Bird eqn 4.22 for the number flux and eqn 12.5 for the velocity distibution. Drawing T and U for the FreeStream from the boundaryT and boundaryU fields. 2009-04-16 19:18:15 +01:00
mattijs
c42f04e843 multi-region directMapped 2009-04-16 18:45:01 +01:00
henry
5dd31ee0e5 Bug fixes from Niklas. 2009-04-08 16:53:05 +01:00
mattijs
fc09d219af indentation 2009-03-26 22:32:10 +00:00
mattijs
4f6be7e8b9 comment 2009-03-26 12:07:46 +00:00
henry
590293fe95 Use the PIMPLE rather than PISO dictionary. 2009-03-24 12:14:33 +00:00
mattijs
1a16524196 moved to subdirectory 2009-03-18 11:56:35 +00:00
andy
48b3071742 Merge branch 'dsmc' 2009-03-13 16:26:52 +00:00
henry
471d45f39f Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-11 16:49:56 +00:00
henry
73b153f302 Updates and extensions to the MRF and SRF handling. 2009-03-11 16:49:46 +00:00
graham
3a73f3d1aa Removed boundary setting in DsmcCloud field calculation, calling correctBoundaryConditions in solver instead. 2009-03-11 11:35:03 +00:00
mattijs
d6087d356f regions without faces 2009-03-10 20:24:38 +00:00
graham
a7341a7e95 Merge branch 'master' into dsmc 2009-03-09 11:20:58 +00:00
graham
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
graham
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
graham
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
Mark Olesen
1a2bcf7d84 Merge commit 'OpenCFD/master' into olesenm 2009-03-04 12:20:51 +01:00
graham
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
graham
8b4c6f0662 Merge branch 'master' into dsmc 2009-03-02 13:11:18 +00:00
mattijs
114fc6a9bd unnecessary linkage 2009-02-27 12:36:21 +00:00
Mark Olesen
a46c85f5a4 HashTable changes
- make table power-of-two, but since it seems to give 1-2% performance
  improvement, maybe forget it too.

- remove two-argument form of hashing classes and do the modulus direclty
  within HashTable instead. This simplifies things a fair bit.

- migrate Hash<void*> from db/dlLibrary to primitives/hashes/Hash
2009-02-26 17:49:47 +01:00
graham
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
graham
7f9e4755cd Adding initial dsmc cloud and solver. 2009-02-23 18:55:24 +00:00
Mark Olesen
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
henry
aa6710901e Added Time::loop() to allow the
while(runTime.loop())
{
...
}

idiom.

Demonstrated in the shallowWaterFoam solver.
2009-02-17 22:00:59 +00:00
henry
fcd4e88e0e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-17 17:07:16 +00:00
henry
17b2e50e9c Added shallowWaterFoam solver and tutorial case. 2009-02-17 17:07:09 +00:00
Mark Olesen
19aa23d707 Merge commit 'OpenCFD/master' into olesenm 2009-02-17 16:35:00 +01:00
andy
c799fb0014 renamed to be consistent with new solver naming convention 2009-02-17 12:27:38 +00:00
andy
a5ab4126d8 renamed to be consistent with new solver naming convention 2009-02-17 12:09:27 +00:00
Mark Olesen
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
andy
2d8ec16d6c update 2009-02-12 10:11:57 +00:00
andy
dfe1df4c61 new solver 2009-02-11 19:49:38 +00:00
andy
a7f68e85ef restructuring 2009-02-11 18:49:54 +00:00
andy
d12bf72ddc output min/max T as scalar 2009-02-11 18:39:34 +00:00
Mark Olesen
d3ec38f0aa Merge commit 'OpenCFD/master' into olesenm 2009-02-06 10:40:19 +01:00
mattijs
07ed75e8e3 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-05 15:37:32 +00:00
andy
f903801502 forgot to commit new files 2009-02-05 15:36:56 +00:00
mattijs
11176914d4 memory leak 2009-02-05 15:28:32 +00:00
andy
6d1466465b consistency update 2009-02-04 11:27:35 +00:00
andy
a83588ec11 using surfaceScalarField constructor to name field 2009-02-04 10:25:31 +00:00
andy
efdb3fd3fa improved flux calcs + more clean-up 2009-02-04 10:21:23 +00:00
andy
61e1c0c1ea major clean-up 2009-02-04 09:46:26 +00:00
andy
6d3a272372 applying improved flux-velocity correspondence 2009-02-03 18:24:23 +00:00
andy
75f6168b0b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-03 17:19:58 +00:00
henry
ddf1a3c224 I did what I had to do 2009-02-03 16:59:45 +00:00
henry
338b72b1eb Improved the flux-velocity correspondence for cases where hydrostatic balance is
important e.g. in atmospheric flows.
2009-02-03 16:51:07 +00:00
andy
a434d4f9de Prantdl -> turbulent Prandtl number 2009-02-03 16:29:39 +00:00
andy
f7040f7cc1 using DpDt and adding run-time modifiable timestep support 2009-01-29 13:41:08 +00:00
andy
0f3c91ce0a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 15:55:28 +00:00
andy
d0e99ff347 Adding new buoyantBoussinesqSimpleFoam
- incompressible, Boussinesq variant of buoyantSimpleFoam
    - requires new fixedFluxBoussinesqBuoyantPressure bc on pd at walls
      to balance the flux generated by the temperature gradient
2009-01-28 15:11:43 +00:00
graham
6d6828ed49 Merge branch 'master' into molecularDynamics 2009-01-27 14:50:04 +00:00
graham
20d0e54aee Writing XYZ on field write. Reading in and storing siteMasses on constantProperties construction. 2009-01-26 18:37:40 +00:00
Mark Olesen
42c04b8505 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 12:51:45 +01:00
mattijs
45bfb91afb thisDb to get at objectRegistry 2009-01-23 08:46:54 +00:00
graham
e788f80b86 Writing XYZ to individual time directories 2009-01-22 21:01:14 +00:00
graham
bd4d8db171 Added XYZ site writer 2009-01-22 19:39:57 +00:00
Mark Olesen
6d57bb4e7b added PackedBoolList typedef (used everywhere) and improved PackedList
- new members:  capacity(), two-argument resize()/setSize(), const storage()
- new static members: max_value(), packing(), etc.
2009-01-21 11:30:10 +01:00
graham
2723998c7b Merge branch 'master' into molecularDynamics 2009-01-20 17:24:45 +00:00
graham
4f87d60530 rename dictionary variable 2009-01-20 16:34:10 +00:00
andy
372cd1b0e6 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-20 13:35:56 +00:00
andy
7e08613522 tidying up 2009-01-20 12:09:12 +00:00
mattijs
dde4ca5bf7 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-14 12:36:22 +00:00
mattijs
9a1d3aec1d debug printing 2009-01-14 12:24:09 +00:00
andy
1bd5737782 remove spurious references to INTERFOAM 2009-01-13 18:44:27 +00:00
andy
4cc5ec39ea applying update from Graham 2009-01-13 18:03:18 +00:00
graham
8152f4f8d1 Removing two older solvers. 2009-01-13 17:44:42 +00:00
graham
44eeb27b52 Dealing with molecules that do not have all 3 diagonal components of the principal axis inertia tensor, i.e. point masses (mono-atomics) and linear molecules (diatomics and CO2 for example). 2009-01-13 16:50:11 +00:00
mattijs
bc3600f528 const reference to thermo 2009-01-13 16:35:45 +00:00
graham
fa8f316ecc Adding pressure measurement via r dot f and temperature measurement and control including rotational energy. Adding random orientation on initialisation. Modifying constantProperties construction to detect point masses. Tidy up hitWallPatch function to remove commented out stochastic wall code. 2009-01-12 17:35:57 +00:00
Mark Olesen
d7f99e3db6 cosmetics 2009-01-12 08:47:25 +01:00
Mark Olesen
9d9aea380a Merge commit 'OpenCFD/master' into olesenm 2009-01-12 08:45:15 +01:00
Mark Olesen
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
sergio
89a261ac0c resolve merge conflict in header file descriptions 2009-01-09 11:25:40 +00:00
henry
3c2e85bac9 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-08 20:19:11 +00:00
henry
fcdcf55610 Added support for "pFinal". 2009-01-08 20:05:46 +00:00
henry
b1ca8f48e4 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-05 22:18:33 +00:00
henry
04d26c8e38 Corrected dimensions of kappa. 2009-01-05 22:17:20 +00:00
graham
fa0717dd00 rewriting molConfig, renamed to mdInitiaise. Driving all creation of molecules from within moleculeCloud. 2009-01-05 17:42:35 +00:00
graham
2aa5242f27 Merge branch 'master' into molecularDynamics 2009-01-05 11:32:46 +00:00
Mark Olesen
c5b38a7232 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
mattijs
1d450fbe11 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-30 22:00:52 +00:00
mattijs
22393b4262 new bc 2008-12-30 22:00:17 +00:00
graham
36fc7b0b87 Merge branch 'master' into molecularDynamics 2008-12-22 17:09:06 +00:00
andy
468668d0be muf -> muEff for consistency 2008-12-19 14:48:54 +00:00
andy
c5c622e1ab adding pFinal 2008-12-19 14:45:28 +00:00
andy
9596677119 labelled muf - grad(muf) used, so can now manipulate in fvSolution etc 2008-12-19 14:03:49 +00:00
andy
393e4d232e added explicit call to UEqn.relax() 2008-12-19 14:01:00 +00:00
andy
dbe5e08213 minor mods:
- added pdFinal option
    - labelled muf - grad(muf) used, so can now manipulate in fvSolution etc
    - added absolute/relative around the calculation of divU
2008-12-19 13:59:05 +00:00
henry
9663072b5f Removed ddtPhiCorr. 2008-12-12 15:06:04 +00:00
graham
f29f664e53 Merge branch 'master' into molecularDynamics 2008-12-12 10:49:08 +00:00
mattijs
c7a0f553ef include file position 2008-12-11 18:54:43 +00:00
henry
fd7ec69cc3 Added documentation to PDRFoam. 2008-12-11 12:05:56 +00:00
henry
7f22e3104a Added correctPhi to compressibleInterDyMFoam. 2008-12-11 12:05:21 +00:00
sergio
b4a2f37f1b PDRFoam documentation completion 2008-12-08 13:51:31 +00:00
sergio
7c326218a8 Local Macros for Doxygen 2008-12-01 10:32:53 +00:00
graham
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
sergio
75e7defd60 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-27 16:58:35 +00:00
sergio
21117b467b PDRkEpsilon.H Documentation 2008-11-27 16:54:30 +00:00
henry
c98e404f45 Corrected HPMPI case. 2008-11-27 16:46:06 +00:00
sergio
747db59c3a basic.H
XiModel.H
SCOPELaminarFlameSpeed.H
basicXiSubXiEq.H
basicXiSubG.H
Doxyfile (include PATH to OpenCFD Macros)
doxyFilt (include class documentation in /src)
2008-11-27 11:22:08 +00:00
graham
edfcceb31c typo in water test app. 2008-11-24 17:18:34 +00:00
graham
c54c92dabb Added momentum and energy monitors, angular momentum and energy running away - need to investigate. 2008-11-24 16:57:17 +00:00
graham
0e78f04bd8 Merge branch 'master' into molecularDynamics 2008-11-24 15:15:31 +00:00
henry
47d0a28d7d Updated utilities to use the new turbulenceModels paths. 2008-11-23 16:17:05 +00:00
henry
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
henry
0479165024 Added generic turbulenceModel base class to incompressible turbulence models. 2008-11-20 20:33:06 +00:00
graham
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
henry
326b86ec2d Added generic turbulenceModel base class to incompressible turbulence models. 2008-11-20 17:07:17 +00:00
henry
95b8a978ff Correction to the PDR drag model. 2008-11-20 16:53:14 +00:00
graham
c85269854f Modified id reading and mapping to make mols specify which sites they need pair potentials for and only look for them in the potentialDict. Ids requiring pair potentials are stored first in the siteIdList to make the look-up of them in pairPotential work as before. 2008-11-18 17:51:53 +00:00
graham
9745bcc6a2 Commit after fixing moleculeIO.C conflict 2008-10-30 13:54:20 +00:00
mattijs
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01:00
graham
1febfbfb3e Merge branch 'master' into molecularDynamics 2008-10-16 10:38:48 +01:00
henry
4e2027c1f9 Added optional UEqn relaxation. 2008-10-12 11:43:35 +01:00
graham
c8098a13d1 Reading individual sites from moleculeProperties dictionary entries, finished. 2008-10-08 17:17:32 +01:00
graham
69ab38bc8f Reading individual sites from moleculeProperties dictionary entries, WIP. 2008-10-07 20:14:10 +01:00
mattijs
69c567167d intel compiler messages 2008-10-07 18:02:50 +01:00
graham
4a6fc137c2 Merge branch 'master' into molecularDynamics 2008-10-07 10:26:03 +01:00
henry
81f08283f4 Added momentum equation relaxation to allow forcing diagonal-dominance. 2008-10-07 10:07:43 +01:00
graham
cb469eed36 Merge branch 'master' into molecularDynamics 2008-09-26 12:00:22 +01:00
andy
8d142532a2 Merge branch 'master' of ssh://hunt/~OpenFOAM/OpenFOAM-dev 2008-09-24 17:05:36 +01:00
andy
aacc33e946 removing spurious link to malloc 2008-09-24 13:43:13 +01:00
graham
57309f93f1 Changing moleculeCloud interaction with potential 2008-09-23 18:15:44 +01:00
Mark Olesen
f73739c79e modified remaining Allwmake scripts to run from anywhere 2008-09-19 14:47:06 +02:00