RE: [deal.II] Re: Integrated material and spatial traction forces on boundary not equal

2021-06-17 Thread Michael Li
Thanks, W. for confirming that! I reinstalled deal.II after installing Trillinos. Step 31 runs well.   From: Wolfgang BangerthSent: Wednesday, June 16, 2021 4:10 PMTo: dealii@googlegroups.comSubject: Re: [deal.II] Re: Integrated material and spatial traction forces on boundary not equal On 6/16/21

Re: [deal.II] Re: Integrated material and spatial traction forces on boundary not equal

2021-06-16 Thread Wolfgang Bangerth
On 6/16/21 4:07 PM, Michael Lee wrote: Is there a way to let deal.II know Trillinos is installed? Do I have to reinstall deal.ii? Or, can I compile the code without using Trillinos with some modification? No, you have to re-install deal.II so that at compile time, it knows that Trilinos exi

Re: [deal.II] Re: Integrated material and spatial traction forces on boundary not equal

2021-06-16 Thread Michael Lee
Hi Alex, I just got a chance to have Trilinos installed but the same error occurs regarding *EnergyFunctional*. I got the following notice when trying to test *step-31*: Error! This tutorial requires a deal.II library that was configured with the following options: DEAL_II_WITH_TRILINOS

Re: [deal.II] Re: Integrated material and spatial traction forces on boundary not equal

2021-06-11 Thread Alex Cumberworth
Hi Wolfgang, I tried a quadratic element, and was able to reduce the number of degrees of freedom for the same level of convergence by another order of magnitude. Thanks! Best, Alex On Friday, June 11, 2021 at 3:34:08 p.m. UTC+2 Wolfgang Bangerth wrote: > On 6/11/21 4:04 AM, Alex Cumberworth

Re: [deal.II] Re: Integrated material and spatial traction forces on boundary not equal

2021-06-11 Thread Wolfgang Bangerth
On 6/11/21 4:04 AM, Alex Cumberworth wrote: To answer the question I posed, I did some more tests and found that refining in the width and height of the beam has no effect on the convergence of the shear force. I went down to just a single division in z and 2 in y (in other words there are ju

Re: [deal.II] Re: Integrated material and spatial traction forces on boundary not equal

2021-06-11 Thread Alex Cumberworth
Hi Michael, I think that is the first point in my code that something from the automatic differentiation module is referred to, which is a part of trilinos. Was your version of deal.ii compiled with trilinos, and if so, was your version of trilinos compiled with sacado? To answer the question

RE: [deal.II] Re: Integrated material and spatial traction forces on boundary not equal

2021-06-10 Thread Michael Li
Alex,  Thank you for sharing your codes. I have some compiling errors relating to “EnergyFunctional’: solve_ring_nonlinear.cpp:520:43: error: ‘EnergyFunctional’ in namespace ‘dealii::Differentiation::AD’ does not name a template type  520 | using ADHelper = Differentiation::AD::EnergyFunctional