-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #654 from richardschu/fix_issue_652
Make sure that Structure::MultigridPreconditioner is updated
- Loading branch information
Showing
13 changed files
with
618 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
applications/structure/bar/tests/quasistatic_large_strain_multigrid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"General": { | ||
"Precision": "double", | ||
"Dim": "3", | ||
"IsTest": "true" | ||
}, | ||
"SpatialResolution": { | ||
"DegreeMin": "4", | ||
"DegreeMax": "4", | ||
"RefineSpaceMin": "1", | ||
"RefineSpaceMax": "1" | ||
}, | ||
"TemporalResolution": { | ||
"RefineTimeMin": "0", | ||
"RefineTimeMax": "0" | ||
}, | ||
"Application": { | ||
"Length": "100.0", | ||
"Height": "10.0", | ||
"Width": "10.0", | ||
"ProblemType": "QuasiStatic", | ||
"LargeDeformation": "true", | ||
"Preconditioner": "Multigrid", | ||
"WeakDamping": "0.0", | ||
"UseVolumeForce": "false", | ||
"VolumeForce": "1.0", | ||
"BoundaryType": "Dirichlet", | ||
"Displacement": "2.0e-1", | ||
"Traction": "0.0" | ||
}, | ||
"Output": { | ||
"OutputDirectory": "output/bar/", | ||
"OutputName": "test", | ||
"WriteOutput": "false" | ||
} | ||
} |
119 changes: 119 additions & 0 deletions
119
applications/structure/bar/tests/quasistatic_large_strain_multigrid.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
|
||
|
||
|
||
________________________________________________________________________________ | ||
|
||
//////// /////// //////// | ||
/// /// /// /// | ||
////// /// /// /////// /// /// /// //// | ||
/// //// // // /// /// /// /// | ||
//////// /// /// ///////// /////// //////// | ||
|
||
High-Order Discontinuous Galerkin for the Exa-Scale | ||
________________________________________________________________________________ | ||
|
||
|
||
MPI info: | ||
|
||
Number of processes: 1 | ||
|
||
Setting up elasticity solver: | ||
|
||
List of parameters: | ||
|
||
Mathematical model: | ||
Problem type: QuasiStatic | ||
Body force: false | ||
Large deformation: true | ||
Pull back body force: false | ||
Pull back traction: false | ||
|
||
Physical quantities: | ||
|
||
Temporal discretization: | ||
load_increment: 5.0000e-01 | ||
|
||
Spatial Discretization: | ||
Triangulation type: Distributed | ||
Element type: Hypercube | ||
Number of global refinements: 1 | ||
Create coarse triangulations: false | ||
Mapping degree: 1 | ||
Mapping degree coarse grids: 1 | ||
Polynomial degree: 4 | ||
|
||
Solver: | ||
|
||
Newton: | ||
Maximum number of iterations: 100 | ||
Absolute solver tolerance: 1.0000e-09 | ||
Relative solver tolerance: 1.0000e-09 | ||
|
||
Linear solver: | ||
Solver: FGMRES | ||
Maximum number of iterations: 1000 | ||
Absolute solver tolerance: 1.0000e-12 | ||
Relative solver tolerance: 1.0000e-08 | ||
Maximum size of Krylov space: 100 | ||
Preconditioner: Multigrid | ||
Multigrid type: phMG | ||
p-sequence: Bisect | ||
Smoother: Chebyshev | ||
Preconditioner smoother: PointJacobi | ||
Iterations smoother: 5 | ||
Smoothing range: 2.0000e+01 | ||
Iterations eigenvalue estimation: 20 | ||
Coarse grid solver: CG | ||
Coarse grid preconditioner: AMG | ||
Maximum number of iterations: 10000 | ||
Absolute solver tolerance: 1.0000e-12 | ||
Relative solver tolerance: 1.0000e-03 | ||
Maximum size of Krylov space: 30 | ||
AMG type: ML | ||
Smoother sweeps: 1 | ||
Number of cycles: 1 | ||
Smoother type: ILU | ||
|
||
Generating grid for 3-dimensional problem: | ||
|
||
Max. number of refinements: 1 | ||
Number of cells: 32 | ||
|
||
Construct elasticity operator ... | ||
|
||
Continuous Galerkin finite element discretization: | ||
|
||
degree of 1D polynomials: 4 | ||
number of dofs per cell: 375 | ||
number of dofs (total): 8019 | ||
|
||
... done! | ||
|
||
Setup elasticity operator ... | ||
|
||
... done! | ||
|
||
Calculate error for all fields for initial data: | ||
Relative error (L2-norm): 1.00000e+00 | ||
|
||
Solving quasi-static problem ... | ||
|
||
________________________________________________________________________________ | ||
|
||
Solve non-linear problem for load factor = 5.0000e-03 | ||
________________________________________________________________________________ | ||
|
||
________________________________________________________________________________ | ||
|
||
Solve non-linear problem for load factor = 5.0000e-01 | ||
________________________________________________________________________________ | ||
|
||
________________________________________________________________________________ | ||
|
||
Solve non-linear problem for load factor = 1.0000e+00 | ||
________________________________________________________________________________ | ||
|
||
... done! | ||
|
||
Calculate error for all fields for solution data: | ||
Relative error (L2-norm): 4.24816e-02 |
36 changes: 36 additions & 0 deletions
36
applications/structure/bar/tests/steady_large_strain_multigrid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"General": { | ||
"Precision": "double", | ||
"Dim": "3", | ||
"IsTest": "true" | ||
}, | ||
"SpatialResolution": { | ||
"DegreeMin": "4", | ||
"DegreeMax": "4", | ||
"RefineSpaceMin": "1", | ||
"RefineSpaceMax": "1" | ||
}, | ||
"TemporalResolution": { | ||
"RefineTimeMin": "0", | ||
"RefineTimeMax": "0" | ||
}, | ||
"Application": { | ||
"Length": "100.0", | ||
"Height": "10.0", | ||
"Width": "10.0", | ||
"ProblemType": "Steady", | ||
"LargeDeformation": "true", | ||
"Preconditioner": "Multigrid", | ||
"WeakDamping": "0.0", | ||
"UseVolumeForce": "false", | ||
"VolumeForce": "1.0", | ||
"BoundaryType": "Dirichlet", | ||
"Displacement": "20.0e-3", | ||
"Traction": "0.0" | ||
}, | ||
"Output": { | ||
"OutputDirectory": "output/bar/", | ||
"OutputName": "test", | ||
"WriteOutput": "false" | ||
} | ||
} |
Oops, something went wrong.