https://mooseframework.inl.gov
SpiralAnnularMeshGenerator.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "MeshGenerator.h"
13 
18 {
19 public:
21 
23 
24  // No copy
26 
27  std::unique_ptr<MeshBase> generate() override;
28 
29 protected:
32 
35 
39 
41  const unsigned int _nodes_per_ring;
42 
44  const bool _use_tri6;
45 
50  unsigned int _num_rings;
51 
54 
60 };
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
const Real _outer_radius
Radius of the outer circle. Logically, it&#39;s bigger that inner_radius.
const boundary_id_type _cylinder_bid
The boundary id to use for the cylinder.
Real _radial_bias
Factor to increase initial_delta_r for each ring.
const bool _use_tri6
Generate mesh of TRI6 elements instead of TRI3 elements.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
SpiralAnnularMeshGenerator & operator=(const SpiralAnnularMeshGenerator &other_mesh)=delete
unsigned int _num_rings
Number of rings.You can&#39;t specify both the number of rings and the radial bias if you want to match a...
SpiralAnnularMeshGenerator(const InputParameters &parameters)
int8_t boundary_id_type
Generates a spiral annular mesh given all the parameters.
const Real _inner_radius
Radius of the inner circle.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const Real _initial_delta_r
Width of the initial layer of elements around the cylinder.
const InputParameters & parameters() const
Get the parameters of the object.
const unsigned int _nodes_per_ring
Number of nodes on each ring.
const boundary_id_type _exterior_bid
MeshGenerators are objects that can modify or add to an existing mesh.
Definition: MeshGenerator.h:32