volumenintegral

Asked by luckas

Hi,

I have Question , i have wanted to know ,how is the volumenintegral in Fenics calculated.

Thanks for you help in advance

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Anders Logg (logg) said :
#1

On Fri, Jun 10, 2011 at 11:06:15AM -0000, luckas wrote:
> New question #160967 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Hi,
>
> I have Question , i have wanted to know ,how is the volumenintegral in Fenics calculated.
>
> Thanks for you help in advance

I'm not sure which volume integrals you refer to but if you're
thinking about how FEniCS assembles variational forms, it's all
described in great detail in this book:

http://fenicsproject.org/pub/book/book/fenics-book-2011-06-03.pdf

--
Anders

Revision history for this message
luckas (eis-cream) said :
#2

Hi Andres,

I want to know how is the area in Fenics calculated?

Thanks for you help.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #160967]: volumenintegral
> Date: Sun, 12 Jun 2011 21:25:50 +0000
>
> Your question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Status: Open => Answered
>
> Anders Logg proposed the following answer:
> On Fri, Jun 10, 2011 at 11:06:15AM -0000, luckas wrote:
> > New question #160967 on DOLFIN:
> > https://answers.launchpad.net/dolfin/+question/160967
> >
> > Hi,
> >
> > I have Question , i have wanted to know ,how is the volumenintegral in Fenics calculated.
> >
> > Thanks for you help in advance
>
> I'm not sure which volume integrals you refer to but if you're
> thinking about how FEniCS assembles variational forms, it's all
> described in great detail in this book:
>
> http://fenicsproject.org/pub/book/book/fenics-book-2011-06-03.pdf
>
> --
> Anders
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/160967/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/160967
>
> You received this question notification because you asked the question.

Revision history for this message
Anders Logg (logg) said :
#3

On Sun, Jun 12, 2011 at 09:55:56PM -0000, luckas wrote:
> Question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Status: Answered => Open
>
> luckas is still having a problem:
>
> Hi Andres,
>
> I want to know how is the area in Fenics calculated?

Area of what?

--
Anders

> Thanks for you help.
>
>
> > To: <email address hidden>
> > From: <email address hidden>
> > Subject: Re: [Question #160967]: volumenintegral
> > Date: Sun, 12 Jun 2011 21:25:50 +0000
> >
> > Your question #160967 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/160967
> >
> > Status: Open => Answered
> >
> > Anders Logg proposed the following answer:
> > On Fri, Jun 10, 2011 at 11:06:15AM -0000, luckas wrote:
> > > New question #160967 on DOLFIN:
> > > https://answers.launchpad.net/dolfin/+question/160967
> > >
> > > Hi,
> > >
> > > I have Question , i have wanted to know ,how is the volumenintegral in Fenics calculated.
> > >
> > > Thanks for you help in advance
> >
> > I'm not sure which volume integrals you refer to but if you're
> > thinking about how FEniCS assembles variational forms, it's all
> > described in great detail in this book:
> >
> > http://fenicsproject.org/pub/book/book/fenics-book-2011-06-03.pdf
> >
>

Revision history for this message
luckas (eis-cream) said :
#4

Hi,

I wanted to calculate the strain energy and I wanted to know how that is derived inFenics and that is the area.

Gruß
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #160967]: volumenintegral
> Date: Sun, 12 Jun 2011 22:15:48 +0000
>
> Your question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Status: Open => Answered
>
> Anders Logg proposed the following answer:
> On Sun, Jun 12, 2011 at 09:55:56PM -0000, luckas wrote:
> > Question #160967 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/160967
> >
> > Status: Answered => Open
> >
> > luckas is still having a problem:
> >
> > Hi Andres,
> >
> > I want to know how is the area in Fenics calculated?
>
> Area of what?
>
> --
> Anders
>
>
> > Thanks for you help.
> >
> >
> > > To: <email address hidden>
> > > From: <email address hidden>
> > > Subject: Re: [Question #160967]: volumenintegral
> > > Date: Sun, 12 Jun 2011 21:25:50 +0000
> > >
> > > Your question #160967 on DOLFIN changed:
> > > https://answers.launchpad.net/dolfin/+question/160967
> > >
> > > Status: Open => Answered
> > >
> > > Anders Logg proposed the following answer:
> > > On Fri, Jun 10, 2011 at 11:06:15AM -0000, luckas wrote:
> > > > New question #160967 on DOLFIN:
> > > > https://answers.launchpad.net/dolfin/+question/160967
> > > >
> > > > Hi,
> > > >
> > > > I have Question , i have wanted to know ,how is the volumenintegral in Fenics calculated.
> > > >
> > > > Thanks for you help in advance
> > >
> > > I'm not sure which volume integrals you refer to but if you're
> > > thinking about how FEniCS assembles variational forms, it's all
> > > described in great detail in this book:
> > >
> > > http://fenicsproject.org/pub/book/book/fenics-book-2011-06-03.pdf
> > >
> >
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/160967/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/160967
>
> You received this question notification because you asked the question.

Revision history for this message
Anders Logg (logg) said :
#5

On Sun, Jun 12, 2011 at 10:45:54PM -0000, luckas wrote:
> Question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Status: Answered => Open
>
> luckas is still having a problem:
>
> Hi,
>
>
> I wanted to calculate the strain energy and I wanted to know how that is
> derived inFenics and that is the area.

I still don't understand. Area of what?

I think you need to look at the link I sent. It is all explained in
the book.

--
Anders

> Gruß
> > To: <email address hidden>
> > From: <email address hidden>
> > Subject: Re: [Question #160967]: volumenintegral
> > Date: Sun, 12 Jun 2011 22:15:48 +0000
> >
> > Your question #160967 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/160967
> >
> > Status: Open => Answered
> >
> > Anders Logg proposed the following answer:
> > On Sun, Jun 12, 2011 at 09:55:56PM -0000, luckas wrote:
> > > Question #160967 on DOLFIN changed:
> > > https://answers.launchpad.net/dolfin/+question/160967
> > >
> > > Status: Answered => Open
> > >
> > > luckas is still having a problem:
> > >
> > > Hi Andres,
> > >
> > > I want to know how is the area in Fenics calculated?
> >
> > Area of what?
> >
>

Revision history for this message
Praveen C (cpraveen) said :
#6

luckas, chapter 8 of the fenics book talks about quadrature, which is probably what you are looking for.

When will the book be available in print ?

Revision history for this message
luckas (eis-cream) said :
#7

I want to know what is expected in the volume integral Fenics.

Thanks for you help.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #160967]: volumenintegral
> Date: Mon, 13 Jun 2011 16:41:28 +0000
>
> Your question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Praveen C posted a new comment:
> luckas, chapter 8 of the fenics book talks about quadrature, which is
> probably what you are looking for.
>
> When will the book be available in print ?
>
> --
> You received this question notification because you asked the question.

Revision history for this message
Anders Logg (logg) said :
#8

On Mon, Jun 13, 2011 at 04:41:32PM -0000, Praveen C wrote:
> Question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Praveen C posted a new comment:
> luckas, chapter 8 of the fenics book talks about quadrature, which is
> probably what you are looking for.
>
> When will the book be available in print ?

As soon as possible. We are still waiting for some authors to fix some
minor issues.

--
Anders

Revision history for this message
Johan Hake (johan-hake) said :
#9

On Monday June 13 2011 10:11:10 luckas wrote:
> Question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Status: Answered => Open
>
> luckas is still having a problem:
>
> I want to know what is expected in the volume integral Fenics.

You really need to come with more details for us to be able to help you. There
are quite a few aspects regarding a volume integral in FEniCS, which you can
read about in the book Anders already has pointed to.

Jhoan

> Thanks for you help.
>
> > To: <email address hidden>
> > From: <email address hidden>
> > Subject: Re: [Question #160967]: volumenintegral
> > Date: Mon, 13 Jun 2011 16:41:28 +0000
> >
> > Your question #160967 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/160967
> >
> > Praveen C posted a new comment:
> > luckas, chapter 8 of the fenics book talks about quadrature, which is
> > probably what you are looking for.
> >
> > When will the book be available in print ?

Revision history for this message
luckas (eis-cream) said :
#10

Hi Andres,

I wanted to know what is expected in the volume integral Fenics or to explain exactly with energy3 = inner(0.5 * (grad (u3) + grad (u3). T), sigma (u3)) * dx
E3 = assemble (energy3, mesh = mesh), this command will assemble the volume udexpected here, I want to know exactly what makes the assemble command.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #160967]: volumenintegral
> Date: Mon, 13 Jun 2011 06:21:04 +0000
>
> Your question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Status: Open => Answered
>
> Anders Logg proposed the following answer:
> On Sun, Jun 12, 2011 at 10:45:54PM -0000, luckas wrote:
> > Question #160967 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/160967
> >
> > Status: Answered => Open
> >
> > luckas is still having a problem:
> >
> > Hi,
> >
> >
> > I wanted to calculate the strain energy and I wanted to know how that is
> > derived inFenics and that is the area.
>
> I still don't understand. Area of what?
>
> I think you need to look at the link I sent. It is all explained in
> the book.
>
> --
> Anders
>
>
> > Gruß
> > > To: <email address hidden>
> > > From: <email address hidden>
> > > Subject: Re: [Question #160967]: volumenintegral
> > > Date: Sun, 12 Jun 2011 22:15:48 +0000
> > >
> > > Your question #160967 on DOLFIN changed:
> > > https://answers.launchpad.net/dolfin/+question/160967
> > >
> > > Status: Open => Answered
> > >
> > > Anders Logg proposed the following answer:
> > > On Sun, Jun 12, 2011 at 09:55:56PM -0000, luckas wrote:
> > > > Question #160967 on DOLFIN changed:
> > > > https://answers.launchpad.net/dolfin/+question/160967
> > > >
> > > > Status: Answered => Open
> > > >
> > > > luckas is still having a problem:
> > > >
> > > > Hi Andres,
> > > >
> > > > I want to know how is the area in Fenics calculated?
> > >
> > > Area of what?
> > >
> >
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/160967/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/160967
>
> You received this question notification because you asked the question.

Revision history for this message
luckas (eis-cream) said :
#11

Hi Johan,

I wanted to know what is expected in the volume integral Fenics or to explain exactly with energy3 = inner(0.5 * (grad (u3) + grad (u3). T), sigma (u3)) * dx
E3 = assemble (energy3, mesh = mesh) this command will assemble the volume udexpected here I want to know exactly what makes the assemble command.

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #160967]: volumenintegral
> Date: Mon, 13 Jun 2011 17:35:47 +0000
>
> Your question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> Johan Hake proposed the following answer:
> On Monday June 13 2011 10:11:10 luckas wrote:
> > Question #160967 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/160967
> >
> > Status: Answered => Open
> >
> > luckas is still having a problem:
> >
> > I want to know what is expected in the volume integral Fenics.
>
> You really need to come with more details for us to be able to help you. There
> are quite a few aspects regarding a volume integral in FEniCS, which you can
> read about in the book Anders already has pointed to.
>
> Jhoan
>
> > Thanks for you help.
> >
> > > To: <email address hidden>
> > > From: <email address hidden>
> > > Subject: Re: [Question #160967]: volumenintegral
> > > Date: Mon, 13 Jun 2011 16:41:28 +0000
> > >
> > > Your question #160967 on DOLFIN changed:
> > > https://answers.launchpad.net/dolfin/+question/160967
> > >
> > > Praveen C posted a new comment:
> > > luckas, chapter 8 of the fenics book talks about quadrature, which is
> > > probably what you are looking for.
> > >
> > > When will the book be available in print ?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/160967/+confirm?answer_id=8
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/160967
>
> You received this question notification because you asked the question.

Revision history for this message
Anders Logg (logg) said :
#12

Answered

Revision history for this message
Anders Logg (logg) said :
#13

On Wed, Jun 15, 2011 at 07:01:19PM -0000, luckas wrote:
> Question #160967 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/160967
>
> luckas gave more information on the question:
>
> Hi Johan,
>
>
> I wanted to know what is expected in the volume integral Fenics or to explain exactly with energy3 = inner(0.5 * (grad (u3) + grad (u3). T), sigma (u3)) * dx
> E3 = assemble (energy3, mesh = mesh) this command will assemble the volume udexpected here I want to know exactly what makes the assemble command.

A lot of things will happen when you call the assemble command, too
long to explain here. Please read the FEniCS book where it is
explained in great detail.

--
Anders

> > To: <email address hidden>
> > From: <email address hidden>
> > Subject: Re: [Question #160967]: volumenintegral
> > Date: Mon, 13 Jun 2011 17:35:47 +0000
> >
> > Your question #160967 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/160967
> >
> > Johan Hake proposed the following answer:
> > On Monday June 13 2011 10:11:10 luckas wrote:
> > > Question #160967 on DOLFIN changed:
> > > https://answers.launchpad.net/dolfin/+question/160967
> > >
> > > Status: Answered => Open
> > >
> > > luckas is still having a problem:
> > >
> > > I want to know what is expected in the volume integral Fenics.
> >
> > You really need to come with more details for us to be able to help you. There
> > are quite a few aspects regarding a volume integral in FEniCS, which you can
> > read about in the book Anders already has pointed to.
> >
> > Jhoan
> >
> > > Thanks for you help.
> > >
> > > > To: <email address hidden>
> > > > From: <email address hidden>
> > > > Subject: Re: [Question #160967]: volumenintegral
> > > > Date: Mon, 13 Jun 2011 16:41:28 +0000
> > > >
> > > > Your question #160967 on DOLFIN changed:
> > > > https://answers.launchpad.net/dolfin/+question/160967
> > > >
> > > > Praveen C posted a new comment:
> > > > luckas, chapter 8 of the fenics book talks about quadrature, which is
> > > > probably what you are looking for.
> > > >
> > > > When will the book be available in print ?
> >
>