To add to Bruno's answer:

If you don't want to use anisotropic refinement you have two other options:
1. Just accept that you get additional refinement in areas/directions you
don't particularly care about. If you have a realistic computation, you
likely need to refine many more times and thus the effect should be less
pronounced than it is in your example.
2. You may be able to start with a coarse mesh that is more refined along a
certain direction to suit your problem (for example by using gmsh like it
is done in step-49).

On Wed, Mar 29, 2017 at 3:24 PM, Bruno Turcksin <bruno.turck...@gmail.com>
wrote:

> Jaekwang,
>
> you can do anisotropic refinement 
> (https://urldefense.proofpoint.com/v2/url?u=http-3A__dealii.org_developer_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=gbt02tX39DgcT1JRet7PQpIaWs5EKmgyWkU8nN9RD2I&s=X3sh3_rc9rQ9Si8auSvj2svLSFUJ1gdR_kW1NZTSnZ4&e=
>  
> doxygen/deal.II/classCellAccessor.html#afb6cc537720a5b6381c237abe0887de2)
> but only in serial. So depending if your code is parallel or not this may
> be what you are looking for.
>
> Best,
>
> Bruno
>
>
> On Wednesday, March 29, 2017 at 3:01:49 PM UTC-4, Jaekwang Kim wrote:
>>
>> Hi all,
>>
>> I am running deal.ii for study non-newtonian fluids.
>>
>> I have a mesh which is attached.
>>
>> I am using AMR, but, when I use just conventional function,
>> "cell->refine_flag()" for refinement,
>>
>> the flagged cell divide into 4.
>>
>> but as my problem only need high resolution in r-direction,
>> I want to turn off theta directional refinement.
>>
>> So, in red square... I attached my desired refinement way.....
>>
>> will that be way to accomplish this? , If needed, I think I can try merge
>> some cell after refinement...
>>
>> if I need to describe question. please just let me know
>>
>> Thanks.
>>
>>
>> Bests,
>> Jaekwang Kim
>>
>>
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lh3.googleusercontent.com_-2DQyyWHbmWMC4_WNwDRpHKeEI_AAAAAAAABAQ_3NlDrVNVqM0KsSdDDdu4XgePeI846Zj1gCLcB_s1600_Picture1.png&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=gbt02tX39DgcT1JRet7PQpIaWs5EKmgyWkU8nN9RD2I&s=5PlA1MqrRUu7Z3xHD0R8Uk9NRa5hR9vOVPQD72xhLEA&e=
>>  >
>>
> --
> The deal.II project is located at 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=gbt02tX39DgcT1JRet7PQpIaWs5EKmgyWkU8nN9RD2I&s=YTQSW5Q0reOr_qCDFrBkxobnQ3sH0sEIYwVzQq5mGpg&e=
>  
> For mailing list/forum options, see 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=gbt02tX39DgcT1JRet7PQpIaWs5EKmgyWkU8nN9RD2I&s=K1yUbab2VxcRARHdYlMZAhMcPf1gDlpq3TTFWKOyQtg&e=
>  
> 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.
> For more options, visit 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=gbt02tX39DgcT1JRet7PQpIaWs5EKmgyWkU8nN9RD2I&s=7fE0UCT9U-T6CwLzysqZ1Icn-eHvspkH0OIeFrtx7BE&e=
>  .
>



-- 
Timo Heister
http://www.math.clemson.edu/~heister/

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

Reply via email to