Dear Elena,

it is essentially as in all other deal.II steps: you need to go through the code and check which parts depend explicitly on the dimension. As you say yourself, you definitely
need to provide

- a 3D mesh
- possibly modify the boundary conditions.

Furthermore, you need to:

- check if the primal equation needs to be adapted (in this example not!)
- check whether the adjoint (dual) equation (right hand side) needs to
  be modified
- check whether the error estimator contains parts that are only
valid for 2D (I remember that in this specific example it is already dimension-independent)

Once you have this, I would just try to run the code and see what happens
and then work in debug mode or with gdb to find out where the codes crashes.
The compiler will tell you.

Best Thomas

--
++--------------------------------------------++
Dr. Thomas Wick
Maitre de conferences / Assistant Professor

Centre de Mathematiques Appliquees (CMAP)
Ecole Polytechnique
91128 Palaiseau cedex, France

Email:  [email protected]
Phone:  0033 1 69 33 4579
www:    http://www.cmap.polytechnique.fr/~wick/
++--------------------------------------------++
--




On 07/08/2017 08:18 AM, Jean-Paul Pelteret wrote:
Dear Elena,

You have asked a question that is beyond the scope of expectation for this forum <https://groups.google.com/forum/#%21topic/dealii/GRZMUTLIm2I>. Right now you're essentially asking someone to do your preliminary work for you, which is unfair. Part of the way to learn deal.II and become familiar with the workings of code that forms the foundation of your work is to play with it. If you have any specific questions regarding issues that you encounter while trying to modify the example, feel free to ask them and we'd be happy to help where we can.

Best,
Jean-Paul

On Friday, July 7, 2017 at 4:06:39 PM UTC+2, Elena Greco wrote:

    Dear Friends,

    I want to change step 14 to run a 3D model.
    I know that in deal ii many parts are dim independent and by
    changing dim to 3, automatically many parts work for 3D and do not
    need any modification.

    I want to know, for 3D model which parts should I change in step 14.
    In general I know that I should modify mesh and BC parts but step
    14 is complicated and I need a bit more detail list for step 14.
    I am asking this question because I want to have complete list of
    the parts which I should modify and I do not want to miss any part.

    Best regards.
    Elena


--
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
++--------------------------------------------++
Dr. Thomas Wick
Maitre de conferences / Assistant Professor

Centre de Mathematiques Appliquees (CMAP)
Ecole Polytechnique
91128 Palaiseau cedex, France

Email:  [email protected]
Phone:  0033 1 69 33 4579
www:    http://www.cmap.polytechnique.fr/~wick/
++--------------------------------------------++
--

--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to