arnica.phys package¶
Physical utilities¶
These physical tools are helpers around CFD-related problems.
- solid_material is a class to store solid properties for CHT problems.
- thermodyn_properties is a set of tools for propertiesand correlations used in CHT problems
- wall_thermal_equilibrium compute the thermal equilibrium for a 2-layer wall (Metal/ceramic)
- yk_from_phi compute the mass fraction set according to equivalence ratio.
Submodules¶
arnica.phys.solid_material module¶
module to define a solid material for thermal computations
-
class
arnica.phys.solid_material.SolidMaterial(lambda_poly, lambda_range)¶ Bases:
objectdefine properties of a solid material object
-
lambda_th(temperature)¶ return the lambda of ceramics material [W/mK]
-
thermal_resistance(width, t_est)¶ return the thermal resistance [m2.K/W] width : width of the layer t_est : estimated temperature of the layer
-
arnica.phys.thermodyn_properties module¶
Module for computing thermodynamic properties
-
arnica.phys.thermodyn_properties.thermal_constants()¶ Generate a dictionnary of thermal constants
- Returns:
- TYPE: Description
-
arnica.phys.thermodyn_properties.h_kader(t_wall, rho_wall, y_wall, u_2, t_2, temp_adiab)¶ - compute h at the wall as in kader
- names taken equalt to loglaw_cwm.f90 AVBP
- Args:
- t_wall (TYPE): Description rho_wall (TYPE): Description y_wall (TYPE): Description u_2 (TYPE): Description t_2 (TYPE): Description temp_adiab (TYPE): Description
- Returns:
- TYPE: Description
-
arnica.phys.thermodyn_properties.lambda_cp_visco_fluid(temperature)¶ compute Fluid properties lambda , cp, visco
- Args:
- temperature (TYPE): Description
- Returns:
- TYPE: Description
-
arnica.phys.thermodyn_properties.viscosity_sutherland(temp)¶ compute visocity as in sutherland
- Args:
- temp (TYPE): Description
- Returns:
- TYPE: Description
-
arnica.phys.thermodyn_properties.fluid_cp(temp, clipping=False)¶ compute cp of fluid
- Args:
- temp (TYPE): Description clipping (bool, optional): Description
- Returns:
- TYPE: Description
arnica.phys.wall_thermal_equilibrium module¶
module to compute wall equilibrium
-
arnica.phys.wall_thermal_equilibrium.compute_equilibrium(hot_t_ad, cold_t_ad, hot_h, cold_h, metal, ceram, ep_metal, ep_ceram)¶ - - - - - - - > HOT SIDE hot_h, hot_t_ad ^ phi _|___________________ t_ceram_hot | Layer 2 _|___________________ t_eq | Layer 1 _|___________________ t_metal_hot | COLD SIDE cold_h, cold_t_ad - - - - >
arnica.phys.yk_from_phi module¶
This script calculate mass_fraction of species from a Phi
-
arnica.phys.yk_from_phi.yk_from_phi(phi, c_x, h_y)¶ Return the mass fraction of elements from a fuel aspect ratio and stoechio element coeff.
Parameters: - phi (float) – the air-fuel aspect ratio
- c_x (float) – stoechio coeff of Carbone
- h_y (float) – stoechio coeff of hydrogene
-
arnica.phys.yk_from_phi.phi_from_far(far, c_x, h_y)¶ Return phi coefficient with the fuel air ratior coeff + fuel composition.
Parameters: - far (float) – the air-fuel ratio
- c_x (float) – stoechio coeff of Carbone
- h_y (float) – stoechio coeff of hydrogene