This is an old revision of the document!
IntegrateVertically.f90
IntegrateVertically
Integrated Variable Name
, Depth
or Height
This solver compute the depth integrated value of a variable = sum_zb^zs D dz or the mean value. Can be computed on the upper surface or on the lower one.
Solver 2 Equation = "IntegrateVertically" Procedure = File "ElmerIceSolvers" "IntegrateVertically" Variable = String "Mean Var" Variable DOFs = 1 Exported Variable 1 = String "VarToBeIntegrated" Exported Variable 1 DOFs = 1 ! We want it computed on the bed On Surface = Logical False ! We want the mean value ! We then need the Depth Compute Mean = Logical True Integrated Variable Name = String "VarToBeIntegrated" Linear System Solver = "Direct" Linear System Direct Method = umfpack End !!! free surface Boundary Condition 2 Target Boundaries = 6 Mean Var = Real 0.0 Depth = Real 0.0 End
Download an example using the IntegrateVertically Solver