ACU-T: 3600 Melting of Diesel Exhaust Additive within an Enclosed Tank
This tutorial provides the directions for setting up, solving, and post-processing results for a simulation that models the approximated melting of the common diesel fuel exhaust additive that is contained within a notional tank. Prior to starting this tutorial, you should have already run through the introductory tutorial, ACU-T: 1000 UI Introduction, and have a basic understanding of HyperMesh CFD and AcuSolve. To run this simulation, you will need access to a licensed version of HyperMesh CFD and AcuSolve.
Problem Description
Start HyperMesh CFD and Open the HyperMesh Database
- Start HyperMesh CFD from the Windows Start menu by clicking .
-
From the Home tools, Files tool group, click the Open Model tool.
The Open File dialog opens.
- Browse to the directory where you saved the model file. Select the HyperMesh file ACU-T3600_UreaTankMelting_TemperatureBasedEffectiveness.hm and click Open.
- Click .
-
Create a new directory named MeltingTank and navigate into this directory.
This will be the working directory and all the files related to the simulation will be stored in this location.
- Enter MeltingTank as the file name for the database, or choose any name of your preference.
- Click Save to create the database.
Validate the Geometry
The Validate tool scans through the entire model, performs checks on the surfaces and solids, and flags any defects in the geometry, such as free edges, closed shells, intersections, duplicates, and slivers.
Set Up Flow
Set Up the Simulation Parameters and Solver Settings
-
From the Flow ribbon, click the Physics tool.
The Setup dialog opens.
-
Under the Physics models setting:
-
Under the Advanced controls setting, set the minimum stagger iterations to
1 and the maximum to 4.
Assign Material Properties
-
From the Flow ribbon, click the Material Library tool.
- Under Settings, click Fluid, then click the My Materials tab.
- Click to create a new material.
-
Name the material Urea, set the density (ρ) type to
Boussinesq and enter Density (kg/m3) and
Reference temperature (K) values as shown below.
- Click the Specific Heat tab and set the Type to Piecewise Linear Enthalpy.
- Verify that the Curve fit variable is set to Temperature.
- Set the Latent heat type to Constant.
- Enter the values for Latent heat (J), Latent heat temperature (K), and Latent heat temperature interval (K) by referring to the figure below.
-
Click three times to add three rows to the table and then
enter the table values according to the figure below.
- Click the Viscosity tab and set µ (viscosity) to 0.002 kg/m-sec.
- Click the Conductivity tab and set k (conductivity) to 0.57 W/m-K.
- Close the material creation dialog.
-
From the Flow ribbon, click the Material tool.
-
Assign the Fluid material – Urea – to the tank volume , as shown in the figure
below.
Define the Porous Medium
-
From the Flow ribbon, Porous
tool group, click the Cartesian Porous Media tool.
- Select the tank volume (urea fluid body)
-
Click Orientation on the guide bar then choose an arbitrary location to define the Porous model
orientation
Any location is acceptable for this model.
-
Assign the Porous Media values according to the following figure.
- Click besides Effectiveness type.
-
In the new dialog, click four time to add four empty rows to the table then
enter values according to the figure below.
-
Rename the Porous model.
- Double-click on Porous in the legend on the left side of the modeling window.
- Type Additive and press Enter.
- On the guide bar, click to execute the command and exit the tool.
Assign the Flow Boundary Conditions
-
From the Flow ribbon, click the No Slip tool.
-
Select the exterior faces of the plastic tank.
- In the microdialog, click the Temperature tab.
- Verify that the Thermal boundary condition is set to Flux.
- Set the Convective heat coefficient to 5.0 W/m2K.
-
Set the Convective heat reference temperature to 263.15
K.
-
Rename the wall boundary.
- Double-click on Wall in the legend on the left side of the modeling window.
- Type Exterior_Wall and press Enter.
- On the guide bar, click to execute the command and remain in the tool.
- Hide Exterior_Wall and select the interior faces of the heating element.
- In the microdialog, click the Temperature tab.
-
Change the Thermal boundary condition to Temperature and
set the Temperature (K) to 313.15.
- Double-click on Wall in the legend and rename it to Pipe.
- Click on the guide bar.
Generate the Mesh
-
From the Mesh ribbon, click the
Volume tool.
-
Set the Maximum element size (m) to 0.02 and verify the
geometric feature angle (degree) is set to 12.5.
-
Click Mesh.
The Run Status dialog opens. Once the run is complete, the status is updated and you can close the dialog.Tip: Right-click on the mesh job and select View log file to view a summary of the meshing process.
Set the Field Outputs
-
Form the Solution ribbon, click the Field tool.
- Uncheck Write results at time step interval.
- Check Write results at time interval.
-
Set the Time interval to 1 sec.
Run AcuSolve
-
From the Solution ribbon, click the Run tool.
The Launch AcuSolve dialog opens.
- Set the Parallel processing option to Intel MPI.
- Optional: Set the number of processors to 4 or 8 based on availability.
-
Set the Default initial conditions as in the following figure.
- Leave the remaining default options then click Run to launch AcuSolve.
Post-Process the Results
Post-Process with the Plot Tool
-
From the Solution ribbon, click the Manage tool.
-
In the Run Status dialog, right-click on the AcuSolve run and select Plot time
history to launch the Plot Manager.
The residual and solution ratios for pressure, velocity, eddy viscosity, and temperature are shown.
- Click to define a new plot.
- Expand heat flux. and select
-
Select Pipe – Output to plot the heat flux entering the
domain from the heating element.
Note: The value stabilizes near the end of the simulation, indicating that the model is approaching the prescribed thermal boundary conditions.
- Expand the .
-
Select the Exterior Wall – Output to plot the
temperature increase of the inside wall of the tank.
Note: The value is not stabilized by the end of the simulation, indicating that the model has not reached the final temperature to balance the prescribed thermal boundary conditions.
Post-Process with HyperMesh CFD Post
- In the Run Status dialog, right-click on the AcuSolve run and select Visualize results to launch HyperMesh CFD Post.
-
From the Post ribbon, click the Boundary Groups
tool.
- Click on the guide bar to open the Advanced Selection dialog.
-
Select Exterior_Wall - Output then close the
dialog.
- Set the transparency of the Boundary Group to approximately 75%.
- On the guide bar, click to execute the command and exit the tool.
-
From the Post ribbon, click the Iso-Surfaces tool.
-
Select temperature as the Iso Variable and set the Iso
Value of temperature (K) to 261.15.
- Click Calculate.
-
In the display properties microdialog, define the
Display as constant and select a color of choice.
-
Using the results animation toolbar, skip to the end of the simulation
results.
Summary
In this tutorial, you learned how to set up and solve a flow and thermal simulation with temperature dependent porous media effectiveness. Utilizing the proposed implementation allowed you to specify the melting point of a fluid and compute the melted region of the fluid. You started by importing the HyperMesh CFD input database and then you defined the porous medium to control the melting point of the fluid. Next, you assigned the thermal boundary conditions and generated the mesh. Once the solution was computed, you created a plot of the heat flux and temperature for the critical surfaces with the model using HyperMesh CFD Plot Manager.