Skip to content
Snippets Groups Projects
Commit 7ce9812a authored by Sina Ackermann's avatar Sina Ackermann Committed by Kilian Weishaupt
Browse files

[staggeredGrid][nonisothermal] Fix diffusion_ni input file and Fourier's law

parent e93f8812
No related branches found
No related tags found
2 merge requests!617[WIP] Next,!483Feature/staggered energy
...@@ -97,7 +97,7 @@ public: ...@@ -97,7 +97,7 @@ public:
const auto& insideScv = fvGeometry.scv(scvf.insideScvIdx()); const auto& insideScv = fvGeometry.scv(scvf.insideScvIdx());
const auto& outsideScv = fvGeometry.scv(scvf.outsideScvIdx()); const auto& outsideScv = fvGeometry.scv(scvf.outsideScvIdx());
const auto& insideVolVars = elemVolVars[insideScv]; const auto& insideVolVars = elemVolVars[insideScv];
const auto& outsideVolVars = scvf.boundary() ? insideVolVars : elemVolVars[scvf.outsideScvIdx()]; const auto& outsideVolVars = elemVolVars[scvf.outsideScvIdx()];
// effective conductivity tensors // effective conductivity tensors
auto insideLambda = insideVolVars.thermalConductivity(); auto insideLambda = insideVolVars.thermalConductivity();
......
[TimeManager] [TimeManager]
DtInitial = 5e-3 # [s] DtInitial = 1e-0 # [s]
TEnd = 1e-2 # [s] TEnd = 1.2e6 # [s]
[Grid] [Grid]
UpperRight = 5 1 UpperRight = 5 5
Cells = 50 25 Cells = 15 15
[Problem] [Problem]
Name = test_diffusion_ni # name passed to the output routines Name = test_diffusion_ni # name passed to the output routines
InletVelocity = 5 #1000
InletTemp = 293.15 InletTemp = 293.15
EnableGravity = false EnableGravity = false
......
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