Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/fem/tests/BlockLinElast3/ref.sif
3206 views
! Simple 2d linear elasticity bending problem.
! Here the monolithic matrix is split into a block matrix
! and then the block matrix strategy is used to solve it.

Header
  CHECK KEYWORDS Warn
  Mesh DB "." "angle"
  Include Path ""
  Results Directory ""
End

Simulation
  Max Output Level = 5
  Coordinate System = "Cartesian"
  Coordinate Mapping(3) = 1 2 3

  Simulation Type = "Steady State"
  Steady State Max Iterations = 1
  Steady State Min Iterations = 1
  Output Intervals = 1

!  Post File = "case.ep"
End

Constants
  Gravity(4) = 0 -1 0 9.82
  Stefan Boltzmann = 5.67e-08
End

Body 1
  Name = "Body1"
  Equation = 1
  Material = 1
  Body Force = 1
End


Equation 1
  Name = "Both"
  Active Solvers(1) = 1
End


Solver 1
  Equation = "lin.elast"

  Optimize Bandwidth = False
  Linear System Scaling = True

  Procedure = "StressSolve" "StressSolver"
  Variable = String "Disp"
  Variable DOFs = Integer 2
  Calculate Stresses = False
  Displace Mesh = Logical False

  Steady State Convergence Tolerance = 1.0e-05
  Nonlinear System Relaxation Factor = Real 1.0
  Nonlinear System Max Iterations = Integer 1

! Linear system solver for reference
!-----------------------------------------
  Linear System Solver = iterative
  Linear System Iterative Method = bicgstab
  Linear System Convergence Tolerance = 1.0e-03
  Linear System Max Iterations = 1000
  Linear System Preconditioning = ILU2
  Linear System Residual Output = integer 20
End  

Material 1
  Name = "Ideal"

  Youngs modulus = 1
  Poisson Ratio  = 0.35
  Density = 1.0
End 

Body Force 1 
  Name = "bodyforce"
  Stress BodyForce 1 = Real 1.0
!  Stress BodyForce 2 = Real -1.0
End


Boundary Condition 1
  Target Boundaries(1) = 1 
!2
  Disp 1 = Real 0
  Disp 2 = Real 0
End


RUN