Problem defining region for 2D integral Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Problem defining region for 2D integral « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Eduards Rens (eduards)
New member
Username: eduards

Post Number: 1
Registered: 12-2005
Posted on Friday, December 16, 2005 - 12:50 pm:   

Hello,

I have tried different ways to find 2D volume integral, but I fail to define integration region. Please, can you take a quick look, I guess I just need a little hint only...

Well, one drawing is worth 7 pages of text.
http://www.tinis.lv/faili/example.jpg
http://www.tinis.lv/faili/difuzija.pde

How to cut rod in N pieces, all of equal size, and then calculate integral in each of them,and write numerical values to file? Problem is, that I dont have defined regions, even more, that area is part of 2 other regions.. Hard to explain, I hope that JPG image will help you...

Regards,
Eduards Rens

Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 510
Registered: 06-2003
Posted on Friday, December 16, 2005 - 05:20 pm:   

You need to create individual REGIONS of the portions you want to integrate. There are no facilities for defining arbitrary integration domains by numerical coordinates.

In the attached file, I have made individual regions of the "Segments". If you want to integrate over the outer portions, you'll have to do a similar thing to the portions of region 1 and add the integrals to those of the "segments".
application/octet-stream
difuzija1a.pde (3.1 k)

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration