This is an old revision of the document!
GetHydrostaticLoads.f90
GetHydrostaticLoads
Fw
(user defined DOFs=2 in 2D, 3 in 3D) External Pressure
For a given boundary, this solver computes the equivalent nodal force induced by a pressure on the surface (read from the keyword External Pressure
). The result is a force vector (Fx,Fy) in 2D and (Fx,Fy,Fz) in 3D.
Solver 1 Equation = Fw Variable = Fw[Fx:1 Fy:1 Fz:1] Variable DOFs = 3 Procedure = "ElmerIceSolvers" "GetHydrostaticLoads" End ! Solve this for body Id 2 (=boundary 3 here) Equation 2 Active Solvers(1) = 1 End !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Boundary Condition 3 Target Boundaries = 5 Body Id = 2 External Pressure = Real 0.1 End
In this example, a pressure applied on a boundary is first integrated to get nodal force using the GetHydrostaticLoad, and then the pressure is recovered using the ForceToStress Solver.