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
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
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