idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.72k stars 1.04k forks source link

Components of material property output should not be optional parameters #27625

Open GiudGiud opened 4 months ago

GiudGiud commented 4 months ago

Bug Description

A reasonable user would expect the entire vector to be output with a MaterialStdVectorRealAux into an auxvariable. Having the component default to 0 does not show them that they only get one component

Several auxkernels are like this MaterialDenseMatrixAux MaterialStdVectorRealAux Probably others

Steps to Reproduce

Work with array mat props, and look at outputting them

Impact

User support needs

[Optional] Diagnostics

No response

YaqiWang commented 4 months ago

Possibly need to make index parameter required. One difficulty of automating this to output all components is that the vector size is unknown in general when adding aux variables.

GiudGiud commented 4 months ago

Possibly need to make index parameter required.

I agree that s the solution