Skip to content
Snippets Groups Projects
Commit 7d74dd25 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

update cylindereddies.lua

parent 304facce
Branches
Tags
No related merge requests found
...@@ -25,10 +25,6 @@ xyz = functionCoordinates.get() ...@@ -25,10 +25,6 @@ xyz = functionCoordinates.get()
FS = functionLua(4, 'free_stream', {xyz}) FS = functionLua(4, 'free_stream', {xyz})
-- diffusivity -- diffusivity
mu=fullMatrix(1,1);
mu:set(0,0,0.025)
kappa=fullMatrix(1,1);
kappa:set(0,0,0.01)
print'*** Loading the mesh and the model ***' print'*** Loading the mesh and the model ***'
myModel = GModel () myModel = GModel ()
...@@ -40,7 +36,7 @@ DG = dgSystemOfEquations (myModel) ...@@ -40,7 +36,7 @@ DG = dgSystemOfEquations (myModel)
DG:setOrder(order) DG:setOrder(order)
law=dgPerfectGasLaw2d() law=dgPerfectGasLaw2d()
law:setViscosityAndThermalConductivity(functionConstant(mu):getName(),functionConstant(kappa):getName()); law:setViscosityAndThermalConductivity(functionConstant({0.025}),functionConstant({0.01}));
DG:setConservationLaw(law) DG:setConservationLaw(law)
law:addBoundaryCondition('Cylinder',law:newNonSlipWallBoundary()) law:addBoundaryCondition('Cylinder',law:newNonSlipWallBoundary())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment