Related to some recent questions in Elmer forum there are now some new minor features open for testing. The features are featured in the attached example and are related to a svn commit 4294 (10 minutes ago).
Most importantly the values of exported variables may now be set similarly as the body-Dirichlet values of the primary variables. So if you decleare additional variables in a solver section you as in:
Code: Select all
Exported Variable 1 = -dofs 1 TempRoot
Exported Variable 2 = -dofs 2 TempPowers
Exported Variable 3 = TempCut
Nonlinear Update Exported Variables = Logical True
Code: Select all
TempRoot = Variable Temp
Real MATC "sqrt(tx)"
TempPowers 1 = Variable Temp
Real MATC "tx*tx"
TempPowers 2 = Variable Temp
Real MATC "tx*tx*tx"
TempCut = Equals Temp
TempCut Condition = Variable Coordinate 1, Coordinate 2
Real MATC "tx(0)-tx(1)"
Additonally it is possible to save the 1st and 2nd derivates related to a time-dependent equation solved with at least 2nd order integration schemes. Currently this just adds a new pointer for saving the results for the components of the PrevValues. For this purpose the variable type was modified to include a component "Secondary" which means that the variable ows its component to some other primary variable and should not be deallocated (this is only a concern to those who code, of course).
Code: Select all
Calculate Velocity = Logical True
Calculate Acceleration = Logical True
Code: Select all
Calculate Weights = Logical True
Calculate Loads = Logical True
Calculate Energy Norm = Logical True
-Peter