1120
|
|
A first sweep of tidying up the control volume code (not including the coupled cv code, which still needs some work).
Ordering things a bit better has allowed new options for removing mass terms or advection terms (though quite why you'd want to model a purely diffusive equation using cv is beyond me) which brings the cv code into line with other subroutines. Convergence tests have been added for these, which, as they exclude the mass, are nice and fast so allow different face values to be tested (which, shockingly, wasn't done in mms before).
The refactoring should also give a small optimisation to the AdvectionDiffusion equation, as it no longer unecessarily multiplies by a Density. I've also removed the default values from options that have to be specified in the options file. This does however mean that prognostic Density needs a TBETA now so some tests (and long tests in a separate commit) therefore needed updating.
This commit also allows the use of diffusion with equation types other than AdvectionDiffusion, though (BIG WARNING HERE) this has not been tested at all!
Deleting some unused and unmaintained code, options, tools and special tests.
|
cwilson |
14 years ago
|
|
|