Selects a growth profile for anisotropic wall layers. More...
#include <Layer_sequence.hpp>
Public Member Functions | |
Layer_sequence (double wall_spacing, int n_wall) | |
int | n_layers () |
double | spacing (int i_layer) |
double | cumulative_height (int i_layer) |
Selects a growth profile for anisotropic wall layers.
That is, given a few high-level parameters, it can compute the height that each layer should have for effective boundary layer resolution.
hexed::Layer_sequence::Layer_sequence | ( | double | wall_spacing, |
int | n_wall ) |
Will generate n_wall
layers with thickness wall_spacing
and then add exponentially growing layers on top until it reaches a total height of 1. Uses the minimum number of layers required to keep the growth ratio approximately 2.