Thanks for the response! The grids I am planning to use are not simple and 
may have protrusions which might to too complex to achieve with the grid 
generator function of deal.ii. So, I think I would have to follow the first 
method you mentioned. Could you please refer the tutorial programs that 
imports linear cells and then modify to make the cells of higher degree 
polynomial order?

Thanks again,
Krishanu

On Sunday, 16 January 2022 at 19:18:57 UTC-5 Wolfgang Bangerth wrote:

> On 1/16/22 10:09 AM, krishan...@gmail.com wrote:
> > I am planning to import a grid/mesh in deal.ii using GridIn function. I 
> was 
> > wondering if any recent verison of deal.ii can import a grid with 
> quadratic 
> > elements or not. If not, is there any function to transform an imported 
> grid 
> > with linear elements to a grid with quadratic elements?
>
> I believe that we don't currently have a way to do this. The fundamental 
> issue 
> is that deal.II has a different model than other software packages about 
> this: 
> deal.II sees a "cell" as characterized by its vertices + a mapping from 
> the 
> reference cell to the real-space coordinates. The mapping requires a 
> description of the boundary via a manifold, and so higher order cells 
> would be 
> described by attaching a manifold to the triangulation; the manifold isn't 
> restricted to quadratic surfaces, but is just an arbitrary function. The 
> difficulty when dealing with quadratic mesh cells is to convert the 
> information from a mesh file into manifold descriptions, something the 
> GridIn 
> class wasn't designed to do.
>
> The easier way, on the other hand, is to just export linear cells and then 
> reason *separately* from the mesh file about what manifold you want to 
> use. 
> This could, for example, be to use the same CAD geometry that was already 
> used 
> to generate the mesh. There are a couple of tutorial programs that show 
> this. 
> An alternative, if the geometry is simple (say a sphere, or a geometry 
> that is 
> given by elevating a surface based on experimental data), is to describe 
> the 
> geometry via a manifold that is a known function. There are a couple more 
> tutorial programs about that as well.
>
> Best
> W.
>
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: bang...@colostate.edu
> 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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/c9639b91-563d-4696-a11f-19b22e2c2addn%40googlegroups.com.

Reply via email to