Home
last modified time | relevance | path

Searched refs:cs_math_pi (Results 1 – 25 of 28) sorted by relevance

12

/dports/science/code_saturne/code_saturne-7.1.0/src/lagr/
H A Dcs_lagr_orientation.c478 if (theta > cs_math_pi) {
480 phi = fmod(phi + cs_math_pi, 2.0*cs_math_pi) ;
484 phi = fmod(phi + cs_math_pi, 2.0*cs_math_pi) ;
486 else if ( (-2.0*cs_math_pi < theta) & (theta < -cs_math_pi) ){
490 phi = 2*cs_math_pi + phi;
521 if (theta > cs_math_pi) {
522 theta = 2*cs_math_pi - theta ;
523 phi = fmod(phi + cs_math_pi, 2.0*cs_math_pi);
527 phi = fmod(phi + cs_math_pi, 2.0*cs_math_pi);
529 else if ( (-2.0*cs_math_pi < theta) & (theta < -cs_math_pi) ){
[all …]
H A Dcs_lagr_adh.c118 if (*distp < lambda_vdw / 2.0 / cs_math_pi) in _vdwsp()
120 * (1.0 / (1.0 + 14.0 * *distp / lambda_vdw + 5.0 * cs_math_pi / 4.9 * pow (*distp, 3.0) in _vdwsp()
123 *var = cstham * (2.45 / 60.0 / cs_math_pi * lambda_vdw in _vdwsp()
126 - 2.17 / 720.0 / pow (cs_math_pi, 2) * pow (lambda_vdw, 2.0) in _vdwsp()
128 + 0.59 / 5040.0 / pow (cs_math_pi, 3.0) * pow (lambda_vdw, 3.0) in _vdwsp()
197 *var = 2.0 * cs_math_pi * lag_pc->epseau * _free_space_permit in _edlsp()
253 *var = 2.0 * cs_math_pi * lag_pc->epseau * _free_space_permit in _edlss()
298 cs_real_t scovap = denasp * cs_math_pi * pow (rayasp, 2); in cs_lagr_adh()
299 cs_real_t scovag = cs_math_pi * pow (rayasg, 2) / pow (espasg, 2); in cs_lagr_adh()
617 cs_real_t omsurf = lag_pc->cstham / (24.0 * cs_math_pi * pow (_d_cut_off, 2)); in cs_lagr_adh()
[all …]
H A Dcs_lagr_deposition_model.c577 * sqrt(2.0 * cs_math_pi) * 0.5; in _dep_diffusion_phases()
714 argt = cs_math_pi * *yplus / 5.0; in _dep_inner_zone_diffusion()
717 * 0.5 * cs_math_pow2(*kdifcl) * cs_math_pi * sin (argt) in _dep_inner_zone_diffusion()
734 cs_real_t mpart = 4.0 / 3.0 * cs_math_pi * cs_math_pow3(*rpart) * romp; in _dep_inner_zone_diffusion()
887 * sqrt (2.0 * cs_math_pi) * 0.5; in _dep_inner_zone_diffusion()
939 cs_real_t argtn1 = cs_math_pi * yplusa / 5.0; in _dep_inner_zone_diffusion()
942 * cs_math_pi * sin (argtn1) * (1.0 - cos (argtn1)) in _dep_inner_zone_diffusion()
1101 cs_real_t tt = (sqrt(cs_math_pi * rapkvp) * tstruc); in cs_lagr_deposition()
1115 cs_real_t paux = sqrt (cs_math_pi / 2.0) * tstruc * vstruc / (ectype * tdiffu); in cs_lagr_deposition()
H A Dcs_lagr_sde.c1387 drag_force[0] = 3.0 * cs_math_pi * p_diam in _lagesd()
1393 drag_force[id] = 3.0 * cs_math_pi * p_diam in _lagesd()
1540 cst_4 = 6 * cs_math_pi * visccf in _lagesd()
1577 -= cs_math_pow2(cs_math_pi * p_height in _lagesd()
1741 drag_force[0] = 3.0 * cs_math_pi * p_diam in _lagesd()
1747 drag_force[id] = 3.0 * cs_math_pi * p_diam in _lagesd()
1887 cs_math_pi * cs_math_pow2(p_diam) * p_stat_w in _lagesd()
1959 cst_4 = 6 * cs_math_pi * visccf in _lagesd()
2082 cs_math_pi * cs_math_pow2(p_diam) * p_stat_w in _lagesd()
2104 cst_4 = 6 * cs_math_pi * visccf in _lagesd()
[all …]
H A Dcs_lagr_sde_model.c250 / (tpscara * cs_math_pi * diamp2); in _lagtmp()
370 + tpscara * (phirayo * cs_math_pi * diamp2 + phith[0]) in _lagtmp()
527 fwattot = cs_math_pi * prev_p_diam * extra->diftl0 * sherw in _lagsec()
820 cs_real_t srad = cs_math_pi * pow(prev_p_diam, 2.0) * p_eps in _lagitp()
833 cs_real_t srad = cs_math_pi * pow(p_diam, 2.0) * p_eps in _lagitp()
1075 cs_real_t d6spi = 6.0 / cs_math_pi; in _lagich()
1076 cs_real_t dpis6 = cs_math_pi / 6.0; in _lagich()
1295 aux2 = cs_math_pi * (1.0 - lag_cc->xashch[co_id]) * pow(shrink_diam, 2); in _lagich()
H A Dcs_lagr_precipitation_model.c119 cs_real_t pis6 = cs_math_pi / 6.0; in cs_lagr_precipitation_mass_st()
277 cs_real_t pis6 = cs_math_pi / 6.0; in cs_lagr_precipitation_injection()
H A Dcs_lagr_car.c166 cs_real_t d6spi = 6.0 / cs_math_pi; in cs_lagr_car()
262 = fnus * cs_math_pi * p_diam * xrkl * rom; in cs_lagr_car()
H A Dcs_lagr_coupling.c259 volp[iel] += p_stat_w * cs_math_pi * pow(prev_p_diam, 3) / 6.0; in cs_lagr_coupling()
451 cs_real_t aux1 = cs_math_pi * p_diam * p_diam * p_eps in cs_lagr_coupling()
H A Dcs_lagr_resuspension.c265 cs_real_t fpres = (press_out - press_in) * cs_math_pi * pow(p_diam, 2) * 0.25 in cs_lagr_resuspension()
H A Dcs_lagr_injection.c666 const cs_real_t pis6 = cs_math_pi / 6.0; in _init_particles()
822 phi0 = phi0*2.0*cs_math_pi; in _init_particles()
H A Dcs_lagr_tracking.c1114 const double pi = cs_math_pi; in _boundary_treatment()
3301 covered_surface[cell_id] += cs_math_pi * 0.25 in cs_lagr_tracking_particle_movement()
/dports/science/code_saturne/code_saturne-7.1.0/src/atmo/
H A Dcs_atmo.c844 + 3*cs_math_pi/180)/cs_math_pi*180; in _convert_from_l93_to_wgs84()
848 +e*atanh(e*tanh(t3))))/cs_math_pi*180; in _convert_from_l93_to_wgs84()
872 *cs_math_pi/180)+xs); in _convert_from_wgs84_to_l93()
875 *cs_math_pi/180)); in _convert_from_wgs84_to_l93()
1044 cs_real_t corio_f = 4. * cs_math_pi / 86164. in cs_atmo_init_meteo_profiles()
1931 cs_real_t flat = latitude *cs_math_pi/180.; in cs_atmo_compute_solar_angles()
1934 cs_real_t t00 = 2. * cs_math_pi * squant/365.; in cs_atmo_compute_solar_angles()
1956 cs_real_t hr = (local_time - 12.)*cs_math_pi/12.; in cs_atmo_compute_solar_angles()
1958 hr = (local_time + 12.)*cs_math_pi/12.; in cs_atmo_compute_solar_angles()
1973 *omega = 2. * cs_math_pi - acos(co); in cs_atmo_compute_solar_angles()
[all …]
/dports/science/code_saturne/code_saturne-7.1.0/src/base/
H A Dcs_math.c102 const cs_real_t cs_math_pi = 3.14159265358979323846; variable
308 cos_theta_2pi3 = cos(cs_math_1ov3*(acos(r) + 2.*cs_math_pi)); in cs_math_sym_33_eigen()
394 theta = cs_math_1ov3*cs_math_pi; in cs_math_33_eigen()
402 e1 = tr + 2*p*cos(theta + 2*cs_math_pi*cs_math_1ov3); in cs_math_33_eigen()
H A Dcs_fan.c282 fan->volume_expected = cs_math_pi*cs_math_pow2(fan->fan_radius)*fan->thickness; in cs_fan_define()
H A Dcs_math.h89 extern const cs_real_t cs_math_pi;
H A Dcs_ext_neighborhood.c1134 const cs_real_t non_ortho_max = _non_ortho_max * cs_math_pi / 180; in _neighborhood_reduce_anomax()
/dports/science/code_saturne/code_saturne-7.1.0/src/user_examples/
H A Dcs_user_head_losses.c142 cs_real_t alpha = cs_math_pi/4.0; in cs_user_head_losses()
H A Dcs_user_lagr_particle-coal.c186 cs_real_t mass = density * cs_math_pi/6 * (diam*diam*diam); in cs_user_lagr_in()
H A Dcs_user_radiative_transfer.c351 net_flux[ifac] = qincid[ifac] - cs_math_pi * coefap[ifac]; in cs_user_rad_transfer_net_flux()
H A Dcs_user_physical_properties-scalar_drift.c249 * cuning/(3.*cs_math_pi*diamp*viscl); in cs_user_physical_properties()
H A Dcs_user_parameters-cdo-condif.c143 const double pi = cs_math_pi; in _define_bcs()
H A Dcs_user_parameters-base.c1233 cs_real_t angle = 15. /180. * cs_math_pi; in cs_user_parameters()
/dports/science/code_saturne/code_saturne-7.1.0/src/rayt/
H A Dcs_rad_transfer_solve.c394 const cs_real_t onedpi = 1.0 / cs_math_pi; in _cs_rad_transfer_sol()
454 domegat = cs_math_pi; in _cs_rad_transfer_sol()
556 coefap[face_id] *= cs_math_pi / f_snplus->val[face_id]; in _cs_rad_transfer_sol()
557 cofafp[face_id] *= cs_math_pi / f_snplus->val[face_id]; in _cs_rad_transfer_sol()
675 const cs_real_t pi = cs_math_pi; in _cs_rad_transfer_sol()
945 net_flux[ifac] = qincid[ifac] - cs_math_pi * coefap[ifac]; in _compute_net_flux()
1216 cs_real_t onedpi = 1.0 / cs_math_pi; in cs_rad_transfer_solve()
H A Dcs_rad_transfer_bcs.c1229 cs_real_t onedpi = 1.0 / cs_math_pi; in cs_rad_transfer_bc_coeffs()
H A Dcs_rad_transfer_fsck.c1085 z[i] = cos(cs_math_pi * (arth[i] - 0.25) / (n + 0.5)); in cs_rad_transfer_fsck()

12