This is an old revision of the document!

Warning: Declaration of syntax_plugin_mathpublish::handle(\$match, \$state, \$pos, &\$handler) should be compatible with DokuWiki_Syntax_Plugin::handle(\$match, \$state, \$pos, Doku_Handler \$handler) in /home/np29546/public_html/elmerice/wiki/lib/plugins/mathpublish/syntax.php on line 0

Warning: Declaration of syntax_plugin_mathpublish::render(\$mode, &\$R, \$data) should be compatible with DokuWiki_Syntax_Plugin::render(\$format, Doku_Renderer \$renderer, \$data) in /home/np29546/public_html/elmerice/wiki/lib/plugins/mathpublish/syntax.php on line 0

## ForceToStress Solver

### General Informations

• Solver Fortran File: `ForceToStress.f90`
• Solver Name: `ForceToStress`
• Required Output Variable(s): `Stress` (user defined)
• Required Input Variable(s): `Force`
• Optional Output Variable(s): None
• Optional Input Variable(s): None

### SIF contents

```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.

<code>
Solver 1
Equation = "Navier-Stokes"
Stabilization Method = String Stabilized
Flow Model = Stokes

...

Exported Variable 1 = Flow Solution Loads[Fx:1 Fy:1 Fz:1 CEQ Residual:1 ]

Exported Variable 2 = Force
Exported Variable 2 DOFS = Integer 1
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
..
Force = Equals Fz
End```