Re: [deal.II] Re: Defining tensor in different dim and spacedim

2018-10-17 Thread Wolfgang Bangerth
> Instead of 2*pi*r  dr  dz    in the boundary integral, did you mean 2*pi*r*dz > ? > Otherwise, you will get the differential volume. This is a really old thread :-) Yes, you are correct. The *domain* integral has the form \int_\Omega f(r,z) 2*pi r dr dz and the boundary integral will h

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2018-10-16 Thread Valentin Zingan
Hello Wolfgang, Instead of 2*pi*r dr dzin the boundary integral, did you mean 2*pi*r*dz ? Otherwise, you will get the differential volume. Thanks. среда, 19 октября 2016 г., 17:43:59 UTC-4 пользователь Wolfgang Bangerth написал: > > > In fact, I should solve my problem on a sphere (circ

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2016-10-22 Thread benhour . amirian66
Dear All, I want to solve my thermoelasticity problem in cylindrical coordinate systems. my domain includes two quarter of a circle in 2D and two quarter of two spheres in 3D. They are bulk. I attached my domain that was created by quarter_hyper_shell for 2D. But, I really do not kno how I can c

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2016-10-20 Thread Wolfgang Bangerth
On 10/19/2016 08:42 PM, benhour.amiria...@gmail.com wrote: I still have some problem in solving my equations on a curved domain (sphere in 3D or circle in 2D). I got error with this content: invalid initialization of reference of type ‘dealii::Triangulation<2, 3>&’ from expression of type ‘dealii

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2016-10-19 Thread benhour . amirian66
Dear All, I still have some problem in solving my equations on a curved domain (sphere in 3D or circle in 2D). I got error with this content: invalid initialization of reference of type ‘dealii::Triangulation<2, 3>&’ from expression of type ‘dealii::Triangulation<3, 3>’ Does it mean that I should

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2016-10-19 Thread Wolfgang Bangerth
In fact, I should solve my problem on a sphere (circle). According to your noteworthy comments, the only thing that I have to do is change the geometry and use higher order mapping for accuracy. Another thing is that consider a half of a circle in r-z coordinate system and the problem is axisymmet

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2016-10-19 Thread benhour . amirian66
Yes exactly. The only difference is in weak form of my equation which should be multiplied by 2*pi*r which I define r_value = fe_values_eta.quadrature_point(q_point)[0]; In fact, I should solve my problem on a sphere (circle). According to your noteworthy comments, the only thing that I have to

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2016-10-19 Thread Timo Heister
> Yes You are right. I mean curved domain. My question is should i use codim > instead of mapping because of the fact that there is only two tutorials in > dealii which solved a differential equation on c curved domain according to No, codim problems solve systems on surfaces embedded in a higher

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2016-10-19 Thread benhour . amirian66
Yes You are right. I mean curved domain. My question is should i use codim instead of mapping because of the fact that there is only two tutorials in dealii which solved a differential equation on c curved domain according to the fact that my derived weak expressions are in cylindrical coordinat

Re: [deal.II] Re: Defining tensor in different dim and spacedim

2016-10-19 Thread Timo Heister
> Let me put it in a such way. I want to solve my equation on a curved edge. > According to dealii library, I should use MappingQ whenever I have nonlinear > domain. Am I correct? I don't think "nonlinear" is the word you are looking for. Do you mean a curved boundary? > In addition, Should I rep

[deal.II] Re: Defining tensor in different dim and spacedim

2016-10-19 Thread benhour . amirian66
Dear Jean-Paul, Let me put it in a such way. I want to solve my equation on a curved edge. According to dealii library, I should use MappingQ whenever I have nonlinear domain. Am I correct? In addition, Should I replace all dim in defining my tensors to spacedim? It should be noted that dim = sp

[deal.II] Re: Defining tensor in different dim and spacedim

2016-10-18 Thread Jean-Paul Pelteret
Dear Benhour, Thank you for providing a little more context, but you still have not articulated what the actual problem is. What exactly do you mean by "I have some problem with defining elasticity matrices"? Please see this post , in

[deal.II] Re: Defining tensor in different dim and spacedim

2016-10-18 Thread benhour . amirian66
Dear All, I want to solve a thermoelastic problem in cylindrical coordinate system. My domain is a circle in 2D or Sphere in 3D. I am following step 44 with considering the fact that I am solving for small strain. Because I have curved domain and I should Impose a boundary condition that change

[deal.II] Re: Defining tensor in different dim and spacedim

2016-10-18 Thread Jean-Paul Pelteret
Dear Benhour, I'd like to help you but I really don't understand your question. Since its templated on the [space] dimension, the PointHistory class that you've displayed here is potentially suitable for either codimension 0 problems (dependent on your implementation of a constitutive law, of c