idaholab / blackbear

BlackBear is a MOOSE-based code for simulating degradation processes in concrete and other structural materials.
GNU Lesser General Public License v2.1
17 stars 42 forks source link

Prevent name clashes for multiple EqualValueEmbeddedConstraintActions #300

Closed bwspenc closed 2 years ago

bwspenc commented 2 years ago

closes #299

The names of Constraint objects created by EqualValueEmbeddedConstraintAction were not connected to variable names, which meant that if more than one instance of that block were created to allow use with another variable, there would be a name clash. Fix that by including the variable name in the name of the Constraint.

moosebuild commented 2 years ago

Job Test on e8f0e17 wanted to post the following:

View the site here

This comment will be updated on new commits.

dschwen commented 2 years ago

I suppose this is for cases where you have two sets of displacement variables on the same block... both sides of a crack?

moosebuild commented 2 years ago

Job Coverage on e8f0e17 wanted to post the following:

Coverage

48e40b #300 e8f0e1
Total Total +/- New
Rate 95.70% 95.70% - 100.00%
Hits 1290 1290 - 1
Misses 58 58 - 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

bwspenc commented 2 years ago

@dschwen Actually, what motivated this is that I need to use a different penalty parameter for the displacement and temperature variables, which means that I need two separate blocks.