[Dune] Alugrid DGF

kenza bouznari ova.clay.art at gmail.com
Tue Mar 15 16:20:15 CET 2022


Hello,

For my simulations I use Alugrid by reading an external file (attached):
{ using type = Dune::ALUGrid<3, 3, Dune::simplex, Dune::nonconforming>; };
I want to know if it's possible to refine the mesh only around a part of my
domain. If yes, how to apply it in my grid file (attached).
Your guidance is much appreciated.

Best regards,

Ova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20220315/bc467320/attachment.htm>
-------------- next part --------------
DGF

Interval
0   0   0                                 % first corner
200   50   40                                 % second corner
100   25   20                                 % number of cells in each direction
#
Simplex
#
BoundaryDomain
default 1                               % all boundaries have id 1
#

GridParameter
name 3d-unit-cube                       % name of the grid
refinementedge arbitrary                % refinement edge for bisectioning
overlap 1                               % number of overlap cells
periodic                                % periodicity parameter for YaspGrid
closure none                            % no green closure on UGGrid
copies all                              % let UGGrid make copies
#

# unitcube3.dgf


More information about the Dune mailing list