1 / 24

MATERIAL PROPERTIES

MATERIAL PROPERTIES. Defining the material properties is quite important to set up a flow model. Strictly they specify the magnitude of the diffusion and convection transports mechanisms.

dori
Download Presentation

MATERIAL PROPERTIES

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MATERIAL PROPERTIES • Defining the material properties is quite important to set up a flow model. Strictly they specify the magnitude of the diffusion and convection transports mechanisms. • The code has several ways to convey material properties to eardat file and this lecture explores one of them. • A full account on how phoenics handles material properties is in TR004 .

  2. MATERIAL PROPERTIES • Some ways (not all of them) to convey material properties to eardat file: • Setting to constant values at group 9 entries (useful for simple cases); • Selecting domain material from PROPS file (topic of this lecture); • Variable properties with pressure, temperature and other variables are handled using: a) In-Form, most recent phoenics’ feature and most effective (see In-Form PRPS workshop); b) using GRND pre-programmed routines (see class # 25and workshop) and c) writing your own functions using GROUND coding.

  3. THE MATERIAL PROPERTIES The relevant entries are: • The thermodynamic properties: density and specific heat, • The transport properties: viscosity, thermal conductivity and diffusivity, • The properties concerned with thermal radiation, namely emissivity and scattering coefficients, and • The interphase-transport coefficients and equilibrium values for multi-phase flows.

  4. PROPERTY LIST PIL variable SI units nature RHO1 kg/m**3 first - phase density DRH1DP m**2/Newton proportionate change with pressure RHO2 kg/m**3 second - phase density DRH2DP m**2/Newton proportionate change with pressure kinematic turbulent contribution to effective ENUT m**2/s viscosity ENUL m**2/s kinematic laminar (reference) viscosity PRNDTL(indvar) > 0 dimensionless the Prandtl or Schmidt number dimensionless or PRNDTL( indvar) < 0 if indvar is enthalpy or temperature joules*degC/m PRNDTL(indvar) < 0 m**/s if indvar represents another scalar according to PHINT(indvar) equilibrium interface value for the first phase indvar according to PHINT(indvar) equilibrium interface value for the second phase indvar temperature when first - phase enthalpy is solved TMP1 degCelsius for temperature when second - phase enthalpy is TMP2 degCelsius solved for EL1 m first - phase turbulence length EL2 m second - phase turbulence length CP1 joule/(kg*degC) constant - pressure specific heat of phase 1 CP2 joule/(kg*degC) constant - pressure specific heat of phase 2 proportionate change of first - phase specific volume (i.e. reciprocal of density) with DVO1DT 1/degC tempe rature proportionate change of second - phase specific volume (i.e. reciprocal of density) with DVO2DT 1/degC temperature absorptivity = proportion of radiation which is EMISS 1/m absorbed per unit length proportion of radiation which is scat tered per unit SCATT 1/m length

  5. The indirect and direct ways of setting properties • Properties can be set in two ways, namely: • indirectly, by naming the fluids and/or solids which are present, and stating what parts of the domain they occupy. Then, if PHOENICS recognises the names, it will evaluate and use the properties which prevail at each location from the corresponding formulae; and also (when the formulae make reference to them) from the prevailing: temperature, pressure and concentrations. • directly, by specifying the properties individually, either as constants or by way of formulae, and then specifying the places where each is to be evaluated. • This section deals with the indirect method: ‘setting properties by selecting materials’.

  6. SELECTING A MATERIAL • The material-property information is stored in PHOENICS in the PROPS file, which has been part of PHOENICS for many years; • The properties differ from material to material, and different cells may be occupied by different materials. To handle this task phoenics uses a material marker variable, which was given the name PRPS, having a unique value for each material. • The locations of the materials could thus be indicated by ascribing a PRPS value to each cell; and the there-prevailing material properties could then be deduced by consultation of a material-properties file. • It makes use of the formulae provided in the (user-accessible) Fortran coding, and refers to materials by number.

  7. WHAT IS PRPS VARIABLE? • PRPS is a whole-field variable used in EARTH and GROUND coding for indicating which material lies within each cell of the grid. It is activated by placing the STORE(PRPS) command in the Q1 file. • Assigning values of PRPS must then be supplied for each cell in the domain, by means of either: • FIINIT(PRPS) = value, for the 'domain' fluid, usually that which fills the whole domain except for the parts occupied by solids; • PATCH(..... and INIT(...,PRPS,0.0, value), commonly used for stating where the solids are and what material they consist of; or • (INITIAL of PRPS is .... with ...), when In-Form is in use, for either fluids or solids. Or by FORTRAN coding using GROUND

  8. IMAT: THE MATERIAL INDEXES • Each assignable value denotes an individual material, of which the properties are defined in the file called PROPS, which resides in d_earth. The PRPS values are also referred to as "material indices" or "material flags"; and they are given the symbol IMAT in GROUND coding. The whole file can be viewed by clicking here. • The PRPS file can be edited and it is found on d_earth folder. They are grouped in three categories: gases, liquids and solids: • gases at the top (IMAT from 0 to 39 ); • then “anonymous fluids” (IMAT from 40 to 50) • liquids in the middle (IMAT from 51 to 99) • solids at the bottom (IMAT from 100 to 197) (velocity solution is not allowed) • Two fictitious materials (IMAT = PORPRP and VACPRP): • PORPRP, usually 198, which is the IMAT assigned to a fictitious solid which influences the flow process only by imposition of the no-fluid-slip condition at its boundaries. • VACPRP, usually 199, which is the IMAT assigned to a fictitious solid which prevents fluid from entering its space, but exerts no frictional effect.

  9. IMAT: THE MATERIAL INDEXES Each assignable value denotes an individual material, of which the properties are defined in the file called PROPS, which resides in d_earth. Examples are: 0 denotes air at 0 deg C and 1 atm pressure; 2 denotes air obeying the Ideal Gas Law; and 67 denotes water at room temperature. The PRPS values are also referred to as "material indices" or "material flags"; and they are given the symbol IMAT in GROUND coding. The whole file can be viewed by clicking here. The PRPS file can be edited and it is found on d_earth folder.

  10. WHERE PRPS = -1 • Where PRPS = -1.0 • A feature introduced with PHOENICS version 3.4.3 is the facility to set the PRPS-value of selected cells equal to -1.0 . • For these cells, the material properties are deduced not from the entries in the PROPS file but from the values of RHO1, ENUL, CP1, PRNDTL (temperature) etc which are set in the Q1 file and transmitted via EARDAT.

  11. SETting PRoPertieS by selecting materials When one material fills the whole domain the following statement in the Q1-file suffices: SETPRPS (argument1, argument2) where: • argument1 = 1 or 2, according to the phase in question, and • argument2 is the reference index of the material in the PROPSfile, IMAT, which appears between < and >: brackets at the left-hand border of the file.

  12. EXAMPLE: SETPRPS For example: SETPRPS(1,0) dictates that the properties will be those of atmospheric air, because that is the significance of IMAT=0 . Likewise, SETPRPS(2,67) would set the second-phase fluid to be water with the properties pertaining to 20 degrees Celsius.

  13. EXAMPLE: SETPRPS Then the Q1EAR file, which is created at the end of a SATELLITE run records in a structured manner what information (including defaults) will be sent to the solver module, EARTH, contains the lines: Group 9. Properties RHO1 = 1.189000E+00 RHO2 = 9.982300E+02 DVO2DT = 1.180000E-04 ; DRH2DP = 0.000000E+00 ENUL = 1.544000E-05 CP1 = 1.005000E+03 ; CP2 = 4.181800E+03

  14. EXAMPLE: SETPRPS Which are reflected in the RESULT file as: Group 19. EARTH Calls To GROUND Station USEGRD = T ; USEGRX = T SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,0) SPEDAT(SET,DOMAIN,PHASE_2_MAT,I,67) These lines signify that, for the whole domain of simulation, the first-phase material has the properties associated with material 0 of the PROPS file, while the second-phase material has the properties of material 67.

  15. WHEN DIFFERENT PARTS OF DOMAIN ARE OCCUPIED BY DIFFERENT MATERIALS • It frequently occurs that PHOENICS is required to simulate flow and heat transfer in circumstances in which solid bodies are present. Often these solids interact thermally with the fluids. • Moreover, different parts of the domain may be occupied by different fluids, as when a glass bottle containing hot water is cooled by contact with external air. • This requirement is met by assigning different IMAT values to the spaces which each material occupies. Specifically:- • A full-field variable with the name PRPS is called into existence by the PIL command:STORE(PRPS)

  16. WHEN DIFFERENT PARTS OF DOMAIN ARE OCCUPIED BY DIFFERENT MATERIALS Then it is usual to initialize the field by assigning a value to FIINIT(PRPS). Thus, FIINIT(PRPS) = 67 would dictate that water (i.e. material 67) would occupy the whole of space. However, if this were followed by the statements: • patch(block,inival,nx/4-1,3*nx/4,ny/4-1,3*ny/4,nz/4-1,3*nz/4,1,1) • init(block,prps,0,111.0) the central part of the grid would be occupied by a block of steel; for that is the material for which IMAT = 111.

  17. WORKSHOP PRPS • This workshop will develop the skill to set to different parts of the domain different materials. • The case is a 2D pure heat conduction using brick (102) as domain material and cupper (103) in specific cells. • It explores the differences on the temperature field due to the differences on the thermal conductivity between materials, 1:600 • A square domain 1mx1m (xy plane) is used with the west wall at 100oC and the south wall at 0oC. The other boundaries are adiabatic.

  18. WORKSHOP PRPS • The cupper is inserted in specific cells shown in red. Due to the thermal conductivity difference between materials, the cupper patches enhance the thermal conductivity of the domain. • The task is to use PIL commands to set properly the 103 material on the domain.

  19. WORKSHOP PRPS Group 7. Properties STORE(PRPS) ! Creates a whole-field variable PRPS Group 9. Properties SETPRPS(1,102) ! Sets the domain to 102 material (brick) Group 11.Initialise Var/Porosity Fields FIINIT(PRPS) = -1.000000E+00 ! Sets PRPS to the whole domain to 102 REAL(MAT) ! Creates real variable MAT MAT=103 ! Declares that MAT is 103 DO II=1,8,3 ! Starts a do loop inside q1 PATCH (MA4:II: ,INIVAL,4,4,II+1,II+2,1,1,1,1) INIT(MA4:II: ,PRPS, 0.000000E+00, MAT) PATCH (MA3:II: ,INIVAL,3,3,II,II+1,1,1,1,1) INIT(MA3:II: ,PRPS, 0.000000E+00, MAT) PATCH (MA2:II: ,INIVAL,2,2,II+1,II+2,1,1,1,1) INIT(MA2:II: ,PRPS, 0.000000E+00, MAT) PATCH (MA1:II: ,INIVAL,1,1,II,II+1,1,1,1,1) INIT(MA1:II: ,PRPS, 0.000000E+00, MAT) ENDDO ! Ends a do loop inside q1 Do-loop creates several patches and init, see RESULT file.

  20. WORKSHOP RESULTS domain: patched with cupper (102) domain: just brick (103) Problems to build your q1? Download wksh_q1 for rescue!

  21. WORKSHOP PRPS (II) • In case the material property is not defined in PROPS file the user can either insert its own lines on PROPS file or make EARTH read then directly from Q1 file. • The later case is preferred otherwise it would be necessary to copy de modified PROPS file every time the user change machine. • This workshop will show how to read directly from Q1. In fact this operation is already done in workshop #3 from class #25. • We will start with the present case but material 152 will be created in replacement to 102.

  22. WORKSHOP PRPS (II) The last used index for solid is 151 (Ice), therefore was choose index 152 for a new type of Brick. The properties of 102 and 152 are in the table below for reference. Name *Ind. Dens. Viscos. Spec.heat Conduct. Expans. Compr. 102 1600 0 840 0.69 0 0 152 1600 0 840 383 0 0 Notice the 152 has the same thermal conductivity of the cupper (103), therefore its insertion may result in a symmetrical temperature field.

  23. THE COMMAND CSG10 The CGS10=‘q1’ instructs earth to read the material properties defined in q1 file, the q1 lines in Group 9 should look like SETPRPS(1,152) ENUT = 0.000000E+00 PRNDTL(TEM1) = -grnd10 ! The flag GRND10 in front a property makes earth to read it from the props file. CSG10='q1' MATFLG=T; NMAT=1 ! NMAT is the number of materials defined in q1. If one has to define 3 materials, for example, one has to set NMAT=3 and define three lines with entries for the properties. * Name *Ind. Dens. Viscos. Spec.heat Conduct. Expans. Compr. 152 1600 0 840 381 0 0 ************************************************************ Group 11.Initialise Var/Porosity Fields FIINIT(PRPS) = 152

  24. WORKSHOP II RESULTS with 152 having the same thermal conductivity of 103, the temperature should look like: Problems to build your q1? Download wksh(II)_q1 for rescue!

More Related