Arne Morten Kvarving
e3bd1e6723
add static method to return a test object for serialization
...
this allows killing the constructors taking member values
2020-03-23 10:58:15 +01:00
Arne Morten Kvarving
3362831db4
remove accessor in FoamConfig added for external serialization
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
044b82459f
add serialization template to FoamConfig
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
d569225cc8
add serialization template to FoamData
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
c8ff9503a2
fixed: update FoamConfig defaults
...
Foam cases should run without FOAMOPTS available. That means
we need to default the mobility model to a valid value.
This also adds enum value 'FUNC' and handles setting the default model
if only transport phase is unspecified.
2020-03-05 09:13:03 +01:00
Arne Morten Kvarving
26bd5fd4a0
changed: don't enforce foam model limits in parser
2020-03-04 10:53:20 +01:00
Arne Morten Kvarving
d13b9a0a15
allow constructing FoamConfig from tables
...
also add accessors and equality operator
2019-12-17 12:46:27 +01:00
Arne Morten Kvarving
b56cef3103
allow constructing FoamData from doubles
...
also add accessors and equality operator
2019-12-17 11:04:12 +01:00
Atgeirr Flø Rasmussen
c3dcedc392
Allow FOAM without FOAMFSC
...
This is necessary to support the table-based gas mobility reduction model.
In order to extend support to the function-based model the FOAMFSC-related
things have been kept.
2019-07-04 12:57:43 +02:00
Atgeirr Flø Rasmussen
522db6d093
Address issues from review.
2019-07-02 16:58:04 +02:00
Atgeirr Flø Rasmussen
33783b1e9f
Add FOAMROCK including FoamConfig support and test.
2019-07-02 13:55:42 +02:00
Atgeirr Flø Rasmussen
17a2e5d334
Address review comments.
...
- Use a raw literal.
- Use 'index', not 'id'.
- Use FoamConfig(const Deck&) constructor.
2019-07-02 10:43:13 +02:00
Atgeirr Flø Rasmussen
7245598952
Include cstddef for std::size_t.
2019-07-01 15:29:21 +02:00
Atgeirr Flø Rasmussen
34d1918a2d
Add copyright notice to new files.
2019-07-01 10:49:33 +02:00
Atgeirr Flø Rasmussen
39f8eb18c7
Change class name Foam -> FoamConfig.
2019-07-01 10:47:48 +02:00
Franz G. Fuchs
4baff64d63
implemented faom config
2019-06-28 12:37:04 +02:00
Franz G. Fuchs
a68db0a857
update
2019-06-28 09:44:33 +02:00
Franz G. Fuchs
563c6317d4
udpate
2019-06-28 09:43:20 +02:00