Skip to content

Commit 62a5509

Browse files
committed
remove the nu from the 1d second order model
1 parent cfb77c7 commit 62a5509

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/1DModel/Ord2/1dmodelord2.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
struct BloodFlowEquations1DOrd2{T <:Real,E} <: Trixi.AbstractEquationsParabolic{1, 4, GradientVariablesConservative}
2-
nu ::T
32
model1d ::E
43
end
54
Trixi.varnames(mapin,eq::BloodFlowTrixi.BloodFlowEquations1DOrd2) = Trixi.varnames(mapin,eq.model1d)
@@ -8,7 +7,7 @@ function Trixi.flux(u,gradients,orientation::Int,eq_parab ::BloodFlowEquations1D
87
dudx = gradients
98
a,Q,_,A0 = u
109
A = a+A0
11-
val = 3*eq_parab.nu * (-(dudx[1] + dudx[4])*Q/A + dudx[2])
10+
val = 3*eq_parab.model1d.nu * (-(dudx[1] + dudx[4])*Q/A + dudx[2])
1211
return SVector(0.0,val,0,0)
1312
end
1413

src/2DModel/Test_Cases/pressure_in.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function initial_condition_simple(x, t, eq::BloodFlowEquations2D; R0=2.0)
1717
A0 = T(R0^2 / 2)
1818
QRθ = T(0.0)
1919
Qs = T(0.0)
20-
E = T(1e7)
20+
E = T(1e7)
2121
return SVector(zero(T), QRθ, Qs, E, A0)
2222
end
2323

0 commit comments

Comments
 (0)