This is an old revision of the document!
ForceToStress.f90
ForceToStress
Stress
(user defined) Force
For a given boundary, this solver computes the nodal stress equivalent to a given nodal normal force. This can be used also to infer the flux from the knowledge of a debit.
Solver 1 Equation = "Navier-Stokes" Stabilization Method = String Stabilized Flow Model = Stokes ... Exported Variable 1 = Flow Solution Loads[Fx:1 Fy:1 Force:1 CEQ Residual:1 ] Calculate Loads = Logical True End Solver 2 Equation = "ForceToStress" Procedure = File "./ForceToStress" "ForceToStress" Variable = String "Stress" Variable DOFs = 1 Linear System Solver = Direct Linear System Direct Method = umfpack End ! Solve this for body Id 2 (=boundary 3 here) Equation 2 Active Solvers(1) = 2 End !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Boundary Condition 3 Target Boundaries = 5 Body Id = 2 ... End
Download an example using the FlowDepth Solver. TODO