Classes | Functions
SideSetsAroundSubdomain.h File Reference

Go to the source code of this file.


class  SideSetsAroundSubdomain
 Adds the faces on the boundary of given block to the sidesets specified by "boundary" Optionally, only adds faces that have a normal equal to specified normal up to a tolerance. More...


InputParameters validParams< SideSetsAroundSubdomain > ()

Function Documentation

Definition at line 25 of file SideSetsAroundSubdomain.C.

26 {
28  params.addRequiredParam<std::vector<BoundaryName>>(
29  "new_boundary", "The list of boundary IDs to create on the supplied subdomain");
30  params.addRequiredParam<std::vector<SubdomainName>>("block",
31  "The blocks around which to create sidesets");
32  params.addParam<Point>("normal",
33  "If supplied, only faces with normal equal to this, up to "
34  "normal_tol, will be added to the sidesets specified");
35  params.addRangeCheckedParam<Real>("normal_tol",
36  0.1,
37  "normal_tol>=0 & normal_tol<=2",
38  "If normal is supplied then faces are "
39  "only added if face_normal.normal_hat >= "
40  "1 - normal_tol, where normal_hat = "
41  "normal/|normal|");
43  params.addClassDescription(
44  "Adds element faces that are on the exterior of the given block to the sidesets specified");
45  return params;
46 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
InputParameters validParams< AddSideSetsBase >()
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
void addRangeCheckedParam(const std::string &name, const T &value, const std::string &parsed_function, const std::string &doc_string)