Hi there,
the resultoutputsolver is using createlistfor saving from lists.src and there is a part that checks if a variable is a vector (number of components = dim)
and there are some changes from older revisions which may cause the problem.
the part
Code: Select all
! Associated to the previous case, cycle the other components of the vector
! and cycle them if they are part of the vector that will be detected above.
ELSE IF( str(j:j) == '2' ) THEN
Var1 => VariableGet(Variables,TRIM(str(1:j-2))//' 1',ThisOnly)
IF( ASSOCIATED( Var1 ) ) THEN
IF( dim == 2 ) THEN
Var1 => VariableGet(Variables,TRIM(str(1:j-2))//' 3',ThisOnly)
ELSE IF( dim == 3 ) THEN
Var1 => VariableGet(Variables,TRIM(str(1:j-2))//' 4',ThisOnly)
END IF
Set = ASSOCIATED( Var1 )
END IF
ELSE IF( str(j:j) == '3' ) THEN
IF( dim == 3 ) THEN
Var1 => VariableGet(Variables,TRIM(str(1:j-2))//' 1',ThisOnly)
IF( ASSOCIATED( Var1 ) ) THEN
Var1 => VariableGet(Variables,TRIM(str(1:j-2))//' 4',ThisOnly)
Set = ASSOCIATED( Var1 )
END IF
END IF
in the case that dim==3 and we have a vector with two components this function doesn#t work right (i think)
because it only checks if there is a 4th component but not if there is actually a third component.
one way to go around this for now would be to add alist of output variables in the resultoutputsolver section in the sif file manually.
maybe that helps
best regards
Franz