[petsc-users] The possibility of applying DA to governing multi-block data structure

C.-C. Chiou ccchiou2012 at gmail.com
Mon Aug 27 20:13:06 CDT 2012


Matt,

Thanks a lot!
I'll try your suggestions.

Chuei-Ching Chiou

On Tue, Aug 28, 2012 at 3:59 AM, Matthew Knepley <knepley at gmail.com> wrote:

> On Sun, Aug 26, 2012 at 10:29 PM, C.-C. Chiou <ccchiou2012 at gmail.com>wrote:
>
>>
>> Matt,
>>
>> Thank you.
>>
>> Now, I'm dealing with a work like that: (for example)
>>
>>                   ______
>>                   |           |
>>                   |           |
>>  ________ |           |
>> |                 |           |
>> |       f1       |    f2    |
>> |________ |           |
>>                   |           |
>>                   |           |
>>                   |_____ |
>>
>> (or please see the attached file "blocks_fig1.png" )
>>
>> I have a physical domain partitioned into two blocks f1 and f2 (or more
>> for other case),
>> and I need to solve Navier-Stoke equations concerning on such domain by
>> multi-block solver,
>> with two connected structured meshes respectively  for f1 and f2.
>>
>> I wonder whether case like the above for example is considered as one of
>> experiment.
>>
>
> So for this case we have no easy support. You would have to manually
> construct a VecScatter
> object which encoded the coupling between the meshes, and there really are
> not any examples
> of this. Note that Hypre does have a specific interface for this (I think
> its SStruct).
>
>   Thanks,
>
>      Matt
>
>
>> Regards.
>>
>>
>> Chuei-Ching Chiou
>>
>>
>>
>> On Wed, Aug 22, 2012 at 6:50 PM, Matthew Knepley <knepley at gmail.com>wrote:
>>
>>> On Wed, Aug 22, 2012 at 2:52 AM, C.-C. Chiou <ccchiou2012 at gmail.com>wrote:
>>>
>>>> Dear Mathew,
>>>>
>>>> Thanks for your response!
>>>>
>>>> At line 645 in the source code,
>>>> http://www.mcs.anl.gov/petsc/petsc-dev/include/petscsnes.h.html ,
>>>> some SNES routines for multi-block solver were listed.
>>>> Is there any source code for specific testing PDE problem with these
>>>> routines?
>>>>
>>>
>>> That is an experiment that does not yet work.
>>>
>>>
>>>> In addition, is the KSP version available?
>>>>
>>>
>>> Its called ASM.
>>>
>>>    Matt
>>>
>>>
>>>> Sincerely regards.
>>>>
>>>> Chuei-Ching Chiou
>>>>
>>>>
>>>> On Wed, Aug 8, 2012 at 9:06 PM, Matthew Knepley <knepley at gmail.com>wrote:
>>>>
>>>>> On Wed, Aug 8, 2012 at 2:30 AM, C.-C. Chiou <ccchiou2012 at gmail.com>wrote:
>>>>>
>>>>>> Dear all,
>>>>>>
>>>>>> For concerning more general geometry of physical domain, for some
>>>>>> situations,
>>>>>> we need to apply the multi-block mesh. The attached figure (or
>>>>>> alternatively the following link) illustrates one of examples.
>>>>>>
>>>>>> https://dl.dropbox.com/u/17189529/share_documents/IMAG0003.jpg
>>>>>>
>>>>>> Have you ever dealt with such kind of case with application of the
>>>>>> PETSc object 'DA' ?
>>>>>>
>>>>>
>>>>> Our intention for this is that you use a DMComposite structure. Let us
>>>>> know if the documentation is unclear
>>>>> on anything, since it is somewhat new.
>>>>>
>>>>>   Thanks,
>>>>>
>>>>>      Matt
>>>>>
>>>>>
>>>>>> Suppose we build multiple DA(or DM) for governing the multi-block
>>>>>> data structure,
>>>>>> in other words, we respectively build a DA for each block of mesh.
>>>>>> Especially in parallel computing,
>>>>>> how can we manage and control the communications between blocks of
>>>>>> data accurately and efficiently?
>>>>>> And, how can we ensure the correctness of parallel computational
>>>>>> results?
>>>>>>
>>>>>> I wonder whether some possible application of PETSc object 'DA' (or
>>>>>> DM) is sufficient for dealing with cases in multi-block mesh.
>>>>>>
>>>>>>
>>>>>> Sincerely regards.
>>>>>>
>>>>>>
>>>>>> Chuei-Ching Chiou
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Chuei-Ching Chiou,
>>>>>> Ph. D student,
>>>>>> Aerothermal & Plasma Physics Laboratory
>>>>>> Department of Mechanical Engineering
>>>>>> National Chiao Tung University
>>>>>> Hsinchu 30010, TAIWAN
>>>>>> TEL: +886-35712121 ext. 55175
>>>>>> E-mail: C <staystay.me99g at g2.nctu.edu.tw>CChiou2012 at gmail.com
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> What most experimenters take for granted before they begin their
>>>>> experiments is infinitely more interesting than any results to which their
>>>>> experiments lead.
>>>>> -- Norbert Wiener
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Chuei-Ching Chiou,
>>>>  Ph. D student,
>>>> Aerothermal & Plasma Physics Laboratory
>>>> Department of Mechanical Engineering
>>>> National Chiao Tung University
>>>> Hsinchu 30010, TAIWAN
>>>> TEL: +886-35712121 ext. 55175
>>>> E-mail: C <staystay.me99g at g2.nctu.edu.tw>CChiou2012 at gmail.com
>>>>
>>>>
>>>
>>>
>>> --
>>> What most experimenters take for granted before they begin their
>>> experiments is infinitely more interesting than any results to which their
>>> experiments lead.
>>> -- Norbert Wiener
>>>
>>
>>
>>
>> --
>> Chuei-Ching Chiou,
>>  Ph. D student,
>> Aerothermal & Plasma Physics Laboratory
>> Department of Mechanical Engineering
>> National Chiao Tung University
>> Hsinchu 30010, TAIWAN
>> TEL: +886-35712121 ext. 55175
>> E-mail: C <staystay.me99g at g2.nctu.edu.tw>CChiou2012 at gmail.com
>>
>>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>



-- 
Chuei-Ching Chiou,
Ph. D student,
Aerothermal & Plasma Physics Laboratory
Department of Mechanical Engineering
National Chiao Tung University
Hsinchu 30010, TAIWAN
TEL: +886-35712121 ext. 55175
E-mail: C <staystay.me99g at g2.nctu.edu.tw>CChiou2012 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120828/c45c344d/attachment.html>


More information about the petsc-users mailing list