Commit Graph

30 Commits

Author SHA1 Message Date
Andreas Lauser
94bc342f6f fluid systems: add isIdealGas(phaseIdx) methods
this is primary to allow models to check whether their assumptions are
valid for the given fluidsystem

also add the H2O-Air fluid system to the fluid systems test. this
caught a few issues!
2012-07-12 21:24:40 +02:00
Philipp Nuske
ca400de662 - added formulation for p,T dependence of thermal conductivity according to IAPWS - can be used tabulated or directly - nitrogen is still a constant value (with proper reference though) - thermal conductivity of the mixture is obtained by mass fraction weighting in case of the gas, liquid uses thermal conductivity of water 2012-07-12 21:24:39 +02:00
Andreas Lauser
1c4b109b66 tabulated component: disable range check
for the "intelligent" the tabulation, alphas can be well out of range
[0, 1]
2012-07-12 21:24:34 +02:00
Andreas Lauser
98f29b47e3 tabulated component: add template parameter to let the user chose between "dumb" and "intelligent" tabulation
the ifp problem seems to have some issues with tabulation along the
vapor pressure curve. I'll have to investigate this further...
2012-07-12 21:24:34 +02:00
Andreas Lauser
2c19f53e1b tabulated component: make it use some brains again
it seems that the issue which triggered to make the tabulation "dumb"
was not related to the tabulation. I guess that it had something to do
with the fact that I used -ffast-math without -fno-finite-math-only...
2012-07-12 21:24:34 +02:00
Bernd Flemisch
c938c99ef6 add missing includes 2012-07-12 21:24:33 +02:00
Andreas Lauser
375bc24242 tabulated component: be less intelligent
we used to tabulate along the vapor pressure curve. it turns out that
if a phase is not present, the component might get queried for
unphysical values, which lead to breakdowns. now we just sample the
specified pressure range uniformly...
2012-07-12 21:24:29 +02:00
Andreas Lauser
7fa134c3b7 tabulated component: also catch Dune::NotImplemented when creating the tables 2012-07-12 21:24:27 +02:00
Andreas Lauser
f65b45868b fix the fluid systems test.
{gas|liquid}HeatCapacity was not defined for the tabulated component
2012-07-12 21:24:27 +02:00
Andreas Lauser
532fefc8a2 insert emacs and vi modelines to make indentation more consistent 2012-07-12 21:24:25 +02:00
Andreas Lauser
1e58e039e6 isIncompressible() -> isCompressible() 2012-07-12 21:24:25 +02:00
Andreas Lauser
9d476df2bc fluid systems/components: introduce isIncompressible(phaseIdx)
it returns -- guess what? -- whether a fluid phase is assumed to be
incompressible. this method is useful e.g. for flash calculations.
2012-07-12 21:24:24 +02:00
Andreas Lauser
fd51c6f908 fix tabulated component 2012-07-12 21:24:14 +02:00
Andreas Lauser
5df76a8911 tabulated component: remove unnecessary header boost/fp_classify.hpp
wasn't needed and resulted in compilation errors for old boost versions
2012-07-12 21:24:14 +02:00
Andreas Lauser
ecbe8f6bef remove all SVN $Id$ tags as decided on last week's dumux meeting 2012-07-12 21:23:23 +02:00
Andreas Lauser
93f8bef3d8 remove trailing white space. really. 2012-07-12 21:23:04 +02:00
Andreas Lauser
c1682f93ce Revert "remove trailing white space"
due to an incorrect regular expression, this removed trailing "+"
signs instead of white space.
2012-07-12 21:23:04 +02:00
Andreas Lauser
f1944cae28 remove trailing white space 2012-07-12 21:23:03 +02:00
Andreas Lauser
4289396738 change copyright notices to the one suggested by the FSF 2012-07-12 21:22:59 +02:00
Andreas Lauser
bb9699679f more fixes tabulated components
now the pressure(temperature, density) methods should work. hopefully
2012-07-12 21:22:57 +02:00
Andreas Lauser
05eee24a80 fix tabulated component, add test 2012-07-12 21:22:57 +02:00
Felix Bode
2e256d6035 tex-code in documentation 2012-07-12 21:22:55 +02:00
Andreas Lauser
874e5867e1 tabulated component: print the warnings only once
(also only print something if not compiled with NDEBUG)
2012-07-12 21:22:42 +02:00
Katherina Baber
dffeec2461 finished doxygen documentation 2012-07-12 21:22:41 +02:00
Katherina Baber
3c2c71a73c doxygen documentation for components folder 2012-07-12 21:22:38 +02:00
Andreas Lauser
8080f38c5b various cleanups
- make all headers in dumux/common and dumux/boxmodels/common self sustained,
  i.e. that they can be included without any preconditions
- remove most irrelevant includes in the common code
- bring the 1p and 1p2c box model up to stable standard (accessor functions in
  the volume and flux variable classes, make the 1p2c model work for
  compressible fluids, various fixes the 1p2c test problem)
- change the isfluid-trail fluid system to standard SI units
- play around with timestep control if timestep ramp-up is enabled
  (problem is still not solved, though)
- split the *properties.hh headers into the declaration of the properties and
  definition of defaults for the common part of the box models as well as for
  the 1p and 1p2c models
- put the indices structure for the 1p and 1p2c models into separate files
- introduce a base class for volume variables of the box models
2012-07-12 21:22:35 +02:00
Andreas Lauser
ed13754ff8 change names according to the meeting on monday 2012-07-12 21:22:28 +02:00
Andreas Lauser
63ebb939bf big cleanup
timemanager API, restart, boxmodel are affected
2012-07-12 21:22:27 +02:00
Andreas Lauser
c07de5d462 sync with splitting point 2012-07-12 21:21:06 +02:00
Bernd Flemisch
a8bb762684 continued restructuring. 2012-07-11 23:29:58 +02:00