|
|
| Model | #BCs | #VCs | GUI Load Time |
| Fuel Cell (Orig) | 3096 | 279 | 135 sec |
| Fuel Cell (Simplified) | 8 | 11 | 20 sec |
| Disk Drive (Orig) | 5247 | 783 | 322 sec |
| Disk Drive (Simplified) | 20 | 1 | 23 sec |
If you have ever thought it would be nice to reduce the number of BCs or VCs that you have to deal with, then please read on for an example of how to simplify your file.
Note: All files used for this example can be downloaded by clicking here.
Let's look at a simple example of a cylinder geometry where the bottom side of the cylinder must be broken into several unique patches for specifying special boundary conditions, while the outer side of the cylinder will be considered a wall and the top of the cylinder will be an outlet. The entire volume of the cylinder will be considered as a single fluid region.
View from Bottom (cyan=wall, yellow=inlet) |
View from Top (cyan=wall, green=outlet) |
The easiest way to make this grid system is to grid the bottom (unique) side of the cylinder and then extrude it to make the full cylinder. In this case we have made a prismatic grid system. So 2D unstructured domains were made and then extruded to make the 3D prism grids.
At the completion of the gridding we have 17 volumes (one for each prism domain) and 100 boundaries (tops, bottoms, sides, and internal interfaces between the domains). The picture below gives you some indication of the complexity of the grid system (several surfaces have been removed for clarity).
Now for the trick! Based on the problem spec given above we know that we only need to physically specify 1 volume region (since everything is fluid) and 4 unique boundary conditions:
Before we can simplify the model we need to make sure that we have uniquely identified the boundaries. In this case we have used CFD-GEOM's BC/VC editor to set the BC names and types appropriately (e.g., bottom_inlet, bottom_wall, side_wall, and top_outlet).
We can then use the dtf_decompose utility with the -combined option to automatically simplify this file for us.
dtf_decompose -combined -file_out cylinder_simple.DTF cylinder.DTF 1 1
The above command should be run from the ms-dos command prompt or unix shell. (Make sure you are in the directory where the model DTF file is located!)
The syntax can be explained as follows:
When you load the simplified file into CFD-ACE-GUI you will see only 4 boundary conditions to pick (hence the "grouping" has already been done for you).
| CFD-ACE-GUI BC Explorer List Before Simplification (only 10 of 102 BCs shown here!)
|
CFD-ACE-GUI BC Explorer List After Simplification (4 BCs total! - bottom_wall picked and highlighted)
|
This was a simple example but this trick can be used on many models to help make your problem setup easier and on more complicated examples this will often cut file read/save by an order of magnitude. Try this process the next time you are faced with a complex model where simplification might make your modeling efforts easier and more efficient.