programmer's documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions/Subroutines
uspt1d.f90 File Reference

Data Entry of the thermal module in 1-Dimension Wall. More...

Functions/Subroutines

subroutine uspt1d
 

Detailed Description

Data Entry of the thermal module in 1-Dimension Wall.

See Data setting for the 1D-wall thermal module (uspt1d.f90) for examples.

Function/Subroutine Documentation

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.

Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]nfpt1dnumber of faces with the 1-D thermal module
[in]iappeldata type to send
[in]ifpt1dnumber of the face treated
[in]izft1dboundary faces zone for 1d-module definition
[in]nppt1dnumber of discretized points
[in]iclt1dboundary condition type
[in]eppt1dwall thickness
[in]rgpt1dgeometric ratio of the meshing refinement
[in]tppt1dwall temperature initialization
[in]tept1dexterior temperature
[in]hept1dexterior exchange coefficient
[in]fept1dflux applied to the exterior
[in]xlmt1dlambda wall conductivity coefficient
[in]rcpt1drhoCp wall coefficient
[in]dtpt1dwall time step
[in]dttime step (per cell)