]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Corrected spherical exploion test
authormichael <michael@localhost.localdomain>
Sun, 11 Oct 2020 20:53:00 +0000 (22:53 +0200)
committermichael <michael@localhost.localdomain>
Sun, 11 Oct 2020 20:53:00 +0000 (22:53 +0200)
CoreFlows/examples/Python/SinglePhase/SinglePhase_2DSphericalExplosion_unstructured.py

index ca6b79c448f6486c069585577facca6ce598f3a7..ff95511668f73fb265b22893ad9f2f637f0ee8db 100755 (executable)
@@ -7,7 +7,7 @@ import CoreFlows as cf
 
 def SinglePhase_2DSphericalExplosion_unstructured():
 
-       inputfile="../resources/BoxWithMeshWithTriangularCells";
+       inputfile="./resources/BoxWithMeshWithTriangularCells";
        fieldName="Initial variables for spherical explosion";
        spaceDim=2
        
@@ -30,7 +30,7 @@ def SinglePhase_2DSphericalExplosion_unstructured():
 
        # set the numerical method
        myProblem.setNumericalScheme(cf.upwind, cf.Explicit);
-       myProblem.setLinearSolver(cf.GMRES,cf.ILU,True);
+       myProblem.setLinearSolver(cf.GMRES,cf.ILU,True);
        myProblem.setEntropicCorrection(False);
        myProblem.setWellBalancedCorrection(False);