Auxiliary Variable initialized by initial_from_file_var can't be used as a coupled value in IC.
Steps to Reproduce
When initializing aux variable via the method of SolutionUserObject/SolutionFunction/FunctionIC, it can be coupled in the IC. A part of the input file looks as below:
[Mesh]
file = pn_0V_out.e
[]
[Variables]
[./n]
order = FIRST
family = LAGRANGE
[./InitialCondition]
type = InitFromPrev #customized IC kernel for modifying previous solution
prev = Efn_prev #aux variable storing previous solution
dv = 0.1
[../]
[../]
[]
[UserObjects]
[./soln]
type = SolutionUserObject
system = nl0
mesh = pn_0V_out.e
system_variables = Efn #previous solution stored in the .e file
execute_on = initial
[../]
[]
[Functions]
[./load_prev_func]
type = SolutionFunction
solution = soln
[../]
[]
[AuxVariables]
[./Efn_prev]
order = FIRST
family = LAGRANGE
[./InitialCondition]
type = FunctionIC
function = load_prev_func
[../]
[../]
[]
However, if initializing the aux variable by using initial_from_file_var, as the second version below:
[AuxVariables]
[./Efn_prev]
order = FIRST
family = LAGRANGE
initial_from_file_var = Efn #previous solution stored in the .e file
[../]
[]
it doesn't work, and prompts out the message Segmentation fault (core dumped) when running.
More info can be seen at the link
Bug Description
Auxiliary Variable initialized by initial_from_file_var can't be used as a coupled value in IC.
Steps to Reproduce
When initializing aux variable via the method of SolutionUserObject/SolutionFunction/FunctionIC, it can be coupled in the IC. A part of the input file looks as below:
However, if initializing the aux variable by using initial_from_file_var, as the second version below:
it doesn't work, and prompts out the message Segmentation fault (core dumped) when running. More info can be seen at the link
Impact
Annoyance