Adding an example of using ExplicitSystem to store element data is helpful.
I used to wonder how to do that, but without any helpful examples.
Appreciate that if you could show a simple example.


> ------------------------------
>
> Message: 5
> Date: Tue, 7 Jun 2011 12:12:47 -0500
> From: Ataollah Mesgarnejad <[email protected]>
> Subject: [Libmesh-users] element properties
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Dear all,
>
> Is there a way so I can add a real value parameter (physical properties..)
> to each element and/or to a block of elements ?
>
> Best,
> Ata
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 07 Jun 2011 14:26:39 -0400
> From: David Knezevic <[email protected]>
> Subject: Re: [Libmesh-users] element properties
> To: Ataollah Mesgarnejad <[email protected]>
> Cc: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Yes, the typical advice is to add an ExplicitSystem (e.g. with FE type
> constant MONOMIAL) to your EquationSystems object, and use that to store
> the data on each element.
>
> The nice thing about this approach is that it the element data will
> automatically be propagated onto new elements if you refine the mesh.
>
> Dave
>
>
>
>
> On 06/07/2011 01:12 PM, Ataollah Mesgarnejad wrote:
> > Dear all,
> >
> > Is there a way so I can add a real value parameter (physical
> properties..) to each element and/or to a block of elements ?
> >
> > Best,
> > Ata
> >
> ------------------------------------------------------------------------------
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > _______________________________________________
> > Libmesh-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
>
>
> ------------------------------
>
> Message: 7
> Date: Tue, 7 Jun 2011 12:31:25 -0600
> From: John Peterson <[email protected]>
> Subject: Re: [Libmesh-users] element properties
> To: David Knezevic <[email protected]>
> Cc: [email protected],        Ataollah Mesgarnejad
>        <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Jun 7, 2011 at 12:26 PM, David Knezevic <[email protected]> wrote:
> > Yes, the typical advice is to add an ExplicitSystem (e.g. with FE type
> > constant MONOMIAL) to your EquationSystems object, and use that to store
> > the data on each element.
> >
> > The nice thing about this approach is that it the element data will
> > automatically be propagated onto new elements if you refine the mesh.
>
> At the risk of volunteering myself, we should really have an example
> which does this...
>
> You can get an idea of the syntax from ex2, but this example doesn't
> really show how to set the values.
>
> --
> John
>


-- 
Cai Yuanwu  蔡园武
Dept. of Engineering Mechanics,
Dalian University of Technology,
Dalian 116024, China
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to