KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Classes | |
class | ProblemParameters |
class | HinsbergPointsSetGivenNorm |
Functions | |
def | CalculateErrors (points_set, pp, samples=10) |
def | CalculateError (t_w) |
def | CalculateApproxTailContribution (points_set, m_index, lower_limit) |
def | ExactErrorTail (points_set, m_index, lower_limit) |
def | K (points_set, m_index, t, pp) |
def | PerformQuadratureOfObjectiveFunctionSecondTerm (points_set, m_index, a, b) |
def | ObjectiveFunction (points_set, m_index, pp) |
def | sign (x) |
def | samesign (a, b) |
def | bisect (func, low, high) |
def | regula_falsi (func, a, b, max_steps=100, tolerance=1e-8) |
def | CalculateTws (m, max_t_w, points_set, ref_error, n_samples=40) |
Variables | |
pp = ProblemParameters() | |
end_time | |
initial_time | |
list | ref_errors = [1e-1, 1e-2, 1e-3] |
list | max_t_w_t_norms = [] |
list | max_t_w_t_norm = [10 ** 3] * 11 |
list | max_t_w_abs_norm = [10 ** 3] * 11 |
list | max_t_w_hinsberg = [10 ** 3] |
t_norm_set = HinsbergPointsSetGivenNorm('t_norm') | |
abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm') | |
hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm') | |
figsize | |
list | tw_max = max_t_w_abs_norm[0] |
color | |
ms | |
linewidth | |
label | |
mew | |
fontsize | |
string | percentage = '%g' % (100 * ref_error) |
ax = plt.gca() | |
axis | |
pad | |
labelsize | |
figure = plt.gcf() | |
string | base_t_w = '%.2f' % tw_max |
string | file_name = 'non_dimensional_tw_for_x_percent_error.pdf' |
lgnd = plt.legend(loc = 'center left', prop={'size':22},frameon=False, bbox_to_anchor=(1.1, 0.5, 0.5, 0.5)) | |
format | |
dpi | |
def t_win_vs_m_fixed_error.bisect | ( | func, | |
low, | |||
high | |||
) |
def t_win_vs_m_fixed_error.CalculateApproxTailContribution | ( | points_set, | |
m_index, | |||
lower_limit | |||
) |
def t_win_vs_m_fixed_error.CalculateError | ( | t_w | ) |
def t_win_vs_m_fixed_error.CalculateErrors | ( | points_set, | |
pp, | |||
samples = 10 |
|||
) |
def t_win_vs_m_fixed_error.CalculateTws | ( | m, | |
max_t_w, | |||
points_set, | |||
ref_error, | |||
n_samples = 40 |
|||
) |
def t_win_vs_m_fixed_error.ExactErrorTail | ( | points_set, | |
m_index, | |||
lower_limit | |||
) |
def t_win_vs_m_fixed_error.K | ( | points_set, | |
m_index, | |||
t, | |||
pp | |||
) |
def t_win_vs_m_fixed_error.ObjectiveFunction | ( | points_set, | |
m_index, | |||
pp | |||
) |
def t_win_vs_m_fixed_error.PerformQuadratureOfObjectiveFunctionSecondTerm | ( | points_set, | |
m_index, | |||
a, | |||
b | |||
) |
def t_win_vs_m_fixed_error.regula_falsi | ( | func, | |
a, | |||
b, | |||
max_steps = 100 , |
|||
tolerance = 1e-8 |
|||
) |
def t_win_vs_m_fixed_error.samesign | ( | a, | |
b | |||
) |
def t_win_vs_m_fixed_error.sign | ( | x | ) |
t_win_vs_m_fixed_error.abs_norm_set = HinsbergPointsSetGivenNorm('abs_norm') |
t_win_vs_m_fixed_error.ax = plt.gca() |
t_win_vs_m_fixed_error.axis |
string t_win_vs_m_fixed_error.base_t_w = '%.2f' % tw_max |
t_win_vs_m_fixed_error.color |
t_win_vs_m_fixed_error.dpi |
t_win_vs_m_fixed_error.end_time |
t_win_vs_m_fixed_error.figsize |
t_win_vs_m_fixed_error.figure = plt.gcf() |
t_win_vs_m_fixed_error.file_name = 'non_dimensional_tw_for_x_percent_error.pdf' |
t_win_vs_m_fixed_error.fontsize |
t_win_vs_m_fixed_error.format |
t_win_vs_m_fixed_error.hinsberg_set = HinsbergPointsSetGivenNorm('hinsberg_norm') |
t_win_vs_m_fixed_error.initial_time |
t_win_vs_m_fixed_error.label |
t_win_vs_m_fixed_error.labelsize |
t_win_vs_m_fixed_error.lgnd = plt.legend(loc = 'center left', prop={'size':22},frameon=False, bbox_to_anchor=(1.1, 0.5, 0.5, 0.5)) |
t_win_vs_m_fixed_error.linewidth |
list t_win_vs_m_fixed_error.max_t_w_abs_norm = [10 ** 3] * 11 |
list t_win_vs_m_fixed_error.max_t_w_hinsberg = [10 ** 3] |
list t_win_vs_m_fixed_error.max_t_w_t_norm = [10 ** 3] * 11 |
list t_win_vs_m_fixed_error.max_t_w_t_norms = [] |
t_win_vs_m_fixed_error.mew |
t_win_vs_m_fixed_error.ms |
t_win_vs_m_fixed_error.pad |
string t_win_vs_m_fixed_error.percentage = '%g' % (100 * ref_error) |
t_win_vs_m_fixed_error.pp = ProblemParameters() |
list t_win_vs_m_fixed_error.ref_errors = [1e-1, 1e-2, 1e-3] |
t_win_vs_m_fixed_error.t_norm_set = HinsbergPointsSetGivenNorm('t_norm') |
list t_win_vs_m_fixed_error.tw_max = max_t_w_abs_norm[0] |