![]() |
programmer's documentation
|
Data Entry of the thermal module in 1-Dimension Wall. More...
Functions/Subroutines | |
subroutine | uspt1d |
Data Entry of the thermal module in 1-Dimension Wall.
See Data setting for the 1D-wall thermal module (uspt1d.f90) for examples.
subroutine uspt1d | ( | ) |
Data Entry of the thermal module in 1-Dimension Wall.
Introduction:
Define the different values which can be taken by iappel:
iappel = 1 (only one call on initialization): Computation of the cells number where we prescribe a wall
iappel = 2 (only one call on initialization): Locating cells where we prescribe a wall Data linked to the meshing.
iappel = 3 (call on each time step): Value of the physical computational coefficients and boundary condition type on the exterior wall:
iclt1d = 1 -> constant temperature prescribed iclt1d = 3 -> heat flux prescribed Initialization of the temperature on the wall.
Boundary faces identification
Boundary faces may be identified using the getfbr subroutine. The syntax of this subroutine is described in the cs_user_boundary_conditions subroutine, but a more thorough description can be found in the user guide.
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in] | nfpt1d | number of faces with the 1-D thermal module |
[in] | iappel | data type to send |
[in] | ifpt1d | number of the face treated |
[in] | izft1d | boundary faces zone for 1d-module definition |
[in] | nppt1d | number of discretized points |
[in] | iclt1d | boundary condition type |
[in] | eppt1d | wall thickness |
[in] | rgpt1d | geometric ratio of the meshing refinement |
[in] | tppt1d | wall temperature initialization |
[in] | tept1d | exterior temperature |
[in] | hept1d | exterior exchange coefficient |
[in] | fept1d | flux applied to the exterior |
[in] | xlmt1d | lambda wall conductivity coefficient |
[in] | rcpt1d | rhoCp wall coefficient |
[in] | dtpt1d | wall time step |
[in] | dt | time step (per cell) |