My Project
programmer's documentation
Functions | Variables
cs_elec_model.c File Reference

Base electrical model data. More...

#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_file.h"
#include "cs_log.h"
#include "cs_parall.h"
#include "cs_math.h"
#include "cs_mesh_quantities.h"
#include "cs_mesh_location.h"
#include "cs_time_step.h"
#include "cs_parameters.h"
#include "cs_field_pointer.h"
#include "cs_gradient.h"
#include "cs_field_operator.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_thermal_model.h"
#include "cs_turbulence_model.h"
#include "cs_gui_specific_physics.h"
#include "cs_gui_util.h"
#include "cs_post.h"
#include "cs_prototypes.h"
#include "cs_elec_model.h"
Include dependency graph for cs_elec_model.c:

Functions

void CS_PROCF (elini1, ELINI1)
 
void CS_PROCF (elflux, ELFLUX)
 
void CS_PROCF (elthht, ELTHHT)
 
void CS_PROCF (ellecd, ELLECD)
 
void CS_PROCF (elphyv, ELPHYV)
 
void CS_PROCF (eltssc, ELTSSC) const
 
void CS_PROCF (eltsvv, ELTSVV) const
 
void CS_PROCF (eliniv, ELINIV)
 
void CS_PROCF (elreca, ELRECA)
 
cs_elec_option_tcs_get_glob_elec_option (void)
 
cs_data_joule_effect_tcs_get_glob_transformer (void)
 
void cs_electrical_model_initialize (void)
 
void cs_electrical_model_finalize (void)
 
void cs_electrical_model_specific_initialization (cs_real_t *visls0, cs_real_t *diftl0)
 
void cs_electrical_properties_read (void)
 
void cs_elec_convert_h_t (int mode, cs_real_t *ym, cs_real_t *enthal, cs_real_t *temp)
 
void cs_elec_physical_properties (const cs_domain_t *domain)
 
void cs_elec_compute_fields (const cs_mesh_t *mesh, int call_id)
 
void cs_elec_source_terms (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities, int f_id, cs_real_t *smbrs)
 
void cs_elec_source_terms_v (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities, int f_id, cs_real_3_t *smbrv)
 
void cs_elec_add_variable_fields (void)
 
void cs_elec_add_property_fields (void)
 
void cs_elec_fields_initialize (const cs_mesh_t *mesh, int isuite)
 
void cs_elec_scaling_function (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities, cs_real_t *dt)
 

Variables

const cs_real_t cs_elec_permvi = 1.2566e-6
 
const cs_real_t cs_elec_epszer = 8.854e-12
 

Detailed Description

Base electrical model data.

Please refer to the electric arcs section of the theory guide for more informations.

Function Documentation

◆ cs_elec_add_property_fields()

void cs_elec_add_property_fields ( void  )

◆ cs_elec_add_variable_fields()

void cs_elec_add_variable_fields ( void  )

◆ cs_elec_compute_fields()

void cs_elec_compute_fields ( const cs_mesh_t mesh,
int  call_id 
)

◆ cs_elec_convert_h_t()

void cs_elec_convert_h_t ( int  mode,
cs_real_t ym,
cs_real_t enthal,
cs_real_t temp 
)

◆ cs_elec_fields_initialize()

void cs_elec_fields_initialize ( const cs_mesh_t mesh,
int  isuite 
)

◆ cs_elec_physical_properties()

void cs_elec_physical_properties ( const cs_domain_t domain)

◆ cs_elec_scaling_function()

void cs_elec_scaling_function ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities,
cs_real_t dt 
)

◆ cs_elec_source_terms()

void cs_elec_source_terms ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities,
int  f_id,
cs_real_t smbrs 
)

◆ cs_elec_source_terms_v()

void cs_elec_source_terms_v ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities,
int  f_id,
cs_real_3_t smbrv 
)

◆ cs_electrical_model_finalize()

void cs_electrical_model_finalize ( void  )

◆ cs_electrical_model_initialize()

void cs_electrical_model_initialize ( void  )

◆ cs_electrical_model_specific_initialization()

void cs_electrical_model_specific_initialization ( cs_real_t visls0,
cs_real_t diftl0 
)

◆ cs_electrical_properties_read()

void cs_electrical_properties_read ( void  )

◆ cs_get_glob_elec_option()

cs_elec_option_t* cs_get_glob_elec_option ( void  )

◆ cs_get_glob_transformer()

cs_data_joule_effect_t* cs_get_glob_transformer ( void  )

◆ CS_PROCF() [1/9]

void CS_PROCF ( elflux  ,
ELFLUX   
)

◆ CS_PROCF() [2/9]

void CS_PROCF ( elini1  ,
ELINI1   
)

◆ CS_PROCF() [3/9]

void CS_PROCF ( eliniv  ,
ELINIV   
)

◆ CS_PROCF() [4/9]

void CS_PROCF ( ellecd  ,
ELLECD   
)

◆ CS_PROCF() [5/9]

void CS_PROCF ( elphyv  ,
ELPHYV   
)

◆ CS_PROCF() [6/9]

void CS_PROCF ( elreca  ,
ELRECA   
)

◆ CS_PROCF() [7/9]

void CS_PROCF ( elthht  ,
ELTHHT   
)

◆ CS_PROCF() [8/9]

void CS_PROCF ( eltssc  ,
ELTSSC   
) const

◆ CS_PROCF() [9/9]

void CS_PROCF ( eltsvv  ,
ELTSVV   
) const

Variable Documentation

◆ cs_elec_epszer

const cs_real_t cs_elec_epszer = 8.854e-12

vaccum permittivity constant (F/m). (= 8.854e-12)

◆ cs_elec_permvi

const cs_real_t cs_elec_permvi = 1.2566e-6

vaccum magnetic permeability constant (H/m). (= 1.2566e-6)