I have a follow up question to Harriet Li's question. 

I need to transfer solutions between 2 different meshes that are  of different 
dimensions. 

For eg. I have 2 square domains Mesh1: X,Y = [-1,1] [-1,1]  and Mesh 2 :X,Y = 
[-2,2] [-2,2]

I transfer the solution from Mesh 2 to Mesh 1, only for points in Mesh 2 that 
are also in Mesh 1. 

Currently by having an identical mesh in Mesh 2 of the Mesh 1 in the region 
where they overlap and loop over all the elements to check if the location is 
the same in both meshes and transfer solution. 

Is there a better / different  or different way to do this.?

I also could not get DTK to work properly. The default example given in the 
libmesh examples page does not seem to work for me.

Thanks and Regards
Vegnesh
________________________________________
From: libmesh-users-requ...@lists.sourceforge.net 
[libmesh-users-requ...@lists.sourceforge.net]
Sent: Saturday, July 23, 2016 7:05 AM
To: libmesh-users@lists.sourceforge.net
Subject: Libmesh-users Digest, Vol 122, Issue 22

Send Libmesh-users mailing list submissions to
        libmesh-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/libmesh-users
or, via email, send a message with subject or body 'help' to
        libmesh-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        libmesh-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Libmesh-users digest..."


Today's Topics:

   1. DTKSolutionTransfer (Harriet Li)
   2. Re: DTKSolutionTransfer (Roy Stogner)
   3. Re: DTKSolutionTransfer (Derek Gaston)
   4. SIAM CSE 2017 libMesh Minisymposium (Paul T. Bauman)


----------------------------------------------------------------------

Message: 1
Date: Fri, 22 Jul 2016 10:24:55 -0400
From: Harriet Li <kame...@gmail.com>
Subject: [Libmesh-users] DTKSolutionTransfer
To: "libmesh-users@lists.sourceforge.net"
        <libmesh-users@lists.sourceforge.net>
Message-ID:
        <CAL10kxaymBS=H7e-87HBrNZWhLn1r2WxNkOtPEJnu6WRn=x...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello all,

I'm trying to transfer a solution between two EquationSystems with two
different meshes. One mesh is a refinement of the other (one has a mix of
'h' and 'h/2'-sized elements and the other has only 'h/2'-sized elements),
but I want to keep a copy of the solution on the coarser mesh, so I can't
just refine the coarser mesh and project the solution on re-initialization.

Is DTKSolutionTransfer the best way to go about this? If so, what do I need
to compile libmesh with in order to use it?

Thanks,
Harriet


------------------------------

Message: 2
Date: Fri, 22 Jul 2016 11:50:06 -0500 (CDT)
From: Roy Stogner <royst...@ices.utexas.edu>
Subject: Re: [Libmesh-users] DTKSolutionTransfer
To: Harriet Li <kame...@gmail.com>
Cc: "libmesh-users@lists.sourceforge.net"
        <libmesh-users@lists.sourceforge.net>
Message-ID: <alpine.lrh.2.20.1607221148380.9...@spark.ices.utexas.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Fri, 22 Jul 2016, Harriet Li wrote:

> I'm trying to transfer a solution between two EquationSystems with two
> different meshes. One mesh is a refinement of the other (one has a mix of
> 'h' and 'h/2'-sized elements and the other has only 'h/2'-sized elements),
> but I want to keep a copy of the solution on the coarser mesh, so I can't
> just refine the coarser mesh and project the solution on re-initialization.
>
> Is DTKSolutionTransfer the best way to go about this?

Probably not; IIRC DTKSolutionTransfer is for uglier applications with
less well aligned meshes.

I would just create a MeshFunction on the source mesh and use it with
System::project_solution() on the target.
---
Roy



------------------------------

Message: 3
Date: Fri, 22 Jul 2016 17:11:02 +0000
From: Derek Gaston <fried...@gmail.com>
Subject: Re: [Libmesh-users] DTKSolutionTransfer
To: Roy Stogner <royst...@ices.utexas.edu>, Harriet Li
        <kame...@gmail.com>
Cc: "libmesh-users@lists.sourceforge.net"
        <libmesh-users@lists.sourceforge.net>
Message-ID:
        <caffxpjpf0hg+ybmcrh8o7d78iwsqqfqbxrcbdxwjeasrpyl...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Actually - in this case... I would just make a copy of the coarse
mesh/solution into a new EquationSystems and then refine it to get the fine
one.

Derek

On Fri, Jul 22, 2016 at 12:50 PM Roy Stogner <royst...@ices.utexas.edu>
wrote:

>
> On Fri, 22 Jul 2016, Harriet Li wrote:
>
> > I'm trying to transfer a solution between two EquationSystems with two
> > different meshes. One mesh is a refinement of the other (one has a mix of
> > 'h' and 'h/2'-sized elements and the other has only 'h/2'-sized
> elements),
> > but I want to keep a copy of the solution on the coarser mesh, so I can't
> > just refine the coarser mesh and project the solution on
> re-initialization.
> >
> > Is DTKSolutionTransfer the best way to go about this?
>
> Probably not; IIRC DTKSolutionTransfer is for uglier applications with
> less well aligned meshes.
>
> I would just create a MeshFunction on the source mesh and use it with
> System::project_solution() on the target.
> ---
> Roy
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Libmesh-users mailing list
> Libmesh-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>


------------------------------

Message: 4
Date: Fri, 22 Jul 2016 14:04:46 -0400
From: "Paul T. Bauman" <ptbau...@gmail.com>
Subject: [Libmesh-users] SIAM CSE 2017 libMesh Minisymposium
To: "libmesh-users@lists.sourceforge.net"
        <libmesh-users@lists.sourceforge.net>,  libmesh-devel
        <libmesh-de...@lists.sourceforge.net>
Message-ID:
        <cakivbtuad8nqg3j46uj4qe9cgcuvnhwnoe07xapsmrmzhzt...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Dear Users and Developers of libMesh,

We are organizing a minisymposium at the 2017 SIAM Conference on
Computational Science and Engineering centered around libMesh, including
both libMesh developments and applications using libMesh. Please see the
full description below.

If you would like to contribute a talk to this minisymposium, please
contact me at pbau...@buffalo.edu with a tentative title; a brief abstract
will be required a couple of weeks later. Please let me know no later than
July 29 (deadline for minisymposium submission is Aug. 1).

Thanks very much for your interest and continued contributions to libMesh.

Sincerely,

Paul T. Bauman
Alvaro Coutinho
John Peterson
Roy Stogner

Minisymposium Title: Applications and Computational Strategies for Finite
Element Computations using libMesh

Abstract: The development of the libMesh finite element library began over
a decade ago in order to support adaptive mesh refinement on unstructured
grids for finite element simulations of complex applications. It has grown
to support hundreds of users across the world, has been used and scaled on
large parallel supercomputers, and enabled the study of a wide variety of
finite element computations. This minisymposium aims to bring together
users and developers of the libMesh finite element library to discuss the
latest developments in the library, frameworks supported by the libMesh,
and applications enabled by the libMesh infrastructure. Application studies
are welcome from all areas of computational science, including algorithmic
explorations as well as scientific and engineering studies enabled by
libMesh.


------------------------------

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

------------------------------

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users


End of Libmesh-users Digest, Vol 122, Issue 22
**********************************************

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to