Commit ae63ee4e authored by Timo Koch's avatar Timo Koch
Browse files

[fuelcell] Use standard grid creator

parent 141d735d
......@@ -4,12 +4,8 @@ MaxTimeStepSize = 20
TEnd = 20 #equilibrium time
[Grid]
NumberOfCellsX = 35
NumberOfCellsY = 140
LowerLeftX = 0.0
LowerLeftY = 0.0
UpperRightX = 5.0e-4
UpperRightY = 2.0e-3
Cells = 35 140
UpperRight = 5.0e-4 2.0e-3
[Problem]
Name = fuelcell
......@@ -20,7 +16,7 @@ PressureHigh = 3e7 # [Pa] upper pressure limit for tabularization
TemperatureLow = 300.15 # 330.15 # [Pa] lower temperature limit for tabularization
TemperatureHigh = 400.15 # 360.15 # [Pa] upper temperature limit for tabularization
InitialTemperature = 343.15 #[K]
ReactionLayerWidth = 0.00005 #[m]
ReactionLayerWidth = 5e-5 #[m]
[Vtk]
AddVelocity = true
......
......@@ -28,7 +28,6 @@
#include <dumux/porousmediumflow/2pnc/implicit/model.hh>
#include <dumux/material/fluidsystems/h2on2o2.hh>
#include <dumux/material/constants.hh>
#include <dumux/io/cubegridcreator.hh>
#if !ISOTHERMAL
#include <dumux/material/chemistry/electrochemistry/electrochemistryni.hh>
......@@ -56,9 +55,6 @@ NEW_TYPE_TAG(FuelCellLectureProblem, INHERITS_FROM(BoxTwoPNCNI, FuelCellLectureS
// Set the grid type
SET_TYPE_PROP(FuelCellLectureProblem, Grid, Dune::YaspGrid<2>);
// Set the grid creator
SET_TYPE_PROP(FuelCellLectureProblem, GridCreator, Dumux::CubeGridCreator<TypeTag>);
// Set the problem property
SET_TYPE_PROP(FuelCellLectureProblem, Problem, Dumux::FuelCellLectureProblem<TypeTag>);
......@@ -174,12 +170,6 @@ public:
pgInlet2_ = GET_RUNTIME_PARAM(TypeTag, Scalar, OperationalConditions.GasPressureInlet2);
swInlet_ = GET_RUNTIME_PARAM(TypeTag, Scalar, OperationalConditions.LiquidWaterSaturationInlet);
bBoxMin_[0] = GET_RUNTIME_PARAM(TypeTag, Scalar, Grid.LowerLeftX);
bBoxMin_[1] = GET_RUNTIME_PARAM(TypeTag, Scalar, Grid.LowerLeftY);
bBoxMax_[0] = GET_RUNTIME_PARAM(TypeTag, Scalar, Grid.UpperRightX);
bBoxMax_[1] = GET_RUNTIME_PARAM(TypeTag, Scalar, Grid.UpperRightY);
eps_ = 1e-6;
// initialize the tables of the fluid system
......@@ -374,13 +364,6 @@ public:
return Indices::bothPhases;
}
// \}
const GlobalPosition& bBoxMax()
{
return bBoxMax_;
}
/*!
* \brief Returns true if a VTK output file should be written.
*/
......@@ -492,9 +475,6 @@ private:
Scalar pressureLow_, pressureHigh_;
Scalar temperatureLow_, temperatureHigh_;
GlobalPosition bBoxMin_;
GlobalPosition bBoxMax_;
Scalar pO2Inlet_;
Scalar pgInlet1_;
Scalar pgInlet2_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment