#### INITIAL_STATE_WELDSIM

###### Initial conditions
*INITIAL_STATE_WELDSIM
type, $sf_1$, ..., $sf_6$
nid${}_1$, $v_1$, ..., $v_6$
.
nid${}_n$, $v_1$, ..., $v_6$
##### Parameter definition
VariableDescription
type Input type
options: 1 $\rightarrow$ initial yield stress is imported from WeldSim (TM)
$sf_1$, ..., $sf_6$ Scale factors
nid${}_1$ Node identification number
$v_1$, ..., $v_6$ Node quantities
nid${}_n$ Node identification number
$v_1$, ..., $v_6$ Node quantities
##### Description

This command allows the user to import simulation results from WeldSim (TM), in order to define the distribution of material properties in the heat affected zone (HAZ) after a welding operation. The GUI of IMPETUS Afea Solver can read and visualize result data from WeldSim (TM) and export it to a format that can be handled by IMPETUS Afea Solver for further computational analysis. Currently only the yield stress can be imported (type=1). The yield stress can be accessed in FUNCTION through the built in variable sigy0.

##### Example
###### Voce hardening

The commands below define a Voce hardening stress-strain relationship that depends on the initial yield stress. Note that the built in variables epsp and sigy0 are unique for each integration point in the model. sigy0 is imported from WeldSim (tm) and epsp is the current effective plastic strain.

*PARAMETER
Q1 = 40.0e6
c1 = 4.5
*INITIAL_STATE_WELDSIM
1, 1.0e6
1, 179.3
2, 178.2
.
154000, 154.6
*MAT_METAL
1, 2700.0, 70.0e9, 0.3
123
*FUNCTION
123
sigy0 + %Q1*(1-exp(-%c1*epsp))