Пример #1
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys

kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for testConvection.py...")
benchmarking.BuildReferenceData(
    "test_pureconvectionsolver_benchmarking.py",
    "test_pureconvectionsolver_benchmarking_ref.txt")
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for StillWater_Edgebased_halfPorous.py...")
benchmarking.BuildReferenceData("StillWater_Edgebased_halfPorous_script.py",
                                "StillWater_Edgebased_halfPorous_ref.txt")
Пример #3
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for rotatingcone_PureConvection.py...")
benchmarking.BuildReferenceData("rotatingcone_PureConvectionBenchmarking.py",
                                "rotatingcone_PureConvection_ref.txt")
Пример #4
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for Activation_test...")
benchmarking.BuildReferenceData("run_benchmark.py",
                                "Activation_reference_solution.txt")
Пример #5
0
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for Mapping_3d...")
benchmarking.BuildReferenceData("ProjectionTest_3D_script.py", "ProjectionTest_3D_benchmarking_ref.txt")
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for testing the connectivity_preserve_modeler...")
benchmarking.BuildReferenceData("do_test.py", "connectivity_preserve_benchmarking_ref.txt")
Пример #7
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

benchmarking.BuildReferenceData("cantilever2ddynamic_benchmarking.py",
                                "cantilever2ddynamic.txt")
Пример #8
0
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import benchmarking

print("Building reference data for dam2d.py...")
benchmarking.BuildReferenceData("dam2d.py", "dam2d_ref.txt")
Пример #9
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys

kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)

import benchmarking

print("Building reference data for slip condition test...")
benchmarking.BuildReferenceData("slip_test.py", "slip_test_ref.txt")
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for arc_length_des_benchmarking.py...")
benchmarking.BuildReferenceData("arc_length_benchmarking.py", "arc_length_benchmarking.txt")
Пример #11
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for Couette2dNonNewt.py...")
benchmarking.BuildReferenceData("Couette2dNonNewt.py",
                                "Couette2dNonNewt_ref.txt")
Пример #12
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
import os
#Declaring Problem name and path
#Declaring Problem name and path
current_directory = os.getcwd()
problem_path = current_directory
os.chdir("..\\..\\..\\..\\..")
kratos_path = os.getcwd()
os.chdir(current_directory)
#os.chdir(current_directory)

# including kratos path
kratos_benchmarking_path = os.path.join(kratos_path, 'kratos\\benchmarking')
sys.path.append(kratos_benchmarking_path)
sys.path.append(kratos_path)
from KratosMultiphysics import *
import benchmarking

print(
    "Building reference data for SUPGConvDiffPhaseChange3D - rotating pulse test..."
)
benchmarking.BuildReferenceData("rotating_pulse_benchmark.py",
                                "rotating_pulse_benchmark_test_ref.txt")
Пример #13
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for balken.gid...")
benchmarking.BuildReferenceData("balken_benchmarking.py", "balken_ref.txt")
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for scordelis low roof")
benchmarking.BuildReferenceData("run_test.py", "min_displacements.txt")
Пример #15
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print(
    "Building reference data for cylinder test with slip, wall law and outflow close to the cylinder..."
)
benchmarking.BuildReferenceData("run_test.py", "drag_reference.txt")
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for dam2dNonNewt.py...")
benchmarking.BuildReferenceData("dam2dNonNewt.py", "dam2dNonNewt_ref.txt")
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for Shell T3 Thin Bending RollUp")
benchmarking.BuildReferenceData("run_test.py", "benchmark_results.txt")
Пример #18
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print(
    "Building reference data for cantilever2dstatic_superlu__benchmarking.py..."
)
benchmarking.BuildReferenceData("cantilever2dstatic_superlu_benchmarking.py",
                                "cantilever2dstatic_superlu.txt")
Пример #19
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for CoupledNonNewtSlope.py...")
benchmarking.BuildReferenceData("CoupledNonNewtSlope.py",
                                "CoupledNonNewtSlope_ref.txt")
Пример #20
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for mesh.py...")
benchmarking.BuildReferenceData("mesh.py", "mesh_ref.txt")
Пример #21
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for cavity_monolithic_3d...")
benchmarking.BuildReferenceData("script.py", "cavity_monolithic_3d_ref.txt")
Пример #22
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for cil_gls.py...")
benchmarking.BuildReferenceData("cil_gls.py", "cil_gls_ref.txt")
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for tension.py...")
benchmarking.BuildReferenceData("tension.py", "tension_ref.txt")

print("Building reference data for torsion.py...")
benchmarking.BuildReferenceData("torsion.py", "torsion_ref.txt")

print("Building reference data for vertical.py...")
benchmarking.BuildReferenceData("vertical.py", "vertical_ref.txt")

print("Building reference data for force.py...")
benchmarking.BuildReferenceData("force.py", "force_ref.txt")
# print "Building reference data for test_fractstep_discrete_laplacian.py..."
# benchmarking.BuildReferenceData("test_fractstep_discrete_laplacian.py", "fractstep_discrete_laplacian_benchmarking_ref.txt")
Пример #24
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for edgebased_PureConvection.py...")
benchmarking.BuildReferenceData(
    "edgebased_PureConvection.py",
    "test_pureconvectionsolver_benchmarking_ref.txt")
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
import os
#Declaring Problem name and path
#Declaring Problem name and path
current_directory = os.getcwd()
problem_path = current_directory
os.chdir("..\\..\\..\\..\\..")
kratos_path = os.getcwd()
os.chdir(current_directory)
#os.chdir(current_directory)

# including kratos path
kratos_benchmarking_path = os.path.join(kratos_path, 'kratos\\benchmarking')
sys.path.append(kratos_path)
sys.path.append(kratos_benchmarking_path)
from KratosMultiphysics import *
import benchmarking

print("Building reference data for SUPGConvDiffPhaseChange3D - CUBE test...")
benchmarking.BuildReferenceData("cube_benchmark.py",
                                "cube_benchmark_test_ref.txt")
Пример #26
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for remesh.py...")
benchmarking.BuildReferenceData("remesh.py", "adaptive_mesher2d_ref.txt")
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys
kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)
import benchmarking

print("Building reference data for test_fractstep_cont_laplacian.py...")
benchmarking.BuildReferenceData(
    "test_fractstep_cont_laplacian.py",
    "fractstep_cont_laplacian_benchmarking_ref.txt")

print("Building reference data for test_fractstep_discrete_laplacian.py...")
benchmarking.BuildReferenceData(
    "test_fractstep_discrete_laplacian.py",
    "fractstep_discrete_laplacian_benchmarking_ref.txt")
Пример #28
0
from __future__ import print_function, absolute_import, division  #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import sys

kratos_benchmarking_path = '../../../../benchmarking'
sys.path.append(kratos_benchmarking_path)

import benchmarking

print("Building reference data for VMS2D test...")
benchmarking.BuildReferenceData("script_elemtest.py", "vms2d_test_ref.txt")