www.mooseframework.org
Functions
MeshGeneratorPD.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PeridynamicsApp", MeshGeneratorPD)
 
template<>
InputParameters validParams< MeshGeneratorPD > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PeridynamicsApp"  ,
MeshGeneratorPD   
)

◆ validParams< MeshGeneratorPD >()

template<>
InputParameters validParams< MeshGeneratorPD > ( )

Definition at line 22 of file MeshGeneratorPD.C.

23 {
24  InputParameters params = validParams<MeshGenerator>();
25  params.addClassDescription("Mesh generator class to convert FE mesh to Peridynamics mesh");
26 
27  params.addRequiredParam<MeshGeneratorName>("input",
28  "The mesh based on which PD mesh will be created");
29  params.addParam<std::vector<SubdomainID>>("convert_block_ids",
30  "IDs of the FE mesh blocks to be converted to PD mesh");
31  params.addParam<std::vector<SubdomainID>>(
32  "non_convert_block_ids",
33  "IDs of the FE mesh blocks to not be converted to PD mesh. This should only be used when the "
34  "number of to-be-converted FE blocks is considerable.");
35  params.addRequiredParam<bool>(
36  "retain_fe_mesh", "Whether to retain the FE mesh or not after conversion into PD mesh");
37  params.addParam<bool>("single_converted_block",
38  false,
39  "Whether to combine converted PD mesh blocks into a single block. This is "
40  "used when all PD blocks have the same properties");
41  params.addParam<bool>(
42  "construct_peridynamics_sideset",
43  false,
44  "Whether to construct peridynamics sidesets based on the sidesets in original FE mesh");
45  params.addParam<std::vector<SubdomainID>>(
46  "connect_block_id_pairs",
47  "List of block id pairs between which will be connected via interfacial bonds");
48  params.addParam<std::vector<SubdomainID>>(
49  "non_connect_block_id_pairs", "List of block pairs between which will not be connected");
50  params.addParam<bool>("single_interface_block",
51  false,
52  "Whether to combine interface blocks into a single block. This is used "
53  "when all interface blocks have the same properties");
54 
55  return params;
56 }