Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendy-Ji committed Jun 28, 2024
1 parent 7aa8fc5 commit a04b9ff
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

The `CoupledVarThresholdElementSubdomainModifier` can model

lol

- Element death (with applications in ablation, fracture, etc.);
- Element activation (with applications in additive manufacturing, sintering, solidification, etc.);
- Moving interface (with applications in metal oxidation, phase transformation, melt pool, etc.).
Expand Down
15 changes: 5 additions & 10 deletions framework/src/userobjects/ElementSubdomainModifierBase.C
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,14 @@ ElementSubdomainModifierBase::validParams()
params.addParam<std::vector<SubdomainName>>(
"active_subdomains",
{},
"The variables specified by the parameter 'initialize_variables' are initialized to their "
"initial conditions when elements are moved from 'inactive' subdomains to 'active' "
"subdomains, or from an 'active' subdomain to a different 'active' subdomain. The 'active' "
"subdomains are usually where the simulation is performed, i.e. the PDE's computational "
"domain. If this parameter is left empty, then the entire mesh is treated as the active "
"subdomain.");
"The subdomains in which to initialize variables. These usually correspond to the 'active' "
"subdomains where the simulation is performed, i.e. the PDE's computational domain. If this "
"parameter is left empty, then the entire mesh is the 'active_subdomain'.");
params.addParam<bool>(
"amorphous_activation",
false,
"If set to false (default), only elements moving from inactive subdomains to active "
"subdomains are considered as 'activated'. When set to true, elements moving from an active "
"subdomain to another are _also_ considered to be 'activated'.");

"If set to false (default), only elements which change from subdomains not listed in active_subdomains to ones that are listed, are initialized. When set to true, this will also "
"include elements that are initially in the 'active_subdomains'");
return params;
}

Expand Down
14 changes: 7 additions & 7 deletions test/tests/userobjects/element_subdomain_modifier/tests
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
[group]
requirement = 'The framework shall include the ability to change element subdomain during simulation'

[reversible]
type = 'Exodiff'
input = 'reversible.i'
exodiff = 'reversible_out.e reversible_out.e-s002 reversible_out.e-s003 reversible_out.e-s004'
detail = 'reversibly, '
[]

[irreversible]
type = 'Exodiff'
input = 'irreversible.i'
exodiff = 'irreversible_out.e irreversible_out.e-s002 irreversible_out.e-s003 irreversible_out.e-s004'
detail = 'irreversibly, '
[]

[reversible]
type = 'Exodiff'
input = 'reversible.i'
exodiff = 'reversible_out.e reversible_out.e-s002 reversible_out.e-s003 reversible_out.e-s004'
detail = 'reversibly, '
[]

[moving_boundary]
type = 'Exodiff'
input = 'moving_boundary.i'
Expand Down

0 comments on commit a04b9ff

Please sign in to comment.