INITIAL_FACE_DATA

Initial conditions

Beta command

This command is in the beta stage and the format may change over time.

*INITIAL_FACE_DATA
"Optional title"
nid${}_1$, nid${}_2$, nid${}_3$, nid${}_4$, fval${}_1$, favl${}_2$, fval${}_3$, fval${}_4$

Parameter definition

Variable
Description
nid${}_1$, nid${}_2$, nid${}_3$, nid${}_4$
Face corner node ID's
fval${}_1$, favl${}_2$, fval${}_3$, fval${}_4$
Face parameter values

Description

This command is used to assign parameter values to individial faces in the model. The parameter values can be accessed as intrinsic variables face_val1 - face_val4 when defining load functions in the commands LOAD_PRESSURE and LOAD_THERMAL_SURFACE.

Example

Aerodynamic heating

A projectile travelling at speed $1000 m/s$ is modelled using the command CFD_WIND_TUNNEL. At termination the local air state (pressure, density, temperature and relative velocity) at each external face of the projectile is written to the file _cfd_face_data.k. The temperature in the state file is used in a subsequent thermal simulation of the projectile heating process.

# # Step 1 - Aerodynamic simulation # *UNIT_SYSTEM SI *PARAMETER velo = 1000.0, "Velocity" tend = 0.001, "Termination time" output = 1, "Face data output flag" # # --- TIME --- # *TIME [%tend] # # --- MESH --- # *COMPONENT_CYLINDER "Projectile - 1" 1, 1, 10, 4 0, 0, 0, 0.03, 0, 0, 0.003, 0.01 *COMPONENT_CYLINDER "Projectile - 2" 2, 1, 20, 4 0.03, 0, 0, 0.12, 0, 0, 0.01 *MERGE_DUPLICATED_NODES P, 1, P, 1, 0.0001 # # --- MATERIAL --- # *MAT_RIGID 1, 7800.0 # # --- PART --- # *PART "Projectile" 1, 1 # # --- BC --- # *BC_MOTION "Projectile" 1 P, 1, XYZ, XYZ # # --- CFD --- # *CFD_DOMAIN 1 0, 0, 0.003, 1 -0.25, -0.25, -0.25, 0.4, 0.25, 0.25 0, 0, 0, 0, 0, 0 *CFD_STRUCTURE_INTERACTION 1, [%output] P, 1, 1 *CFD_WIND_TUNNEL 12 *FUNCTION 12 [%velo] *END
Wind tunnel simulation
Wind tunnel simulation
# # Step 2 - Thermal analysis # *UNIT_SYSTEM SI *PARAMETER C = 1.0e3, "Convective heat transfer coefficient" tend = 40.0, "Termination time" # # --- TIME --- # *TIME [%tend], 0, 0, 0.01 # # --- MESH --- # *COMPONENT_CYLINDER "Projectile - 1" 1, 1, 10, 4 0, 0, 0, 0.03, 0, 0, 0.003, 0.01 *COMPONENT_CYLINDER "Projectile - 2" 2, 1, 20, 4 0.03, 0, 0, 0.12, 0, 0, 0.01 *MERGE_DUPLICATED_NODES P, 1, P, 1, 0.0001 # # --- FACE DATA FROM STEP 1 --- # *INCLUDE cfd_face_data.k # # --- MATERIAL --- # *MAT_RIGID 1, 7800.0, 0, 0, 0, 1 *PROP_THERMAL 1, 0, 450.0, 50.0, 0, 293.0 *INITIAL_TEMPERATURE P, 1, 0, 293.0 # # --- PART --- # *PART "Projectile" 1, 1 # # --- THERMAL LOAD --- # *LOAD_THERMAL_SURFACE 1, P, 1, 100 *FUNCTION 100 %C * (face_val3 - T) *END
Thermal analysis
Thermal analysis