This tutorial is divided into the following sections:
In this tutorial, a flow field of air passing around a 3D wedge is simulated using the Ansys Fluent ablation mode. Ablation is an effective treatment used to protect a vehicle from the damaging effects of external high temperatures. During high speed vehicle operations (for example, vehicle reentry), the ablative coating is chipped away to remove excessive amount of heat from the surface of the vehicle.
This tutorial demonstrates how to do the following:
Define boundary conditions for a high-speed flow.
Set up the ablation model to model effects of a moving boundary due to ablation.
Initiate and solve the transient simulation using the density-based solver.
This tutorial is written with the assumption that you have completed the introductory tutorials found in this manual and that you are familiar with the Ansys Fluent outline view and ribbon structure. Some steps in the setup and solution procedure will not be shown explicitly.
The geometry of the 3D wedge considered in this tutorial is shown in Figure 27.1: Problem Schematic. The air flow passes around a nose of a re-entry vehicle operating under high speed conditions. The inlet air has a temperature of 4500 K, a gauge pressure of 13500 Pa, and a Mach number of 3. The domain is bounded above and below by symmetry planes (displayed in yellow). As the ablative coating chips away, the surface of the wall moves. The moving of the surface is modeled using dynamic meshes. The surface moving rate is estimated by Vielle’s empirical law:
where is the surface moving rate, is the absolute pressure, and and are model parameters. In the considered case, = 5 and = 0.1.
The following sections describe the setup and solution steps for this tutorial:
To prepare for running this tutorial:
Download the ablation.zip file here .
Unzip ablation.zip to your working directory.
The mesh file ablation_mesh.msh can be found in the folder.
Use the Fluent Launcher to start Ansys Fluent.
Select Solution in the top-left selection list to start Fluent in Solution Mode.
Select 3D under Dimension.
Enable Double Precision under Options.
Set Solver Processes to
4
under Parallel (Local Machine).
Read the mesh file ablation.msh.h5.
File → Read → Mesh...
Check the mesh.
Domain → Mesh → Check → Perform Mesh Check
Ansys Fluent will perform various checks on the mesh and report the progress in the console. Ensure that the reported minimum volume is a positive number.
Display the mesh.
Domain → Mesh → Display...
In the Options group box, disable Faces and enable Edges.
From the Surfaces selection list, select inlet, outlet, and wall-ablation.
Tip: To deselect all surfaces click the far-right button at the top of the Surfaces selection list, and then select the desired surfaces from the Surfaces selection list.
In the Edge Type group box, ensure that All is selected.
Click Mesh Display dialog box.
and close the
The graphics display will be updated to show the mesh (see Figure 27.2: Wedge Mesh Display). The inlet is colored blue, the walls are colored gray, the symmetry planes are colored yellow, and the outlet is colored red.
In the General task page, retain the default solver settings of Denisty-Based solver type.
Setup → General → Density-Based
The density-based solvers of Ansys Fluent provides faster performance for applications involving high-speed aerodynamics with shocks.
Select Transient from the Time list.
Setup → General → Transient
Set the Operating Conditions.
Physics → Solver → Operating Conditions...
Enter
0
for Operating Pressure.Click
to confirm the operating conditions.
Enable heat transfer by enabling the energy equation.
Physics → Models → Energy
Enable the k-ω SST turbulence model.
Physics → Models → Viscous...
Retain the default selection of k-omega (2 eqn) in the Model list.
Retain the default selection of SST in the k-omega Model list.
Click Viscous Model dialog box.
to close the
Enable the ablation model.
Physics → Models → More... → Ablation...
In the Ablation Dynamic Mesh Coupling Model dialog box, enable Ablation Dynamic Mesh Coupling.
Click Ablation Dynamic Mesh Coupling Model dialog box.
to close the
The default Fluid Material is air, which is the working fluid in this problem. The default settings need to be modified to account for compressibility.
Set the properties for air, the default fluid material.
Setup → Materials → Fluid → air Edit...
In the Properties group, select ideal-gas from the Density drop-down list.
Click
to save these settings.Close the Create/Edit Materials dialog box.
Specify boundary conditions using the Boundary Conditions task page.
Setup → Boundary Conditions
Set the boundary conditions for the air inlet (inlet).
Setup → Boundary Conditions → inlet
In the Boundary Conditions task page, select inlet from the Zone list.
From the Type drop-down list, select pressure-far-field.
Click Pressure Far-Field dialog box.
to open theIn the Pressure Far-Field dialog box, configure the following settings:
Tab
Setting
Value
Momentum
Gauge Pressure
13500
PaMach Number
3
Specification Method
Intensity and Viscosity Ratio (default)
Turbulent Intensity
0.1
%Thermal
Temperature
4500
KClick Pressure Far-Field dialog box.
and close the
Set the boundary conditions for the air outlet (outlet).
Setup → Boundary Conditions → outlet → Edit...
In the Pressure Outlet dialog box, configure the following settings:
Tab
Setting
Value
Momentum
Gauge Pressure
13500
PaPrevent Reverse Flow
(Selected)
Click Pressure Outlet dialog box.
and close the
Set the ablation boundary conditions for the wall (wall_ablation).
Setup → Boundary Conditions → wall_ablation → Edit...
In the Wall dialog box, configure the following settings:
Tab
Setting
Value
Ablation
Ablation Model
Vielle’s Model
Parameter A
5
Parameter n
0.1
(default)Click Wall dialog box.
and close theOnce you have specified the ablation boundary conditions for the wall, Ansys Fluent automatically enables the Dynamic Mesh model with the Smoothing and Remeshing options, creates the wall-ablation dynamic mesh zone, and configure appropriate dynamic mesh settings.
For ablation simulations, you must define dynamic mesh zones to allow the mesh to handle the zone deformation in the
task page.Domain → Mesh Models →
In the Mesh Methods group box, click the button to open the Mesh Method Settings dialog box.
Review and retain the current settings for smoothing and remeshing.
Note: In general, there is no need to modify the dynamic mesh settings automatically configured by Ansys Fluent. However, you can adjust these settings to suit your specific needs.
Click Mesh Method Settings dialog box.
to close theClick the Dynamic Mesh Zones dialog box.
button to open theCreate the dynamic zone for the fluid cell zone.
From the Zone Names drop-down list, select interior--flow.
From the Type list, select Deforming.
In the
tab, disable .Retain the remaining default settings and click
.
Create the dynamic zone for the outlet.
From the Zone Names drop-down list, select outlet.
From the Type list, select Deforming.
In the Smoothing.
tab, enableRetain the remaining default settings and click
.
Create the dynamic zones for the symmetry zones.
From the Zone Names drop-down list, select symm1.
From the Type list, select Deforming.
In the Smoothing.
tab, enableIn
tab, select from the drop-down list.In the
group box, enter0
,-0.04
, and0
for X, Y, and Z.In the
group box, enter0
,-1
, and0
for X, Y, and Z.Click
.In a similar manner, create the dynamic zone for symm2. For the Point on Plane, enter
0
,0.04
, and0
for X, Y, and Z, respectively. For the , enter0
,1
, and0
for X, Y, and Z, respectively.Click
.
Enable the movement of the adjacent boundary layer mesh with the moving face zone for the wall_ablation dynamic zone.
From the Zone Names drop-down list, select wall_ablation.
From the Type list, select User-Defined.
In the Meshing Options tab, enable Deform Adjacent Boundary Layer with Zone.
Click Create and close the Dynamic Mesh Zones dialog box.
Set the solution methods.
Solution → Solution → Methods...
Retain the selection of Implicit and Roe-FDS from the Formulation and Flux Type drop-down lists, respectively.
For the Gradient spatial discretization, select Least Squares Cell Based.
Retain the default selections of Second Order Upwind for the remaining spatial discretizations.
From the Transient Formulation drop-down list, select Second Order Implicit.
Enable the Warped-Face Gradient Correction option.
In the Solution Controls task page, adjust the solution settings.
Retain the under-relaxation factors.
Click Solution Limits dialog box.
to open theEnter
25000
K for the Maximum Static Temperature.Click Solution Limits dialog box.
to close the
Enable the plotting of residuals during the calculation.
Solution → Reports → Residuals...
Ensure that Plot is enabled in the Options group box.
Enter
1e-06
for energy and retain the default values for the Absolute Criteria of continuity, x-velocity, y-velocity, z-velocity, k, and omega.Click Residual Monitors dialog box.
to close the
Create a force report definition to plot and write the drag force on the wall_ablation wall boundary.
Solution → Reports → Definitions → New → Force Report → Drag...
In the Drag Report Definition dialog box, enter
drag_force_x
for Name.Select Drag Force in the Report Output Type list.
Select wall_ablation from the Wall Zones list.
In the Create group box, enable Print to Console.
Click
to create the report.Fluent automatically generates the drag_force_x-rplot report plot under Solution/Monitors/Report Plots tree branch and the drag_force_x-rfile report file under Solution/Monitors/Report Files tree branch.
Modify the attributes of the drag_force_x-rplot report plot axes.
Solution → Monitors → Report Plots → drag_force_x-rplot Edit...
In the Edit Report Plots dialog box, click the button to open the Axes - Report Plots dialog box.
In the Axis list, select Y.
Select exponential from the Type drop-down list.
Set Precision to
0
.Click Axes - Report Plots dialog box.
to save the modified settings and close theClick Edit Report Plot dialog box.
to close the
Create a surface report definition for the averaged pressure at the wall_ablation boundary.
Solution → Reports → Definitions → New → Surface Report → Area-Weighted Average...
In the Surface Report Definition dialog box, enter
pressure_avg_abl_wall
for Name.Retain Pressure... and Static Pressure from the Field Variable drop-down lists.
From the Surfaces selection list, select wall_ablation.
In the Create group box, enable Print to Console.
Click Surface Report Definition dialog box.
to save the surface report definition and close theModify the attributes of the pressure_avg_abl_wall-rplot report plot axes in a manner similar to that for the drag_force_x-rplot plot.
Create a surface report definition for the maximum value of the Z-coordinate at the wall_ablation boundary to monitor the effects of the mesh movement.
Solution → Reports → Definitions → New → Surface Report → Vertex Maximum...
In the Surface Report Definition dialog box, enter
recede_point
for Name.Select Mesh... and Z-Coordinate from the Field Variable drop-down lists.
From the Surfaces selection list, select wall_ablation.
In the Create group box, enable Print to Console.
Click Surface Report Definition dialog box.
to save the surface report definition and close theModify the attributes of the recede_point-rplot report plot axes in a manner similar to that for the drag_force_x-rplot plot.
Initialize the flow field.
Solution → Initialization → Options...
In the Solution Initialization task page, select the Standard Initialization from the Initialization Methods group.
Select inlet from the Compute from drop-down list.
Click
to initialize the variables.
Save the case file (ablation.cas.h5).
File → Write → Case...
Run the calculation.
Solution → Run Calculation → Run Calculation...
Enter
100
for Number of Time Steps.Enter
1e-6
for Time Step Size.Click
.Note: It may take significant time and computer resources to complete the problem calculation.
Save the case and data files (ablation.cas.h5 and
ablation.dat.h5
).File → Write → Case & Data...
Create an iso-surface through the domain geometry.
Results → Surface → Create → Iso-Surface...
Enter
mid_plane
for the New Surface Name.Select Mesh... and Y-Coordinate from the Surface of Constant drop-down lists.
Click
to update the minimum and maximum values.Retain the value of
0
for Iso-Values.Click Iso-Surface dialog box.
and then close the
Display static pressure contours on the mid_plane iso-surface. (Figure 27.7: Contours of Static Pressure).
This will allow you to review the location of the droplets.
Results → Graphics → Contours → New...
Enter
contour-pressure
for Contour Name.Ensure that Filled is enabled in the Options group box.
Retain the selection of Smooth in the Coloring group box.
Retain the default selection of Pressure... and Static Pressure from the Contours of drop-down lists.
Select mid_plane from the Surfaces selection list.
Click Contours dialog box.
and close theNote that the static pressure near the tipping point of the wedge has the highest value, as expected.
Display contours of the Mach number on the mid_plane iso-surface. (Figure 27.8: Contours of Mach Number).
This will allow you to review the location of the droplets.
Results → Graphics → Contours → New...
Enter
contour-mach
for Contour Name.Ensure that Filled is enabled in the Options group box.
Retain the selection of Smooth in the Coloring group box.
Select Velocity… and Mach number from the Contours of drop-down lists.
Select mid_plane from the Surfaces selection list.
Click Contours dialog box.
and close theIn Figure 27.8: Contours of Mach Number, you can observe an oblique shock formed in the domain. The Mach number (or velocity) is the lowest at the tipping point of the wedge where the static pressure is the highest (see Figure 27.7: Contours of Static Pressure).
Save the case and data files (
ablation.cas.h5
andablation.dat.h5
).File → Write → Case & Data...