My Project
programmer's documentation
Functions
cs_1d_wall_thermal.c File Reference
#include "cs_defs.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_base.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_lagr.h"
#include "cs_mesh.h"
#include "cs_mesh_location.h"
#include "cs_parall.h"
#include "cs_physical_constants.h"
#include "cs_restart.h"
#include "cs_restart_default.h"
#include "cs_1d_wall_thermal.h"
Include dependency graph for cs_1d_wall_thermal.c:

Functions

void cs_1d_wall_thermal_create (void)
 Initialize the cs_glob_1d_wall_thermal structure. More...
 
void cs_1d_wall_thermal_local_models_create (void)
 Allocate the array of structures local_models. More...
 
void cs_1d_wall_thermal_local_models_init (void)
 Allocate the discretization points coordinates array and the temperature at each point of discretization. More...
 
void cs_1d_wall_thermal_mesh_create (void)
 Create the 1D mesh for each face and initialize the temperature. More...
 
void cs_1d_wall_thermal_solve (cs_lnum_t ii, cs_real_t tf, cs_real_t hf)
 Solve the 1D equation for a given face. More...
 
void cs_1d_wall_thermal_read (void)
 Read the restart file of the 1D-wall thermal module. More...
 
void cs_1d_wall_thermal_write (void)
 Write the restart file of the 1D-wall thermal module. More...
 
void cs_1d_wall_thermal_free (void)
 Free the array of structures local_models. More...
 
void cs_1d_wall_thermal_finalize (void)
 Destroy the global 1d wall thermal structure. More...
 
cs_1d_wall_thermal_tcs_get_glob_1d_wall_thermal (void)
 Provide acces to cs_glob_1d_wall_thermal. More...
 

Detailed Description

Modelling the thermal wall with a 1D approach.

Function Documentation

◆ cs_1d_wall_thermal_create()

void cs_1d_wall_thermal_create ( void  )

Initialize the cs_glob_1d_wall_thermal structure.

◆ cs_1d_wall_thermal_finalize()

void cs_1d_wall_thermal_finalize ( void  )

Destroy the global 1d wall thermal structure.

◆ cs_1d_wall_thermal_free()

void cs_1d_wall_thermal_free ( void  )

Free the array of structures local_models.

◆ cs_1d_wall_thermal_local_models_create()

void cs_1d_wall_thermal_local_models_create ( void  )

Allocate the array of structures local_models.

◆ cs_1d_wall_thermal_local_models_init()

void cs_1d_wall_thermal_local_models_init ( void  )

Allocate the discretization points coordinates array and the temperature at each point of discretization.

◆ cs_1d_wall_thermal_mesh_create()

void cs_1d_wall_thermal_mesh_create ( void  )

Create the 1D mesh for each face and initialize the temperature.

◆ cs_1d_wall_thermal_read()

void cs_1d_wall_thermal_read ( void  )

Read the restart file of the 1D-wall thermal module.

◆ cs_1d_wall_thermal_solve()

void cs_1d_wall_thermal_solve ( cs_lnum_t  ii,
cs_real_t  tf,
cs_real_t  hf 
)

Solve the 1D equation for a given face.

Parameters
[in]iiface number
[in]tffluid temperature at the boundarys
[in]hfexchange coefficient for the fluid

◆ cs_1d_wall_thermal_write()

void cs_1d_wall_thermal_write ( void  )

Write the restart file of the 1D-wall thermal module.

◆ cs_get_glob_1d_wall_thermal()

cs_1d_wall_thermal_t* cs_get_glob_1d_wall_thermal ( void  )

Provide acces to cs_glob_1d_wall_thermal.