Thank you Prof. Wolfgang for the response! I will try my best to elaborate 
it more.
I ran the case of "Cantiliver_beam_3d" and it returned the results after 
couple of minutes as mentioned in the attachement (where per time step, 
seemingly only one iteration was performed in Newton method and in all 
increamental load steps the result values are zero for both stress and 
displacement).

Secondly I tried to run the case "Thick_tube_internal_pressure" which first 
popped up the dialog message of : 
























*TimerOutput objects finalize timed values printed to thescreen by 
communicating over MPI in their destructors.Since an exception is currently 
uncaught, thissynchronization (and subsequent output) will be skipped 
toavoid a possible 
deadlock.---------------------------------------------------------ERROR: 
Uncaught exception in MPI_InitFinalize on proc 0. Skipping MPI_Finalize() 
to avoid a 
deadlock.----------------------------------------------------Exception on 
processing: --------------------------------------------------------An 
error occurred in line <3617> of file 
</home/muhammad/installed_software/dealii-9.1.1/examples/Goal-oriented_mesh_adaptivity_in_elastoplasticity_problems/elastoplastic.cc>
 
in function    void ElastoPlastic::ElastoPlasticProblem<dim>::make_grid() 
[with int dim = 3]The violated condition was:     dim == 2Additional 
information:     You are trying to use functionality in deal.II that is 
currently not implemented. In many cases, this indicates that there simply 
didn't appear much of a need for it, or that the author of the original 
code did not have the time to implement a particular case. If you hit this 
exception, it is therefore worth the time to look into the code to find out 
whether you may be able to implement the missing functionality. If you do, 
please consider providing a patch to the deal.II development sources (see 
the deal.II website on how to 
contribute).--------------------------------------------------------Aborting!*
Where as per my understanding of template based nature of deall.ii and also 
this case is 2d so if I change the *dim = 2* from originally *dim = 3* in 
main function of elastoplastic.cc then the following error comes during 
compilation : 















*/home/muhammad/installed_software/dealii-9.1.1/examples/Goal-oriented_mesh_adaptivity_in_elastoplasticity_problems/elastoplastic.cc:
 
In instantiation of ‘void 
ElastoPlastic::ElastoPlasticProblem<dim>::make_grid() [with int dim = 
2]’:/home/muhammad/installed_software/dealii-9.1.1/examples/Goal-oriented_mesh_adaptivity_in_elastoplasticity_problems/elastoplastic.cc:7100:14:
   
required from ‘void ElastoPlastic::ElastoPlasticProblem<dim>::run() [with 
int dim = 
2]’/home/muhammad/installed_software/dealii-9.1.1/examples/Goal-oriented_mesh_adaptivity_in_elastoplasticity_problems/elastoplastic.cc:7265:21:
   
required from 
here/home/muhammad/installed_software/dealii-9.1.1/examples/Goal-oriented_mesh_adaptivity_in_elastoplasticity_problems/elastoplastic.cc:3796:30:
 
error: invalid initialization of reference of type 
‘dealii::Triangulation<3, 3>&’ from expression of type 
‘dealii::parallel::distributed::Triangulation<2, 2>’         
extrude_triangulation(triangulation_2d,                              
^/home/muhammad/installed_software/dealii-9.1.1/examples/Goal-oriented_mesh_adaptivity_in_elastoplasticity_problems/elastoplastic.cc:107:3:
 
note: in passing argument 4 of ‘void 
ElastoPlastic::extrude_triangulation(const dealii::Triangulation<2, 2>&, 
unsigned int, double, dealii::Triangulation<3, 3>&)’   
extrude_triangulation(const Triangulation<2, 2> &input,   
^/home/muhammad/installed_software/dealii-9.1.1/examples/Goal-oriented_mesh_adaptivity_in_elastoplasticity_problems/elastoplastic.cc:3959:30:
 
error: invalid initialization of reference of type 
‘dealii::Triangulation<3, 3>&’ from expression of type 
‘dealii::parallel::distributed::Triangulation<2, 2>’         
extrude_triangulation(triangulation_2d,                              
^/home/muhammad/installed_software/dealii-9.1.1/examples/Goal-oriented_mesh_adaptivity_in_elastoplasticity_problems/elastoplastic.cc:107:3:
 
note: in passing argument 4 of ‘void 
ElastoPlastic::extrude_triangulation(const dealii::Triangulation<2, 2>&, 
unsigned int, double, dealii::Triangulation<3, 3>&)’   
extrude_triangulation(const Triangulation<2, 2> &input,*
Currently I am not changing anything in ".prm" and ".cc" and running it as 
it is downloading from the code gallery. May be I am missing some 
instructions to run it so any help or hint in this regard would be much 
appreciated. Thank you very much in advance!


On Monday, June 17, 2019 at 6:36:23 PM UTC+2, Wolfgang Bangerth wrote:
>
> On 6/17/19 1:50 AM, Muhammad Mashhood wrote: 
> >                              I recently started working with deal.ii and 
> want 
> > to work with material models from material mechanics. For this so far I 
> came 
> > across nicely written and well worked code of "The 'Goal-oriented mesh 
> > adaptivity in elastoplasticity problems " in the code gallery. I tried 
> to 
> > compile and run it on deal.ii 9.1.1 and one of the case ran but not 
> giving 
> > displacement and stresses values in the loading step output results. 
>
> Can you be more specific what doesn't work? Which case is it that doesn't 
> work? And what do you mean by "not giving displacement and stresses in the 
> ... 
> output"? 
>
> Best 
>   W. 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 [email protected] 
> <javascript:> 
>                             www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/57bb5eea-41a0-423a-a1ce-108567008a53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: terminal_log
Description: Binary data

Reply via email to