Skip to content
Snippets Groups Projects
Commit a88d6c99 authored by Melanie Lipp's avatar Melanie Lipp Committed by Timo Koch
Browse files

[freeflow][test][sincos] Remove unused determination of cell sizes.

parent c91e1a0b
No related branches found
No related tags found
1 merge request!1480Freeflow/test sincos
...@@ -110,19 +110,6 @@ public: ...@@ -110,19 +110,6 @@ public:
isStationary_ = getParam<bool>("Problem.IsStationary"); isStationary_ = getParam<bool>("Problem.IsStationary");
enableInertiaTerms_ = getParam<bool>("Problem.EnableInertiaTerms"); enableInertiaTerms_ = getParam<bool>("Problem.EnableInertiaTerms");
kinematicViscosity_ = getParam<Scalar>("Component.LiquidKinematicViscosity", 1.0); kinematicViscosity_ = getParam<Scalar>("Component.LiquidKinematicViscosity", 1.0);
using CellArray = std::array<unsigned int, dimWorld>;
auto numCells = getParam<CellArray>("Grid.Cells");
const unsigned int refinement = getParam<unsigned int>("Grid.Refinement", 0);
for(unsigned int i = 0; i < refinement; i++)
{
numCells[0] *= 2;
numCells[1] *= 2;
}
cellSizeX_ = (this->fvGridGeometry().bBoxMax()[0] - this->fvGridGeometry().bBoxMin()[0]) / numCells[0];
cellSizeY_ = (this->fvGridGeometry().bBoxMax()[1] - this->fvGridGeometry().bBoxMin()[1]) / numCells[1];
} }
/*! /*!
...@@ -299,9 +286,6 @@ public: ...@@ -299,9 +286,6 @@ public:
private: private:
static constexpr Scalar eps_ = 1e-6; static constexpr Scalar eps_ = 1e-6;
Scalar cellSizeX_;
Scalar cellSizeY_;
Scalar kinematicViscosity_; Scalar kinematicViscosity_;
bool enableInertiaTerms_; bool enableInertiaTerms_;
Scalar time_; Scalar time_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment