Output basal drag and effective pressure

Extension of Elmer in computational glaciology

Output basal drag and effective pressure

Postby MTrevers » 09 Aug 2017, 21:44

My problem ought to have a fairly straightforward solution.

The Friction_Coulomb function calculates the basal drag (BDrag) and effective pressure (Ne). I'd simply like to be able to output these values into my .vtu files. Could somebody please show me how this is done?

.sif file attached, it's pretty standard.

Thanks
Matt
Attachments
example.sif
(13.3 KiB) Not downloaded yet
MTrevers
 
Posts: 5
Joined: 16 Nov 2015, 20:19

Re: Output basal drag and effective pressure

Postby MTrevers » 11 Aug 2017, 22:37

I've tried the following...

Under the body forces (BF3 refers to the basal boundary):
Code: Select all
Body Force 3
  Zb Accumulation = Real 0.0e0
  BDrag = Variable Coordinate 2
    Real Procedure "ElmerIceUSF" "SlidCoef_Contact"
End


Then, a new solver:
Code: Select all
Solver 11
  Exec Solver = Always
  Equation = Result Output
  Procedure = "ResultOutputSolve" "ResultOutputSolver"

  Vtu Format = Logical True
!  Exported Variable 1 = BDrag
  Vector Field 1 = String BDrag
!  Scalar Field 1 = String Ne
End


I get the following when I run it:
Code: Select all
WARNING:: WriteVtuXMLFile: Nonexistent variable: bdrag
WARNING:: WriteVtuFile: Are there really no scalars or vectors?


Plus a set of vtus/case0001.pvtu which contains the mesh but no variable values. Is someone able to explain what I'm doing wrong?

Thanks
Matt
MTrevers
 
Posts: 5
Joined: 16 Nov 2015, 20:19


Return to Elmer/Ice

Who is online

Users browsing this forum: No registered users and 1 guest

cron