- Feb 04, 2010
-
-
Jonathan Lambrechts authored
-
- Feb 02, 2010
-
-
Jonathan Lambrechts authored
-
Jonathan Lambrechts authored
-
Abelin Kameni authored
-
- Jan 29, 2010
-
-
Bruno Seny authored
-
Bruno Seny authored
Point(2) = {0, -0.5, 0, .03}; Point(3) = {0, 0.5, 0, .03}; Point(4) = {-0.5, 0.5, 0, .03}; Point(5) = {0.5, -0.5, 0, .03}; Point(6) = {0.5, 0.5, 0, .03}; Line(1) = {4, 3}; Line(2) = {3, 2}; Line(3) = {2, 1}; Line(4) = {1, 4}; Line(7) = {3, 6}; Line(8) = {6, 5}; Line(9) = {5, 2}; Line Loop(5) = {2, 3, 4, 1}; Line Loop(6) = {8, 9, -2, 7}; Plane Surface(7) = {5}; Plane Surface(8) = {6}; Transfinite Line {4,8} = 20 ; Transfinite Line{2}=20; Transfinite Surface {7}; Recombine Surface {7}; Transfinite Line {3,1,7,9} = 10; Transfinite Surface{8}; Physical Line("Border") = {1, 3, 4, 7, 8, 9}; Physical Surface("Inside1") = {7}; Physical Surface("Inside2") = {8};
-
- Jan 20, 2010
-
-
Jean-François Remacle authored
-
- Jan 18, 2010
-
-
Jonathan Lambrechts authored
-
Jonathan Lambrechts authored
-
Jonathan Lambrechts authored
-
Jonathan Lambrechts authored
-
Jonathan Lambrechts authored
-
- Jan 15, 2010
-
-
Jonathan Lambrechts authored
-
- Jan 13, 2010
-
-
Jonathan Lambrechts authored
-
Jonathan Lambrechts authored
-
- Jan 12, 2010
-
-
Jonathan Lambrechts authored
-
Jonathan Lambrechts authored
-
- Jan 09, 2010
-
-
Jean-François Remacle authored
-This line, and those below, will be ignored-- M Common/LuaBindings.cpp M Geo/MVertex.cpp M Geo/GVertex.h M Geo/MVertex.h M Solver/dgAlgorithm.cpp M Solver/TESTCASES/ForwardFacingStep.lua M Solver/dgSlopeLimiter.cpp M Solver/dgSystemOfEquations.cpp M Solver/dgConservationLawPerfectGas.cpp
-
- Jan 08, 2010
-
-
Christophe Geuzaine authored
-
Jonathan Lambrechts authored
-
Emilie Marchandise authored
No commit message
-
- Jan 07, 2010
-
-
Jean-François Remacle authored
-
Bruno Seny authored
GAMMA = 1.4; U = 3.0 V = 0.0 RHO = 1.4; PRES = RHO*U*U/(GAMMA*MACH*MACH) --PRES = 1; --PRES = ./(MACH*RHO*RHO*GAMMA*GAMMA) SOUND = math.sqrt(U*U+V*V)/MACH --[[ Function for initial conditions --]] function free_stream( XYZ, FCT ) for i=0,XYZ:size1()-1 do FCT:set(i,0,RHO) FCT:set(i,1,RHO*U) FCT:set(i,2,RHO*V) FCT:set(i,3, 0.5*RHO*(U*U+V*V)+PRES/(RHO*GAMMA-1)) end end --[[ Example of a lua program driving the DG code --]] order = 1 print'*** Loading the mesh and the model ***' myModel = GModel () myModel:load ('step.geo') myModel:load ('step.msh') print'*** Create a dg solver ***' DG = dgSystemOfEquations (myModel) DG:setOrder(order) FS = functionLua(4, 'free_stream', {'XYZ'}):getName() law=dgPerfectGasLaw2d() DG:setConservationLaw(law) law:addBoundaryCondition('Walls',law:newWallBoundary()) law:addBoundaryCondition('LeftRight',law:newOutsideValueBoundary(FS)) DG:setup() print'*** setting the initial solution ***' DG:L2Projection(FS) DG:limitSolution() print'*** export ***' DG:exportSolution('output/solution_0') print'*** solve ***' CFL = 2.0; for i=1,1000 do dt = CFL * DG:computeInvSpectralRadius(); norm = DG:RK44_limiter(0.1*dt) print('*** ITER ***',i,dt, norm) if (i % 1 == 0) then DG:exportSolution(string.format("output/solution-%06d", i)) end end print'*** done ***'
-
Emilie Marchandise authored
No commit message
-
Emilie Marchandise authored
No commit message
-
- Jan 06, 2010
-
-
Jean-François Remacle authored
Added Navier Stokes & 2 test cases in DG Added binary restart capabilities in DG Added mesh renumbering option (-renumber)@
-
- Jan 04, 2010
-
-
Emilie Marchandise authored
No commit message
-
Emilie Marchandise authored
No commit message
-
- Dec 25, 2009
-
-
Emilie Marchandise authored
No commit message
-
- Dec 22, 2009
-
-
Jonathan Lambrechts authored
though. doc interface is present but no doc is generated
-
Emilie Marchandise authored
No commit message
-
Jean-François Remacle authored
No commit message
-
Bruno Seny authored
-
Jean-François Remacle authored
spectral radius computed quads work
-
Bruno Seny authored
-
- Dec 21, 2009
-
-
Emilie Marchandise authored
No commit message
-
- Dec 18, 2009
-
-
Bruno Seny authored
-
- Dec 17, 2009
-
-
Jonathan Lambrechts authored
-
- Dec 16, 2009
-
-
Emilie Marchandise authored
No commit message
-
- Dec 15, 2009
-
-
Jonathan Lambrechts authored
-