Skip to content

Commit 0ec4df3

Browse files
committed
use sor as PC for gamg
1 parent c62075c commit 0ec4df3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pipe.fee

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# convergence study of linearized stresses in an infinite pipe
22
# with respect to the number of elements in the pipe thickness
3-
PROBLEM mechanical 3D
3+
PROBLEM mechanical 3D PC gamg KSP cg
4+
PETSC_OPTIONS -mg_levels_pc_type sor
45

56
t0 = wall_time() # initial wall time
67

7-
# read mesh aaccording to shape $1, order $2 and number of elements through thickness $2
8+
# read mesh according to shape $1, order $2 and number of elements through thickness $2
89
READ_MESH pipe-$1-$2-$3.msh
910

1011
INCLUDE problem.fee # read problem parameters

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ for shape in ust10 uct10 sst10 sct10 ssh20 sch20 ssh27 sch27; do
4949
if [ ! -e pipe-${shape}-${order}-${n}.msh ]; then
5050
gmsh -v 0 -3 pipe-${shape}-${order}-${n}.geo
5151
fi
52-
feenox pipe.fee --mumps ${shape} ${order} ${n} | tee -a convergence-${shape}-${order}.dat
52+
feenox pipe.fee ${shape} ${order} ${n} | tee -a convergence-${shape}-${order}.dat
5353

5454
# create a geo to draw a picture of the mesh
5555
# showing how many elements are there with Gmsh

0 commit comments

Comments
 (0)