Go to the source code of this file.
◆ registerMooseObject()
◆ validParams< MeshGeneratorPD >()
Definition at line 22 of file MeshGeneratorPD.C.
24 InputParameters params = validParams<MeshGenerator>();
25 params.addClassDescription(
"Mesh generator class to convert FE mesh to Peridynamics mesh");
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",
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",
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",
52 "Whether to combine interface blocks into a single block. This is used "
53 "when all interface blocks have the same properties");